PHP Error Being Emailed on Regular Basis

    • OMV 4.x
    • Resolved
    • Upgrade 3.x -> 4.x

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • PHP Error Being Emailed on Regular Basis

      I am getting the below error every half an hour or so. I tried searching the forums but could not find a definitive fix for this.

      Thanks!

      Source Code

      1. 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
      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
    • Hmm, no idea but OMV uses PHP7, so the message is send by a scheduled job that is using PHP5.
      Absolutely no support through PM!

      I must not fear.
      Fear is the mind-killer.
      Fear is the little-death that brings total obliteration.
      I will face my fear.
      I will permit it to pass over me and through me.
      And when it has gone past I will turn the inner eye to see its path.
      Where the fear has gone there will be nothing.
      Only I will remain.

      Litany against fear by Bene Gesserit
    • I see the following cronjobs setup on the server:

      Source Code

      1. root@booknas:~# ls -l /etc/cron.d/
      2. total 36
      3. -rw-r--r-- 1 root root 285 May 29 2017 anacron
      4. -rw-r--r-- 1 root root 355 May 24 2013 cron-apt
      5. -rw-r--r-- 1 root root 589 Dec 28 2015 mdadm
      6. -rw-r--r-- 1 root root 126 May 9 10:31 openmediavault-mkrrdgraph
      7. -rw-r--r-- 1 root root 114 Mar 21 2017 openmediavault-powermngmt
      8. -rw-r--r-- 1 root root 123 May 9 08:17 openmediavault-rrdtoolgraph
      9. -rw-r--r-- 1 root root 114 Mar 21 2017 openmediavault-userdefined
      10. -rw-r--r-- 1 root root 712 Jan 1 2017 php
      11. -rw-r--r-- 1 root root 661 Jun 9 2016 php5
      Display All

      Should I remove the one for PHP5?
    • y2kdread wrote:

      I see the following cronjobs setup on the server:

      Source Code

      1. root@booknas:~# ls -l /etc/cron.d/
      2. total 36
      3. -rw-r--r-- 1 root root 285 May 29 2017 anacron
      4. -rw-r--r-- 1 root root 355 May 24 2013 cron-apt
      5. -rw-r--r-- 1 root root 589 Dec 28 2015 mdadm
      6. -rw-r--r-- 1 root root 126 May 9 10:31 openmediavault-mkrrdgraph
      7. -rw-r--r-- 1 root root 114 Mar 21 2017 openmediavault-powermngmt
      8. -rw-r--r-- 1 root root 123 May 9 08:17 openmediavault-rrdtoolgraph
      9. -rw-r--r-- 1 root root 114 Mar 21 2017 openmediavault-userdefined
      10. -rw-r--r-- 1 root root 712 Jan 1 2017 php
      11. -rw-r--r-- 1 root root 661 Jun 9 2016 php5
      Display All
      Should I remove the one for PHP5?
      Yes, please.
      Absolutely no support through PM!

      I must not fear.
      Fear is the mind-killer.
      Fear is the little-death that brings total obliteration.
      I will face my fear.
      I will permit it to pass over me and through me.
      And when it has gone past I will turn the inner eye to see its path.
      Where the fear has gone there will be nothing.
      Only I will remain.

      Litany against fear by Bene Gesserit
    • Users Online 2

      2 Guests

    • Tags