Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Page 3 of 3 FirstFirst 1 2 3
Results 31 to 44 of 44
  1. #31
    Member
    Join Date
    May 2002
    Posts
    152

    Default

    Apache Server logs: /etc/httpd/logs
    Apache Domain (VirtualHost) logs: /etc/httpd/domlogs/

    - Jason
    Ecoutez! Ltd.
    www.ecoutez.com
    Our new Theme: www.MaxPanel.com

  2. #32
    Member
    Join Date
    Jun 2002
    Posts
    29

    Default

    Failed loading /usr/local/Zend/lib/ZendOptimizer.so: /usr/local/Zend/lib/ZendOptimizer.so: cannot open shared object file: No Such File or Directory

    What is causing this and what can I do to fix this? Sorry to get off topic. Thank you for showing me the correct place for the logs.

  3. #33
    Member
    Join Date
    Sep 2001
    Location
    Spain
    Posts
    779

    Default

    There are several /scripts/installzendopt-php*** scripts to install the Zend Optimizer according to you PHP version.

  4. #34
    Member
    Join Date
    Jun 2002
    Posts
    29

    Default

    what if I am using php4.2.2 i looks like 4.2.1 is the latest on /scripts/installzendopt-php**** is it ok to use the 421 ?

  5. #35
    Member
    Join Date
    May 2002
    Posts
    152

    Default

    [quote:665b9648ba][i:665b9648ba]Originally posted by bdraco[/i:665b9648ba]

    Logs are rotated on the last day of the month, they always have been AFAIK. My guess is that one of the latest patches fixed rotation on the servers that is was broken on.[/quote:665b9648ba]

    I'm sure you know, but domlogs aren't rotated... they're just deleted. I can't be the only one getting support requests from clients asking for raw log files which were deleted on the last day of the month.

    I'd rather have CPanel not touch the domlogs at all than to throw them away completely. At least then I could setup an entry in logrotate.d and rotate them monthly instead of deleting the data entirely.

    Any chance of allowing us to specify a rotation directory? Something like /etc/httpd/domlogs/rotated/ would be great for me. Maybe as part of version 5? *begging*

    Thanks,
    Jason
    Ecoutez! Ltd.
    www.ecoutez.com
    Our new Theme: www.MaxPanel.com

  6. #36
    Registered User
    Join Date
    Oct 2002
    Posts
    1

    Default log deletion -

    hey folks -

    this is my first forray into web hosting and (like you all) just lost our first month's worth of logs... argh!!!! although i did grab one from the 23rd... just playing around with it - trying out some other analyzing software - lucky that i did...

    but, really, at THE VERY LEAST move a copy of the log into a designated folder BEFORE deleting it...and let us delete it when we want to... my logs are only like 300k...

    and, hehehehe, like electro mentioned - sooo, exactly WHEN are we supposed to copy the &last& log of the &full& month? and what time? and if we copy it too early, we STILL LOSE the last data of the month when it gets deleted again!

    it's very critical for us to &SEE& where and specifics of ALL the visitors to our site are.... (and i'm sure there are MANY companies out there that NEED that same information)

    i just went round and round today with my hosting co. and read them the riot act about the deletion of the logs... if i was developing software for web hosting/analysis, i know that keeping a RECORD of ALL web activity would be of PARAMOUNT IMPORTANCE to my clients... they NEED that information to survive!!!! if they want to delete it themselves after they receive it, that's fine... but geeeeeeeeezzzz!!! =)

    morelater
    the show doctor

  7. #37
    dwh
    dwh is offline
    Member
    Join Date
    Mar 2002
    Posts
    16

    Default Summarize and delete

    There's nothing wrong with deleting raw data after a period of time. It's unlikely that a particular user needs a particular line of what someone did at 8:15 am 3 months ago. What everyone seems to be missing is the basics on how this has been handled traditionally.

    If data is rolled up properly, the few that need raw data can be given certain options. If the files are bigger then the HD then you need backup on tape. No reason HD has to store this. Pay for it, should be easy for CPanel to give u any option you want.

    As for the data rollup, what stats do you need? I think every unique referer is important. If mr.X visited your site 100 times, all you need is 1 line summarizing that info as such:

    IP | # of visits
    -----------------
    Mr. X | 100
    Mr. Z | 212
    etc..

    If url http://y.com/somepage.html refered 1000 people to your site, you don't need every instance of that one month later. You need one line:

    referer | # of referals
    ---------------------------
    http://Y.com/somepage | 1000
    http://x.com | 212

    etc..

    I'm oversimplifying it, but you just need to figure out the important unique data you want to keep, define that key, do regular rollups and everyone will be happy.

    The problem is, if you wait a full month to handle rollups, especially if you use perl or something like that, the server will croak on all that data. But if you do a daily rollup, then summarize that at the end of the month, you have manageable and useful data that doesn't overwhelm your server.

    This is definitely a really big issue that CPanel needs to address.

  8. #38
    Member
    Join Date
    Sep 2001
    Location
    Spain
    Posts
    779

    Default

    We must keep logs for as much as 12 months.

  9. #39
    Member
    Join Date
    Mar 2002
    Posts
    70

    Default

    Don't see what the problem is, you chose if the logs should be deleted or not in &Tweak Settings&.

  10. #40
    dwh
    dwh is offline
    Member
    Join Date
    Mar 2002
    Posts
    16

    Default

    Thomas,
    I was confused by your comment because I didn't have any of those options, but it turns out I had a very old version of cpanel on my server. Unfortunately I upgraded. My server loads went through the roof. My domain stopped logging altogether. I get emails every 6 hours that my stats failed. I'm very confused and upset and don't know what to do! The log for one domain is over 2 Gigabyte.

  11. #41
    dwh
    dwh is offline
    Member
    Join Date
    Mar 2002
    Posts
    16

    Default

    Seems like after 25 days my log hits 2 gigabyte which cpanel doesn't seem to be able to handle...I have to delete the file manually and my logs get messed up...Is there a way to rotate the logs weekly and still get monthly stats in cpanel?

    Thank you.

  12. #42
    Member
    Join Date
    May 2002
    Posts
    71

    Default File size limits

    That sounds like an old unix/linux file size limit. What OS are you running and version?

    There are a number of issues that could arise from a file of that size. The issue may be OS or application (Apache, webilizer, etc.). Certainly I am only talking in generalizations right now.
    DPS Systems, Inc.
    www.dpssystems.com

    cPanel Partner NOC

  13. #43
    Member
    Join Date
    Mar 2002
    Location
    Alberta, Canada
    Posts
    1,509

    Default

    Was it ever resolved as to what WHM/Cpanel does with the logs and at what time of the month?
    Helping people Host, Create, and Maintain their Web Site
    Also providing Server Admin Services - setup / troubleshooting

    http://potentproducts.com/

  14. #44
    dwh
    dwh is offline
    Member
    Join Date
    Mar 2002
    Posts
    16

    Default

    [quote:314f2d2385][i:314f2d2385]Originally posted by portman[/i:314f2d2385]

    That sounds like an old unix/linux file size limit. What OS are you running and version?

    There are a number of issues that could arise from a file of that size. The issue may be OS or application (Apache, webilizer, etc.). Certainly I am only talking in generalizations right now.[/quote:314f2d2385]

    Red hat 6.2.

    Now I'm starting to get those emails about not being able to process the log file within 6 hours after a log file of under a gigabyte.

    What are the optimal settings for the log files that you guys use when you have some domains with huge traffic?

Similar Threads & Tags
Similar threads

  1. Log Rotation?
    By dragon2611 in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 06-04-2010, 06:19 PM
  2. Log Rotation?
    By dragon2611 in forum Security
    Replies: 0
    Last Post: 06-04-2010, 02:40 PM
  3. Log Rotation
    By zigzam in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 03-02-2009, 07:06 AM
  4. Log rotation
    By bmcclure in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 08-18-2003, 09:53 AM
  5. Log Rotation?
    By Curious Too in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 06-02-2002, 12:01 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube