Fórum Ubuntu CZ/SK
Ostatní => Ubuntu Server => Téma založeno: Mickey_Mouse 27 Března 2013, 22:55:50
-
Zdravím,
dnes jsem si konfiguroval LAMP pro domácí router, fungoval do té doby než jsem ho znovu spustil :/ . Port 80 není otevřený , podle výpisu ps -e | grep httpd
proces jede. Nevíte kde by mohla být chyba ?
-
v konfiguraci...
-
A nějaký tip by nebyl ? :-[ Díky moc
PS: Už jsem se bál, že budu muset vyhodit neposlušné trpaslíky
-
moje kříšťálová koule je v poruše
projděte si to, co jste změnil...
-
Pouze jsem nastavil složce var/www práva 777.
-
mrkni se do logu co mu vadi,neco mi rika, ze se ti ani nespusti
-
[Wed Mar 27 10:54:03 2013] [notice] Apache/2.2.22 (Ubuntu) configured -- resuming normal operations
[Wed Mar 27 10:54:05 2013] [notice] caught SIGTERM, shutting down
[Wed Mar 27 10:54:06 2013] [notice] Apache/2.2.22 (Ubuntu) PHP/5.3.10-1ubuntu3.6 with Suhosin-Patch configured -- resuming normal operations
[Wed Mar 27 10:57:19 2013] [notice] Graceful restart requested, doing restart
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
[Wed Mar 27 10:57:19 2013] [notice] Apache/2.2.22 (Ubuntu) PHP/5.3.10-1ubuntu3.6 with Suhosin-Patch configured -- resuming normal operations
[Wed Mar 27 10:58:07 2013] [notice] Graceful restart requested, doing restart
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
[Wed Mar 27 10:58:07 2013] [notice] Apache/2.2.22 (Ubuntu) PHP/5.3.10-1ubuntu3.6 with Suhosin-Patch configured -- resuming normal operations
[Wed Mar 27 15:39:26 2013] [error] [client 192.168.1.7] File does not exist: /var/www/favicon.ico
[Wed Mar 27 16:44:56 2013] [error] [client 85.132.159.230] File does not exist: /var/www/favicon.ico
[Wed Mar 27 16:44:58 2013] [error] [client 85.132.159.230] File does not exist: /var/www/favicon.ico
[Wed Mar 27 18:24:52 2013] [error] [client 173.66.210.56] Invalid method in request \xe0\xa8\x16\xef\xe7}J\xdf\x11J\xbf\x8bm\xf0>\xaa\xa8\xb41Z\xb1,AR\x8d\x89\x8c\xc2\x95i\x93\x95\xbf\xb1\xc0\x83
[Wed Mar 27 19:56:55 2013] [error] [client 192.168.1.7] File does not exist: /var/www/favicon.ico
[Wed Mar 27 19:57:03 2013] [error] [client 192.168.1.7] File does not exist: /var/www/favicon.ico
[Wed Mar 27 20:02:02 2013] [error] [client 85.70.224.125] File does not exist: /var/www/favicon.ico
[Wed Mar 27 20:02:02 2013] [error] [client 85.70.224.125] File does not exist: /var/www/favicon.ico
[Wed Mar 27 20:11:22 2013] [error] [client 192.168.1.7] File does not exist: /var/www/favicon.ico
[Wed Mar 27 20:25:19 2013] [error] [client 192.168.1.7] File does not exist: /var/www/favicon.ico
[Wed Mar 27 20:26:08 2013] [error] [client 192.168.1.7] File does not exist: /var/www/favicon.ico
[Wed Mar 27 20:26:12 2013] [error] [client 192.168.1.7] script '/var/www/prijem.php' not found or unable to stat, referer: http://192.168.1.2/
[Wed Mar 27 20:26:12 2013] [error] [client 192.168.1.7] File does not exist: /var/www/favicon.ico
[Wed Mar 27 20:26:13 2013] [error] [client 192.168.1.7] File does not exist: /var/www/favicon.ico
[Wed Mar 27 20:31:32 2013] [notice] caught SIGTERM, shutting down
Díky ;)
-
Ten server ti normalne bezi, pripojuji se na nej klienti
-
Jedinej klient jsem já, připojil jsem se na něj do tý doby než jsem server restartoval. Nemá ani otevřený port 80 - neběží :/ .
-
ps -ef | grep apache
vypise neco?
-
mickey@NAS:~$ ps -ef | grep apache
mickey 1768 1524 0 09:51 pts/0 00:00:00 grep --color=auto apache
Díky moc :)
-
napis
sudo tail -f /var/log/apache2 *
parkrat zmackni enter
pak otevri jine okno terminalu a napis sudo service apache2 start
a posli sem vypis, ktery vypsal tail -f /var/log/apache2 * po odradkovani
-
V error.log se žádné odřádkování nekonalo :/
sudo start service apache2:
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
* Starting web server apache2 [code]:
Nicméně port 80 je otevřen. Díky moc ;)
-
tak hlavne ze te funguje :)