Job running w/o stopping : /usr/bin/php-cgi -d disable_classes= -d disable_functions= -d magic_quote

Discussion in 'ISPConfig 3 Priority Support' started by francoisPE, Nov 11, 2023.

  1. francoisPE

    francoisPE Active Member HowtoForge Supporter

    Hello,

    For a reason I ignore I have 2 jobs running
    ps aux | grep isp gives
    Code:
    ispconf+   13935  0.0  0.2 402400 43108 ?        Ss   19:38   0:00 /usr/bin/php-cgi -d disable_classes= -d disable_functions= -d magic_quotes_gpc=off -d open_basedir= -d session.save_path=/usr/local/ispconfig/interface/temp
    ispconf+   13936  0.0  0.1 403036 23160 ?        S    19:38   0:00 /usr/bin/php-cgi -d disable_classes= -d disable_functions= -d magic_quotes_gpc=off -d open_basedir= -d session.save_path=/usr/local/ispconfig/interface/temp
    
    I don't succeed in stopping them.
    kill is impossible there are back. I even restart my VPS...
    I logs I found nothing

    I face that exactly same issue : https://forum.howtoforge.com/threads/ispconfig-php-cgi-zombie-processes.69813/
    Any idea ?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    That's the ISPConfig GUI, so these processes must exist on a server that has ISPConfig installed. And they get started by Apache, so they will restart if you kill them.
     
  3. francoisPE

    francoisPE Active Member HowtoForge Supporter

    So that's normal !
     
  4. francoisPE

    francoisPE Active Member HowtoForge Supporter

    I have an issue somewhere...
    I launch remotely "JobCount($client,$session_id,$server_id) ;" function..
    It gives 3 job running !
    but on ispC GUI server
    Code:
    root@ns1:/usr/local/ispconfig/server# ./server.sh
    finished server.php.
    
    So that my scripts are bugging !
     
  5. francoisPE

    francoisPE Active Member HowtoForge Supporter

    I found that 3 jobs are running on one server on my multiple server conf.
    I run server.sh but it doesn't solve !

    ps aux | grep isp gives nothing on that server with 3 job running ???

    I reboot w/o effect.
    There is probably a wrong record in database. Where can I find that ?
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    The number 3 does not mean that 3 jobs running; it means 3 jobs have not been run. And on a multiserver setup, it means that on one of your nodes the jobs have not been run, it does not mean that this is an issue on the GUI node. You must run server.sh on each node to find which node is causing this.
     
  7. francoisPE

    francoisPE Active Member HowtoForge Supporter

    I run on each node. Everywhere "finished job"
    It seems to be on that server id=3 : i found in ispconfig.log
    Code:
    11.11.2023-18:28 - WARNING - Falsche Anfrage / Wrong QuerySQL-Query = UPDATE server SET updated = '7069' WHERE server_id = 3 -> 1142 (UPDATE command denied to user 'ispcsrv3'@'hidden' for table `dbispconfig`.`server`)
    11.11.2023-18:28 - WARNING - Falsche Anfrage / Wrong QuerySQL-Query = UPDATE server SET updated = '7070' WHERE server_id = 3 -> 1142 (UPDATE command denied to user 'ispcsrv3'@'hidden' for table `dbispconfig`.`server`)
    11.11.2023-18:34 - WARNING - Falsche Anfrage / Wrong QuerySQL-Query = UPDATE server SET updated = '7073' WHERE server_id = 3 -> 1142 (UPDATE command denied to user 'ispcsrv3'@'hidden' for table `dbispconfig`.`server`)
    
    If yes, what can I do to have that counter going back to 0 ?
     
  8. till

    till Super Moderator Staff Member ISPConfig Developer

    Run an ispconfig update on server 3, choose to update permissions in master database during update.
     
  9. francoisPE

    francoisPE Active Member HowtoForge Supporter

    Thanks a lot :):):)
     

Share This Page