Print Service Unavailable: Bad file descriptor

I also had this issue, thanks this fixed the issue for me… quick and easy :slight_smile:

This worked for me, thanks! The recent updates appear to have stopped my printer services.

1 Like

This worked for me…

systemctl enable cups.service

and

systemctl start cups.service
5 Likes

This should be the accepted answer! Thanks a lot!

I tried that but it gave me the following:

~ >>> systemctl enable cups.service                                         
~ >>> systemctl start cups.service                                          
for cups.service failed because the control process exited with error code.
"systemctl status cups.service" and "journalctl -xe" for details.

So I did what it said:

~ >>> systemctl status cups.service                                   

● cups.service - CUPS Scheduler
     Loaded: loaded (/usr/lib/systemd/system/cups.service; enabled; vendor >
     Active: inactive (dead) (Result: exit-code) since Sun 2020-11-29 15:21>
TriggeredBy: ● cups.path
             ● cups.socket
       Docs: man:cupsd(8)
    Process: 11896 ExecStart=/usr/bin/cupsd -l (code=exited, status=1/FAILU>
   Main PID: 11896 (code=exited, status=1/FAILURE)
Nov 29 15:21:36 ALU systemd[1]: cups.service: Scheduled restart job, restar>
Nov 29 15:21:36 ALU systemd[1]: Stopped CUPS Scheduler.
Nov 29 15:21:36 ALU systemd[1]: Dependency failed for CUPS Scheduler.
Nov 29 15:21:36 ALU systemd[1]: cups.service: Job cups.service/start failed>

Then…

 ~ >>> journalctl -xe
                                                  
░░  
░░ The job identifier is 4394.
Nov 29 15:21:36 ALU systemd[1]: cups.socket: Start request repeated too qui>
Nov 29 15:21:36 ALU systemd[1]: cups.socket: Failed with result 'start-limi>
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: https://forum.manjaro.org/c/support
░░  
░░ The unit cups.socket has entered the 'failed' state with result 'start-l>
Nov 29 15:21:36 ALU systemd[1]: Failed to listen on CUPS Scheduler.
░░ Subject: A start job for unit cups.socket has failed
░░ Defined-By: systemd
░░ Support: https://forum.manjaro.org/c/support
░░  
░░ A start job for unit cups.socket has finished with a failure.
░░  
░░ The job identifier is 4394 and the job result is failed.
Nov 29 15:21:36 ALU systemd[1]: Dependency failed for CUPS Scheduler.
░░ Subject: A start job for unit cups.service has failed
░░ Defined-By: systemd
░░ Support: https://forum.manjaro.org/c/support
░░  
░░ A start job for unit cups.service has finished with a failure.
░░  
░░ The job identifier is 4294 and the job result is dependency.
Nov 29 15:21:36 ALU systemd[1]: cups.service: Job cups.service/start failed>

But I can’t really make anything out of it.
Also, what does the author of this post mean by saying:

Thank you, it works ! Great.

Thanks, just love this community, works every time!

Thanks huebi! It fixed the problem perfectly.

1 Like

The main problem is the renaming of cupsd to cups.
If the print service is set up with cupsd this needs to be disabled

sudo systemctl disable --now cupsd

and now enable cups

sudo systemctl enable --now cups

2 Likes

Thanks, this helped me resolve the issue.

Thanks!
If this is true, then the line in the wiki has to be changed:
https://wiki.manjaro.org/index.php?title=Printing#Enabling_Printing_Capabilities

@Error Please change the “solution flag”.

1 Like

Thank youuuu!

1 Like

yes but how do you open as root? dolphin wont let you open and dolphin wont start as root.

sudo systemctl enable cups.service fixed it for me.

Linux noob here. I haven’t needed to print in awhile. I opened a Term session at /etc/cups sudo rm cupsd.conf but how do I replace the file with cupsd.conf.default?

Thanks. It’s obviously not working for me but, not a huge deal, I’m obviously here because it wasn’t working anyway. That an update broke my ability to print :grimacing: …I printed a small PDF and pages of gibberish were coming out—I just yanked the plug from my printer. I don’t even know how to kill print jobs in Linux.

EDIT: sudo cp cupsd.conf.default cupsd.conf then enabled it, opened System Settings > Printers BOOM! It’s there! Baby steps…

Hi
I’m stuck at line 4 (sudo systemctl enable --now cups.service)

Job for cups.service failed because the control process exited with error code.
See “systemctl status cups.service” and “journalctl -xe” for details.

Noob, so not sure what to do next …

systemctl status cups.service

● cups.service - CUPS Scheduler
Loaded: loaded (/usr/lib/systemd/system/cups.service; enabled; vendor preset: disabled)
Active: inactive (dead) (Result: exit-code) since Tue 2020-12-22 16:53:15 GMT; 5min ago
TriggeredBy: ● cups.path
● cups.socket
Docs: man:cupsd(8)
Process: 6897 ExecStart=/usr/bin/cupsd -l (code=exited, status=1/FAILURE)
Main PID: 6897 (code=exited, status=1/FAILURE)

Dec 22 16:53:15 Greenx systemd[1]: cups.service: Scheduled restart job, restart counter is at 25.
Dec 22 16:53:15 Greenx systemd[1]: Stopped CUPS Scheduler.
Dec 22 16:53:15 Greenx systemd[1]: Dependency failed for CUPS Scheduler.
Dec 22 16:53:15 Greenx systemd[1]: cups.service: Job cups.service/start failed with result ‘dependency’.

Thanks for any help

thanks, this fixed my problem :slight_smile:

I used the command line (sudo)

Excellent for all of us that love Linux but not great/ amateurs on typing in commands thanks a million

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.