Service Unavailable 503 after Site deaktivate and activate

Discussion in 'General' started by sunghost, Aug 24, 2023.

  1. sunghost

    sunghost Member

    Hi,
    i have a strange problem. In the logs i get http 503 for Webmail, PHPMyAdmin and some Websites. The only thing i changed was to deactivate one site/account and after approx 30min activate the site/account. Since that so i think i got 503 on some websites and for Webmail and PHPMyAdmin. Strange if i switch the PHP Version from e.g. 8.2 to 8.1 the site runs, but other site not. If i switch that site than to 8.0 this site runs again, but if i switch back the site, it is not running while other sites on same PHP Vers. runs (http 200). In Apache and Web Logs i cant find a hint of maybe ressource limitation or any thing else. For phpmyadmin e.g. the log shows: "GET /phpmyadmin HTTP/2.0" 301 536 "-" "curl/7.74.0". ISP Panel is running.
    System runs on latest Debian 11, ISP is up2date and all packages updated.
    Any one any idea?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    The URL to phpmyadmin is https://server.yourdomain.tld:8081/phpmyadmin Accessing phpmyadmin trough a website domain does not work reliably as it depends on the website settings, cms in that site, PHP version etc. That's why ISPConfig has the apps vhost, and applications like phpmyadmin and RoundCube should be accessed through apps vhost only.
     
  3. sunghost

    sunghost Member

    Access to /webmail and /phpmyadmin works since years, since i installed ispconfig over my landing page. That would not explain why some websites show http 503.
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    It may work in your specific config, and if it does, then that's fine. I just posted it so you know it will not work reliably in all configurations and that its worth checking if it is working when you use the correct apps vhost URL.
     
  5. sunghost

    sunghost Member

    I understand. Ok same 503 error for webmail and phpmyadmin, while rspamd is running.
     
    Last edited: Aug 24, 2023
  6. sunghost

    sunghost Member

    Hi,
    under additional php version and php-fpm option i see the field "PHP-FPM socket directory" which is empty in all my configs. Is this field new?
    Ok found old thread in the forum. So its empty and uses system default for all sites.
     
  7. sunghost

    sunghost Member

    Ok, i restart the server and all websites are reachable, webmail and phpmyadmin too. I would know why but cant explain it. System memory was ok too and i got no other error. Ideas are welcome - thx for your time.
     
    ahrasis likes this.
  8. till

    till Super Moderator Staff Member ISPConfig Developer

    It's not new and it should be empty, so leave it as it is.
     
  9. sunghost

    sunghost Member

    Ok, thanks.
    While iam looking for the reason i see in the vhost.conf of one website the configuration for the php-fpm sock "var/lib/php7.4-fpm/web20.sock". In ISPconfig i configure for the website php8.2. Is that correct?
     
  10. till

    till Super Moderator Staff Member ISPConfig Developer

    Yes, that's fine and as it should be. You can not see which PHP version sites is using by looking at the vhost file. The number 7.4 in the folder name is not the PHP version used by this site, its just the global folder name for all PHP sockets.
     
  11. sunghost

    sunghost Member

    Ok understand that. Is there anywhere a possibility to see the php version except in the db itself and isp ui?
     
  12. till

    till Super Moderator Staff Member ISPConfig Developer

    You can see it in the php-fpm pool files.
     
  13. sunghost

    sunghost Member

    Ok find it, thanks. Strange ISP UI shows for 8.2 1 configured website. In the php-fpm pool dir for PHP 8.2 are 6 Configfiles. And one of them is in 8.2 but in the ISP UI configured as 8.1, but in fpm pool for 8.1 there is no config? Any idea? delete and restart apache2? Where they not deleted if php version switches?
     
  14. till

    till Super Moderator Staff Member ISPConfig Developer

Share This Page