LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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, 11:01 AM   #1
mfoley
Senior Member
 
Registered: Oct 2008
Location: Columbus, Ohio USA
Distribution: Slackware
Posts: 1,483

Rep: Reputation: 122Reputation: 122
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, 11: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,544
Blog Entries: 15

Rep: Reputation: 1491Reputation: 1491Reputation: 1491Reputation: 1491Reputation: 1491Reputation: 1491Reputation: 1491Reputation: 1491Reputation: 1491Reputation: 1491
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, 11:26 PM   #3
mfoley
Senior Member
 
Registered: Oct 2008
Location: Columbus, Ohio USA
Distribution: Slackware
Posts: 1,483

Original Poster
Rep: Reputation: 122Reputation: 122
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, 08: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,544
Blog Entries: 15

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


Reply

Tags
cups


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 01:07 AM
Magento 1.9 can't access admin page or eshop page bbb13 Linux - Software 0 10-26-2014 01:45 PM
[SOLVED] Web page input executes on command line and output back to web page keif Programming 7 02-26-2014 11:25 AM
Alas Cups no more. Web admin page times out The PIT Debian 6 10-22-2007 07:34 AM
cannot start cupsd: cupsd: Child exited with status 127! kpachopoulos Debian 0 08-25-2006 09:00 AM

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

All times are GMT -5. The time now is 07:10 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration