Newsgroup: it.comp.os.linux.iniziare
Titolo: apache che non risponde

Macchina Slackware 11.0 con apache 2.2.4 rispondente sulla porta 2000 
(e' un server raggiungibile dall'esterno via dyndns ma solo per pochi 
intimi :-) ).
Il server ha smesso di funzionare senza preavviso, nel senso che non 
risponde alle richieste pur essendo in funzione.
La macchina risponde via ssh, e se provo un telnet in locale sulla porta 
2000 risponde regolarmente, mentre se faccio la stessa cosa da remoto 
non mi risponde. Potrebbe essere un problema di router ma gli utenti 
nella lan mi dicono che non funziona neanche da dentro la lan (lo usiamo 
per un server di calendario per lightning).
Se dalla console locale provo ad aprire l'homepage con il browser links, 
  il browser resta in attesa per un tempo indefinito con la scritta 
"Request sent".
Se rilancio il server, ottengo l'output indicato sotto, dal quale sembra 
tutto normale.
Potrebbe essere un aggiornamento di ruby andato male? Di recente era 
arrivata la raccomandazione di aggironarlo sulla ML di slackware...
root@server:~# apachectl -k restart -e debug
[Sat Jul 04 10:08:18 2009] [debug] mod_so.c(246): loaded module 
authn_file_module
[Sat Jul 04 10:08:18 2009] [debug] mod_so.c(246): loaded module 
authn_dbm_module
[Sat Jul 04 10:08:18 2009] [debug] mod_so.c(246): loaded module 
authn_anon_module
[Sat Jul 04 10:08:18 2009] [debug] mod_so.c(246): loaded module 
authn_dbd_module
[Sat Jul 04 10:08:18 2009] [debug] mod_so.c(246): loaded module 
authn_default_module
[Sat Jul 04 10:08:18 2009] [debug] mod_so.c(246): loaded module 
authz_host_module
[Sat Jul 04 10:08:18 2009] [debug] mod_so.c(246): loaded module 
authz_groupfile_module
[Sat Jul 04 10:08:18 2009] [debug] mod_so.c(246): loaded module 
authz_user_module
[Sat Jul 04 10:08:18 2009] [debug] mod_so.c(246): loaded module 
authz_dbm_module
[Sat Jul 04 10:08:18 2009] [debug] mod_so.c(246): loaded module 
authz_owner_module
[Sat Jul 04 10:08:18 2009] [debug] mod_so.c(246): loaded module 
authz_default_module
[Sat Jul 04 10:08:18 2009] [debug] mod_so.c(246): loaded module 
auth_basic_module
[Sat Jul 04 10:08:18 2009] [debug] mod_so.c(246): loaded module 
auth_digest_module
[Sat Jul 04 10:08:18 2009] [debug] mod_so.c(246): loaded module dbd_module
[Sat Jul 04 10:08:18 2009] [debug] mod_so.c(246): loaded module 
dumpio_module
[Sat Jul 04 10:08:18 2009] [debug] mod_so.c(246): loaded module 
ext_filter_module
[Sat Jul 04 10:08:18 2009] [debug] mod_so.c(246): loaded module 
include_module
[Sat Jul 04 10:08:18 2009] [debug] mod_so.c(246): loaded module 
filter_module
[Sat Jul 04 10:08:18 2009] [debug] mod_so.c(246): loaded module 
deflate_module
[Sat Jul 04 10:08:18 2009] [debug] mod_so.c(246): loaded module 
log_config_module
[Sat Jul 04 10:08:18 2009] [debug] mod_so.c(246): loaded module 
log_forensic_module
[Sat Jul 04 10:08:18 2009] [debug] mod_so.c(246): loaded module logio_module
[Sat Jul 04 10:08:18 2009] [debug] mod_so.c(246): loaded module env_module
[Sat Jul 04 10:08:18 2009] [debug] mod_so.c(246): loaded module 
mime_magic_module
[Sat Jul 04 10:08:18 2009] [debug] mod_so.c(246): loaded module 
cern_meta_module
[Sat Jul 04 10:08:18 2009] [debug] mod_so.c(246): loaded module 
expires_module
[Sat Jul 04 10:08:18 2009] [debug] mod_so.c(246): loaded module 
headers_module
[Sat Jul 04 10:08:18 2009] [debug] mod_so.c(246): loaded module ident_module
[Sat Jul 04 10:08:18 2009] [debug] mod_so.c(246): loaded module 
usertrack_module
[Sat Jul 04 10:08:18 2009] [debug] mod_so.c(246): loaded module 
unique_id_module
[Sat Jul 04 10:08:18 2009] [debug] mod_so.c(246): loaded module 
setenvif_module
[Sat Jul 04 10:08:18 2009] [debug] mod_so.c(246): loaded module 
version_module
[Sat Jul 04 10:08:18 2009] [debug] mod_so.c(246): loaded module proxy_module
[Sat Jul 04 10:08:18 2009] [debug] mod_so.c(246): loaded module 
proxy_connect_module
[Sat Jul 04 10:08:18 2009] [debug] mod_so.c(246): loaded module 
proxy_ftp_module
[Sat Jul 04 10:08:18 2009] [debug] mod_so.c(246): loaded module 
proxy_http_module
[Sat Jul 04 10:08:18 2009] [debug] mod_so.c(246): loaded module 
proxy_ajp_module
[Sat Jul 04 10:08:18 2009] [debug] mod_so.c(246): loaded module 
proxy_balancer_module
[Sat Jul 04 10:08:18 2009] [debug] mod_so.c(246): loaded module ssl_module
[Sat Jul 04 10:08:18 2009] [debug] mod_so.c(246): loaded module mime_module
[Sat Jul 04 10:08:18 2009] [debug] mod_so.c(246): loaded module dav_module
[Sat Jul 04 10:08:18 2009] [debug] mod_so.c(246): loaded module 
status_module
[Sat Jul 04 10:08:18 2009] [debug] mod_so.c(246): loaded module 
autoindex_module
[Sat Jul 04 10:08:18 2009] [debug] mod_so.c(246): loaded module asis_module
[Sat Jul 04 10:08:18 2009] [debug] mod_so.c(246): loaded module info_module
[Sat Jul 04 10:08:18 2009] [debug] mod_so.c(246): loaded module cgi_module
[Sat Jul 04 10:08:18 2009] [debug] mod_so.c(246): loaded module 
dav_fs_module
[Sat Jul 04 10:08:18 2009] [debug] mod_so.c(246): loaded module 
vhost_alias_module
[Sat Jul 04 10:08:18 2009] [debug] mod_so.c(246): loaded module 
negotiation_module
[Sat Jul 04 10:08:18 2009] [debug] mod_so.c(246): loaded module dir_module
[Sat Jul 04 10:08:18 2009] [debug] mod_so.c(246): loaded module 
imagemap_module
[Sat Jul 04 10:08:18 2009] [debug] mod_so.c(246): loaded module 
actions_module
[Sat Jul 04 10:08:18 2009] [debug] mod_so.c(246): loaded module 
speling_module
[Sat Jul 04 10:08:18 2009] [debug] mod_so.c(246): loaded module 
userdir_module
[Sat Jul 04 10:08:18 2009] [debug] mod_so.c(246): loaded module alias_module
[Sat Jul 04 10:08:18 2009] [debug] mod_so.c(246): loaded module 
rewrite_module
[Sat Jul 04 10:08:19 2009] [debug] mod_so.c(246): loaded module php5_module
root@server:~#

 "Request sent".
E se fai un telnet localhost 2000 e gli mandi una richiesta che ti
risponde? Nel log che rimane?
Davide
-- 
If you want to travel around the world and be invited to speak at a lot
of different places, just write a Unix operating system.
   -- Linus Torvalds

 
Allora, avevo un file error_log da 500 mb. Dopo aver svuotato la 
directory dei log di apache e riavviato il servivio, ottengo il nuovo 
error_log, da cui sembrerebbe trattarsi di un problema col php.
Grazie per il suggerimento, provo ad investigare meglio questo problema 
del php. Il fatto e' che slack 11 se non ricordo male usciva con apache 
1.3 e php4, ma io ho dovuto installare php5 e apache 2 per certi servizi 
che mi interessavano, per cui puo' darsi che qualche aggiornamento 
recente abbia incasinato le cose.
root@server:/var/log/apache2# vi error_log
skipping 16 old session files
reading error_log
[Sat Jul 04 16:42:51 2009] [warn] Init: Session Cache is not configured 
[hint: SSLSessionCache]
[Sat Jul 04 16:42:51 2009] [notice] Digest: generating secret for digest 
authentication ...
[Sat Jul 04 16:42:51 2009] [notice] Digest: done
PHP Warning:  PHP Startup: Unable to load dynamic library 
'/usr/lib/php/extensions/no-debug-non-zts-20060613/interbase.so' - libfb
client.so.2: cannot open shared object file: No such file or directory 
in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 
'/usr/lib/php/extensions/no-debug-non-zts-20060613/odbc.so' - libodbc.so
.1: cannot open shared object file: No such file or directory in Unknown 
on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 
'/usr/lib/php/extensions/no-debug-non-zts-20060613/pdo_firebird.so' - li
bfbclient.so.2: cannot open shared object file: No such file or 
directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 
'/usr/lib/php/extensions/no-debug-non-zts-20060613/pdo_odbc.so' - libodb
c.so.1: cannot open shared object file: No such file or directory in 
Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 
'/usr/lib/php/extensions/no-debug-non-zts-20060613/pdo_pgsql.so' - libpq
.so.5: cannot open shared object file: No such file or directory in 
Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 
'/usr/lib/php/extensions/no-debug-non-zts-20060613/pdo_sqlite.so' - libs
qlite3.so.0: cannot open shared object file: No such file or directory 
in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 
'/usr/lib/php/extensions/no-debug-non-zts-20060613/pgsql.so' - libpq.so.
5: cannot open shared object file: No such file or directory in Unknown 
on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 
'/usr/lib/php/extensions/no-debug-non-zts-20060613/sqlite.so' - libsqlit
e.so.0: cannot open shared object file: No such file or directory in 
Unknown on line 0
[Sat Jul 04 16:42:52 2009] [notice] Apache/2.2.4 (Unix) mod_ssl/2.2.4 
OpenSSL/0.9.8h DAV/2 PHP/5.2.3 configured -- resuming normal
  operations
[Sat Jul 04 16:42:52 2009] [notice] child pid 27047 exit signal 
Segmentation fault (11)
[Sat Jul 04 16:42:52 2009] [notice] child pid 27046 exit signal 
Segmentation fault (11)
[Sat Jul 04 16:42:53 2009] [notice] child pid 27050 exit signal 
Segmentation fault (11)
[Sat Jul 04 16:42:53 2009] [notice] child pid 27049 exit signal 
Segmentation fault (11)
[Sat Jul 04 16:42:53 2009] [notice] child pid 27048 exit signal 
Segmentation fault (11)
[Sat Jul 04 16:42:54 2009] [notice] child pid 27051 exit signal 
Segmentation fault (11)
[Sat Jul 04 16:42:55 2009] [notice] child pid 27057 exit signal 
Segmentation fault (11)
[Sat Jul 04 16:42:55 2009] [notice] child pid 27056 exit signal 
Segmentation fault (11)

 
Ho reinstallato Apache e sono ripartito con una directory /etc/apache2 
completamente nuova, ma ancora lo stessissimo problema.

 in Unknown on line 0
Php non e' installato correttamente. Reinstallalo o scova cosa c'e' gli
manca.
Davide
-- 
"Microsoft is the epitome of innovation and product quality."
   -- This testimonial paid for by Microsoft.