Mail alert after the update to arrakis

  • Hello ant sorry for my bad english!


    I'll try to explain my problem.


    I made yesterday the update to OMV Arrakis with the command "omv-release-upgrade".
    Before I had checked that my plugins existed in version 4. x.
    Everything went well.


    But since this morning I have this email alert that keeps coming back.


    Code
    [nas.home] Cron <root@nas> [ -x /usr/lib/php5/sessionclean ] && /usr/lib/php5/sessionclean
    PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20131226/pam.so' - /usr/lib/php5/20131226/pam.so: cannot open shared object file: No such file or directory in Unknown on line 0
    PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20131226/pam.so' - /usr/lib/php5/20131226/pam.so: cannot open shared object file: No such file or directory in Unknown on line 0

    Anyone have any idea where this alert might come from?


    Best regards,
    Alexandre

  • It seems that there are two almost identical cron tasks.


    You may need to delete one that is obsolete after the update?


  • Hi!


    Did you ever solve this? if so, how? Did you just delete "php5"?


    root@openmediavault:/# ls -l /etc/cron.d/
    total 36
    -rw-r--r-- 1 root root 285 May 29 2017 anacron
    -rw-r--r-- 1 root root 355 Mar 19 2012 cron-apt
    -rw-r--r-- 1 root root 589 Jan 24 2013 mdadm
    -rw-r--r-- 1 root root 126 Jun 21 12:31 openmediavault-mkrrdgraph
    -rw-r--r-- 1 root root 115 Aug 3 2016 openmediavault-powermngmt
    -rw-r--r-- 1 root root 123 May 14 18:07 openmediavault-rrdtoolgraph
    -rw-r--r-- 1 root root 115 Aug 3 2016 openmediavault-userdefined
    -rw-r--r-- 1 root root 712 Jan 1 2017 php
    -rw-r--r-- 1 root root 661 Dec 13 2016 php5
    root@openmediavault:/#


    //Odin

  • As far as I can see/have noticed, php5 is no longer needed for OMV, so I went ahead and uninstalled it fully a couple of days ago, and have seen no issues so far!


    So, if your system is not using php5 for something else, I assume it is safe to remove.


    What I did to resolve the Php5-issue:


    dpkg --get-selections | grep php5


    sudo apt-get remove php5-cgi php5-cli php5-common php5-fpm php5-json php5-pam php5-proctitle


    ls -l /etc/cron.d/


    rm -rf /etc/cron.d/php5

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!