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


ADVERTISEMENT

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

Fedora :: FC12 Logs In And Then Logs Out?

Apr 19, 2010

When I try to login as me - it gets pretty far but then something happens and automatically logs out. This happens in Gnome, Kde too. Now - I have no problem logging in a Root. Is there a way I can try to stop the login process before it kicks me out, or is there a way to look at some files to tell me what's going on?

View 3 Replies View Related

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 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 :: 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 :: 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 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

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

CentOS 5 :: Logs In Goes To Check The Logs And Gets "/var/log" Permission Denied

Jan 29, 2010

On our app server the logs from the Sybase Mobilink service get logged to /var/log because of that I did a chmod a+rx /var/log and all is well until.... the next day QA logs in goes to check the logs and gets:

Quote:
qa@dwdb [~]$ ls /var/log
ls: /var/log: Permission denied
qa@dwdb [~]$

View 18 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

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

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 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 :: 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 Networking :: Cam Does Not Keep Logs

Nov 27, 2010

1) THE SETUP: I have a home set-up with 3 Ubuntu computers, including an HTPC which is always on, plugged into a Verizon FIOS routerI also have a web based cam (TrendNet TV IP422W).The cam has an ethernet jack so it plugs in directly to the router.It has a simple firmware that allows users to log in via HTTP.It is also managed via HTTP.

2)THE PROBLEM: the cam does not keep logs.So I never know who is logged in at any one point. It's not a big deal, but it is annoying.I want to fix that.The router does not keep logs either.I was told I can get a linux based router to replace (or plug in) to the default FIOS router, but I am looking for something simpler and cheaper.

3)THE FAILED SOLUTION: my idea was to set up the Ubuntu HTPC to always forward a given port to the webcam via the LAN. I tried to follow the instruction from URL...as best I could, see below. 6666 is the port that the cam is listening to (the router is set to forward that port to the cam's LAN IP 192.168.1.30). 5555 is the port that I am trying to forward through the HTPC (ubuntu.local or 192.168.1.130 below, and the router is set to forward any 5555 TCP packets to the HTPC at 192.168.1.130).The iptables commands below where run on the HTPC.

View 9 Replies View Related

Ubuntu :: 10.10 Logs Out Unexpectedly?

Jun 7, 2011

My laptop Dell Inspiron 1420 running Ubuntu 10.10 has started logging itself out every 30-60 minutes or so. I am trying to figure out what is the problem. I am wondering if it is

1) a hardware problem. I have recently replaced the cooling fan which required disassembling the whole thing into small pieces. The computer has worked without a problem for one day after the repair.

or

2) a problem with a recent update. The computer started logging itself out after a recent update. This coincidence is suspicious, but I hasn't noticed anyone reporting a similar problem with Ubuntu 10.10.

Is there a way I can see what is happening through the system log? What would be the keyword I should look for in the log files?

Can I track the last updates I have applied and roll them back?

The only solution I see now is to reassemble the laptop to see if it helps.

View 6 Replies View Related

General :: Where To Find Ubuntu One Logs

May 13, 2010

Ubuntu one does not synchronize files since I upgraded from 9.10 to 10.04. The preferences panel keeps showing "Synchronization in progress...", but files are not downloaded from the repository. It does not show any error message.

Where do I find the programm logs, where I can investigate my problem?

View 2 Replies View Related

Ubuntu Security :: Can't Find The UFW Logs

Mar 18, 2010

I cannot find one single UFW event anywhere. I have researched this and see that others have trouble finding these logs too. I have looked in every /var/log there is and I can't find one event. I have UFW enabled, default deny and logging set to medium from a previous logging low(in hopes this would create more events to be seen). In terminal, UFW is shown as active. I have been using Ubuntu for more than a year now and I recall seeing UFW events with every session in some /var/logs in Ubuntu 9.04 - I'm running 9.10 now. I have also tried looking throughout the system files and have found nothing. Is UFW not working properly or could I just not be experiencing any firewall events(not likely)?

View 9 Replies View Related

Ubuntu :: Where To See All The Logs Of All My Chats On Pidgin

Apr 10, 2010

Where can I see all the logs of all my chats on Pidgin? I have "Log all instant chats" and "Log all chats", but not "Log all status changes to system log"

View 2 Replies View Related

Ubuntu :: Weird Crash Somewhere That Logs Out Of KDE

May 6, 2010

I left the computer on to download last night, and for the second time I didn�t download anything because KDE logs me out automatically.How can I find out the cause of this logging out?

View 1 Replies View Related

Ubuntu :: Automatically Logs Me On Without Asking Me For My Password?

Jun 21, 2010

I don't know if this a bug or some setting that I have changed inadvertently, but when I start up my computer Ubuntu now logs me on automatically to the sole user account I have created but without asking me my password.I rarely fiddle about with settings and am not aware of touching anything to do with user accounts etc. Obviously I don't want this behaviour otherwise I wouldn't have put a password on the account. Everytime I log on I want to choose what language I want to run my system from the log on screen.

In administration > users and groups > it says my user account password is asked at login.Is there an option somewhere else to turn this behaviour on or off?how I could have accidentally turned this behaviour on?

View 2 Replies View Related

Ubuntu :: 9.10 - How To View Boot Up Logs

Jul 3, 2010

Is there anyway to view the Boot Log of the messages displayed during the booting of Ubuntu? I found log file viewer under Administration but there were so many logs I did not know if any of them were the Boot up logs. I have my Ubuntu configured to display the messages as it boots before it switches to GUI mode and I see an error message about something failing to initialise but it goes by too fast to read the entire error message. I have Ubuntu 9.04 64-bit

View 2 Replies View Related







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