CUPS issue
CUPS issue
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
Begin by removing the installed packages and erasing any altered config files. Let me know what specific issues arise and at which points.
Check compatibility for the issue on Ubuntu's server guide page.
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.)
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.
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.
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.