Portál AbcLinuxu, 9. srpna 2025 05:29


Dotaz: Apache a PHP po čisté instalaci Archu

21.10.2007 15:37 Sir Mikhail | skóre: 10
Apache a PHP po čisté instalaci Archu
Přečteno: 446×
Odpovědět | Admin
Zdravim

server mi bezel par mesicu a apache, php, mysql bezeli ok, podle navodu na archlinux.org (LAMP). Ted jsem byl nucen udelat cistou instalaci a od te doby kdyz odkomentuju radku v httpd.conf, povolujici php (LoadModule php5_module modules/libphp5.so), tak apache odmitne start i stop.

V error_logu je
[Sat Oct 20 22:03:32 2007] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Sat Oct 20 22:03:32 2007] [notice] suEXEC mechanism enabled (wrapper: /usr/bin/suexec)
[Sat Oct 20 22:03:32 2007] [notice] Digest: generating secret for digest authentication ...
[Sat Oct 20 22:03:32 2007] [notice] Digest: done
[Sat Oct 20 22:03:32 2007] [notice] Apache/2.2.6 (Unix) DAV/2 mod_ssl/2.2.6 OpenSSL/0.9.8f configured -- resuming normal operations
[Sat Oct 20 22:03:35 2007] [error] [client 192.168.2.2] File does not exist: /home/httpd/html/favicon.ico
[Sat Oct 20 22:07:47 2007] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Sat Oct 20 22:07:47 2007] [notice] suEXEC mechanism enabled (wrapper: /usr/bin/suexec)
[Sat Oct 20 22:07:47 2007] [notice] Digest: generating secret for digest authentication ...
[Sat Oct 20 22:07:48 2007] [notice] Digest: done
[Sat Oct 20 22:07:49 2007] [notice] Apache/2.2.6 (Unix) DAV/2 mod_ssl/2.2.6 OpenSSL/0.9.8f configured -- resuming normal operations
[Sat Oct 20 22:11:36 2007] [notice] caught SIGTERM, shutting down
[Sat Oct 20 22:11:38 2007] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Sat Oct 20 22:11:38 2007] [notice] suEXEC mechanism enabled (wrapper: /usr/bin/suexec)
[Sat Oct 20 22:11:38 2007] [notice] Digest: generating secret for digest authentication ...
[Sat Oct 20 22:11:38 2007] [notice] Digest: done
[Sat Oct 20 22:11:39 2007] [notice] Apache/2.2.6 (Unix) DAV/2 mod_ssl/2.2.6 OpenSSL/0.9.8f configured -- resuming normal operations
[Sat Oct 20 22:16:25 2007] [notice] caught SIGTERM, shutting down
[Sat Oct 20 22:16:28 2007] [info] Init: Seeding PRNG with 136 bytes of entropy
[Sat Oct 20 22:16:28 2007] [info] Init: Generating temporary RSA private keys (512/1024 bits)
[Sat Oct 20 22:16:29 2007] [info] Init: Generating temporary DH parameters (512/1024 bits)
[Sat Oct 20 22:16:29 2007] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Sat Oct 20 22:16:29 2007] [info] Init: Initializing (virtual) servers for SSL
[Sat Oct 20 22:16:29 2007] [info] mod_ssl/2.2.6 compiled against Server: Apache/2.2.6, Library: OpenSSL/0.9.8e
[Sat Oct 20 22:16:29 2007] [notice] suEXEC mechanism enabled (wrapper: /usr/bin/suexec)
[Sat Oct 20 22:16:29 2007] [notice] Digest: generating secret for digest authentication ...
[Sat Oct 20 22:16:29 2007] [notice] Digest: done
[Sat Oct 20 22:16:29 2007] [info] Init: Seeding PRNG with 136 bytes of entropy
[Sat Oct 20 22:16:29 2007] [info] Init: Generating temporary RSA private keys (512/1024 bits)
[Sat Oct 20 22:16:29 2007] [info] Init: Generating temporary DH parameters (512/1024 bits)
[Sat Oct 20 22:16:29 2007] [info] Init: Initializing (virtual) servers for SSL
[Sat Oct 20 22:16:29 2007] [info] mod_ssl/2.2.6 compiled against Server: Apache/2.2.6, Library: OpenSSL/0.9.8e
[Sat Oct 20 22:16:29 2007] [debug] proxy_util.c(1667): proxy: grabbed scoreboard slot 0 in child 3554 for worker proxy:reverse
[Sat Oct 20 22:16:29 2007] [debug] proxy_util.c(1775): proxy: initialized single connection worker 0 in child 3554 for (*)
[Sat Oct 20 22:16:29 2007] [debug] proxy_util.c(1667): proxy: grabbed scoreboard slot 0 in child 3556 for worker proxy:reverse
[Sat Oct 20 22:16:29 2007] [debug] proxy_util.c(1686): proxy: worker proxy:reverse already initialized
[Sat Oct 20 22:16:29 2007] [debug] proxy_util.c(1775): proxy: initialized single connection worker 0 in child 3556 for (*)
[Sat Oct 20 22:16:29 2007] [debug] proxy_util.c(1667): proxy: grabbed scoreboard slot 0 in child 3557 for worker proxy:reverse
[Sat Oct 20 22:16:29 2007] [debug] proxy_util.c(1686): proxy: worker proxy:reverse already initialized
[Sat Oct 20 22:16:29 2007] [debug] proxy_util.c(1775): proxy: initialized single connection worker 0 in child 3557 for (*)
[Sat Oct 20 22:16:29 2007] [debug] proxy_util.c(1667): proxy: grabbed scoreboard slot 0 in child 3558 for worker proxy:reverse
[Sat Oct 20 22:16:29 2007] [debug] proxy_util.c(1686): proxy: worker proxy:reverse already initialized
[Sat Oct 20 22:16:29 2007] [debug] proxy_util.c(1775): proxy: initialized single connection worker 0 in child 3558 for (*)
[Sat Oct 20 22:16:29 2007] [notice] Apache/2.2.6 (Unix) DAV/2 mod_ssl/2.2.6 OpenSSL/0.9.8f configured -- resuming normal operations
[Sat Oct 20 22:16:29 2007] [info] Server built: Sep 29 2007 15:08:10
[Sat Oct 20 22:16:29 2007] [debug] prefork.c(991): AcceptMutex: sysvsem (default: sysvsem)
[Sat Oct 20 22:16:29 2007] [debug] proxy_util.c(1667): proxy: grabbed scoreboard slot 0 in child 3555 for worker proxy:reverse
[Sat Oct 20 22:16:29 2007] [debug] proxy_util.c(1686): proxy: worker proxy:reverse already initialized
[Sat Oct 20 22:16:29 2007] [debug] proxy_util.c(1775): proxy: initialized single connection worker 0 in child 3555 for (*)
[Sat Oct 20 22:16:32 2007] [info] removed PID file /var/run/httpd.pid (pid=3552)
[Sat Oct 20 22:16:32 2007] [notice] caught SIGTERM, shutting down
...

Díky za radu! smile
Nástroje: Začni sledovat (0) ?Zašle upozornění na váš email při vložení nového komentáře.

Odpovědi

21.10.2007 16:50 Sir Mikhail | skóre: 10
Rozbalit Rozbalit vše Re: Apache a PHP po čisté instalaci Archu
Odpovědět | | Sbalit | Link | Blokovat | Admin
[Sat Oct 20 22:11:38 2007] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]

Tohle by mohl byt ten problem, ale ani po hledani na googlu jsem nepochopil co s tim ...
21.10.2007 17:36 Sir Mikhail | skóre: 10
Rozbalit Rozbalit vše Re: Apache a PHP po čisté instalaci Archu
Obsah mého souboru httpd-ssl.conf ... v jednom foru jsem nasel, ze nemam pouzivat dbm, ale shmcb ... kazdopadne zadna zmena ...

#SSLSessionCache "dbm:/var/run/ssl_scache" SSLSessionCache "shmcb:/var/run/ssl_scache(512000)" SSLSessionCacheTimeout 300
21.3.2008 11:26 Franta
Rozbalit Rozbalit vše Re: Apache a PHP po čisté instalaci Archu
Našel jsem řešení: Zdá se, že když se direktiva SSLSessionCache nachází uvnitř podmínky <ifmodule ...> nebo <IfDefine SSL>, neprovede se. Pro odstranění problému stači počáteční i koncový tag podmínky zakomentovat. Bohužel direktiva se uvnitř podmínky nachází defaultně po instalaci.

Založit nové vláknoNahoru

Tiskni Sdílej: Linkuj Jaggni to Vybrali.sme.sk Google Del.icio.us Facebook

ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.