Ubuntu Servers :: How To Tail Log File And Printout

Sep 29, 2010

I need to printout auth.log each line by log event, I think it should be running using the following command:

~# tail -f /var/log/auth.log | lpr

but it's not, why?

the lpr package already is installed in myserver, there is no problem to print directly.

~# cat /var/log/auth.log | lpr

View 2 Replies


ADVERTISEMENT

General :: Save A Xgraph File In Ns2.34 For Later Printout?

Jul 9, 2011

I want to save a xgraph derived by performance comparison of reactive and proactive protocols in MANET.. For doing this, I clicked the hardcopy button and select the device/file to save the file... but nothing happens... and 1 more query is that i have searched the whole Internet to find why the packets are not transferring in Tora...But I could not find it.

View 6 Replies View Related

General :: Tail -f Not Tracking File Changes?

Jun 20, 2010

I was recently looking into using tail -f to monitor some text files like so: tail -f /var/sometext However, when I did some testing, it doesn't seem to work. What I did was I created a new file and ran: tail -f /home/name/text Then, I opened the log in vim and did some editing, saved it, and it seems that tail is not "seeing" the change.

The weird thing is, running echo "hello" >> /home/name/text seems to work fine (tail sees the change). I read somewhere this has something to do with file descriptors and new inodes being created when saving a file.

View 3 Replies View Related

General :: Tail File If The Name Is Changeable?

Jan 1, 2010

am facing a problem with tailing a log file. Logs of application located in one folder:applog_20100101_0200.log <--log until 2 am january 1applog_20100101_0456.log <--log until 4:56 amapplog.log <-- current logApplication can change log when ever it wants to. I need to monitor this log, what i do:tail -f applog.logBut when app changes log my tail just stops. How can i tail applog.log all the time with out stops?

View 7 Replies View Related

Fedora :: Tail: Cannot Open `+124' For Reading: No Such File Or Directory

May 29, 2010

Installed Fedora 12 in vmware and during the installation of a professional program versioned 2003, following error encountered.

tail: cannot open `+124' for reading: No such file or directory
gzip: tmptarfile.tar.Z: not in gzip format
tar: This does not look like a tar archive
tar: Error exit delayed from previous errors
extract error, installation cannot proceed.

Checked the google and tried ncompress and export_posix2_version=199209, but the problem persists.Is fedora compatible to this program, MEDICI 2003 ver?

View 4 Replies View Related

General :: Tail The Latest Log File In One Command Line?

Feb 1, 2010

I want to tail the latest log file in one command line. I dont know what command/option to use for the same.

View 5 Replies View Related

Ubuntu :: Broken Printout From The CUPS?

Jan 22, 2011

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.

View 1 Replies View Related

OpenSUSE Hardware :: 11.4 - No Printout On Canon LBP 3100

Mar 24, 2011

I have just installed OpenSUSE 11.4. Everything works perfectly on my HP Probook 4520s. Except my canon printer LBP3100. I downloaded the files from Canon for the CAPT and CUPS drivers ver 1.90. Installed and did exactly as they said in their manual. When I plug in and add printer with YaST, Open SUSE sees the printer and installs it. However when I try to print, nothing comes out!!

View 9 Replies View Related

Fedora :: HP 1400 Printer Detected / Send Document But No Printout

Oct 11, 2009

I try to print with an HP 14000 PSC on Fedora 11. The printer is detected, send a document, it goes on the queue but does not get printed. The status is stopped. The printer status stay on idle with /usb/lib/cups/filter/foomatic-rip failed. I try to restart the printer, unplugged reboot; nothing. I used the same printer on F10 was working fine.

View 3 Replies View Related

Server :: Make Read Only Share Folder With No Printout Access To Clients On System?

Nov 29, 2010

Actually i have to make one share folder on linux in such way that user should only read the documents from shared folder and they should not take prints of that folder.could any one telme what server i should use.?samba or nfs?how can i stop client users to stop taking prints from that shared folder.

View 3 Replies View Related

Ubuntu Servers :: Dpkg-buildpackage Error "dpkg-buildpackage: Failure: Tail Of Debian/changelog Gave Error Exit Status 1"?

Feb 12, 2010

I'm attempting to apply the quota patch to postfix 2.5.1. I have done the following..

Code:
cd /usr/src/
apt-get source postfix
wget http://vda.sourceforge.net/VDA/postf...da-ng.patch.gz{code]....

dpkg-buildpackage: failure: tail of debian/changelog gave error exit status 1

I have searched hi and low and still can't work out how to resolve this.

View 2 Replies View Related

Ubuntu :: Tail Logs On 11.04

Jun 6, 2011

I have installed Ubuntu 11.04 over the weekend and wanted to tail the logs whilst doing so stuff. When I browsed to the folder after getting an error trying to tail, I noticed that the messages file does not exist.

Usually use tail -f /var/log/messages

View 3 Replies View Related

Ubuntu :: Tail -f <filename> Is Not Working

Jan 18, 2010

tail -f <filename> is not working as planned on my Ubuntu 9.10, it doesn't show the appended data.tail -F works, but it does not append the new line, it reopens the file with the message: "tail: <filename> has been replaced; following end of new file"

View 4 Replies View Related

Ubuntu :: Tail Log Files To Syslog?

Mar 23, 2011

Is there a way to tail a log file and send each line as a syslog event to a remote server?

View 1 Replies View Related

General :: How To Use Tail -f With Sound

May 8, 2011

I am trying to use tail -f and play a sound everytime a new line appears. I tried this: for i in tail -f myFile; do aplay alert.wav; done; Which kinda worked, the output is:

Playing WAVE 'alert.wav' : Signed 16 bit Little Endian, Rate 22050 Hz, Mono
Playing WAVE 'alert.wav' : Signed 16 bit Little Endian, Rate 22050 Hz, Mono
Playing WAVE 'alert.wav' : Signed 16 bit Little Endian, Rate 22050 Hz, Mono

But after 3 times it stops, and I would like to print the tail -f result and not the aplay result. How could I achieve that?

View 1 Replies View Related

Ubuntu Networking :: Any Way Could Tail Output As NetworkManager Tries To Connect

Feb 7, 2010

I'm running ubuntu 9.10 with the latest networkmanager (from ppa)I thought this could be wrong credentials setting, so i've tried a huge amount of setups (user: phonenumber, password: phonenumber, avp:telenor, seems to be the general consensus for how it should be)Is there something I'm missing or is there any way I could tail the output as NetworkManager tries to connect (hopefully seeing something like "wrong password" etc.)

View 6 Replies View Related

Fedora :: Tail -f /var/log/messages Info

Jul 30, 2010

I was using Opensuse on Virtualbox earlier today. I issued the tail -f /var/log/messages command on Opensuse 11.3 to see the messages. Then I logged in from my Mac into Opensuse 11.3. I noticed that Opensuse was displaying realtime messages of the things happening. For eg, I entered a wrong su password and it displayed that too. But no such things were happening on my Fedora 13 installation. So is there any way if I could get some realtime messages on Fedora 13 too like the one on Opensuse..?

View 4 Replies View Related

General :: Equivalent Of Tail/less - Follow-name Under OS X

Jul 28, 2011

I need to tail -f a log file that is rotated.

This is the exact same issue as the one here, but on OS X:

Why does less tail mode stop working?

So how can I constantly track a file whose inode might change under OS X?

View 1 Replies View Related

General :: Tail Command Does Not Refresh All The Time?

Oct 26, 2010

I am running a script with nohup and this generates a lot of logs.

In order to view the log I use tail -f nohup.out

The problem is that the info supplied by this command is not always the latest//sometimes I need to use the command again order to view the latest info added to the nohup.out file.

View 3 Replies View Related

CentOS 5 :: RPM Tail Chasing Clobbered Yum Upgrade

Mar 28, 2011

I have had update problems for a very long time in my desktop e-machine. Maybe since 5.3. Usually something about Gwenview and other things. And, while --skip-broken got other packages updated, sorry, an incomplete update just isn't acceptable. Because of this I stopped using Centos for a long time. Yesterday, I got ambition and gave it another try. I had a lot of yum upgrade failures when upgrading 5.4 to 5.5, using --skip-broken.

I decided to fix things or delete Centos completely. But, I like the idea of free R****t. I realize this may have been posted, but I had no luck finding it via Google, So I started Googling. I soon found the --disablerepo option, and playing with repos, got most of the failures to upgrade. But, still hung up on a lot of stuff, like 11 packages or more.

Next, I learned about yum-prioroties and setting repo prorities. Yum-priorities was already installed, but I did go in and set the priorities. Since Google has a lot of information on this, I will not repeat here. You go into the repo config files and add a priority number to each repo listing. Here is a script to display repo priorities that I found online, sorry, I lost the author:

[Code]...

View 5 Replies View Related

General :: Tail Command Syntax To Print A Sequence Of Line ?

Dec 21, 2010

How to print a sequence of line say line number 10 to 20 of a 50 line file ?

View 6 Replies View Related

General :: Place A Shell Script With Tail -f In The Back Ground?

Oct 6, 2010

Following script name is 123.sh and I need to put this in the background if I do 123.sh -bg this will not bring me back to the prompt but echoes what ever I put (using echo hello >> /tmp/123) in to the /temp/123 file. the only way that I have found doing this is to do "nohup 123.sh &" to put this in to the background. Is this okay or is there any better way of doing this?

#!/bin/bash
# file name is 123.sh
tail -f /temp/123 | while read line

[code]...

View 6 Replies View Related

Programming :: Tail The Message Log| Grep - Several Words - Play A Sound When It's Found

Jul 4, 2011

I'm trying to write a script that will either tail or watch /var/log/messages for the words

PHP Code:

signal Gone into alarm state

From this line below.

I would then like the script execute:

And have run at start up.

I'm stuck with grep-ping only one word

PHP Code:

View 14 Replies View Related

Ubuntu Servers :: Deciding File System For File Server (samba)?

Jan 7, 2011

I'm planning to add 1tb sata disk to my lovely file-server under ubuntu 10.10,what i want is use this disk as additional storage for network user,indows and ubuntu?I mean when my ubuntu server down (worse case) I can easily take out the disk from ubuntu machine and plug in on windows machine

View 2 Replies View Related

Ubuntu Servers :: File Creation Error On Apache2 .cgi File?

Jan 14, 2011

I am using python as a cgi for a simple game that i'm planning to run on a website. It requires the user to enter his name and age. This is saved in a file newly created in his/her name. However, I'm getting this error The above is a description of an error in a Python program, formatted

63 for a Web browser because the 'cgitb' module was enabled. In case you
64 are not reading this in a Web browser, here is the original traceback:
65
66 Traceback (most recent call last):
67 File "/var/www/webprog.cgi", line 51, in <module>
68 main()
69 File "/var/www/webprog.cgi", line 44, in main

[Code]...

View 4 Replies View Related

Fedora Installation :: X11vnc : Tail: Cannot Watch /tmp/x11vnc.tray.*

Jun 18, 2011

By invoking x11vnc with the -gui tray option the TCL/TK GUI attempts to embed itself onto the system tray, but I encounter the error message "tail: cannot watch /tmp/x11vnc.tray.*", after the first settings dialog approved [clicked OK]. I believe that a package is still missing to be installed and this is not really a software bug. I use the XFCE version shipped along F15, and the GUI can be started but not as a docked-applet.

View 3 Replies View Related

Ubuntu :: Bootup Error Messages "render Ring Head Not Reset To Zero Ctl 00000000 Head 02001000 Tail 00000000 Start 02001000"

Feb 3, 2011

So everytime I resume Ubuntu from hibernation, it remains black for a time then 2 messages on the screen appear for about 10 seconds before I can log-in:

Code: [ 0.556247] [drm:init_ring_common] *ERROR* render ring head not reset to zero ctl 00000000 head 02001000 tail 00000000 start 02001000 [ 0.556320] [drm:init_ring_common] *ERROR* render ring head forced to zero ctl 00000000 head 00000000 tail 00000000 start 02001000

View 3 Replies View Related

Ubuntu Servers :: File Transfer Via Ssh?

Jan 11, 2010

I have my server set up with AjaXplorer but there is a bug in the flash uploader that doesn't let you upload anything to the server.The only way I can update any files or add new ones is to physically plug in an external hard drive or USB drive and transfer them.I have openssh access and that's all set up, but can I transfer files somehow from my laptop to my server using like a cp command?

View 9 Replies View Related

Ubuntu Servers :: Allow All File-permissions For Everyone

May 11, 2010

on certain folders on a samba-server I would like to allow everyone everything.(Note: This refers to the filesystem-permissions. External security is cared for by samba. No problem here)That means: every local user and every remote user should be able to fully create, delete and modify every file in certain folders and all subfolder of these folders. This should include file contents and timestamps and permissions. And it should include modifying files owned by someone else, again meaning create/delete/modify/timestamp etc.

View 9 Replies View Related

Ubuntu Servers :: Copy File To DOS?

Oct 22, 2010

I have two PCs with Ubuntu 10.4 and DOS 5.0, which are connected by a 9 pins serial cable. I need to copy some files from the Linux box to the DOS box.

I tried UUCP but it's too difficult and i didn't found a working client for DOS.

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved