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.

domlog and webalizer

Discussion in 'General Discussion' started by f_malekpour, Dec 27, 2002.

  1. f_malekpour

    f_malekpour Registered

    Joined:
    Sep 2, 2002
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Hi All,
    I have a problem on webilizer updates, everything work fine but end of each month when cpanel rotate the logs, webalizer shows only a few stat on that month. I mean it delete all stats of before. Anyway, Is there a way to rotate the logs on first day of each month? If so how?

    Thanks
     
  2. kensmith

    kensmith Member

    Joined:
    Dec 13, 2002
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    1
    On a similar note, I'm hoping someone with some experience with Cpanel/WHM would take a few minutes to describe how the whole log rotating / analysis scenario works.

    Here's what I've determined so far.

    cpanellogd is a daemon that runs all the time, and about once a day it processes each of the log files under /home/domlogs.
    On my server, it does that at about 5:30 PM, which is one of the heaviest usage times on my server. I'd love to be able to reschedule that for 3 AM or so.

    Then, what happens at the end of the month? Do the logs get rotated, deleted, or what? I don't see anything about httpd in /etc/rotate.d

    And, how does the log rotation interact with Webalizer as the initial poster was describing?

    If I'd like to rotate my logs more frequently than once a month, can I write a script myself to do that, and how would I make it get along with the normal Cpanel processing?
     
  3. Radio_Head

    Radio_Head Well-Known Member

    Joined:
    Feb 15, 2002
    Messages:
    2,051
    Likes Received:
    1
    Trophy Points:
    38
    Domlogs

    Is it possible to rotate domlogs every week instead of every month (/usr/local/apache/domlogs) ?

    In this case webanalizer will continue to show monthly stats ?
     
  4. myusername

    myusername Well-Known Member
    PartnerNOC

    Joined:
    Mar 6, 2003
    Messages:
    691
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    chown -R us.*yourbase*
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    subscribing
     
  5. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Why are you subscribing to a 2 year old dead thread?
     
  6. Jeff75

    Jeff75 Well-Known Member

    Joined:
    Apr 11, 2003
    Messages:
    555
    Likes Received:
    0
    Trophy Points:
    16
    LOL!!!!!! :)
     
  7. myusername

    myusername Well-Known Member
    PartnerNOC

    Joined:
    Mar 6, 2003
    Messages:
    691
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    chown -R us.*yourbase*
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    Because it is still a problem, after 2 years. If you had any clients facing the same issue you would do everything you could to find a good answer. Or maybe you would not. Maybe you just spend time trolling the forums and posting idiotic replies.
     
  8. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Well, I think you should do a search on my member account if you really think I'm trolling.

    1. Lighten up :rolleyes:

    2. It's somewhat pointless subscribing to a thread that is 2 years old where the participants have long left it

    3. You cross-posted your problem to at least 3 threads - that's just bad manners

    4. There's no need to get personally abusive
     
    #8 chirpy, Jul 29, 2004
    Last edited: Jul 29, 2004
  9. sawbuck

    sawbuck Well-Known Member

    Joined:
    Jan 18, 2004
    Messages:
    1,367
    Likes Received:
    5
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    Have to agree with Chirpy on this one. Bad manners and personal attacks are much more suited to WHT. Maybe, just maybe, when you have over 1K posts of freely donated time, you will start to understand what it means to be respected by other forum members. In the meantime I'm not going to hold my breath.
     
  10. myusername

    myusername Well-Known Member
    PartnerNOC

    Joined:
    Mar 6, 2003
    Messages:
    691
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    chown -R us.*yourbase*
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    Hey, it was a simple subscribing to thread post that does not deserve a barage of "why are you subscribing" Who cares why I am subscribing. keep it to yourself. Obviosly I am subscribing because it is a problem.

    Yes I subscribed to multiple threads on the topic in hopes one of the previous posters in one of the threads were not paying atention to the boards and had an answer.

    Subscribing to a two year old thread bumps its position in the boards, how is that useless?

    And yes, when it works I will post a fix for someone else who finds themselves in the same situation, likely in all threads regarding the topic. It is not rude, it is community support.

    Rude, is snide remarks like the original reply I received when all I said was "subscribing"

    WHO CARES!?! If you don't have an answer, suggestion, or anything of value other than "well, why are you doing that, uh.....duh" then don't even bother.

    It is a waste of database space, sort of like this post where I have to defend myself now not from one but two people who are not contributing a single item of value.

    Chirpy I know you are a good guy and you have many good posts in here, so sorry if you were upset by my reply. Just please be a contributor instead of questioning ones motives when they are seeking support.
     
  11. sawbuck

    sawbuck Well-Known Member

    Joined:
    Jan 18, 2004
    Messages:
    1,367
    Likes Received:
    5
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    Making these types of statements is why you get grief.
     
  12. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Ah well, here's a little tip for the hard of learning - Top of a thread > Thread Tools > Subscribe to thread! Wow! You can subscribe to a thread without having to bother the rest of us by resurrecting a dead thread!

    Edited:

    I'm going to follow my own instructions and Top of a thread > Thread Tools > Unsubscribe from thread :p
     
    #12 chirpy, Jul 29, 2004
    Last edited: Jul 29, 2004
  13. PWSowner

    PWSowner Well-Known Member

    Joined:
    Nov 10, 2001
    Messages:
    2,948
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    ON, Canada
    I don't usually step in on things like this, but it'll help with my post count. ;) j/k

    I think this is one example of a useless argument not thought out by anyone. It all started because myusername subscribed to the thread and posted a message saying so. Now, as Chirpy said, it's not necessary to tell others when subscribing, but...

    if a thread is about something that someone is interested in, it's not wrong to bump the thread to bring it back to life. Maybe that's the only reason for the reply, to bring it back up.

    Yes, the thread is old, but...

    how often do we see people post a question that's already been asked, and one of us oldies here says to do a search. Myusername found a thread of interest and instead of posting a new thread, revived this one.

    What do we want? Do we want new threads started, or old ones brought back? Some members here have complained both ways.

    Some of you may say "myusername subscribed to and revived a few threads". So, he/she is fairly new here and took time to search the threads. Is that a problem?

    Myusername's reply to Chirpy wasn't the best, but most people would retaliate under that condition.

    How about agreeing that the war is over? I'm not trying to start a new one either. :)
     
Loading...

Share This Page