F5F Stay Refreshed Software Operating Systems CUPS issue

CUPS issue

CUPS issue

B
BHLxNJx
Posting Freak
881
04-11-2025, 03:47 PM
#1
Hello Forum: I have to be missing something simple. I'm running Debian 9.x.x and can do anything but PRINT! I was downloading ppd, driver files for my HP Officejet 3830 so I could use the scanner. Somehow I really screwed Cups. Unit cups.service has failed on startup. I can start the service and connect via ssh, but when I try to connect (other than ssh) I get service not available. So now I'm in fuckit mode. I want to delete everything related to cups and start over. Any ideas how to remove everything that is CUPS? I do have backups so I can format and reinstall, but that would take a day or so to reinstall and re configure
B
BHLxNJx
04-11-2025, 03:47 PM #1

Hello Forum: I have to be missing something simple. I'm running Debian 9.x.x and can do anything but PRINT! I was downloading ppd, driver files for my HP Officejet 3830 so I could use the scanner. Somehow I really screwed Cups. Unit cups.service has failed on startup. I can start the service and connect via ssh, but when I try to connect (other than ssh) I get service not available. So now I'm in fuckit mode. I want to delete everything related to cups and start over. Any ideas how to remove everything that is CUPS? I do have backups so I can format and reinstall, but that would take a day or so to reinstall and re configure

X
xxxLazersxxx
Member
117
04-17-2025, 07:25 AM
#2
Begin by removing the installed packages and erasing any altered config files. Let me know what specific issues arise and at which points.
X
xxxLazersxxx
04-17-2025, 07:25 AM #2

Begin by removing the installed packages and erasing any altered config files. Let me know what specific issues arise and at which points.

L
LittleKitCat
Junior Member
13
04-24-2025, 05:42 PM
#3
Check compatibility for the issue on Ubuntu's server guide page.
L
LittleKitCat
04-24-2025, 05:42 PM #3

Check compatibility for the issue on Ubuntu's server guide page.

L
LucasandClaus
Senior Member
438
04-27-2025, 02:53 AM
#4
You likely need to launch CUPS. A reliable way to confirm it's running is by opening a browser and going to http://localhost:631. If you don’t see a login prompt or a webpage, start CUPS. (I’m not familiar with systemd, the current init system on Debian, which I strongly dislike, so others might be able to assist.)
L
LucasandClaus
04-27-2025, 02:53 AM #4

You likely need to launch CUPS. A reliable way to confirm it's running is by opening a browser and going to http://localhost:631. If you don’t see a login prompt or a webpage, start CUPS. (I’m not familiar with systemd, the current init system on Debian, which I strongly dislike, so others might be able to assist.)

M
muldrik
Member
114
04-27-2025, 06:04 AM
#5
M
muldrik
04-27-2025, 06:04 AM #5

M
marcomcool
Junior Member
39
04-27-2025, 09:17 AM
#6
The setup process seems complete. I can launch CUPS and confirm it's listening on 127.0.0.1:631. (netstat shows activity) However, browsers report connection refused. (SSH works fine.) After removing CUPS with apt-get remove --purge, I reinstalled it using the PPA. The updated HPLIP package contains the newest CUPS version. Still no resolution. No proxy settings appear in any browser logs. The CUPS SCHEDULER failed to start on reboot. I can manually trigger all CUPS services but still can't connect. (Only port visibility via netstat and SSH access.) I suspect the purge might have left remnants; I’m unsure of exact file paths for CUPS without further guidance.
M
marcomcool
04-27-2025, 09:17 AM #6

The setup process seems complete. I can launch CUPS and confirm it's listening on 127.0.0.1:631. (netstat shows activity) However, browsers report connection refused. (SSH works fine.) After removing CUPS with apt-get remove --purge, I reinstalled it using the PPA. The updated HPLIP package contains the newest CUPS version. Still no resolution. No proxy settings appear in any browser logs. The CUPS SCHEDULER failed to start on reboot. I can manually trigger all CUPS services but still can't connect. (Only port visibility via netstat and SSH access.) I suspect the purge might have left remnants; I’m unsure of exact file paths for CUPS without further guidance.

J
Just_Senya
Member
169
04-27-2025, 11:17 AM
#7
For those who might be interested: I finally solved it. The /etc/apt/sources.list.d folder had damaged files (probably due to a computer issue—maybe). I removed the bad ones, ran an apt-update, and reinstalled cups. Everything is now working better.
J
Just_Senya
04-27-2025, 11:17 AM #7

For those who might be interested: I finally solved it. The /etc/apt/sources.list.d folder had damaged files (probably due to a computer issue—maybe). I removed the bad ones, ran an apt-update, and reinstalled cups. Everything is now working better.

X
xXZommerXx
Member
77
04-30-2025, 11:59 AM
#8
Yes, you can connect via USB to the printer. Using Bluetooth hasn't worked consistently for you. You might have tried printing from a browser—could be worth checking which one works best.
X
xXZommerXx
04-30-2025, 11:59 AM #8

Yes, you can connect via USB to the printer. Using Bluetooth hasn't worked consistently for you. You might have tried printing from a browser—could be worth checking which one works best.