Add new comment
Featured
Step by step guide to setup Apache Solr 5.x in CentOS 7 for Drupal 7 Panopoly distro using Search API
As of this writing, the latest version of Solr is 5.2.1. In this step by step guide we will install that version and integrate it with Drupal 7 Panopoly distro site using Search API module. Actually, Panopoly distro is already shipped with Search API and Search API Solr Search modules. All we need to do is to configure the pre-setup Search API Solr server and index. The good thing about using Search API is that it is already integrated with Views module and we can do unlimited customization with our search results.
Using SASS in Bootstrap Drupal theme
As of this writing, Bootstrap Drupal theme only supports LESS. This tutorial will show how to create bootstrap sub-theme supporting SASS and use Grunt to manage our workflow effectively. My operating system is Windows. Therefore, the shell commands, output, etc. that will be shown here are for Windows.
Monthly archive
- August 2021 (1)
- July 2021 (1)
- September 2020 (1)
- August 2020 (1)
- July 2020 (1)
- June 2020 (1)
- May 2020 (1)
- April 2020 (1)
- March 2020 (1)
- February 2020 (1)
PHP FPM service not starting
If I start the PHP FPM service I'll get:
Job for php-fpm.service failed because the control process exited with error code. See "systemctl status php-fpm.service" and
"journalctl -xe" for details.
If I check the status, I'll get:
[root@webserver etc]# systemctl status php-fpm.service
● php-fpm.service - The PHP FastCGI Process Manager
Loaded: loaded (/usr/lib/systemd/system/php-fpm.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Sun 2018-02-04 14:54:18 UTC; 43s ago
Process: 16925 ExecStart=/usr/sbin/php-fpm --nodaemonize (code=exited, status=78)
Main PID: 16925 (code=exited, status=78)
Feb 04 14:54:18 webserver systemd[1]: Starting The PHP FastCGI Process Manager...
Feb 04 14:54:18 webserver php-fpm[16925]: [04-Feb-2018 14:54:18] ERROR: [/etc/php-fpm.d/www1.conf:110] unable to par... zero)
Feb 04 14:54:18 webserver php-fpm[16925]: [04-Feb-2018 14:54:18] ERROR: Unable to include /etc/php-fpm.d/www1.conf f...ne 110
Feb 04 14:54:18 webserver php-fpm[16925]: [04-Feb-2018 14:54:18] ERROR: failed to load configuration file '/etc/php-fpm.conf'
Feb 04 14:54:18 webserver php-fpm[16925]: [04-Feb-2018 14:54:18] ERROR: FPM initialization failed
Feb 04 14:54:18 webserver systemd[1]: php-fpm.service: main process exited, code=exited, status=78/n/a
Feb 04 14:54:18 webserver systemd[1]: Failed to start The PHP FastCGI Process Manager.
Feb 04 14:54:18 webserver systemd[1]: Unit php-fpm.service entered failed state.
Feb 04 14:54:18 webserver systemd[1]: php-fpm.service failed.
Hint: Some lines were ellipsized, use -l to show in full.
Please advice.