unable to bind listening socket for address '127.0.0.1:9001': Permission denied (13)

ERROR: unable to bind listening socket for address '127.0.0.1:9001': Permission denied (13)

Cause: php-fpm is not able to start the process on  port 9001 because of selinux

Solution : disable selinux and reboot system

vi /etc/selinux/config

SELINUX=enforcing to SELINUX=disabled

reboot the system

check using getenforce

root@drushti-Virtual-Machine:/var/log# vi /run/php/php7.2-fpm.sock
root@drushti-Virtual-Machine:/var/log# mkdir /run/php/
root@drushti-Virtual-Machine:/var/log# vi /run/php/php7.2-fpm.sock
root@drushti-Virtual-Machine:/var/log# systemctl status php-fpm

Comments

Popular posts from this blog

how to install internet download manger in linux

premium url shortener

convert direct traffic to organic