Ubuntu 8.04: /var/log/exim4 paniclog file

Posted on 2009-04-19
Last Modified: 2013-11-15
In my PC with Ubuntu 8.04 i noticed that the log file:
is full of the following, repeated, systematic, message:
2009-04-19 19:50:01 1Lvb9V-0007D8-Tu failed to open /dev/null: Permission denied (euid=115 egid=126)
2009-04-19 19:55:01 1LvbEL-0007GZ-VM failed to open /dev/null: Permission denied (euid=115 egid=126)
2009-04-19 20:00:02 1LvbJC-0007KN-1O failed to open /dev/null: Permission denied (euid=115 egid=126)

What is the cause and what can i do to solve this situation ?
If i try to use the mail command to send something to any email address, i get in the mainlog file
this error:
2009-04-19 20:15:01 1LvbXh-0007WO-7d <= root@lrinetti-fly U=root P=local S=684
2009-04-19 20:15:01 1LvbXh-0007WO-7d failed to open /dev/null: Permission denied (euid=115

I don't know if these two problems are related.

Best Regards
Question by:lrinetti
    LVL 35

    Expert Comment

    Try typing this in a terminal windows:

    sudo chmod 666 /dev/null

    Author Comment

    I have followed your suggestion, but, at the next boot the /dev/null has
    the original permissions:
    0 crw-rw-r-- 1 root usbusers 1, 3 2009-04-16 17:26 /dev/null
    and the problem arise again, growing the /var/log/exim4/paniclog.
    LVL 35

    Expert Comment

    Not only the permissions are wrong, but the ownership as well: should be "root root".

    Let's try recreating the device:

    sudo mv /dev/null /dev/nullbk
    sudo mknod -m 0666 /dev/null c 1 3

    This will rename the old /dev/null and create a new one.
    Let's hope that this time the settings survive a reboot.

    Should you encounter more and/or graver errors than before, you can always restore the original device by:
    sudo mv /dev/nullbk /dev/null

    Author Comment

    after a reboot the /dev/null is again:
    crw-rw-r-- 1 root usbusers 1, 3 2009-04-16 17:26 /dev/null
    as before the changes. The file /var/log/exim4/paniclog still presents the:
    2009-04-27 11:43:52 1LyNNQ-0004T4-Pc failed to open /dev/null: Permission denied (euid=115 egid=126)
    LVL 35

    Accepted Solution

    Please list the contents of your /etc/fstab file here.

    Author Comment

    lrinetti@lrinetti-fly:~$ cat /etc/fstab
    # /etc/fstab: static file system information.
    # <file system> <mount point>   <type>  <options>       <dump>  <pass>
    proc            /proc           proc    defaults        0       0
    # /dev/sda6
    UUID=f31e26d8-0c6a-4f91-b0e6-834a26a34b50 /               ext3    relatime,errors=remount-ro 0       1
    # /dev/sda7
    /dev/sda3 /mnt/sda3 ext3
    UUID=8163385c-1843-405c-8a14-d2193e445edc none            swap    sw              0       0
    /dev/scd0       /media/cdrom0   udf,iso9660 user,noauto,exec,utf8 0       0
    # 2 righe seguenti aggiunte a mano per fix usb con virtualbox su ubuntuforum
    # 1002 is the USB group ID
    none /proc/bus/usb usbusers devgid=1002,devmode660 0 0

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    After running Ubuntu some time, you will be asked to download updates for fixing bugs and security updates. All the packages you download replace the previous ones, except for the kernel, also called "linux-image". This is due to the fact that w…
    If you use Debian 6 Squeeze and you are tired of looking at the childish graphical GDM login screen that is used by default, here's an easy way to change it. If you've already tried to change it you've probably discovered that none of the old met…
    It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
    Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

    737 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    20 Experts available now in Live!

    Get 1:1 Help Now