LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 04-11-2018, 10:01 AM   #1
mfoley
Senior Member
 
Registered: Oct 2008
Location: Columbus, Ohio USA
Distribution: Slackware
Posts: 2,593

Rep: Reputation: 180Reputation: 180
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.
 
Old 04-11-2018, 10:50 AM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
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
 
Old 04-11-2018, 10:26 PM   #3
mfoley
Senior Member
 
Registered: Oct 2008
Location: Columbus, Ohio USA
Distribution: Slackware
Posts: 2,593

Original Poster
Rep: Reputation: 180Reputation: 180
Quote:
Originally Posted by MensaWater View Post
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.
 
Old 04-12-2018, 07:36 AM   #4
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
Quote:
Originally Posted by optimumgeek View Post
I'm a spammer
Your spam has been reported to the moderators.
 
  


Reply

Tags
cups



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
executing linux commands from web page and outputing it back to the web page ashes_sheldon Programming 9 02-28-2015 12:07 AM
Magento 1.9 can't access admin page or eshop page bbb13 Linux - Software 0 10-26-2014 12:45 PM
[SOLVED] Web page input executes on command line and output back to web page keif Programming 7 02-26-2014 10:25 AM
Alas Cups no more. Web admin page times out The PIT Debian 6 10-22-2007 06:34 AM
cannot start cupsd: cupsd: Child exited with status 127! kpachopoulos Debian 0 08-25-2006 08:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 08:53 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration