Ubuntu Servers :: How To Troubleshoot Cups Segmentation Faults
Apr 5, 2011
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:
[Code]...
View 1 Replies
ADVERTISEMENT
Nov 23, 2010
I have am using Maverick Meerkat 10.10 Kernel version: 2.6.35-22-generic I have a Razer DeathAdder gaming mouse. I am trying to compile/run this tool: Razer config tool I have jumped through several hoops:[URL]..
This install was for 10.04. This link helped with taming the mouse a little:[URL]..
Code:
xinput --set-prop "Razer Razer DeathAdder" "Device Accel Constant Deceleration" 5
Code:
xinput --set-prop "Razer Razer DeathAdder" "Device Accel Velocity Scaling" 1
I get the program to compile (after some problems the usb.h file not being where the system said it was) and I install it following these instructions in the README file that I have attached. I get a segmentation fault error when the razer daemon razerd tries to start:
[Code]...
View 9 Replies
View Related
Mar 2, 2011
I have an annoying problem with Ubuntu 10.10 64bit. I made a clean installation of Ubuntu on my LG P310 laptop and I'm using the Nvidia proprietary driver. The problem is that I get segmentation faults from random program after a while of usage. Examples of programs are Thunderbird, Synaptic, apt-get and tap crashes in Chromium (which I would think is segmentation faults). It would seem like a underlying library is causing the faults. The problem disappear after a reboot, the faults might only occur after a wakeup from suspend, I'm not sure about that at the moment. I can't figure out what triggers these faults, and I don't know how to do error tracing in this case.
View 5 Replies
View Related
Dec 4, 2010
Recently I noticed that on my Centos 5.4 system, yum no longer works and is giving segmentation faults. I can run "yum --help" and it works, but if I try to run something like "yum upgrade php" it will fault. I also noticed that other things are seg faulting as well, like /usr/sbin/logrotate and /usr/bin/certwatch.
I am guessing there is some sort of common library that needs fixing, but I have no idea what. I've read other posts about the yum segmentation fault and have tried various steps provided but so far no luck in getting it to work again. It used to work, and I rarely change this system so I'm not sure what could have caused it.
View 2 Replies
View Related
May 4, 2010
some users [ possibly ATI card owners running fglrx default ubuntu driver ] have issues having compiz enabled and trying to change the mouse pointer to a larger size. It actually doesn't get resized at all, expect when moved over Firefox and OpenOffice.I was fiddling in trying to get a workaround for this when suddenly Nautilus started to crash and respawn in an infinite loop. Everything then started to fail. gnome-terminal wouldn't open, xterm wouldn't open, menus wouldn't respond. Etc.The entire GNOME desktop was inoperable.
Logging out and choosing Fluxbox and KDE didn't help. I was sent right back to the GDM login screen. Hmm... seems not related entirely to GNOME... if it all.From a terminal, I could see constant crashes, segfaults on libc6-2.11.1..While at it, I logged on another account (my wife's) and everything was perfectly FINE, with no issues at all. Creating them another account and initializing, it also didn't happen any segfaults. However, everytime I logged in my own account, everything would happen again... nautilus respawning, no terminal, nothing, not even logout would work. Either I hit a MAJOR BUG in libc6 current ubuntu compile, or a setting file inside my home dir got really corrupted and screwed up. It was very frustrating, because this bug was a show stopper. For those who concern, my mobo is an Asus M3A78-EM running a ATI HD 3200 IGP, and I have ubuntu-default fglrx running.
I had run memtest+ overnight and no errors whatsoever. The fact that this was an "account specific" issue deems that there is no hardware fault. I had to migrate my old account to a newly created account, it was hard work because of my 100GB files. Setting ownership in each of them, etc. Everything is OK now, but I really wished to know what dimmed out my bright Lucid Lynx experience yesterday. And I just hope this doesn't happen again.
View 2 Replies
View Related
Feb 12, 2010
I have been running happily on Knoppmyth R5F27 (on Debian GNU 4.0/Etch) for a good long time. Everything has been operating well. My kids get to record their Mythbusters. Life is good. Tonight, though, I tried to make things better. And that was the mistake.
I read that we could use our PS3 to watch videos on Hulu. But, I needed a kind of proxy server or something to mask that I was using the PS3 browser. So, I thought I would install squid on the myth box.
I first tried apt-get install squid But, that didn't quite work. So, at a friend's suggestion, I ran: apt-get update Which had problems, too. Still, being a noob, I reran the apt-get install squid and a bunch of stuff came down. It has problems, too.
So, I turned back to apt-get update and realized there was a problem in sources.list. I updated it to have a more current repository and received the update. Then I realized that the apt-get for squid was pulling down resources for lenny. I struggled trying to kill the install for Squid. Failed. And then rebooted just to see if I have problems.
And I do. Mythbackend won't start. The command to do so produces a segmentation fault. Ditto for mythfrontend and mythtv-setup. I don't know what to do. Can someone help me roll this back to a stable setup of Etch? If you want to see my (very messy) attempt to install squid and update the system you can look at[URL]..
View 3 Replies
View Related
Aug 5, 2010
I have a HP P1005, which is connected to my desktop computer. I have it configured using hp-setup and set it to share across the network. However no matter what I do on an other computer connected to the network I'm unable to detect the printer. With OS 11.2 it all worked smoothly and practically out of the box. Only need was to add CUPS as an allowed service. This option is taken out, apparently it posed a security risk beats me if you only allowed local traffic. In order to open up the port I added in the internal and external zone the following: code...
Still the printer is not detected. If I turn the firewall off on both machines, no printer. If I try to ping it from the host machine it asks whether or not I enabled the firewall (which is turned off!!).
cupsd is running on the server printer. Localhost:631 is correctly configured and printing from my desktop works fine.
View 1 Replies
View Related
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:
172.16.10.52 - - [22/Mar/2011:11:11:40 -0500] "POST /printers/103_hp4250 HTTP/1.1" 200 306 Create-Job client-error-not-authorized
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:
ServerName sysadmin
ServerAlias *
ServerAdmin webmaster
FileDevice Yes
SystemGroup staff
LogLevel info
code....
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.
View 6 Replies
View Related
Apr 1, 2010
I'm having a problem with the oci8 module in PHP. I have been running this server for over a year with this configuration and never had an issue... I had been away since last Thursday, and suddenly this started happening this morning. I'm the only one who has server access, which has me baffled.
I've narrowed it down to the oci8 module because:
* I created a PHP script that does nothing except call oci_login(), which seg faults.
* Any web page that uses the oci functions fails... it asks you to download the PHP file, which is empty (likely because the oci_login call done before anything in PHP is printed).
View 1 Replies
View Related
Sep 17, 2010
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.
View 2 Replies
View Related
Oct 17, 2010
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
View 1 Replies
View Related
Nov 30, 2010
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.
Running Ubuntu Hardy LTS server.
instructions on phpPrintAnalyzer?
View 2 Replies
View Related
Feb 4, 2010
I was just checking some of the generated logs from Samba.
Code:
Quote:
I've looked over my smb.conf and it doesn't look like I even have any printer sharing enabled.
Quote:
How PC1 was refused a connection when it looks like I don't have any printers being shared throught Samba?
This is just on a home LAN.
View 1 Replies
View Related
Mar 22, 2010
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.
View 4 Replies
View Related
May 12, 2009
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].
View 3 Replies
View Related
Jan 17, 2010
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...
View 5 Replies
View Related
May 16, 2010
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.
View 9 Replies
View Related
Feb 17, 2011
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.
View 3 Replies
View Related
Feb 24, 2010
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
View 2 Replies
View Related
Feb 26, 2010
I know this is listed somewhere but I cannot seem to find it -
How to I add a root users to access the 127.0.0.1:631 interface for CUPS?
View 1 Replies
View Related
Feb 27, 2011
Running: Ubuntu 10.10
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.....
View 8 Replies
View Related
Mar 18, 2010
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.
View 2 Replies
View Related
Feb 26, 2011
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...
View 2 Replies
View Related
Jan 12, 2009
On my Debian Etch server, I'm finding a lot of the following in my /var/log/apache2/error.log file:
Code:
[Mon Jan 12 09:34:17 2009] [notice] child pid 17217 exit signal Segmentation fault (11)
[Mon Jan 12 09:34:18 2009] [notice] child pid 17206 exit signal Segmentation fault (11)
[Mon Jan 12 09:34:18 2009] [notice] child pid 17216 exit signal Segmentation fault (11)
What is a good way to trouble shoot and remedy this problem? We can't have processes dying all over the place, now can we.
View 6 Replies
View Related
Feb 24, 2011
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 .
View 2 Replies
View Related
Jun 22, 2009
What does this means:
[6867450.202500] hpet1: lost 1 rtc interrupts
[6867450.548506] hpet1: lost 2 rtc interrupts
May 24 20:20:01 vms2 kernel: [6886829.451310] console-kit-dae[19655]: segfault at 198 ip 00007f4c31b7fe09 sp 000000004036c090 error 4 in libglib-2.0.so.0.1800.2[7f4c31b53000+c3000]"
View 1 Replies
View Related
Feb 20, 2011
I'm writing a tridiagonal solver for sparse linear systems and I coded this decreasing loop:
PHP Code:
xx[NN - 1] = gamma[NN - 1]*BB[NN - 1];
ii = NN - 2;
/* Compute the x values: */
while (ii >= 0) {
xx[ii] = gamma[ii]*(BB[ii] + xx[ii + 1]);
ii = ii - 1;
}
now... if ii is declared as an unsigned integer, the code gives me a segmentation fault, but if I declare it as an int, it doesn't. Using DDD I noticed that, as an unsigned int variable, when I finally decrease it, it underflows and blows up to a huge value, ergo giving me an unaccesible direction for xx in the following iteration! I taugh me not to use unsigned int variables for dereasing loops! XD
View 14 Replies
View Related
Jun 25, 2010
A database can have faults of safety(security) from a certain size, what is this size?
View 3 Replies
View Related
Feb 12, 2010
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?
View 9 Replies
View Related
Feb 23, 2011
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 ..
View 2 Replies
View Related