vlogger <defunct>

Discussion in 'Installation/Configuration' started by CoBuz, Dec 24, 2018.

  1. CoBuz

    CoBuz New Member

    Hi there!
    After upgrading to ispconfig to 3.1.13 i'm experiencing vlogger to defunct.
    In the apache error_log about every sec .is stating:
    "make_path" is not exported by the File::path module
    Can't continue after import errors at /usr/local/ispconfig/server/scripts/vlogger line 162
    BEGIN failed--compilation aborted at /usr/local/ispconfig/server/scripts/vlogger line 162.
    piped log program ' /usr/local/ispconfig/server/scripts/vlogger -s access.log -t "%Y%m%d-access.log" /var/log/ispconfig/httpd' failed unexpectedly
    Is there a way to fix this?
    Any help would be appriciated because the servers load increases by time and even crashes after a while 2-3 hours or so.
    Thanks in advance!
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Looks like an issue with the perl installation on that server or the enw vlogger is not compatible with your system.

    Which Linux distribution do you use?

    As a workaround, restore the old vlogger scripts from backup (/var/backup/ispconfig*) if you made one during update or get it from the original ispconfig version, you can get all old versions from sourceforge.
     
  3. CoBuz

    CoBuz New Member

    I know it's old but I'm using CentOS 5.11

    Thanks for the really quick reply! :)
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Ok, thats really old and the old perl version on CentOS 5 is the reason for the problem. If the above suggestions don't help, try to replace all occurrences from 'make_path' with 'mkpath' (line 162 and 475). Have not tested that bit it might work according to similar issues on other perl software: https://sourceforge.net/p/lives/bugs/189/
     
  5. CoBuz

    CoBuz New Member

    As you suggested I replaced the vlogger script with the previous one from the last backup and everything looks stable again.
    It's probably really good time now to decommission this server as soon as possible.
    Again thanks for the quick replies! :)
     
  6. CoBuz

    CoBuz New Member

    I also just tried the second option:
    "try to replace all occurrences from 'make_path' with 'mkpath' (line 162 and 475)." in the vlogger script from version 3.1.13.
    This seems to work also and is maybe helpful for all the old CentOS 5.11's and maybe older boxes still out there!
     
    till likes this.

Share This Page