Jump to content
Froxlor Forum
  • 0

after assigning Webspace to user - php fpm with problem


unknown75

Question

hi,
as soon as i add a webspace to a customer, my php5-fpm shows an error.

after creating the user "test1" my directory listing shows in /var/customers/webs
drwxr-x--- 3 10018 10018 4096 Jul 30 12:40 test01

which means, there is a problem resolving the "froxlor" username within the filessystem.

this end's up with webserver problem, as soon as I assign a domain to this user (.. a webhost config is going to created)
 

i use PHP5-fpm with libnss-extrausers on a debian 8.11 (froxlor 0.9.39.5-1+jessie1)

 

thx

Michael

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

hi

 dpkg --list | grep libnss
ii  libnss-extrausers             0.6-3                            amd64        nss module to have an additional passwd, shadow and group file
ii  libnss-mysql-bg               1.5-3+frx1                       amd64        NSS module for using MySQL as a naming service
 

and libnss-extrausers is configured according to froxlor resettings.

probably this issue came with an update? because I have several other users that work.

additional info:

systemctl status php5-fpm.service
● php5-fpm.service - The PHP FastCGI Process Manager
Loaded: loaded (/lib/systemd/system/php5-fpm.service; enabled)
Drop-In: /etc/systemd/system/php5-fpm.service.d
└─local.conf
Active: failed (Result: exit-code) since Tue 2018-07-31 11:33:16
CEST; 3s ago
Process: 23086 ExecStart=/usr/sbin/php5-fpm --nodaemonize --fpm-config
/etc/php5/fpm/php-fpm.conf (code=exited, status=78)
Process: 23080 ExecStartPre=/usr/lib/php5/php5-fpm-checkconf
(code=exited, status=0/SUCCESS)
Main PID: 23086 (code=exited, status=78)

Jul 31 11:33:16 myserver01 php5-fpm[23086]: [31-Jul-2018 11:33:16] ERROR: [pool test.example.com] cannot get uid for user 'test1'
Jul 31 11:33:16 myserver01 php5-fpm[23086]: [31-Jul-2018 11:33:16] ERROR: FPM initialization failed
Jul 31 11:33:16 myserver01 systemd[1]: php5-fpm.service: main process exited, code=exited, status=78/n/a
Jul 31 11:33:16 myserver01 systemd[1]: Failed to start The PHP FastCGI Process Manager.
Jul 31 11:33:16 myserver01 systemd[1]: Unit php5-fpm.service entered failed state.
 

as soon as i remove the domain for this user "test1" (and restart froxlor cron job) - web services up again

 

michael

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.



×
×
  • Create New...