1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Problem with Access_log

Discussion in 'Plesk 9.x for Linux Issues, Fixes, How-To' started by varet, Jan 21, 2010.

  1. varet

    varet Guest

    0
     
    After upgrading from 9.2.3 to 9.3.0 i have a problem on my server with access_logs.

    The logs are not writing anything.
    Everything is written on access_ssl_log Even if the customer has disabled the SSL.

    After upgrade my statistics are empty. and everything is updated on: /webstat_ssl.
     
  2. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,572
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
    Try to rebuild vhosts settings with 'websrvmng -v -a'
     
  3. breun

    breun Golden Pleskian

    29
     
    Joined:
    Jun 28, 2005
    Messages:
    1,647
    Likes Received:
    0
    We see the same problem. Running websrvmng does not help. It seems this happens on servers which have the piped logs feature enabled (recommended on servers with 300-900 domains).
     
    Last edited: Jan 21, 2010
  4. varet

    varet Guest

    0
     
    Yeap. I have the same problem With pipped logs enabled
    And i have done this websrvmng -a -v
     
  5. AndresG

    AndresG Guest

    0
     
    Same problem here.
     
  6. jas8522

    jas8522 Basic Pleskian

    24
    23%
    Joined:
    Feb 3, 2005
    Messages:
    80
    Likes Received:
    0
    Location:
    Halifax, Nova Scotia Canada
    Same problem. This results in statistics only being updated to the webstat-ssl path

    A virtuozzo VPS with piped logging enabled has no entries in the access_log for domains since updating.
    A VPS that does not have piped logging enabled is updating fine.

    This means that all statistics updating fails for the entire server since the logs it grabs the data from are empty. At least it's still getting written to 'a' log (ssl) and the webstats can be found under the webstat-ssl/ path.
     
  7. PixyPumpkin

    PixyPumpkin Guest

    0
     
    Same problem here on several server!, is there a fix? Why does a Plesk updates alway's have problems?? :(

    Please advice!
     
  8. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,572
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
    I have forwarded this problem to developers for the further investigation. I have requested workaround. Let's wait their answer. I will update this thread when I receive it.
     
  9. PixyPumpkin

    PixyPumpkin Guest

    0
     
    Thx Igor! :)
     
  10. danliker

    danliker Silver Pleskian Plesk Certified Professional

    33
    43%
    Joined:
    Feb 15, 2006
    Messages:
    575
    Likes Received:
    0
    Location:
    Switzerland
    some problem here on debian lenny ...
     
  11. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,572
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
    Try to use this workaround and update thread with results, please.
     
  12. danliker

    danliker Silver Pleskian Plesk Certified Professional

    33
    43%
    Joined:
    Feb 15, 2006
    Messages:
    575
    Likes Received:
    0
    Location:
    Switzerland
    and what about debian ?
     
  13. jas8522

    jas8522 Basic Pleskian

    24
    23%
    Joined:
    Feb 3, 2005
    Messages:
    80
    Likes Received:
    0
    Location:
    Halifax, Nova Scotia Canada
    IgorG,

    That solves the problem - I replaced my pipelog binary in /usr/local/psa/admin/sbin with the workaround provided and restarted apache. Tailing the access_log for a domain that was not having anything written to it previously, now shows log entries during accesses of the domain.

    While I can't yet confirm that the stats update, I see no reason why they shouldn't now that the access log is being populated.

    Thanks,

    Jordan
     
  14. breun

    breun Golden Pleskian

    29
     
    Joined:
    Jun 28, 2005
    Messages:
    1,647
    Likes Received:
    0
    I replaced /usr/local/psa/admin/sbin/pipelog on a CentOS 5.4 (x86_64) server with the file from the zip archive. I ran /usr/local/psa/admin/bin/websrvmng -a -v afterwards, but logging still goes to access_ssl_log instead of access_log.

    The patched pipelog doesn't seem to fix the problem. Or did I forget something?
     
  15. jas8522

    jas8522 Basic Pleskian

    24
    23%
    Joined:
    Feb 3, 2005
    Messages:
    80
    Likes Received:
    0
    Location:
    Halifax, Nova Scotia Canada
    The only other things I did was make sure the permissions matched the old pipelog binary exactly, which you probably did as well and restarted apache. The server I tested this on was a 32-bit virtuozzo VPS running CentOS 5.4

    I wonder if the binary is x64 compatible (or if it even matters for this binary)?
     
  16. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,572
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
    I have forwarded your questions and requests to developers. Let's wait their answer.
     
  17. varet

    varet Guest

    0
     
    Mine Works properly.

    I want to add that i stopped apache, replaced the file and started it again.


    Regards.
     
  18. breun

    breun Golden Pleskian

    29
     
    Joined:
    Jun 28, 2005
    Messages:
    1,647
    Likes Received:
    0
    I should have checked before I tried it. Yes, it is indeed a 32-bit binary, so I guess that's why it didn't work on my 64-bit clean system:

    Code:
    # file pipelog
    pipelog: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.6.9, dynamically linked (uses shared libs), for GNU/Linux 2.6.9, not stripped
     
  19. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,572
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
    I have updated workaround with patch for all OSes.
     
  20. breun

    breun Golden Pleskian

    29
     
    Joined:
    Jun 28, 2005
    Messages:
    1,647
    Likes Received:
    0
    I can also confirm this patch works on CentOS 4 i386 and x86_64.
     
Loading...