February 3, 20188 yr Hallo zusammen, ich habe gerade ein froxlor update durchgeführt und danach den wechsel von libnss-mysql-bg auf libnss-extrauser durchgeführt. 1. libnss-extrauser installiert 2. Gem. froxlor konfiguriert 3. libnss-mysql-bg deinstalliert. Nun startet PHP5-FPM nicht mehr: systemctl status php5-fpm ��� php5-fpm.service - The PHP FastCGI Process Manager Loaded: loaded (/lib/systemd/system/php5-fpm.service; enabled) Active: failed (Result: exit-code) since Sat 2018-02-03 14:06:03 CET; 1s ago Process: 2118 ExecStart=/usr/sbin/php5-fpm --nodaemonize --fpm-config /etc/php5/fpm/php-fpm.conf (code=exited, status=78) Process: 2112 ExecStartPre=/usr/lib/php5/php5-fpm-checkconf (code=exited, status=0/SUCCESS) Main PID: 2118 (code=exited, status=78) Feb 03 14:06:03 server.com php5-fpm[2118]: [03-Feb-2018 14:06:03] ERROR: [pool myusername.server.com] cannot get uid for user 'myusername' Feb 03 14:06:03 server.com php5-fpm[2118]: [03-Feb-2018 14:06:03] ERROR: FPM initialization failed Feb 03 14:06:03 server.com systemd[1]: php5-fpm.service: main process exited, code=exited, status=78/n/a Feb 03 14:06:03 server.com systemd[1]: Failed to start The PHP FastCGI Process Manager. Feb 03 14:06:03 server.com systemd[1]: Unit php5-fpm.service entered failed state. getent passwd: root:x:0:0:root:/root:/bin/bash daemon:x:1:1:daemon:/usr/sbin:/usr/sbin/nologin bin:x:2:2:bin:/bin:/usr/sbin/nologin sys:x:3:3:sys:/dev:/usr/sbin/nologin sync:x:4:65534:sync:/bin:/bin/sync games:x:5:60:games:/usr/games:/usr/sbin/nologin man:x:6:12:man:/var/cache/man:/usr/sbin/nologin lp:x:7:7:lp:/var/spool/lpd:/usr/sbin/nologin mail:x:8:8:mail:/var/mail:/usr/sbin/nologin news:x:9:9:news:/var/spool/news:/usr/sbin/nologin uucp:x:10:10:uucp:/var/spool/uucp:/usr/sbin/nologin proxy:x:13:13:proxy:/bin:/usr/sbin/nologin www-data:x:33:33:www-data:/var/www:/usr/sbin/nologin backup:x:34:34:backup:/var/backups:/usr/sbin/nologin list:x:38:38:Mailing List Manager:/var/list:/usr/sbin/nologin irc:x:39:39:ircd:/var/run/ircd:/usr/sbin/nologin gnats:x:41:41:Gnats Bug-Reporting System (admin):/var/lib/gnats:/usr/sbin/nologin nobody:x:65534:65534:nobody:/nonexistent:/usr/sbin/nologin systemd-timesync:x:100:103:systemd Time Synchronization,,,:/run/systemd:/bin/false systemd-network:x:101:104:systemd Network Management,,,:/run/systemd/netif:/bin/false systemd-resolve:x:102:105:systemd Resolver,,,:/run/systemd/resolve:/bin/false systemd-bus-proxy:x:103:106:systemd Bus Proxy,,,:/run/systemd:/bin/false Debian-exim:x:104:109::/var/spool/exim4:/bin/false messagebus:x:105:110::/var/run/dbus:/bin/false statd:x:106:65534::/var/lib/nfs:/bin/false sshd:x:107:65534::/var/run/sshd:/usr/sbin/nologin bind:x:108:113::/var/cache/bind:/bin/false ntpd:x:109:114::/var/run/openntpd:/bin/false fspofn:x:1000:1000:Fspofn,,,:/home/fspofn:/bin/bash mysql:x:110:116:MySQL Server,,,:/nonexistent:/bin/false proftpd:x:111:65534::/run/proftpd:/bin/false ftp:x:112:65534::/srv/ftp:/bin/false znc-master:x:1001:1001:,,,:/home/znc-master:/bin/bash postfix:x:113:118::/var/spool/postfix:/bin/false vmail:x:2000:2000::/home/vmail:/bin/sh dovecot:x:114:120:Dovecot mail server,,,:/usr/lib/dovecot:/bin/false dovenull:x:115:121:Dovecot login user,,,:/nonexistent:/bin/false froxlorlocal:x:9999:9999:,,,:/home/froxlorlocal:/bin/false opendkim:x:116:122::/var/run/opendkim:/bin/false tboy:x:1002:1002:,,,:/home/tboy:/bin/bash opendmarc:x:117:123::/var/run/opendmarc:/bin/false # Make sure that `passwd`, `group` and `shadow` have mysql in their lines # You should place mysql at the end, so that it is queried after the other mechanisams # #passwd: compat mysql #group: compat mysql #shadow: compat mysql passwd: compat extrausers group: compat extrausers shadow: compat extrausers hosts: files dns networks: files dns services: db files protocols: db files rpc: db files ethers: db files netmasks: files netgroup: files bootparams: files automount: files aliases: files Was könnte ich falsch gemacht haben oder vergessen haben? Debian Jessie
February 3, 20188 yr nsswitch.conf angepasst? Lief der cronjob schon? Wenn nein, manuell starten am besten mit --debug
February 3, 20188 yr Author 4 hours ago, d00p said: nsswitch.conf angepasst? Lief der cronjob schon? Wenn nein, manuell starten am besten mit --debug Hier die /etc/nssswitch.conf: # Make sure that `passwd`, `group` and `shadow` have mysql in their lines # You should place mysql at the end, so that it is queried after the other mechanisams # #passwd: compat mysql #group: compat mysql #shadow: compat mysql passwd: compat extrausers group: compat extrausers shadow: compat extrausers hosts: files dns networks: files dns services: db files protocols: db files rpc: db files ethers: db files netmasks: files netgroup: files bootparams: files automount: files aliases: files /usr/bin/php5 /var/www/froxlor/scripts/froxlor_master_cronjob.php --debug --force (Ich habe die domains + customer raus editiert) [information] cron_tasks: Searching for tasks to do [information] apache::createIpPort: creating ip/port settings for 62.210.105.72:80 [notice] 62.210.105.72:80 :: namevirtualhost-statement no longer needed for apache-2.4 [debug] 62.210.105.72:80 :: inserted vhostcontainer [information] apache::createVirtualHosts: creating vhost container for domain 13, customer xx1 [information] apache::createVirtualHosts: creating vhost container for domain 14, customer xx1 [information] apache::createVirtualHosts: creating vhost container for domain 12, customer xx2 [information] apache::createVirtualHosts: creating vhost container for domain 2, customer xx3 [information] apache::createVirtualHosts: creating vhost container for domain 15, customer xx4 [information] apache::createVirtualHosts: creating vhost container for domain 11, customer xx5 [information] apache::createVirtualHosts: creating vhost container for domain 10, customer xx6 [information] apache::createVirtualHosts: creating vhost container for domain 18, customer xx7 [information] apache::createVirtualHosts: creating vhost container for domain 19, customer xx7 [information] apache::createVirtualHosts: creating vhost container for domain 20, customer xx8 [information] apache::createVirtualHosts: creating vhost container for domain 16, customer xx9 [information] apache::createVirtualHosts: creating vhost container for domain 5, customer xx1 [information] apache::createVirtualHosts: creating vhost container for domain 4, customer xx1 [information] apache::writeConfigs: rebuilding /etc/apache2/sites-enabled/ [information] apache::writeConfigs: rebuilding /etc/apache2/htpasswd/ [information] apache::writeConfigs: rebuilding /etc/apache2/sites-enabled/ [information] apache::reload: reloading php-fpm Job for php5-fpm.service failed. See 'systemctl status php5-fpm.service' and 'journalctl -xn' for details. [information] apache::reload: reloading apache [information] Task4 started - Rebuilding froxlor_bind.conf [information] Cleaning dns zone files from /etc/bind/domains/ [debug] domId domain ismainbutsubto parent domain list of child domain ids [debug] 12 xx2.domain.com 2 domain.com [debug] 2 domain.com 0 - 12, 15, 11, 10, 16 [debug] 15 xx4.domain.com 2 domain.com [debug] 11 xx5.domain.com 2 domain.com [debug] 10 xx6.domain.com 2 domain.com [debug] 18 xx.at 0 - [debug] 19 xx.com 0 - [debug] 20 xx.eu 0 - [debug] 16 xx9.domain.com 2 domain.com [debug] 5 xx.com 0 - [debug] 4 xx.com 0 - [information] `/etc/bind/domains/domain.com.zone` written [debug] Generating dns config for domain.com [information] `/etc/bind/domains/xx.at.zone` written [debug] Generating dns config for xx.at [information] `/etc/bind/domains/xx.com.zone` written [debug] Generating dns config for xx.com [information] `/etc/bind/domains/xx.eu.zone` written [debug] Generating dns config for xx.eu [information] `/etc/bind/domains/xx.zone` written [debug] Generating dns config for xx.com [information] `/etc/bind/domains/xx.zone` written [debug] Generating dns config for xx.com [information] froxlor_bind.conf written Job for bind9.service failed. See 'systemctl status bind9.service' and 'journalctl -xn' for details. [error] Error while running `/etc/init.d/bind9 reload`: exit code (1) - please check your system logs [information] Task4 finished [notice] Checking system's last guid systemctl status bind9 ��� bind9.service - BIND Domain Name Server Loaded: loaded (/lib/systemd/system/bind9.service; enabled) Drop-In: /run/systemd/generator/bind9.service.d ������50-insserv.conf-$named.conf Active: failed (Result: exit-code) since Sat 2018-02-03 14:03:11 CET; 3h 50min ago Docs: man:named(8) Process: 1796 ExecStop=/usr/sbin/rndc stop (code=exited, status=1/FAILURE) Process: 505 ExecStart=/usr/sbin/named -f -u bind (code=exited, status=0/SUCCESS) Main PID: 505 (code=exited, status=0/SUCCESS) Feb 03 14:02:17 s1.domain.com named[505]: zone domain.com/IN: has no NS records Feb 03 14:02:17 s1.domain.com named[505]: zone domain.com/IN: not loaded due to errors. Feb 03 14:02:17 s1.domain.com named[505]: any newly configured zones are now loaded Feb 03 14:03:11 s1.domain.com named[505]: received control channel command 'stop -p' Feb 03 14:03:11 s1.domain.com named[505]: shutting down: flushing changes Feb 03 14:03:11 s1.domain.com named[505]: stopping command channel on 127.0.0.1#953 Feb 03 14:03:11 s1.domain.com named[505]: stopping command channel on ::1#953 Feb 03 14:03:11 s1.domain.com named[505]: no longer listening on 127.0.0.1#53 Feb 03 14:03:11 s1.domain.com named[505]: exiting Feb 03 14:03:11 s1.domain.com rndc[1796]: rndc: connect failed: 127.0.0.1#953: connection refused Feb 03 14:03:11 s1.domain.com systemd[1]: bind9.service: control process exited, code=exited status=1 Feb 03 14:03:11 s1.domain.com systemd[1]: Unit bind9.service entered failed state. Feb 03 17:53:30 s1.domain.com systemd[1]: Unit bind9.service cannot be reloaded because it is inactive. journalctl -xn -- Logs begin at Sat 2018-02-03 14:02:08 CET, end at Sat 2018-02-03 18:20:05 CET. -- Feb 03 18:19:19 s1.domain.com pure-ftpd[4417]: (?@localhost.localdomain) [INFO] New connection from localhost.localdomain Feb 03 18:19:19 s1.domain.com pure-ftpd[4417]: (?@localhost.localdomain) [INFO] Logout. Feb 03 18:19:19 s1.domain.com postfix/smtpd[4419]: connect from localhost.localdomain[127.0.0.1] Feb 03 18:19:19 s1.domain.com postfix/smtpd[4419]: disconnect from localhost.localdomain[127.0.0.1] Feb 03 18:19:56 s1.domain.com postfix/smtpd[4419]: connect from unknown[195.22.125.28] Feb 03 18:19:59 s1.domain.com postfix/smtpd[4419]: warning: unknown[195.22.125.28]: SASL LOGIN authentication failed: UGFzc3dvcmQ6 Feb 03 18:20:01 s1.domain.com CRON[4425]: pam_unix(cron:session): session opened for user root by (uid=0) Feb 03 18:20:01 s1.domain.com CRON[4426]: (root) CMD (/usr/bin/nice -n 5 /usr/bin/php5 -q /var/www/froxlor/scripts/froxlor_master_cronjob.php --tasks 1> /dev/null) Feb 03 18:20:01 s1.domain.com CRON[4425]: pam_unix(cron:session): session closed for user root Feb 03 18:20:05 s1.domain.com postfix/smtpd[4419]: warning: unknown[195.22.125.28]: SASL LOGIN authentication failed: UGFzc3dvcmQ6
February 3, 20188 yr Author Mir fällt auf dass bei "getent passwd" kein user von den froxlor-customers aufgelistet wird. Sollte nicht jeder customer eine eigene UID haben und diese mit "getent passwd" angezeigt werden?
February 3, 20188 yr Author Fehler gefunden, hatte "libnss-extrauser" nicht im froxlor settings aktiviert. Danke an lod_ im irc chat!!!!! :-)
Archived
This topic is now archived and is closed to further replies.