Ubuntu Servers :: CUPS Not Forwarding To Other Polled CUPS' In 10.04?
Mar 22, 2011
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 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 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.....
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 .
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?
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.
Setting up a new 64-bit lucid server. I installed cups and cups-client, and expected to have the "lpr","lpq" etc. commands available; we have old scripts that rely on them. But I don't see them anywhere.
Are they still provided in some package I don't know about? Otherwise I'll probably have to come up with wrappers around lp and lpstat, to avoid having to revise a lot of old code.
I can't access the web interface for cups to install a printer on Ubuntu server 10.4 tell me how to get it working right or i'll just throw the computer out the window and go with windows server, a much better, user-friendly product, like all Microsoft creations
Does anybody know an application that sums up the printing from the page_log file and puts the summed amounts in another simple text file? Tried phpPrintAnalyzer but could not figure out how to set it up.
I've set up a new virtual server (ubuntu 10.04 LTS on RHEVM, "uname -a Linux print-me 2.6.32-31-server #60-Ubuntu SMP Thu Mar 17 23:33:39 UTC 2011 x86_64 GNU/Linux") 2 weeks ago just for cups and samba printing (no other filesharing). Ran tests and it looked fine, then last friday I have added 10 Ricoh printers and 3 hp printers. Looked fine, apart from an issue with one "HP Color Laserjet 2600n", but resolved this with the help of the driver found here: [URL].. Since saturday, cups crashes daily in the morning with a segmentation fault (segfault:, eg:
/var/log/kern.log:Apr 3 06:40:39 print-me kernel: [154716.314945] cupsd[20713]: segfault at 7f097c8cd5d0 ip 00007f0ab0f0fb0f sp 00007fff5282dc10 error 4 in libcups.so.2[7f0ab0efb000+47000]
I wanted to trace what happens just before this by changing the LogLevel[URL]..upsd-conf.html) but setting it to anything higher than notice makes cups segfault again, with additional message on CLI:
I'm working on CUPS server here now, I am new to the whole Fedora area, I'm starting to like it, tackling one service after the other. I have cups, which I don't recall installing but was there guess its a default. So I added a printer on my server, that was on a 10.0.1.1 block, added it as lpd://10.0.1.1/lab3printer. Ok that worked and printed from my server, but my problem is when other machines try to add the printer. I continue getting this problem Alberto "recoverable: Network host '10.0.11.25' is busy; will retry in 30 seconds..." On the computer it was added as printer lpd://10.0.11.25/alberto because my server has that IP and printer well named it alberto. I followed what this said with the xined.d [URL].
I connect my laptop to several different networks and need to print in each of them when I am connected there. In the past (ie 12.2 and earlier) I solved this by running a cups server on the laptop and having it poll the appropriate cups servers in each network.
I was thinking that perhaps in 13.0 I could bypass having the cups server on the laptop and that KDE would "see" the various cups servers available. However this does not seem to work...
I recently built a server from an old box using Ubuntu Server 9.10. This is my first server and I am very new to the server world.I have an Epson Stylus NX400 connected via USB. I have managed to configure it to the point where I can see the printer listed on my client laptop and can print a test page. However, I cannot print anything else. When I access the job history through the CUPS adminI can see that the print jobs were recognized and marked as complete, even though the printer never physically engaged.
After struggling with a bad LP cable I have finally proven that the cable, printer and port all work. I booted in to another OS and was able to finally print. Now, I'm trying to get server 10.4 to recognize the printer and then I want to configure CUPs so I can run this machine as a headless print server, among other things.
Apache is running as I managed to get nagios to run and I can pull it up from another PC via a browser.
sshd is running as I'm logged in from another PC via ssh.
Problem number 1 is how do I install a driver for an NEC Superscript 870 printer? As it is lpstat returnes with :
karl@zeus:/etc/cups$ lpstat -t scheduler is not running no system default destination
Once I am able to print then I need to print to the server from other hosts on the network.
I've set up a cups printing server using ubuntu 10.04.1 LTS. The printer's a HP Laser Jet 1018 I can connect to it over vpn using openvpn from my netbook which is also running ubuntu 10.04.1. I can connect to the printer all right and test page prints without a problem. But if I try to print anything else, it take at least 5 minutes before the job is successfully send and printed out.
Also, on the client side, for example, the file size would like 500k, and when it finally prints out, the file size on the server side is less than 10k. The file is a black and white document, and from what I can tell, the printed page is not missing any information.
I have a FC12 machine installed with CUPS and a CUPS-PDF printer. Printer are shared and works fine with this URL:
[URL]
I have both client machine Windows XP and Windows 7. Both has setup the above printer and print fine without any problem. I can get the PDF file from windows test print. The only problem is I face is wait for around 20 seconds for printer dialog prompt out when I press print button in Windows 7. However, my windows XP never t have this problem. The printer dialog prompt out immediately when I press print button.
I successfully installed cups on my fedorabox, I can manage it through the web interface on port 631. I added the hplip and installed a HP Deskjet printer. However, when I want to print a test page I get the following error: "no pages found". The print job is in a stopped state...
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 ..
I'm trying to setup a headless CUPS server, but no matter what I do, I can't add a new printer. Not using the web interface, or the GUI of another computer connected to the CUPS server.I always get to the point shown in the attached screenshot, and then I am asked for a password, which never works. I've practically slaughtered my cupsd.conf, and it now looks like this:
Code:
LogLevel info # Allow remote access Port 631 Listen /var/run/cups/cups.sock
[code]....
it looks like the above should tell CUPS to never ever ask for authentication, but as you can see in the second screenshot, it still does!
I can't get cups to auto-start at boot time. Running sudo cupsd manually works fine, but I don't want to have to do that every session.This seems to be affecting lots of folks. This thread claims that bug #444597 in launchpad has a solution, but I must be too stupid to see it, and the thread is closed so I can't post there. All my rc and init files seem fine, bootsplash is off, and, of course, there are no useful boot error logs in Karmic.
Anyway im trying to do a simple thing pointed out in the thread title. Everything is set up, cups-pdf works, in dosemu.conf lpt1 command is "lpr" printer-timeout is 10... I "work" in an accounting agency that has a program written in clipper back in 1992. Apparently some prints from this program produce text/plain and some produce application/octet-stream. text/plain is printed. The later is always aborted. I have uncommented the lines in mime.types and mime.convs. Which are located in /usr/share/cups/mime.
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 was using happily Brother DCP7030 printer with CUPS on Ubuntu 10.04 for several months with no issues at all however recently I've started having problems with printing anything which is even a bit complex ( like 2 pages pdf, jpg file, etc..., simple gedit files are fine) - after printing properly up to one page the printer is producing one page like the one from attachment (with bunch of vertical lines starting in random places) and then "printing" unlimited number of blank pages until I will force it to stop. Any ideas ?
Ps. The printer itself seems to be fine - printing perfectly when connected to windows or other ubuntu machine configured exactly the same way like the one affected. Removing CUPS and installing it from scratch didn't help.
However, many of those threads show that adding two lines to the file "/etc/network/interfaces" should solve the problem. I checked on my PC and those two lines are already there.. but CUPS still doesn't start properly on boot up...