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!

how do I fix this problem

Discussion in 'General Discussion' started by silvernetuk, Feb 5, 2003.

  1. silvernetuk

    silvernetuk Well-Known Member

    Joined:
    Sep 2, 2002
    Messages:
    311
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    United Kingdom
    Hi,

    I am getting the following email from a new server I got

    /etc/cron.daily/logrotate:

    stat of /var/log/exim_paniclog failed: No such file or directory
    stat of /var/log/exim_rejectlog failed: No such file or directory

    How do I fix this problem ?

    Regards,
    Garry
     
  2. Juanra

    Juanra Well-Known Member

    Joined:
    Sep 22, 2001
    Messages:
    777
    Likes Received:
    0
    Trophy Points:
    316
    Location:
    Spain
    I would
    # touch /var/log/exim_paniclog
    # touch /var/log/exim_rejectlog
    and give them the same permission as the other Exim log files.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. silvernetuk

    silvernetuk Well-Known Member

    Joined:
    Sep 2, 2002
    Messages:
    311
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    United Kingdom
    Hi,

    I would really like to get it working how it should

    How do I make this files ?

    Regards,
    Garry
     
  4. Juanra

    Juanra Well-Known Member

    Joined:
    Sep 22, 2001
    Messages:
    777
    Likes Received:
    0
    Trophy Points:
    316
    Location:
    Spain
    &touch& is the command to create the file:

    In a shell session write this:

    # man touch

    if you want more info.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. silvernetuk

    silvernetuk Well-Known Member

    Joined:
    Sep 2, 2002
    Messages:
    311
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    United Kingdom
    Hi,

    Oh right so I go into ssh and type

    # touch /var/log/exim_paniclog
    # touch /var/log/exim_rejectlog

    and chmod it to the same as exim_mainlog which is -rw-r-----
    the is has root root so do I need to chown both files to root:root

    Does anyone know what the chmod number is for -rw-r-----

    Regards,
    Garry
     
  6. Juanra

    Juanra Well-Known Member

    Joined:
    Sep 22, 2001
    Messages:
    777
    Likes Received:
    0
    Trophy Points:
    316
    Location:
    Spain
    # man chmod

    ;)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. taivu

    taivu Well-Known Member

    Joined:
    Nov 22, 2001
    Messages:
    65
    Likes Received:
    0
    Trophy Points:
    306
    Is it just me, or are there threads about this issue all over the place? I could swear I just replied to one... ;)

    [quote:0927ce769b][i:0927ce769b]Originally posted by silvernetuk[/i:0927ce769b]
    Does anyone know what the chmod number is for -rw-r-----[/quote:0927ce769b]

    4 read
    2 write
    1 execute

    -rw-r----- would be 640 then.
     
  8. silvernetuk

    silvernetuk Well-Known Member

    Joined:
    Sep 2, 2002
    Messages:
    311
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    United Kingdom
    Hi,

    Thank you, just done it.

    Regards,
    Garry
     
  9. ozzi4648

    ozzi4648 Guest

    [quote:2f134fc161][i:2f134fc161]Originally posted by taivu[/i:2f134fc161]

    Is it just me, or are there threads about this issue all over the place? I could swear I just replied to one... ;)

    [quote:2f134fc161][i:2f134fc161]Originally posted by silvernetuk[/i:2f134fc161]
    Does anyone know what the chmod number is for -rw-r-----[/quote:2f134fc161]

    4 read
    2 write
    1 execute

    -rw-r----- would be 640 then.[/quote:2f134fc161]

    .
     
  10. silvernetuk

    silvernetuk Well-Known Member

    Joined:
    Sep 2, 2002
    Messages:
    311
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    United Kingdom
    Hi,

    The exim_rejectlog made it self and set it to 640 so I need to change that to ?

    Regards,
    Garry
     
  11. dgbaker

    dgbaker Well-Known Member
    PartnerNOC

    Joined:
    Sep 20, 2002
    Messages:
    2,574
    Likes Received:
    3
    Trophy Points:
    343
    Location:
    Toronto, Ontario Canada
    cPanel Access Level:
    DataCenter Provider
    640 is correct for the reject log. Just ensure it is owned by root:root
     
    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