Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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:
    51
    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,609
    Likes Received:
    32
    Trophy Points:
    238
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. fawez

    fawez Registered

    Joined:
    Mar 25, 2011
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    51
    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,609
    Likes Received:
    32
    Trophy Points:
    238
    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?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. fawez

    fawez Registered

    Joined:
    Mar 25, 2011
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    51
    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:
    56
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice