Jump to content

Recommended Posts

Posted

LOL! Makes me glad I don't have a printer. I just sneakernet print jobs to my housemate's Mac. :shifty: :whistling: :lol:

 

If it's just a cups config problem, I'm sure you will have a "well that was easy" moment soon.

Posted (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? :hysterical:

THAT.......was funny :hysterical:

Edited by ichase
Posted

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

V.T. Eric Layton
Posted

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...

 

 

Posted

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...

:hmm: 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 :whistling: ) :

http://superuser.com/questions/490713/arch-linux-cannot-start-cups-service-with-systemd

https://bbs.archlinux.org/viewtopic.php?pid=1118986#p1118986

Posted

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. :)

Guest LilBambi
Posted (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 by LilBambi
Posted

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 page
I came here with same problems, but I managed to solve my issue, is not "cups", is"cupsd":
V.T. Eric Layton
Posted

cupsd is the daemon, but there is no cupsd in a systemd setup. Systemd does not uses init scripts or daemons of that type.

Posted (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 by ichase
securitybreach
Posted
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

Posted

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

securitybreach
Posted

I believe that just means that it is not currently being used.

Posted

try

systemctl start cups-browsed.service

and check the output. Maybe something like the pid location does not exist.

  • Like 1
Posted

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?

V.T. Eric Layton
Posted

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. :)

  • Like 1
securitybreach
Posted

This is one of the reasons each of my Linux installations uses a custom bash prompt. :)

 

Same here!! :thumbsup:

  • Like 1
Posted

Well that is definitely something I need to look into then. ;)

securitybreach
Posted

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.... ;) B)

V.T. Eric Layton
Posted

I change themes over there pretty often. I probably originally wrote that article when a light-colored theme was up. :yes:

  • Like 1
securitybreach
Posted

That is exactly what I figured too. I guess great minds do think alike.... B)

  • Like 1
securitybreach
Posted

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

  • Like 1

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...