cech Posted February 22, 2015 Share Posted February 22, 2015 Hallo, ich teste gerade auf einem Ubuntu 14.04 Server Froxlor, soweit funktioniert auch alles. Nachdem ich den Server neugestartet habe kann ich alles Website nicht mehr erreichen. folgende Fehlermeldung stehen im log 2015/02/22 12:11:26 [crit] 1320#0: *1 stat() "/var/webs/name/domain.de=" failed (13: Permission denied), client: 192.168.10.222, server: domain.de, request: "GET / HTTP/1.1", host: "www.domain.de" 2015/02/22 12:11:26 [error] 1320#0: *1 open() "/var/webs/name/domain.de404" failed (13: Permission denied), client: 192.168.10.222, server: domain.de, request: "GET / HTTP/1.1", host: "www.domain.de" ein nscd -i group und /etc/init.d/nginx restart behebt zwar das Problem, allerding ist beim Neustart meines Testserver alles wieder weg. Vielleicht k?nnte mir jemand ein kleinen Gedankenansto? verpassen, stehe gerade m?chtig auf dem Schlauch. Link to comment Share on other sites More sharing options...
cech Posted March 5, 2015 Author Share Posted March 5, 2015 hey, vielen Dank ich konnte das ganze jetzt etwas eingrenzen, nach einem Neustart bekomme ich die oben beschrieben Fehlermeldung 2015/02/22 12:11:26 [crit] 1320#0: *1 stat() "/var/webs/name/domain.de=" failed (13: Permission denied), client: 192.168.10.222, server: domain.de, request: "GET / HTTP/1.1", host: "www.domain.de" Logge ich mich nun in das Webpanel von Froxlor ei,n klicke dort auf "Configs neu schreiben" warte dann den cron ab funktioniert alles ... Mar 5 13:35:09 web01 ter process /usr/sbin/nginx: libnss-mysql: Connection to server '127.0.0.1' failed: Can't connect to MySQL server on '127.0.0.1' (111) Mar 5 13:35:09 web01 ter process /usr/sbin/nginx: libnss-mysql: Connection to server '127.0.0.1' failed: Can't connect to MySQL server on '127.0.0.1' (111) Mar 5 13:35:09 web01 ter process /usr/sbin/nginx: libnss-mysql: Connection to server '127.0.0.1' failed: Can't connect to MySQL server on '127.0.0.1' (111) Mar 5 13:35:09 web01 ter process /usr/sbin/nginx: libnss-mysql: Connection to server '127.0.0.1' failed: Can't connect to MySQL server on '127.0.0.1' (111) Mar 5 13:35:09 web01 su: libnss-mysql: Connection to server '127.0.0.1' failed: Can't connect to MySQL server on '127.0.0.1' (111) Mar 5 13:35:10 web01 /etc/mysql/debian-start[2701]: Upgrading MySQL tables if necessary. Mar 5 13:35:11 web01 /usr/sbin/cron[2751]: (CRON) INFO (pidfile fd = 3) Mar 5 13:35:11 web01 /usr/sbin/cron[2752]: (CRON) STARTUP (fork ok) Mar 5 13:35:11 web01 /usr/sbin/cron[2752]: (CRON) INFO (Running @reboot jobs) Mar 5 13:35:13 web01 /etc/mysql/debian-start[2712]: /usr/bin/mysql_upgrade: the '--basedir' option is always ignored Mar 5 13:35:13 web01 /etc/mysql/debian-start[2712]: Looking for 'mysql' as: /usr/bin/mysql Mar 5 13:35:13 web01 /etc/mysql/debian-start[2712]: Looking for 'mysqlcheck' as: /usr/bin/mysqlcheck Mar 5 13:35:13 web01 /etc/mysql/debian-start[2712]: This installation of MySQL is already upgraded to 5.6.23, use --force if you still need to run mysql_upgrade Mar 5 13:35:13 web01 /etc/mysql/debian-start[3019]: Checking for insecure root accounts. Mar 5 13:35:13 web01 /etc/mysql/debian-start[3024]: Triggering myisam-recover for all MyISAM tables Kann es daran liegen das nscd vor mysql starte wie von MeinerEiner vermutet ? Finally, in /etc/init.d/nscd, edit the line starting # Required-Start to look like this: # Required-Start: $remote_fs $network mysql habe ich so bearbeitet wie im Tutorial beschrieben ein $ fehlt da nicht zuf?llig ? Link to comment Share on other sites More sharing options...
d00p Posted March 5, 2015 Share Posted March 5, 2015 ?ber die startreihenfolge der Services gibt es auch schon zahlreiche Threads hier (und auch in anderen foren), das ist halt leider auch wieder so ein debian-spezifisches Problem Link to comment Share on other sites More sharing options...
cech Posted March 5, 2015 Author Share Posted March 5, 2015 Heey, ich habs geschafft Punkt 6.2.3 file-rc http://debiananwenderhandbuch.de/init.html apt-get install file-rc danach die /etc/runlevel.conf bearbeiten, neustarten, fertig ! Vielen Dank! PS: doch das mit den internen IP`s funktioniert prima und mach ich schon Jahre so Link to comment Share on other sites More sharing options...
Peter88 Posted March 5, 2015 Share Posted March 5, 2015 kannst du bitte noch f?r mich schreiben was du in der /etc/runlevel.conf wie ge?ndert hast bitte? Link to comment Share on other sites More sharing options...
cech Posted March 6, 2015 Author Share Posted March 6, 2015 kannst du bitte noch f?r mich schreiben was du in der /etc/runlevel.conf wie ge?ndert hast bitte? ?berall wo der Eintrag nscd steht ganz vorne die Zahl von X-Zahl auf 90 ?ndern - neustart, fertig Link to comment Share on other sites More sharing options...
d00p Posted February 22, 2015 Share Posted February 22, 2015 According to the error-log, it seems that you are trying to access domain.tld/= which results in an 404 and then it tries to response with domain.tld/404 but it seems that there is the SLASH missing which results in a docroot like /var/webs/name/domain.de404 instead of /var/webs/name/domain.de/404 can you nopaste the domains vhost config please? Link to comment Share on other sites More sharing options...
cech Posted February 22, 2015 Author Share Posted February 22, 2015 According to the error-log, it seems that you are trying to access domain.tld/= which results in an 404 and then it tries to response with domain.tld/404 but it seems that there is the SLASH missing which results in a docroot like /var/webs/name/domain.de404 instead of /var/webs/name/domain.de/404 can you nopaste the domains vhost config please? Hey kannst du vielleicht in deutsch schreiben mein englisch ist leider nicht so gut server { listen 192.168.20.201:80; server_name domain.de *.domain.de; access_log /var/webs/logs/benutzer-domain.de-access.log combined; error_log /var/webs/logs/benutzer-domain.de-error.log error; root /var/webs/benutzer/domain.de/; location / { index index.php index.html index.htm; try_files $uri $uri/ @rewrites; } location @rewrites { rewrite ^ /index.php last; } location /awstats { alias /var/webs/benutzer/awstats/domain.de/; auth_basic "Restricted Area"; auth_basic_user_file /etc/nginx/froxlor-htpasswd/1-4ebbdc7abc4ebc0d22a9ea2e8f70bf68.htpasswd; } location ~ ^/awstats-icon/(.*)$ { alias /usr/share/awstats/icon/$1; } location ~ ^(.+?\.php)(/.*)?$ { try_files $1 = 404; include /etc/nginx/fastcgi_params; fastcgi_split_path_info ^(.+\.php)(/.+)\$; fastcgi_param SCRIPT_FILENAME $document_root$1; fastcgi_param PATH_INFO $2; fastcgi_pass unix:/var/php5-sockets/benutzer-domain.de-php-fpm.socket; fastcgi_index index.php; } } Ja mir kam das auch schon etwas komisch vor aber so wie es aussieht passt alles oder ? Link to comment Share on other sites More sharing options...
d00p Posted February 22, 2015 Share Posted February 22, 2015 Die IP ist hoffentlich nicht die die du benutzt... Froxlor ist nicht f?r private network IPs gemacht. Sonst bitte schauen ob alle Ordner vorhanden sind, Berechtigungen pr?fen, etc. So sieht erstmal alles korrekt aus. Link to comment Share on other sites More sharing options...
MeinerEiner Posted February 24, 2015 Share Posted February 24, 2015 Hallo, das klingt nach dem Problem was ich auch mit Debian Jessie hatte. Dort war es die Boot-Order. Schau dir mal den Start-Vorgang deines Systems an ob dort alles korrekt hochgefahren wird. Hier der Link zu meinem Problem und eine L?sung: http://forum.froxlor.org/index.php/topic/12910-debian-jessie-nscd-mysql-nginx-und-php5-fpm-rc2-bootorder/ Vielleicht ist das des R?tsels L?sung Link to comment Share on other sites More sharing options...
Question
cech
Hallo,
ich teste gerade auf einem Ubuntu 14.04 Server Froxlor, soweit funktioniert auch alles.
Nachdem ich den Server neugestartet habe kann ich alles Website nicht mehr erreichen.
folgende Fehlermeldung stehen im log
ein
und
behebt zwar das Problem, allerding ist beim Neustart meines Testserver alles wieder weg.
Vielleicht k?nnte mir jemand ein kleinen Gedankenansto? verpassen, stehe gerade m?chtig auf dem Schlauch.
Link to comment
Share on other sites
9 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.