Re: [woody] php fatal error : Unable to start session mm module in Unknown on line 0
Yannick Degand a écrit : [...] sans charger le module php4 dans httpd.conf, apache demarre est sert bien des pages html PHP4 a-t-il bien été installé *après* (ou en même temps) qu'apache ? As-tu bien les lignes : AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps dans httpd.conf (si tu utilise des fichiers .php3, il faut les rajouter aussi) : AddType application/x-httpd-php .php3 .php Bon, après, faut voir... Est-ce que tes scripts php sont du CGI ou pas, etc. ? Claude
[woody] php fatal error : Unable to start session mm module in Unknown on line 0
bonjour,pas moyen de me sortir de ce probleme...j'ai fouillé toute la doc que j'ai trouvé, les NG,les pages, les archives, etc etcet j'ai toujours le meme probleme !/tmp est vide et peut etre ecrit par tousle shmax est bien a 8Modans le php.ini, le session save est bien en "files"sans charger le module php4 dans httpd.conf,apache demarre est sert bien des pages htmlun dpkg -l me donne ca:ii apache 1.3.26-0woody3ii apache-common 1.3.26-0woody3ii libmm11 1.1.3-6.1ii php4 4.1.2-6woody3la, je ne sais plus quoi fairemerci pour toute infoc'est deja la 3eme fois que je restore suite a un malmenage complet...j'ai pas envie de le faire une 4eme... et ca commence a etre urgent pourmoi... suis-je bon pour une reinstall' complete ?? overnuts
Re: [woody] php fatal error : Unable to start session mm module in Unknown on line 0
J'ai trouvé !! le truc tout bete, auquel je n'avais pas pensé... mon swap n'etait pas activé ! m'en suis rendu compte avec un bete free j'ai donc fait un coup de: mkswap /dev/hda3 swapon /dev/hda3 et relancé, et c'est bon... je comprend mieux aussi pourquoi des fois mon named s'arretait tout seul d'un seul coup merci tout de meme pour votre reponse rapide yannick - Original Message - From: claude [EMAIL PROTECTED] To: Yannick Degand [EMAIL PROTECTED] Cc: debian-user-french@lists.debian.org Sent: Friday, January 09, 2004 1:14 PM Subject: Re: [woody] php fatal error : Unable to start session mm module in Unknown on line 0 Yannick Degand a écrit : [...] sans charger le module php4 dans httpd.conf, apache demarre est sert bien des pages html PHP4 a-t-il bien été installé *après* (ou en même temps) qu'apache ? As-tu bien les lignes : AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps dans httpd.conf (si tu utilise des fichiers .php3, il faut les rajouter aussi) : AddType application/x-httpd-php .php3 .php Bon, après, faut voir... Est-ce que tes scripts php sont du CGI ou pas, etc. ? Claude -- Pensez à lire la FAQ de la liste avant de poser une question : http://savannah.nongnu.org/download/debfr-faq/html/ Pensez à rajouter le mot ``spam'' dans vos champs From et Reply-To: To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: PHP Fatal error: Unable to start session mm module in Unknown on line 0
Hi there! --- Thomas R. Shemanske [EMAIL PROTECTED] wrote: /usr/share/doc/php4/README.Debian.gz suggests not only the things you have tried (although on my system the file is called /tmp/session_mm_apache0.sem (with 600 perms)), but also that it may be related to php4-cgi I don't have that file, so I can't delete it. Anyway, the packages is php4, not php4-cgi Other caveats - * Problem with module and php4-cgi PHP Fatal error: Unable to start session mm module in Unknown on line 0 1) Remove /tmp/session_mm.sem or give access permission to the user running php4. 2) increase the limit on shared memmory (echo 33554432 /proc/sys/kernel/shmmax). This is mainly needed on non-i386 archs. The default is 8MB, but that seems too low. I've tried all these things. What happens if you uninstall the php4-cgi package? Will apache start? It does start, but then PHP doesn't work :-) Occasionally, there have been problems with the load order of the php4 modules. Try changing the order in the php.ini file. extension=imap.so extension=mysql.so In which order should I put them? Thanks. Kisses, Maria __ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
PHP Fatal error: Unable to start session mm module in Unknown on line 0
Hi there! I'm using the Apache and PHP4 packages in Woody and my Apache doesn't want to load. When I load it the system says: /etc/init.d/apache start Starting web server: apache PHP Fatal error: Unable to start session mm module in Unknown on line 0 failed I've browser around and some people propose: echo 33554432 /proc/sys/kernel/shmmax but it doesn't work for me (I even tried with greater numbers). Some others propose to delete /tmp/session_mm.sem but I don't have that file. I've used strace (strace -e trace=file -o output /usr/sbin/apache -X) to track what Apache is doing and here's the output (sorry for the long amount of text): ---CUT--- execve(/usr/sbin/apache, [/usr/sbin/apache, -X], [/* 19 vars */]) = 0 open(/etc/ld.so.preload, O_RDONLY)= -1 ENOENT (No such file or directory) open(/etc/ld.so.cache, O_RDONLY) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=13012, ...}) = 0 open(/lib/libm.so.6, O_RDONLY)= 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=131156, ...}) = 0 open(/lib/libcrypt.so.1, O_RDONLY)= 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=18120, ...}) = 0 open(/lib/libdb.so.2, O_RDONLY) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=49424, ...}) = 0 open(/lib/libdb2.so.2, O_RDONLY) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=262812, ...}) = 0 open(/usr/lib/libexpat.so.1, O_RDONLY) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=131388, ...}) = 0 open(/lib/libdl.so.2, O_RDONLY) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=7992, ...}) = 0 open(/lib/libc.so.6, O_RDONLY)= 3 fstat64(3, {st_mode=S_IFREG|0755, st_size=1104040, ...}) = 0 stat64(/usr/lib/apache/suexec, {st_mode=S_IFREG|S_ISUID|0755, st_size=14004, ...}) = 0 lstat64(/etc/apache/httpd.conf, {st_mode=S_IFREG|0644, st_size=36223, ...}) = 0 open(/etc/apache/httpd.conf, O_RDONLY|O_LARGEFILE) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=36223, ...}) = 0 fstat64(3, {st_mode=S_IFREG|0644, st_size=36223, ...}) = 0 stat64(/etc/apache, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 open(/usr/lib/apache/1.3/mod_vhost_alias.so, O_RDONLY) = 4 fstat64(4, {st_mode=S_IFREG|0644, st_size=6908, ...}) = 0 open(/usr/lib/apache/1.3/mod_log_config.so, O_RDONLY) = 4 fstat64(4, {st_mode=S_IFREG|0644, st_size=12780, ...}) = 0 open(/usr/lib/apache/1.3/mod_mime_magic.so, O_RDONLY) = 4 fstat64(4, {st_mode=S_IFREG|0644, st_size=18488, ...}) = 0 open(/usr/lib/apache/1.3/mod_mime.so, O_RDONLY) = 4 fstat64(4, {st_mode=S_IFREG|0644, st_size=11044, ...}) = 0 open(/usr/lib/apache/1.3/mod_negotiation.so, O_RDONLY) = 4 fstat64(4, {st_mode=S_IFREG|0644, st_size=21164, ...}) = 0 open(/usr/lib/apache/1.3/mod_status.so, O_RDONLY) = 4 fstat64(4, {st_mode=S_IFREG|0644, st_size=15132, ...}) = 0 open(/usr/lib/apache/1.3/mod_autoindex.so, O_RDONLY) = 4 fstat64(4, {st_mode=S_IFREG|0644, st_size=26748, ...}) = 0 open(/usr/lib/apache/1.3/mod_dir.so, O_RDONLY) = 4 fstat64(4, {st_mode=S_IFREG|0644, st_size=5660, ...}) = 0 open(/usr/lib/apache/1.3/mod_cgi.so, O_RDONLY) = 4 fstat64(4, {st_mode=S_IFREG|0644, st_size=11140, ...}) = 0 open(/usr/lib/apache/1.3/mod_userdir.so, O_RDONLY) = 4 fstat64(4, {st_mode=S_IFREG|0644, st_size=6080, ...}) = 0 open(/usr/lib/apache/1.3/mod_alias.so, O_RDONLY) = 4 fstat64(4, {st_mode=S_IFREG|0644, st_size=7956, ...}) = 0 open(/usr/lib/apache/1.3/mod_rewrite.so, O_RDONLY) = 4 fstat64(4, {st_mode=S_IFREG|0644, st_size=8, ...}) = 0 open(/usr/lib/apache/1.3/mod_access.so, O_RDONLY) = 4 fstat64(4, {st_mode=S_IFREG|0644, st_size=7048, ...}) = 0 open(/usr/lib/apache/1.3/mod_auth.so, O_RDONLY) = 4 fstat64(4, {st_mode=S_IFREG|0644, st_size=8912, ...}) = 0 open(/usr/lib/apache/1.3/mod_expires.so, O_RDONLY) = 4 fstat64(4, {st_mode=S_IFREG|0644, st_size=7032, ...}) = 0 open(/usr/lib/apache/1.3/mod_unique_id.so, O_RDONLY) = 4 fstat64(4, {st_mode=S_IFREG|0644, st_size=5724, ...}) = 0 open(/usr/lib/apache/1.3/mod_setenvif.so, O_RDONLY) = 4 fstat64(4, {st_mode=S_IFREG|0644, st_size=7256, ...}) = 0 open(/usr/lib/apache/1.3/libphp4.so, O_RDONLY) = 4 fstat64(4, {st_mode=S_IFREG|0644, st_size=1271492, ...}) = 0 open(/etc/ld.so.cache, O_RDONLY) = 4 fstat64(4, {st_mode=S_IFREG|0644, st_size=13012, ...}) = 0 open(/lib/libpam.so.0, O_RDONLY) = 4 fstat64(4, {st_mode=S_IFREG|0644, st_size=29420, ...}) = 0 open(/lib/libresolv.so.2, O_RDONLY) = 4 fstat64(4, {st_mode=S_IFREG|0644, st_size=56652, ...}) = 0 open(/usr/lib/libmm.so.11, O_RDONLY) = 4 fstat64(4, {st_mode=S_IFREG|0644, st_size=14844, ...}) = 0 open(/usr/lib/libpcre.so.3, O_RDONLY) = 4 fstat64(4, {st_mode=S_IFREG|0644, st_size=34380, ...}) = 0 open(/usr/lib/libbz2.so.1.0, O_RDONLY) = 4 fstat64(4, {st_mode=S_IFREG|0644, st_size=60392, ...}) = 0 open(/usr/lib/libz.so.1, O_RDONLY)= 4 fstat64(4, {st_mode=S_IFREG|0644, st_size=54632, ...}) = 0 open(/lib/libnsl.so.1, O_RDONLY) = 4 fstat64(4, {st_mode=S_IFREG|0644, st_size=69132, ...}) = 0 open(/etc/nsswitch.conf, O_RDONLY)= 4 fstat64(4, {st_mode=S_IFREG|0644, st_size=465, ...}) = 0
Re: PHP Fatal error: Unable to start session mm module in Unknown on line 0
On Wed, Jul 09, 2003 at 10:22:22AM -0700, Maria Garcia Suarez wrote: Hi there! I'm using the Apache and PHP4 packages in Woody and my Apache doesn't want to load. When I load it the system says: /etc/init.d/apache start Starting web server: apache PHP Fatal error: Unable to start session mm module in Unknown on line 0 failed I've browser around and some people propose: echo 33554432 /proc/sys/kernel/shmmax but it doesn't work for me (I even tried with greater numbers). Some others propose to delete /tmp/session_mm.sem but I don't have that file. snipped Check out /etc/php4/apache/php.ini Search for session.save_handler and try setting it to files instead of mm Then restart apache. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: PHP Fatal error: Unable to start session mm module in Unknown on line 0
Hi Matt! Thanks for your answer but.. --- Matthew Daubenspeck [EMAIL PROTECTED] wrote: I'm using the Apache and PHP4 packages in Woody and my Apache doesn't want to load. When I load it the system says: /etc/init.d/apache start Starting web server: apache PHP Fatal error: Unable to start session mm module in Unknown on line 0 failed I've browser around and some people propose: echo 33554432 /proc/sys/kernel/shmmax but it doesn't work for me (I even tried with greater numbers). Some others propose to delete /tmp/session_mm.sem but I don't have that file. Check out /etc/php4/apache/php.ini Search for session.save_handler and try setting it to files instead of mm I already have files instead of mm. Then restart apache. I tried with both files and mm, but it doesn't work for any :-( Kisses, Maria __ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: PHP Fatal error: Unable to start session mm module in Unknown on line 0
On Sun, Feb 09, 2003 at 02:18:25PM +, Rus Foster wrote: Hi All, I've just tried to install PHP on woody using apt-get install php4 php-cgi. I let it rerun the configure apache script and went to try out a simple page. This just ended up downloading the source code for the script. Read the README.Debian that came with the package first, of course, it mentions this problem. Looking through the apache conf I noticed LoadModule php4_module /usr/lib/apache/1.3/libphp4.so was #'ed out so put that back in. Now when I restart Apache I get PHP Fatal error: Unable to start session mm module in Unknown on line 0 Looking through google this was/is a know bug on debian and the fix appeared to be increase the shared memory space in php.ini. However I increased mine to 32M and this still didn't work. Any ideas of what I can try next? This is a more interesting one. Are you on PPC? -- Rob Weir [EMAIL PROTECTED] http://ertius.org/ msg29888/pgp0.pgp Description: PGP signature