sunrat Posted January 15, 2013 Share Posted January 15, 2013 LOL! Makes me glad I don't have a printer. I just sneakernet print jobs to my housemate's Mac. If it's just a cups config problem, I'm sure you will have a "well that was easy" moment soon. Quote Link to comment Share on other sites More sharing options...
ichase Posted January 15, 2013 Author Share Posted January 15, 2013 (edited) I have tried a few more things but still not dice. The CUPS config may be easy to read for some, but not so much for me. CRP I use webmin to adminster my SAMBA config but utilize the CUPS Web config for CUPS, been spending more time directly at the /etc/cupsd/cups.conf and trying to make heads or tails from that. The Troubleshooting tool under system-config-printer still states "The CUPS Print spooler does not appear to be running" but under the CUPS Web configuration, I don't see anywhere that allows you to stop or restart the spooler? Maybe your CUPS runneth over? THAT.......was funny Edited January 15, 2013 by ichase Quote Link to comment Share on other sites More sharing options...
crp Posted January 15, 2013 Share Posted January 15, 2013 I have tried a few more things but still not dice. The CUPS config may be easy to read for some, but not so much for me. CRP I use webmin to adminster my SAMBA config but utilize the CUPS Web config for CUPS, been spending more time directly at the /etc/cupsd/cups.conf and trying to make heads or tails from that. The Troubleshooting tool under system-config-printer still states "The CUPS Print spooler does not appear to be running" but under the CUPS Web configuration, I don't see anywhere that allows you to stop or restart the spooler? Do you mean the 631 port for the "web config" ? Did you check in the WebMin 'Printer Administration' ? There is a CUPS module available for WebMin Quote Link to comment Share on other sites More sharing options...
V.T. Eric Layton Posted January 16, 2013 Share Posted January 16, 2013 Ian, CUPS spooler is part of the CUPS service. It's a daemon. You need to make sure your CUPS service is running in Arch. I'm sure you've done this already, but... Quote Link to comment Share on other sites More sharing options...
crp Posted January 16, 2013 Share Posted January 16, 2013 Ian, CUPS spooler is part of the CUPS service. It's a daemon. You need to make sure your CUPS service is running in Arch. I'm sure you've done this already, but... could it be the service is simply not running or that there is a configuration line with an unclosed comment?These 2 links might help (if webmin hasn't already ) : http://superuser.com/questions/490713/arch-linux-cannot-start-cups-service-with-systemd https://bbs.archlinux.org/viewtopic.php?pid=1118986#p1118986 Quote Link to comment Share on other sites More sharing options...
ichase Posted January 16, 2013 Author Share Posted January 16, 2013 Ian, CUPS spooler is part of the CUPS service. It's a daemon. You need to make sure your CUPS service is running in Arch. I'm sure you've done this already, but... Every time I make a change, I restart cups.service with systemctl restart cups.service Thanks for the links crp, I will start looking at them here shortly. Hopefully I can get some insight. Quote Link to comment Share on other sites More sharing options...
Guest LilBambi Posted January 16, 2013 Share Posted January 16, 2013 (edited) Could it not be truly restarting? Is it possible that servicename restart isn't doing what it is supposed to do? I have always found that restart for any daemon is a crap shoot. I generally will do a servicename stop (give it a few seconds) and then do a servicename start. Here's something else in Arch that says {solved} Systemd/Cups that might help. Edited January 16, 2013 by LilBambi Quote Link to comment Share on other sites More sharing options...
crp Posted January 16, 2013 Share Posted January 16, 2013 Could it not be truly restarting? Is it possible that servicename restart isn't doing what it is supposed to do? I have always found that restart for any daemon is a crap shoot. I generally will do a servicename stop (give it a few seconds) and then do a servicename start. Here's something else in Arch that says {solved} Systemd/Cups that might help. You may have found it, LB. From your linked pageI came here with same problems, but I managed to solve my issue, is not "cups", is"cupsd": Quote Link to comment Share on other sites More sharing options...
V.T. Eric Layton Posted January 17, 2013 Share Posted January 17, 2013 cupsd is the daemon, but there is no cupsd in a systemd setup. Systemd does not uses init scripts or daemons of that type. Quote Link to comment Share on other sites More sharing options...
securitybreach Posted January 17, 2013 Share Posted January 17, 2013 Do you have the cups-browsed service enabled and running as I did not see where you mentioned it? With the kernel modules installed, you can now start the cups service and start the cups-browsed service. You may want to enable the these services so that it starts automatically on boot. https://wiki.archlin...UPS#CUPS_daemon Quote Link to comment Share on other sites More sharing options...
ichase Posted January 20, 2013 Author Share Posted January 20, 2013 (edited) Disregard this post, as I was running the commands from the laptop and NOT the server. I am secured shelled into my server and desktop upstairs and I have tabs in terminal for each one, I was on the WRONG tab. See post 43. Edited January 20, 2013 by ichase Quote Link to comment Share on other sites More sharing options...
securitybreach Posted January 20, 2013 Share Posted January 20, 2013 Failed to issue method call: Unit cups.service failed to load: No such file or directory. See system logs and 'systemctl status cups.service' for details. Check to see if that is the actual name of the service (since it says 'not found') by listing the .service files: ls /usr/lib/systemd/system Or check the details by doing: systemctl status cups.service Quote Link to comment Share on other sites More sharing options...
ichase Posted January 20, 2013 Author Share Posted January 20, 2013 Disregard the last post, I'm an IDIOT, I have multiple tabs open in my terminal, the laptop, the server, the desktop and I was running those commands off the laptop not the server. I enabled cups-browsed ON THE SERVER and that worked, cups.service status shows active but cups-browsed shows inactive (dead) [ichase@homeserver ~]$ systemctl status cups-browsed.service cups-browsed.service - Make remote CUPS printers available locally Loaded: loaded (/usr/lib/systemd/system/cups-browsed.service; enabled) Active: inactive (dead) [ichase@homeserver ~]$ systemctl status cups.service cups.service - CUPS Printing Service Loaded: loaded (/usr/lib/systemd/system/cups.service; enabled) Active: active (running) since Fri 2013-01-18 08:31:43 UTC; 9 months 1 days ago Main PID: 240 (cupsd) CGroup: name=systemd:/system/cups.service `-240 /usr/sbin/cupsd -f Quote Link to comment Share on other sites More sharing options...
securitybreach Posted January 20, 2013 Share Posted January 20, 2013 I believe that just means that it is not currently being used. Quote Link to comment Share on other sites More sharing options...
crp Posted January 20, 2013 Share Posted January 20, 2013 try systemctl start cups-browsed.service and check the output. Maybe something like the pid location does not exist. 1 Quote Link to comment Share on other sites More sharing options...
ichase Posted January 20, 2013 Author Share Posted January 20, 2013 crp - When I ran systemctl start cups-browsed.service, it did not do anything, it just brought me back to the command prompt. BUT.... Now when I run systemsctl status cups-browsed.service I get this: cups-browsed.service - Make remote CUPS printers available locally Loaded: loaded (/usr/lib/systemd/system/cups-browsed.service; enabled) Active: active (running) since Sun 2013-10-20 16:03:26 UTC; 1min 9s ago Main PID: 3643 (cups-browsed) CGroup: name=systemd:/system/cups-browsed.service `-3643 /usr/sbin/cups-browsed So now it says it running. But when I click on print in Libre Office I still get: No default printer found, Choose a printer and try again and there is no printers showing? Quote Link to comment Share on other sites More sharing options...
securitybreach Posted January 20, 2013 Share Posted January 20, 2013 Check this link: https://bbs.archlinux.org/viewtopic.php?id=125797 Quote Link to comment Share on other sites More sharing options...
V.T. Eric Layton Posted January 20, 2013 Share Posted January 20, 2013 Disregard this post, as I was running the commands from the laptop and NOT the server. I am secured shelled into my server and desktop upstairs and I have tabs in terminal for each one, I was on the WRONG tab. See post 43. This is one of the reasons each of my Linux installations uses a custom bash prompt. 1 Quote Link to comment Share on other sites More sharing options...
securitybreach Posted January 20, 2013 Share Posted January 20, 2013 This is one of the reasons each of my Linux installations uses a custom bash prompt. Same here!! 1 Quote Link to comment Share on other sites More sharing options...
ichase Posted January 21, 2013 Author Share Posted January 21, 2013 Well that is definitely something I need to look into then. Quote Link to comment Share on other sites More sharing options...
V.T. Eric Layton Posted January 21, 2013 Share Posted January 21, 2013 Well that is definitely something I need to look into then. Pimp My Bash Prompt 1 Quote Link to comment Share on other sites More sharing options...
securitybreach Posted January 21, 2013 Share Posted January 21, 2013 Odd, I just noticed that my bash prompt you posted on that link shows it as blue whereas it has always been green. Kind of hard to see the dark blue. Oh well.... Quote Link to comment Share on other sites More sharing options...
V.T. Eric Layton Posted January 21, 2013 Share Posted January 21, 2013 I change themes over there pretty often. I probably originally wrote that article when a light-colored theme was up. 1 Quote Link to comment Share on other sites More sharing options...
securitybreach Posted January 22, 2013 Share Posted January 22, 2013 That is exactly what I figured too. I guess great minds do think alike.... 1 Quote Link to comment Share on other sites More sharing options...
securitybreach Posted January 22, 2013 Share Posted January 22, 2013 Hehe I just noticed that I did mention that when you posted it. It was a bit late when I seen the link again: Very nice and informative post Eric!!! Also, thanks for the mention!! Although my prompt uses different colors: http://i.imgur.com/BmSPE.png 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.