Getting PHP Warning: Operation not permitted in cron log

Discussion in 'General' started by miguelpinheiro, Apr 30, 2016.

  1. Hi!
    I'm getting the following messages in cron log:

    Code:
    PHP Warning:  chown(): Operation not permitted in /usr/local/ispconfig/server/cron_daily.php on line 1139
    PHP Warning:  chgrp(): Operation not permitted in /usr/local/ispconfig/server/cron_daily.php on line 1140
    PHP Warning:  chown(): Operation not permitted in /usr/local/ispconfig/server/cron_daily.php on line 1169
    PHP Warning:  chgrp(): Operation not permitted in /usr/local/ispconfig/server/cron_daily.php on line 1170
    PHP Warning:  chown(): Operation not permitted in /usr/local/ispconfig/server/cron_daily.php on line 1260
    PHP Warning:  chgrp(): Operation not permitted in /usr/local/ispconfig/server/cron_daily.php on line 1261
    Is this something to be worried about?
    Regards, Miguel
     
  2. ngstranky.cz

    ngstranky.cz New Member

    Hi, any ideas how to fix this? I have same problem... website was backup by ispconfig, but database not :(

    Fri 15 Jul 00:32:14 CEST 2016 PHP Warning: chmod(): Operation not permitted in /usr/local/ispconfig/server/cron_daily.php on line 1104
    Fri 15 Jul 00:32:14 CEST 2016 PHP Warning: chown(): Operation not permitted in /usr/local/ispconfig/server/cron_daily.php on line 1139
    Fri 15 Jul 00:32:14 CEST 2016 PHP Warning: chgrp(): Operation not permitted in /usr/local/ispconfig/server/cron_daily.php on line 1140
    Fri 15 Jul 00:32:29 CEST 2016 PHP Warning: chown(): Operation not permitted in /usr/local/ispconfig/server/cron_daily.php on line 1169
    Fri 15 Jul 00:32:29 CEST 2016 PHP Warning: chgrp(): Operation not permitted in /usr/local/ispconfig/server/cron_daily.php on line 1170
    Fri 15 Jul 00:32:29 CEST 2016 PHP Warning: chown(): Operation not permitted in /usr/local/ispconfig/server/cron_daily.php on line 1139
    Fri 15 Jul 00:32:29 CEST 2016 PHP Warning: chgrp(): Operation not permitted in /usr/local/ispconfig/server/cron_daily.php on line 1140
    Fri 15 Jul 00:32:30 CEST 2016 PHP Warning: chown(): Operation not permitted in /usr/local/ispconfig/server/cron_daily.php on line 1169
    Fri 15 Jul 00:32:30 CEST 2016 PHP Warning: chgrp(): Operation not permitted in /usr/local/ispconfig/server/cron_daily.php on line 1170
    Fri 15 Jul 00:32:30 CEST 2016 PHP Warning: chown(): Operation not permitted in /usr/local/ispconfig/server/cron_daily.php on line 1139
    Fri 15 Jul 00:32:30 CEST 2016 PHP Warning: chgrp(): Operation not permitted in /usr/local/ispconfig/server/cron_daily.php on line 1140
    Fri 15 Jul 00:32:45 CEST 2016 PHP Warning: chown(): Operation not permitted in /usr/local/ispconfig/server/cron_daily.php on line 1169
    Fri 15 Jul 00:32:45 CEST 2016 PHP Warning: chgrp(): Operation not permitted in /usr/local/ispconfig/server/cron_daily.php on line 1170
    Fri 15 Jul 00:32:45 CEST 2016 PHP Warning: chown(): Operation not permitted in /usr/local/ispconfig/server/cron_daily.php on line 1139
    Fri 15 Jul 00:32:45 CEST 2016 PHP Warning: chgrp(): Operation not permitted in /usr/local/ispconfig/server/cron_daily.php on line 1140
     
  3. till

    till Super Moderator Staff Member ISPConfig Developer

    Which ISPConfig version?
     
  4. ngstranky.cz

    ngstranky.cz New Member

    Hi, 3.0.5.4p9
     
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    Seems as if the backup directory that is set in ispconfig under System > Server config is not accessible.
     
  6. ngstranky.cz

    ngstranky.cz New Member

    Yes, but its weird.. because tar.gz with web files are backuped correctly, but dbs dump not
     
  7. till

    till Super Moderator Staff Member ISPConfig Developer

    Is the MySQL root password in /usr/local/ispconfig/server/lib/mysql_clientdb.conf correct?
     
  8. ngstranky.cz

    ngstranky.cz New Member

    yes i check that... same problem on two separate servers - same version... as backup i use curlftpfs mount point.. if i have wrong root password ispconfig wont work, right? ISP config work without problem
    This problem i cant solved already 4 months
     
  9. till

    till Super Moderator Staff Member ISPConfig Developer

    ISPConfig itself does not use the root login. The root login is only used for the backup and to create new databases.
     
  10. ngstranky.cz

    ngstranky.cz New Member

    Ok, creating new dbs work like a charm
     
  11. till

    till Super Moderator Staff Member ISPConfig Developer

    The Linux zip command is installed?
     
  12. ngstranky.cz

    ngstranky.cz New Member

    Hi, yes i have instaled zip and bzip on server... or you think something different?
     

    Attached Files:

  13. Elayne

    Elayne Member

    As far as my experience goes about this kind of errors, the problem is caused by trying to operating in directory that is not allowed for that user or doesn't exist at all. You may want to consider double-checking all directories that are in the script or are set even through Database that is working with this script.
     

Share This Page