Results 1 to 2 of 2
Hi all,
I'm following;
The Perfect Server - OpenSUSE 12.2 x86_64 (Apache2, Dovecot, ISPConfig 3)
The Perfect Server - OpenSUSE 12.2 x86_64 (Apache2, Dovecot, ISPConfig 3) - Page 4 | ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 11-25-2012 #1Linux Guru
- Join Date
- Sep 2004
- Posts
- 1,712
start php-fpm.service problem
Hi all,
I'm following;
The Perfect Server - OpenSUSE 12.2 x86_64 (Apache2, Dovecot, ISPConfig 3)
The Perfect Server - OpenSUSE 12.2 x86_64 (Apache2, Dovecot, ISPConfig 3) - Page 4 | HowtoForge - Linux Howtos and Tutorials
building the server on a VM of KVM
Host - Fedora 17 64bit
VM - OpenSuse 12.2 64bit
KVM
There is NOT much problem until coming to;
10.1 PHP-FPM
===========
Next create the system startup links for php-fpm and start it:
# systemctl enable php-fpm.service# systemctl start php-fpm.serviceCode:php-fpm.service is not a native service, redirecting to /sbin/chkconfig. Executing /sbin/chkconfig php-fpm on
# tail /var/log/messagesCode:Job failed. See system journal and 'systemctl status' for details.
Please help. TIACode:Nov 25 21:46:44 server1 systemd[1]: php-fpm.service: control process exited, code=exited status=7 Nov 25 21:46:44 server1 systemd[1]: Unit php-fpm.service entered failed state. Nov 25 21:57:02 server1 systemd[1]: Reloading. Nov 25 21:58:25 server1 php-fpm[11173]: Starting php-fpm[25-Nov-2012 21:58:25] ERROR: failed to open error_log (/usr/var/log/php-fpm.log): No such file or directory (2) Nov 25 21:58:25 server1 php-fpm[11173]: [25-Nov-2012 21:58:25] ERROR: failed to post process the configuration Nov 25 21:58:25 server1 php-fpm[11173]: [25-Nov-2012 21:58:25] ERROR: FPM initialization failed Nov 25 21:58:25 server1 startproc: startproc: exit status of parent of /usr/sbin/php-fpm: 78 Nov 25 21:58:25 server1 php-fpm[11173]: ..failed Nov 25 21:58:25 server1 systemd[1]: php-fpm.service: control process exited, code=exited status=7 Nov 25 21:58:25 server1 systemd[1]: Unit php-fpm.service entered failed state
B.R.
satimis
- 11-28-2012 #2Trusted Penguin
- Join Date
- May 2011
- Posts
- 3,746
I would guess that not being able to open the logfile is your problem. It is probably that the /usr/var/log dir does not exist. Maybe change it to /var/log in the init script or config file for php-fpm (not sure what that is). If php-fpm is installed via rpm, then you can list the files belonging to the package, e.g.:
Originally Posted by satimis
The log file may be defined in the systemd file or a conf file.Code:rpm -ql php-fpm


Reply With Quote
