Find the answer to your Linux question:
Results 1 to 4 of 4
Hi All 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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Mar 2010
    Posts
    9

    Tail logs on 11.04


    Hi All

    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.

    Can anyone advise where I am going wrong. Usually use tail -f /var/log/messages

    Thanks

    Glenn

  2. #2
    Super Moderator Roxoff's Avatar
    Join Date
    Aug 2005
    Location
    Nottingham, England
    Posts
    3,883
    I'm not familiar with the filesystem layout of Ubuntu, but that's the standard place for that file. Are you sure the syslog service is running?
    Linux user #126863 - see http://linuxcounter.net/

  3. #3
    Trusted Penguin Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    3,391
    I believe, ubuntu uses /var/log/syslog, and not /var/log/messages

    To verify that, you can look into /etc/syslog.conf or /etc/rsyslog.conf
    You must always face the curtain with a bow.

  4. #4
    Linux Newbie
    Join Date
    Dec 2010
    Posts
    146
    The file is probably not having read permission, try as root -

    sudo<command>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •