<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[HyperForum — cannot start cupsd]]></title>
		<link>https://forums.hyperbola.info/viewtopic.php?id=872</link>
		<atom:link href="https://forums.hyperbola.info/extern.php?action=feed&amp;tid=872&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in cannot start cupsd.]]></description>
		<lastBuildDate>Sun, 09 Jul 2023 20:38:29 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: cannot start cupsd]]></title>
			<link>https://forums.hyperbola.info/viewtopic.php?pid=6347#p6347</link>
			<description><![CDATA[<p>I appreciate your help. I am looking forward for the next release.</p>]]></description>
			<author><![CDATA[null@example.com (nparafe)]]></author>
			<pubDate>Sun, 09 Jul 2023 20:38:29 +0000</pubDate>
			<guid>https://forums.hyperbola.info/viewtopic.php?pid=6347#p6347</guid>
		</item>
		<item>
			<title><![CDATA[Re: cannot start cupsd]]></title>
			<link>https://forums.hyperbola.info/viewtopic.php?pid=6346#p6346</link>
			<description><![CDATA[<p>Regarding the &quot;conf.d&quot;-advice: This was more meant for debugging a service in general for the future, giving therefore you a helping hint how to do that. In regards for cups: I assume you are using stable-branch. So this was solved some time ago as a Debian-patch given the wrong configuration-statement included. You can therefore rebuild cups for the moment on your own with the files here: <a href="https://git.hyperbola.info:50100/packages/extra.git/tree/cups">https://git.hyperbola.info:50100/packag … /tree/cups</a></p><p>Just download all included and go on with &quot;makepkg -s&quot; than in the corresponding folder. <img src="https://forums.hyperbola.info/img/smilies/smile.png" width="15" height="15" alt="smile" /></p><p>The patch being removed is to be find within the PKGBUILD:</p><div class="codebox"><pre><code>rm -v debian/patches/0006-Debian-Set-LogFileGroup-to-adm.patch || true</code></pre></div><p>So you have already found the error on your own and that is what to be reached as no one can now take this knowledge away. Thanks for debugging! With upcoming 0.4.3-release this is already solved. <img src="https://forums.hyperbola.info/img/smilies/wink.png" width="15" height="15" alt="wink" /></p>]]></description>
			<author><![CDATA[null@example.com (throgh)]]></author>
			<pubDate>Sun, 09 Jul 2023 20:15:25 +0000</pubDate>
			<guid>https://forums.hyperbola.info/viewtopic.php?pid=6346#p6346</guid>
		</item>
		<item>
			<title><![CDATA[Re: cannot start cupsd]]></title>
			<link>https://forums.hyperbola.info/viewtopic.php?pid=6345#p6345</link>
			<description><![CDATA[<div class="quotebox"><cite>throgh wrote:</cite><blockquote><p>You would need to replicate the whole start-process of cups. So you need to get first full root-privileges with &quot;su&quot; and afterwards lookout for what is done under /etc/init.d/cupsd and what parameters are used in /etc/conf.d/cupsd (when available). As long direct related to the package: There is no confd-configuration, so you would nevertheless need to start the daemon with /usr/sbin/cupsd and look for problems and errors when starting.</p></blockquote></div><p>Thank you for your reply.</p><p>If I understood correctly there isn&#039;t a preconfigure settings.Is this why I cannot start it using openrc?</p><p>Some more info:</p><p>A)</p><div class="codebox"><pre><code>cat /etc/init.d/cupsd
#!/sbin/openrc-run
# Copyright 1999-2016 Gentoo Foundation
# Copyright 2019 Hyperbola Project
# Distributed under the terms of the GNU General Public License, v2 or later

description=&quot;The Common Unix Printing System service&quot;
command=&quot;/usr/sbin/cupsd&quot;

depend() {
    use net
    before nfs
    after logger
}

start_pre() {
    checkpath -q -d -m 0775 -o root:lp /var/cache/cups
    checkpath -q -d -m 0775 -o root:lp /var/cache/cups/rss
    checkpath -q -d -m 0755 -o root:lp /run/cups
    checkpath -q -d -m 0511 -o daemon:sys /run/cups/certs
}</code></pre></div><p>B) </p><div class="codebox"><pre><code> /etc/conf.d/cupsd </code></pre></div><p>&nbsp; is empty</p><p>C) <br />running </p><div class="codebox"><pre><code> /usr/sbin/cupsd </code></pre></div><p>&nbsp; as root gives no error but still I cannot access localhost:631</p><p>D)<br /></p><div class="codebox"><pre><code>/usr/sbin/cupsd -t
Unknown directive LogFileGroup on line 34 of /etc/cups/cups-files.conf.
&quot;/etc/cups/cups-files.conf&quot; contains errors.</code></pre></div><p>E)<br /></p><div class="codebox"><pre><code>awk &#039;NR &lt; 34 { next } { print } NR == 34 { exit }&#039; /etc/cups/cups-files.conf
LogFileGroup adm</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (nparafe)]]></author>
			<pubDate>Sun, 09 Jul 2023 19:49:41 +0000</pubDate>
			<guid>https://forums.hyperbola.info/viewtopic.php?pid=6345#p6345</guid>
		</item>
		<item>
			<title><![CDATA[Re: cannot start cupsd]]></title>
			<link>https://forums.hyperbola.info/viewtopic.php?pid=6344#p6344</link>
			<description><![CDATA[<p>You would need to replicate the whole start-process of cups. So you need to get first full root-privileges with &quot;su&quot; and afterwards lookout for what is done under /etc/init.d/cupsd and what parameters are used in /etc/conf.d/cupsd (when available). As long direct related to the package: There is no confd-configuration, so you would nevertheless need to start the daemon with /usr/sbin/cupsd and look for problems and errors when starting.</p>]]></description>
			<author><![CDATA[null@example.com (throgh)]]></author>
			<pubDate>Sun, 09 Jul 2023 18:08:05 +0000</pubDate>
			<guid>https://forums.hyperbola.info/viewtopic.php?pid=6344#p6344</guid>
		</item>
		<item>
			<title><![CDATA[cannot start cupsd]]></title>
			<link>https://forums.hyperbola.info/viewtopic.php?pid=6343#p6343</link>
			<description><![CDATA[<p>After installing cupsd I get the following error:<br /></p><div class="codebox"><pre><code>doas rc-service cupsd start
 * Starting cupsd ...
 * start-stop-daemon: failed to start `/usr/sbin/cupsd&#039;
 * Failed to start cupsd                                                 [ !! ]
 * ERROR: cupsd failed to start</code></pre></div><div class="codebox"><pre><code>groups
sys disk lp wheel http games network video audio optical storage scanner input power users</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (nparafe)]]></author>
			<pubDate>Sun, 09 Jul 2023 12:59:09 +0000</pubDate>
			<guid>https://forums.hyperbola.info/viewtopic.php?pid=6343#p6343</guid>
		</item>
	</channel>
</rss>
