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!

Help ! Help !

Discussion in 'General Discussion' started by hkewell, Aug 17, 2002.

  1. hkewell

    hkewell Well-Known Member

    Joined:
    May 17, 2002
    Messages:
    170
    Likes Received:
    0
    Trophy Points:
    316
    /usr ... coming full ... pls help me ...

    How to move /usr/local/apache/domlogs to other folder ?

    Which one command for type ???

    And Which one file for edit &/usr/local/apache/domlogs to /var/log/httpd/domlogs/& ????

    Please help me !

    Thanks
     
  2. ecoutez

    ecoutez Well-Known Member

    Joined:
    May 23, 2002
    Messages:
    152
    Likes Received:
    0
    Trophy Points:
    316
    Try this...

    Stop Apache:
    /usr/local/apache/bin/apachectl stop

    Move logs to new directory:
    mv /usr/local/apache/domlogs /var/log/httpd/

    Create symbolic link:
    ln -s /var/log/httpd/domlogs /usr/local/apache/domlogs

    Start Apache:
    /usr/local/apache/bin/apachectl startssl
    (or Restart via WHM)

    In this manner, Apache will still log to /usr/local/apache/domlogs, but this directory is actually a symbolic link to a directory on your /var partition. Therefore you won't have to worry about changing Apache configuration, log rotations, log analysis, etc.

    - Jason
     
    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