Ubuntu :: Can't Connect To Cups Server After Update / What To Do?
Jun 27, 2010
After a recent software update I can no longer connect to the Cups server.
My printer isn't listed anymore and won't let me add one.
Cups was listed in the update so i think the update broke cups.
I'm getting: "Failed to connect to server" when i try to connect to 'localhost'.
What can I do?
I'm in a bind and I don't know how to get what I want. Nmap shows ipp running cups on port 631. Great, simple enough I uninstall cups, along with its dependencies. A new portscan reveals that the port is closed SUCCESS, but... Ubuntu Update Manager nags me @ every restart about the "important security" updates. I can't lock the version of cups in Synaptic, because cups is not installed! So you see I'm in a bind. If I have cups installed I have an open port, and if I uninstall cups the update manager nags me. What do I do? I've tried:
- stopping the cups service and issuing the chkconfig cups off command... (doesn't close the port) - uninstalling cups... (update manager nags) - fuser -k 631/tcp (great, but @ reboot the port is still open) Please teach me how to close this port / stop this service / tell update manager to shove cups.....
I get this error ALL THE TIME after a reboot if I try to print. Going to the printing applet to add the printer does no good because Lucid is not connected to the CUPS server. I found that the work-around below fixes the issue for the current session.
I'm trying to setup a print server on Debian Lenny. This dedicated server is connected to an USB printer (Epson Stylus Office BX300f).
I've successfully installed cups and the guttenprint drivers from the repositories but then realized that I needed to upgrade the printer drivers if I wanted to get support for my USB printer. Thus, I built and installed the latest version of Guttenprint (5.2.6) from the sources but this procedure has not added any new driver (ppd files) into cups. I've read that cups-genppd and cups-genppdupdate must be used in order to generate the necessary ppd files and update them into the cups folders.
Well, I can find cups-genppd.5.0 and cups-genppdupdate.5.0 in /usr/sbin but I wonder if these binaries are related to the old drivers (gutenprint 5.0.2) and not to the new ones (gutenprint 5.2.6).
Anyway, I'm a bit messed with this stuff. I've read the man pages but there are very few examples explaining how to upgrade drivers in cups.
I just recently bought a WinStar USB LPR Network Print Server so that I could connect my printer to my network so all the machines on my network could print, and everything would be OS independent. The problem I'm having is that I can't get CUPS to connect to the printer. It either never prints anything, saying that the printer is not connected, or saying that LPR is spooling the job, but it never completes. I've been configuring it as a network printer in CUPS, and trying all the different configuration options to no avail. The print server is located on http://192.168.1.103 and is pingable. The print server I have is this one:
WinStars Networking USB LPR Print Server
What is the correct way to set up a print server like this so I can print to it?
When I was checking the /var/log/messages, I found these entries:
Mar 16 15:14:38 localhost smbd[13347]: [2010/03/16 15:14:38, 0] printing/print_cups.c:cups_connect(78) Mar 16 15:14:38 localhost smbd[13347]: Unable to connect to CUPS server localhost:631 - Connection refused Mar 16 15:24:38 localhost smbd[13691]: [2010/03/16 15:24:38, 0] printing/print_cups.c:cups_connect(78) Mar 16 15:24:38 localhost smbd[13691]: Unable to connect to CUPS server localhost:631 - Connection refused Mar 16 15:24:38 localhost smbd[13692]: [2010/03/16 15:24:38, 0] printing/print_cups.c:cups_connect(78) Mar 16 15:24:38 localhost smbd[13692]: Unable to connect to CUPS server localhost:631 - Connection refused Mar 16 15:27:34 localhost smbd[13716]: [2010/03/16 15:27:34, 0] printing/print_cups.c:cups_connect(78) Mar 16 15:27:34 localhost smbd[13716]: Unable to connect to CUPS server localhost:631 - Connection refused Mar 16 15:27:34 localhost smbd[13718]: [2010/03/16 15:27:34, 0] printing/print_cups.c:cups_connect(78) Mar 16 15:27:34 localhost smbd[13718]: Unable to connect to CUPS server localhost:631 - Connection refused
CUPS is stopped in the system and the system is configured as samba server. What could be the reason for these printing requests from smbd?
I have a printer configured on my Ubuntu server using CUPS amd made it available to the local network. The printer is recognized on my other Ubuntu machine without any problems. But on my Suse laptop, the printer is not recognized. Using the YaST printer Configuations, I choose the option "Recieve Printer Information from Remote CUPS servers. But no printer is found.But... when I choose Do All Yout Printing Directly via One Remote CUPS server and enter the correct IP address (192.168.1.100), the printer is found andI am sure the printer info is broadcasted because it shows up on my second Ubuntu PC. But why is it not recognized by default on my Suse machine
I'm a new debian user. I install a Debian in Virtualbox, and try to connect to the source list to update, but it can't connect to the server, while network and internet connection works. This is my sources.list
deb http://ftp.rediris.es/debian/ squeeze main deb-src http://ftp.rediris.es/debian/ squeeze main deb http://security.debian.org/ squeeze/updates main deb-src http://security.debian.org/ squeeze/updates main deb http://ftp.rediris.es/debian/ squeeze-updates main deb-src http://ftp.rediris.es/debian/ squeeze-updates main
cups does not start with the server. When I try to start from the terminal I get the error message
cupsd: Unable to read configuration file '/etc/cups/cupsd.conf' - exiting! cupsd: Child exited with status 1!
The log files show nothing. cupsd.conf exists. It is user - root and group - root with permissions set at 0644.
My interpretation of this is that the program is not launching from either boot or terminal for a fundamental reason. I do not quite see what that reason is .
The last complete update failed on one package (Cups Common - 1.0 mb), each time I login the update is offered via update manager and each time it fails with this message:
W: Failed to fetch http://security.ubuntu.com/ubuntu/po...ntu3.6_all.deb Connection failed [IP: 91.189.88.31 80]
can anyone shed light on this - (I'm running 9.04 Jaunty)
installed lenny and am trying to install brother dcp7010 again:
1) i can't start CUPS server with /etc/init.d/cups restart "file not found", there is a cups@ link in /etc/init.d.
2) when i install dcp7010 cupswrapper
dpkg -i cupswrapperDCP7010-2.0.1-2.i386.de it ends with " lpinfo: Verbindung zum Server nicht m�glich: Verbindungsaufbau abgelehnt lpadmin: Verbindung zum Server nicht m�glich: Verbindungsaufbau abgelehnt" (connection to server not possible, refused)
3)[URL] doesn't work.
4)foomatic-gui can't find the installed dcp7010 lpr-driver
brdcp7010lpr-2.0.1-1.i386.deb, (a couple of days ago it did)
This is frustrating because it worked in etch and worked for awhile in lenny. The dcp7010-scanner does work.
I just recently installed ubuntu server on a PC that'll be our home server. I got it connected to the network but I can't update the repos with apt or aptitude. It stops at something about [URL] How do I fix this? I need to install software
Running 10.04, just installed a ton of updates from Update manager.Printer is HP Officejet 6210Everything working fine up until after installing updatesWhen I try to print I get error message. Starting to troubleshoot tells me that CUPS service is not running, when I try to locate using http://localhost:631/ I cannot connect.Checking Synaptic it seems everything is installed that should be
Is there a way to upgrade cups to support the latest printers? For example if I am using 8.04 LTS server and I buy a newish printer, it won't work. Am I able to add a repository or apt-get upgrade to get the latest version?
Installed the latest updates on 10.10 and the update froze during cups. So after leaving a couple of hours while did something else I had to abort the updates.
This of course borked the updater so had to use the command sudo dpkg --configure -a
Then I tried sudo apt-get install -f
Which again broke at trying to install cups.
I then tried a forced uninstall but this complained about missing dependences. I corrected those but it still hangs on removing cups.
If you try an re-install the same the problem hangs.
My printer no longer prints anything with exception to the TestPrint page.Any other job I give it, it says is "completed" in the queue, though nothing has printed. Installed cups again, after a complete removal. No change. Heres what troubleshooting gave me:
Code: D [06/Mar/2010:07:26:01 -0500] cupsdSetBusyState: Dirty files D [06/Mar/2010:07:26:01 -0500] cupsdReadClient: 12 POST / HTTP/1.1
I have an HP printer that I can't connect to. For some reason, CUPS is demanding a username and password.I know there's a way to manually edit the cupsd file, but I'm not sure what I'm looking for in it to shut off the dialog, so I can just go in and add a printer. Anybody else had this problem? I tried using a text browser, and ran into the same problem.
I've been trying to figure this out for longer than I care to admit. We upgraded our print server (sysadmin) to 64 bit lucid and that moved our cups server from 1.3.7 to 1.4.3. We have a remote server that is still 1.3.7 (printhost1) but version difference doesn't seem to be relevant to the problem.
If I'm on console on sysadmin and do an lpr to a printer on printhost1, everything is copacetic. However, If I'm on a host that specifies "ServerName sysadmin" in its "/etc/cups/client.conf" access_log on sysadmin shows:
and error_log shows: E [22/Mar/2011:11:11:40 -0500] Returning IPP client-error-not-authorized for Create-Job (ipp://localhost:631/printers/103_hp4250) from 172.16.10.52
We've been using this method of sharing printers between locations for years and years so it not working now is a surprise.
cupsd.conf on sysadmin looks like this and is as open as I can imagine:
Additional symptoms are that only printers locally defined on sysadmin show up when the client uses System>Administration>Printing in gnome. Same thing when you browse printers in windows on our samba domain controller that backends on CUPS.
I just know that it's something simple that's going to make me facepalm but I'm at a loss.
I was using Red Hat 7.3 forever and decided it was time for a change. I went to Fedora 10 but it was really buggy. CentOS 5.2 is VERY stable.Here is my problem.The server is command line only -- I tend to hate GUI"S.I setup Samba no problem disabling the ports needed through the firewall and that was straightforward.CUPS is a nightmare for me since CentOS locks down the cupsd.conf and then the firewall does its thing. I allowed port 631 through the firewall but then got lost on the cupsd.conf. It's been too long and the old redhat one won't work with CentOS (not surprising since it's a VERY old system) straight-forward CUPS tutorial for a command line interface. I just need it to be:
I'm trying to set up a cups print server on 10.10 server. When I run
Code: sudo apt-get install cupsys
i get this error
Code: E: Unable to locate package cupsys
I can find and install all kinds of other stuff and this is a fresh install.
Here's my /etc/apt/sources.list
Code: #deb cdrom:[Ubuntu-Server 10.10 _Maverick Meerkat_ - Release i386 (20101007)]/ maverick main restricted # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to # newer versions of the distribution.
I have a CUPS server on Debian, I am trying to connect from an Ubuntu 8.04 box. Here is my CUPS configuration file on Debian just in case it is usefull:
Code:
LogLevel warning SystemGroup lpadmin # Allow remote access Port 631
[code]....
When I try to add a printer I have set up in CUPS from my Ubuntu box, it asks for the password for katie (this is the user that is logged in on ubuntu box) on 192.168.1.200 (CUPS Debian Box). The problem is, I don't have a katie user set up on the debian box, am I supposed to for this to work. Why is it even prompting for a password? Also, it won't let me change the name so that I can authenticate with a different user, it is not in a text box.
I have a fresh install of Ubuntu 10.10 64, and when I change the CUPS-server via system->administration->printing->server->connect, the new list of network printers loads up correctly.But when I close the window and reopen it, the old CUPS-server is back, so it seems that the change isn't saved anywhere. Rebooting doesn't do anything.
I'm not looking to setup a print server. I want to print documents TO an existing network printer while I'm logged in via ssh to my Ubuntu Server 10.4 command line shell. Things like admin emails, pdf docs, etc.
All the clients on my LAN are able to print directly to the network printer without any help from the Ubuntu Server. I don't want to setup CUPS on the server unless that's the only way to print from the server itself to a networked printer.
Do I need CUPS or can I print from the command line in some other way?
I've been trying to get CUPS working on a headless server, in order to share the printers connected to it with the rest of the network. The problem is that I can't add printers via the web interface, or rather, that I can log in, as it will not authorize my account. I've tried lppasswd, adding cupsys to the group 'shadow'(only to have the system tell me that there is no user called cupsys), and been editing the cupd.conf for hours. On top of all tha, I can't even get to the web-interface without running "/etc/init.d/cups restart"!
At my work we use CUPS to maintain all of our printers. I'd like to use Ubuntu to print a ton of files in a directory. What command would I use to print all files ending in ".html" to a specific printer? I tried some command and all it printed was stacks of pure junk. Is there an option to choose a certain tray to print from? Would the command be Code: lpr -p(printername) *html ? I have no idea how to specify a certain tray.
I have installed Slackware 13 on one of the hard disks of my computer in order that I can get it working properly before changing over from 12.2.
My main problem is that I cannot get CUPS to change from 'Letter', which I presume is an American size, to A4, has anyone else had experience of this problem?
So I was trying to configure my CUPS server and checked the box marked "Use Kerberos Authentication." Now, I cannot change anything and get an unauthorized error every time I try. How can I remove Kerberos? I have access to the local computer as root and can use sudo.