usmannasir / cyberpanel

Cyber Panel - The hosting control panel for OpenLiteSpeed
GNU General Public License v3.0
1.49k stars 582 forks source link

[BUG] PHP isn't starting #1118

Open joeyboli opened 11 months ago

joeyboli commented 11 months ago

ebconf: unable to initialize frontend: Dialog debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 78.) debconf: falling back to frontend: Readline NOTICE: Not enabling PHP 7.0 FPM by default. NOTICE: To enable PHP 7.0 FPM in Apache2 do: NOTICE: a2enmod proxy_fcgi setenvif NOTICE: a2enconf php7.0-fpm NOTICE: You are seeing this message because you have apache2 package installed. Job for php7.0-fpm.service failed because the control process exited with error code. See "systemctl status php7.0-fpm.service" and "journalctl -xeu php7.0-fpm.service" for details. invoke-rc.d: initscript php7.0-fpm, action "restart" failed. × php7.0-fpm.service - The PHP 7.0 FastCGI Process Manager Loaded: loaded (/lib/systemd/system/php7.0-fpm.service; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since Tue 2023-08-22 17:25:23 UTC; 7ms ago Docs: man:php-fpm7.0(8) Process: 58820 ExecStart=/usr/sbin/php-fpm7.0 --nodaemonize --fpm-config /etc/php/7.0/fpm/php-fpm.conf (code=exited, status=78) Process: 58822 ExecStopPost=/usr/lib/php/php-fpm-socket-helper remove /run/php/php-fpm.sock /etc/php/7.0/fpm/pool.d/www.conf 70 (code=exited, status=0/SUCCESS) Main PID: 58820 (code=exited, status=78) CPU: 67ms

Aug 22 17:25:23 s8285 systemd[1]: Starting The PHP 7.0 FastCGI Process Manager... Aug 22 17:25:23 s8285 php-fpm7.0[58820]: [22-Aug-2023 17:25:23] WARNING: Nothing matches the include pattern '/etc/php/7.0/fpm/pool.d/*.conf' from /etc/php/7.0/fpm/php-fpm.conf at line 125. Aug 22 17:25:23 s8285 php-fpm7.0[58820]: [22-Aug-2023 17:25:23] ERROR: No pool defined. at least one pool section must be specified in config file Aug 22 17:25:23 s8285 php-fpm7.0[58820]: [22-Aug-2023 17:25:23] ERROR: failed to post process the configuration Aug 22 17:25:23 s8285 php-fpm7.0[58820]: [22-Aug-2023 17:25:23] ERROR: FPM initialization failed Aug 22 17:25:23 s8285 systemd[1]: php7.0-fpm.service: Main process exited, code=exited, status=78/CONFIG Aug 22 17:25:23 s8285 systemd[1]: php7.0-fpm.service: Failed with result 'exit-code'. Aug 22 17:25:23 s8285 systemd[1]: Failed to start The PHP 7.0 FastCGI Process Manager. dpkg: error processing package php7.0-fpm (--configure): installed php7.0-fpm package post-installation script subprocess returned error exit status 1 No apport report written because MaxReports is reached already Errors were encountered while processing:

this happened after I run the apt update and apt upgrade commands

joeyboli commented 11 months ago

latest version

qtwrk commented 11 months ago

CyberPanel doesn't use PHP-FPM

joeyboli commented 11 months ago

That's interesting, I had apache as proxy on and after update it seems to have gone behind a paywall that's what caused this I believe.

On Tue, Aug 22, 2023, 17:33 qtwrk @.***> wrote:

CyberPanel doesn't use PHP-FPM

— Reply to this email directly, view it on GitHub https://github.com/usmannasir/cyberpanel/issues/1118#issuecomment-1688630438, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKPHXKB35YJAT5ZYUUF65HTXWTUOPANCNFSM6AAAAAA32IFD5I . You are receiving this because you authored the thread.Message ID: @.***>

qtwrk commented 11 months ago

Oh yes you are right, my mistake ,if you are using apache reverse proxy