LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (https://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   Restart cupsd from web admin page (https://www.linuxquestions.org/questions/linux-desktop-74/restart-cupsd-from-web-admin-page-4175627445/)

mfoley 04-11-2018 10:01 AM

Restart cupsd from web admin page
 
Rarely but occasionally, the cups daemon fails to start properly upon reboot. I can restart it from the command line, but is there a way to restart cups from the localhost:631 web interface? I've search the webpage and the Internet, but cannot find a way to do this.

MensaWater 04-11-2018 10:50 AM

No.

It is cupsd itself that LISTENs on port 631 so if cupsd didn't start there isn't a way to start it via that port:

Running "lsof -i :631" from command line shows (at the beginning) it the 631 (ipp) port LISTENers for tcp and the udp port as well:
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
cupsd 23664 root 7u IPv4 216810900 0t0 TCP *:ipp (LISTEN)
cupsd 23664 root 8u IPv6 216810901 0t0 TCP *:ipp (LISTEN)
cupsd 23664 root 10u IPv4 216810904 0t0 UDP *:ipp

You might be able to add CUPS to WebMin and use that tool to start cups instead. A quick web search reveals this page among others:
https://doxfer.webmin.com/Webmin/Printer_Administration

mfoley 04-11-2018 10:26 PM

Quote:

Originally Posted by MensaWater (Post 5841896)
No.

It is cupsd itself that LISTENs on port 631 so if cupsd didn't start there isn't a way to start it via that port:

That makes sense. I should have thought that through. THX. I'll check out webmin.

MensaWater 04-12-2018 07:36 AM

Quote:

Originally Posted by optimumgeek (Post 5842242)
I'm a spammer

Your spam has been reported to the moderators.


All times are GMT -5. The time now is 05:11 PM.