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!

Permission denied to view exim log

Discussion in 'General Discussion' started by psytanium, May 2, 2019.

  1. psytanium

    psytanium Well-Known Member

    Joined:
    Jun 6, 2014
    Messages:
    158
    Likes Received:
    6
    Trophy Points:
    18
    Location:
    Lebanon
    cPanel Access Level:
    Root Administrator
    Hi,

    I logged to the server WHM interface, and run /var/log/exim_mainlog in Terminal.
    But I received : Bash: /var/log/exim_mainlog: Permission denied.

    am i doing something wrong ?

    Regards,
     
  2. GOT

    GOT Get Proactive! PartnerNOC

    Joined:
    Apr 8, 2003
    Messages:
    1,454
    Likes Received:
    178
    Trophy Points:
    193
    Location:
    Chesapeake, VA
    cPanel Access Level:
    DataCenter Provider
    That's a log file, its not an executable, you can't run it like a program. You could use cat to dump all the contets of it (cat /var/log/exim_mainlog)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    psytanium likes this.
  3. cPanelLauren

    cPanelLauren Forums Analyst II Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    6,124
    Likes Received:
    474
    Trophy Points:
    233
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Typically I'll use tail or grep to search through the exim_mainlog - when you do this or what @GOT suggested are you still receiving the same error?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    psytanium likes this.
  4. psytanium

    psytanium Well-Known Member

    Joined:
    Jun 6, 2014
    Messages:
    158
    Likes Received:
    6
    Trophy Points:
    18
    Location:
    Lebanon
    cPanel Access Level:
    Root Administrator
    I was afraid to use cat, i though dump mean delete or through away all exim content. Yes I'm good now, and learning how to search exim to spot spams. Still have a lot to learn. Thank you and hope im not posting questions out of topic of slightly breaking some rules.
     
    cPanelLauren likes this.
  5. cPanelLauren

    cPanelLauren Forums Analyst II Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    6,124
    Likes Received:
    474
    Trophy Points:
    233
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    You're fine! I'm glad we're part of helping you learn!

    Thanks!
     
    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