Ubuntu Servers :: Software To Analyze CUPS Page_log?
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
ADVERTISEMENT
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
Jul 1, 2011
Where I work we're trying to create a mailbox where our employees sends messages to it and the mail server processess them. Much like the Support of some companies where you send an email a ticket is automatically opened, but instead we need to save the messages to the filesystem depending upon an identified ID in the message.
We're considering two options:
1) Identify by to: header
Messages are sent to 12345@domain.com or os+12345@domain.com, where 12345 is out customer identifier, and the mail server processess messages and saves them to:
/data/os/12345/Customer contact.eml
2) Identify by subject: header
Messages are sent to os@domain.com and the customer identifier is specified in the subject [12345] Customer contact.
We need to do some other verifications as the user (from: header) is authorized to archive messages to that customer, but this is another story.
I tried searching for something along the line of AMaViS and ClamAV filters but had no success.
View 2 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
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
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
Apr 7, 2010
I need to know what this means and what to do to fix this. code...
View 9 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
Mar 17, 2011
I need a tool to analyse the output of sar command. just like sarg which analyses the log files for http , squid etc . I need a similar tool for sar output analysis.
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 5, 2011
I'm looking for an app that will analyze my system and report similar to device manager. I'm trying to find out what type of ram i have installed (ddr 266/300/400 pc 2700/3200) etc.
View 3 Replies
View Related
Jun 28, 2011
I am trying to make a script which will analyze jpeg images taken from a webcam. i can get a image easily enough but i can't figure out a way to get the images average brightness as a number.
View 1 Replies
View Related
Aug 17, 2011
We have seen with the release of Fedora 15, systemd is the new start-up services, which will replace SysVinit and Upstart on most Linux distributions. Here are some tips based on the order systemd-analyze, for analyzing the startup time of your OS.On commence avec l'option time, qui affiche le temps total de d�marrage de votre syst�me : (One starts with l' option time, which posts the total time of starting of your system: )
Code:
$ systemd-analyze time
Startup finished in 6385ms (kernel) + 3228ms (initrd) + 49335ms (userspace) = 58949ms
[code]....
View 3 Replies
View Related
Apr 15, 2011
For those with IT jobs, how do you handle security monitoring for your company?
1.How do you determine what to monitor-- The most vulnerable assets, most critical or something else?
2.What kind of data do you collect for security monitoring purposes?
3.What tools and techniques do you use to analyze the data?
View 6 Replies
View Related
Jun 18, 2011
I need to analyze the squid access log file for the purpose of my research.For that I need to obtain some correlation among time and the web site visited, machine ip and the web site name etc.It's better if I can draw a graph by analyzing the log file . I found some log analyzers but it didnt provide this.I need to obtain some cor-relation from this log file .
View 1 Replies
View Related
Aug 8, 2010
rubyripper starts ripping but then it seems it stops during the analyzation.No action noticable and it does not finish.The last message in the log is: analyzing the files for not matching chunks.I left it for hours and nothing happens.It happens with all formats and with all CD's I have.No error messages or other.With opensuse 11.2. there was no problem at all.
rubyripper version 0.6.0
Kernel: Linux 2.6.34-12-desktop x86_64
Distribution: openSUSE 11.3 (x86_64)
KDE: 4.4.4 (KDE 4.4.4) "release 7"
Does anybody have an idea or need any logfiles?A similar problem I have in k3b when ripping audio cd's. It hangs up during analyzation.
View 1 Replies
View Related
Jan 26, 2010
I install squid-graph 3.2 need to know:
On analyze page have:
This mean! cache sending to my users as total object 84Mb? and proxy server sending object 52Mb which are not cached yet to the users?
View 3 Replies
View Related
Jun 11, 2010
I am facing customer issue. Customer has got core file while running the server. Customer had sent core file and details from pstack, pmap and pldd commands.
View 1 Replies
View Related
Jan 4, 2014
I have a problem for which I imagined a radical solution. Okay, I have a script that uses Alltray's "menu" feature as an interface. It's working greatly, EXCEPT sometimes lxpanel (the panel and tray of LXDE) has a hiccup and restarts, at which point the alltray menu is still running, but the icon is gone from the tray.
I want to somehow test the screen for the existence of a color, a color that is likely only to exist in the icon I've chosen for the chat menu. If the color exists on my screen, then the script can continue to do nothing, but if the color doesn't exist, then that means the alltray icon with my custom icon has disappeared, at which point I should have my bash script close the alltray process and start it again.
How to accomplish the checking of my screen for the existence of a particular color? To simplify, I already have simple screenshot scripts (scrot is good for it), so it would be fine if I could simply analyze an image.
View 6 Replies
View Related