unknown75 Posted July 30, 2018 Share Posted July 30, 2018 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 More sharing options...
kingsley ezenwa Posted July 30, 2018 Share Posted July 30, 2018 Ensure you have libnss-mysql installedAlternatively, Tick Use libnss-extrausers instead of libnss-mysql BUT thatis if you are on Debian or Debian Derivatives and you have libnss-extrausers installed Link to comment Share on other sites More sharing options...
unknown75 Posted July 31, 2018 Author Share Posted July 31, 2018 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 More sharing options...
unknown75 Posted July 31, 2018 Author Share Posted July 31, 2018 Resolved: following was missing aktivation of Settings | System settings | Use libnss-extrausers instead of libnss-mysql thx Link to comment Share on other sites More sharing options...
Question
unknown75
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
Archived
This topic is now archived and is closed to further replies.