The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Cannot open main log file "/var/log/exim_mainlog"

Discussion in 'General Discussion' started by fawez, Mar 25, 2011.

  1. fawez

    fawez Registered

    Joined:
    Mar 25, 2011
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    hi

    when im logging into SSH

    i have this error

    2011-03-25 23:16:45 Cannot open main log file "/var/log/exim_mainlog": Read-only file system: euid=0 egid=0
    2011-03-25 23:16:45 cwd=/root 3 args: send-mail -i recup45@gmail.com
    2011-03-25 23:16:45 Cannot open main log file "/var/log/exim_mainlog": Read-only file system: euid=0 egid=0
    exim: could not open panic log - aborting: see message(s) above

    file system : centos 32bits

    what is the kind of this error !?
     
  2. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    It is an error about the file system itself being in read-only mode, which is pretty serious. You would need to get ahold of your datacenter, NOC or hosting provider to ask them to reboot the system and run a file system check when the system has been taken down. Please ensure you have full account backups off the server before having the system rebooted.
     
  3. fawez

    fawez Registered

    Joined:
    Mar 25, 2011
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    the support has been run serv on resuce mode and run FSCK

    the server is online now

    he told me this :

    Your server is now online. Please recheck.

    Logs:
    ***** FILE SYSTEM WAS MODIFIED *****
    : 1563446/178487296 files (1.7% non-contiguous), 25908796/178472101 blocks

    do you think that it's ok ?
     
  4. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    Are you able to create files in /var location now? Are you getting any further file system read only mode alerts anywhere?
     
  5. fawez

    fawez Registered

    Joined:
    Mar 25, 2011
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    no i d'ont have any alert now

    any SSH command to be sure that everything it ok ?
     
  6. MattLee

    MattLee BANNED

    Joined:
    Aug 26, 2009
    Messages:
    83
    Likes Received:
    0
    Trophy Points:
    0
    Hello,

    You can simply run the command 'touch /var/test.file'.

    If it doesn't reply with a read-only file system error, you should be ok.
     
Loading...

Share This Page