Mail alert after the update to arrakis

    • OMV 4.x
    • Upgrade 3.x -> 4.x
    • 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.

      Source Code

      1. [nas.home] Cron <root@nas> [ -x /usr/lib/php5/sessionclean ] && /usr/lib/php5/sessionclean
      2. 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
      3. 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?

      Source Code

      1. # /etc/cron.d/php5: crontab fragment for php5
      2. # This purges session files in session.save_path older than X,
      3. # where X is defined in seconds as the largest value of
      4. # session.gc_maxlifetime from all your SAPI php.ini files
      5. # or 24 minutes if not defined. The script triggers only
      6. # when session.save_handler=files.
      7. #
      8. # WARNING: The scripts tries hard to honour all relevant
      9. # session PHP options, but if you do something unusual
      10. # you have to disable this script and take care of your
      11. # sessions yourself.
      12. # Look for and purge old sessions every 30 minutes
      13. 09,39 * * * * root [ -x /usr/lib/php5/sessionclean ] && /usr/lib/php5/sessionclean
      Display All

      Source Code

      1. # /etc/cron.d/php@PHP_VERSION@: crontab fragment for PHP
      2. # This purges session files in session.save_path older than X,
      3. # where X is defined in seconds as the largest value of
      4. # session.gc_maxlifetime from all your SAPI php.ini files
      5. # or 24 minutes if not defined. The script triggers only
      6. # when session.save_handler=files.
      7. #
      8. # WARNING: The scripts tries hard to honour all relevant
      9. # session PHP options, but if you do something unusual
      10. # you have to disable this script and take care of your
      11. # sessions yourself.
      12. # Look for and purge old sessions every 30 minutes
      13. 09,39 * * * * root [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi
      Display All
    • 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
    • Users Online 1

      1 Guest