Re: Segmentation fault (core dumped)
On Sun, 23 Nov 2008 21:33:47 + Marwan Sultan [EMAIL PROTECTED] wrote: Hello Jerry, Its easy to fix, as they advised. Check the file file extensions.ini which is in /usr/local/etc/php/extensions.ini You will see your php modules, for some reasons the loading order of PHP modules it needs to be changed .. You can do the follow..and its for bignners..but saves you the headech. Comment first line with - # save and exitnow see the output of php -v if the error exist (which will for the first 10 lines maybe) repeat again for next line..and same untill you see no error of the php -v When you findout the modulethat cusing your problem...move it to the top of the list of modules (top of the file) save and exit...and your done.. please write for me back which module in your case cused the problem. Out of experince.. SHMOP, READLINE, RECODE, SOAP, SNMP could cuuse your problem The first problem was easy to fix, I just rebuilt sqlite.so {databases/php-sqlite}; however, PHP still crashed. I discovered through trial and error that the problem was with pspell.so. I rebuilt that port but the problem continued. I then rebuilt 'aspell' and then rebuilt the 'pspell' port and the problem disappeared. I wasted several hours getting to the bottom of this problem. There must be a better way. By the way, I though that ';' was the symbol to use to comment out a line in extensions.ini rather than '#'. -- Jerry [EMAIL PROTECTED] In Christianity, a man may have only one wife. This is called Monotony. signature.asc Description: PGP signature
Re: Segmentation fault (core dumped)
On Sat, 22 Nov 2008 22:52:07 + Marwan Sultan [EMAIL PROTECTED] wrote: I think I know what you are talking about.. What is the output of the command php -v ? any errors? I have been have a similar problem lately. ~ $ php -v PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20060613/sqlite.so' - /usr/local/lib/php/20060613/sqlite.so: Undefined symbol spl_ce_Countable in Unknown on line 0 PHP 5.2.6 with Suhosin-Patch 0.9.6.2 (cli) (built: Nov 21 2008 20:45:19) Copyright (c) 1997-2008 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies Segmentation fault: 11 (core dumped) I have been trying to correct it without results. -- Jerry [EMAIL PROTECTED] Your lover will never wish to leave you. signature.asc Description: PGP signature
Re: Segmentation fault (core dumped)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 tethys ocean wrote: Hi to all The server is give this error whenever i want to start apache22. why? Most expected reason - PHP modules. Try to comment modules in /usr/local/etc/php/extensions.ini with ; and check results by php -v or php -i in shell. - -- Regards, Bogdan Potishuk - --- KeyID: 0x84B8D5142569D30B Fingerprint: 78FC 5C40 07CC D331 148E CC79 84B8 D514 2569 D30B Keyserver: keyserver.pgp.com - --- -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREKAAYFAkkpV6EACgkQhLjVFCVp0wuBTgCffJxoUELOPuBzszCHOZ4r0nu6 CqwAoLvQB2pRvqqkqAhjJDVJYijdNk6S =QF0q -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Segmentation fault (core dumped)
Hi again İ found out what problem is. users had changed some libs of python and apache. After reinstall apache phyton and mod_python it works. so so thanks. regards. On Sat, Nov 22, 2008 at 9:23 PM, tethys ocean [EMAIL PROTECTED]wrote: Hi to all The server is give this error whenever i want to start apache22. why? regards -- Share now a pigeon's flight Bluebound along the ancient skies, Its women forever hair and mammal, A Mediterranean town may arise If you rip apart a pigeon's heart. -- Share now a pigeon's flight Bluebound along the ancient skies, Its women forever hair and mammal, A Mediterranean town may arise If you rip apart a pigeon's heart. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Segmentation fault (core dumped)
Hello Jerry, Its easy to fix, as they advised. Check the file file extensions.ini which is in /usr/local/etc/php/extensions.ini You will see your php modules, for some reasons the loading order of PHP modules it needs to be changed .. You can do the follow..and its for bignners..but saves you the headech. Comment first line with - # save and exitnow see the output of php -v if the error exist (which will for the first 10 lines maybe) repeat again for next line..and same untill you see no error of the php -v When you findout the modulethat cusing your problem...move it to the top of the list of modules (top of the file) save and exit...and your done.. please write for me back which module in your case cused the problem. Out of experince.. SHMOP, READLINE, RECODE, SOAP, SNMP could cuuse your problem Thank you. Marwan SUltan.PP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20060613/sqlite.so' - /usr/local/lib/php/20060613/sqlite.so: Undefined symbol spl_ce_Countable in Unknown on line 0 PHP 5.2.6 with Suhosin-Patch 0.9.6.2 (cli) (built: Nov 21 2008 20:45:19) Copyright (c) 1997-2008 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies Segmentation fault: 11 (core dumped) I have been trying to correct it without results. -- Jerry [EMAIL PROTECTED] Your lover will never wish to leave you. _ Windows Live Hotmail now works up to 70% faster. http://windowslive.com/Explore/Hotmail?ocid=TXT_TAGLM_WL_hotmail_acq_faster_112008___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Segmentation fault (core dumped)
tethys ocean wrote: Hi to all The server is give this error whenever i want to start apache22. why? regards Because something's wrong. Cheers, Matthew What? Not enough of an answer? It's all the answer anyone can give considering the parcity of information you supply in your question. To debug this properly could require any or all of: * your httpd.conf * the output of ldd /usr/local/sbin/httpd * a traceback from httpd.core, although this won't be much use unless you've compiled httpd with debug symbols. * the result of running: truss -f /usr/local/sbin/httpd {+ any other arguments you usually use} * If you're using mod_php, then the contents of /usr/local/etc/php/extensions.ini -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW signature.asc Description: OpenPGP digital signature
Re: Segmentation fault (core dumped)
I have no idea since any other people doing something but i dont know exactly according to their claim he doing some stuff with python for web and i suppose he want to restart apache python perl etc all packet is installed. On Sat, Nov 22, 2008 at 9:36 PM, Kevin Kinsey [EMAIL PROTECTED] wrote: tethys ocean wrote: Hi to all The server is give this error whenever i want to start apache22. why? regards Well, there could be any number of reasons why this happens. In my experience, it's because you have Apache loading a broken or incompatible module. Have you recently rebuilt Apache, or some other module (like Perl, PHP, Python) that is used by Apache? Kevin Kinsey -- If it ain't baroque, don't fix it. ---P.D.Q. Bach -- Share now a pigeon's flight Bluebound along the ancient skies, Its women forever hair and mammal, A Mediterranean town may arise If you rip apart a pigeon's heart. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Segmentation fault (core dumped)
tethys ocean wrote: Hi to all The server is give this error whenever i want to start apache22. why? regards Well, there could be any number of reasons why this happens. In my experience, it's because you have Apache loading a broken or incompatible module. Have you recently rebuilt Apache, or some other module (like Perl, PHP, Python) that is used by Apache? Kevin Kinsey -- If it ain't baroque, don't fix it. ---P.D.Q. Bach ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Segmentation fault (core dumped)
apache-2.2.9_5 = up-to-date with port autoconf-2.62 = up-to-date with port db41-4.1.25_4 = up-to-date with port gd-2.0.35,1 = up-to-date with port gdbm-1.8.3_3= up-to-date with port irc-2.11.2p1= up-to-date with port ircii-20060725_1= up-to-date with port nano-2.0.9 = up-to-date with port p5-HTML-Template-2.9_1 = up-to-date with port portupgrade-2.4.6,2 = up-to-date with port py25-MySQLdb-1.2.2 = up-to-date with port py25-bsddb-2.5.2_2 = up-to-date with port py25-django-1.0.1 = up-to-date with port py25-flup-1.0.1 = up-to-date with port py25-gdbm-2.5.2 = up-to-date with port python25-2.5.2_3= up-to-date with port rsync-3.0.4 = up-to-date with port ruby-1.8.6.287,1= up-to-date with port ruby18-bdb-0.6.4= up-to-date with port tcl-8.4.19,1= up-to-date with port unzip-5.52_5= up-to-date with port webalizer-2.20.1_2 = up-to-date with port On Sat, Nov 22, 2008 at 9:39 PM, Matthew Seaman [EMAIL PROTECTED] wrote: tethys ocean wrote: Hi to all The server is give this error whenever i want to start apache22. why? regards Because something's wrong. Cheers, Matthew What? Not enough of an answer? It's all the answer anyone can give considering the parcity of information you supply in your question. To debug this properly could require any or all of: * your httpd.conf * the output of ldd /usr/local/sbin/httpd /usr/local/sbin/httpd: libm.so.4 = /lib/libm.so.4 (0x280c7000) libaprutil-1.so.3 = /usr/local/lib/libaprutil-1.so.3 (0x280dd000) libdb41.so.1 = /usr/local/lib/libdb41.so.1 (0x280f7000) libexpat.so.6 = /usr/local/lib/libexpat.so.6 (0x28194000) libiconv.so.3 = /usr/local/lib/libiconv.so.3 (0x281b2000) libapr-1.so.3 = /usr/local/lib/libapr-1.so.3 (0x2829f000) libcrypt.so.3 = /lib/libcrypt.so.3 (0x282c1000) libpthread.so.2 = /lib/libpthread.so.2 (0x282d9000) libc.so.6 = /lib/libc.so.6 (0x282fe000) * a traceback from httpd.core, although this won't be much use unless you've compiled httpd with debug symbols. locate httpd.core /usr/local/etc/rc.d/httpd.core /usr/ports/distfiles/tmp/lib/httpd.core * the result of running: truss -f /usr/local/sbin/httpd {+ any other arguments you usually use} truss -f /usr/local/sbin/httpd truss: cannot open /proc/curproc/mem: No such file or directory truss: cannot open1 /proc/61323/mem: No such file or directory * If you're using mod_php, then the contents of /usr/local/etc/php/extensions.ini extension=bcmath.so extension=bz2.so extension=calendar.so extension=ctype.so extension=curl.so extension=pcre.so extension=simplexml.so extension=spl.so extension=dom.so extension=filter.so extension=gd.so extension=gettext.so extension=hash.so extension=iconv.so extension=json.so extension=mbstring.so extension=mcrypt.so extension=mysql.so extension=pdo.so extension=pdo_sqlite.so extension=posix.so extension=session.so extension=sockets.so extension=sqlite.so extension=tokenizer.so extension=xml.so extension=xmlreader.so extension=xmlwriter.so -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -- Share now a pigeon's flight Bluebound along the ancient skies, Its women forever hair and mammal, A Mediterranean town may arise If you rip apart a pigeon's heart. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Segmentation fault (core dumped)
On Sat, 22 Nov 2008 21:53:02 +0200, tethys ocean [EMAIL PROTECTED] wrote: I have no idea since any other people doing something but i dont know exactly according to their claim he doing some stuff with python for web and i suppose he want to restart apache Maybe it's a good idea to avoid messing up with this particular Apache instance then. If you don't know how it has been installed, and you cannot find out, and you are only guessing that a restart should fix things, then don't do that... Geez :P ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Segmentation fault (core dumped)
i found something from bash_hist. he deinstall all pkg. (apache php and python) while he is upgrade. i ve reinstall apache22 and port upgraded. than now i will reinstall all deinstalled package and fix it On Sat, Nov 22, 2008 at 10:12 PM, Giorgos Keramidas [EMAIL PROTECTED] wrote: On Sat, 22 Nov 2008 21:53:02 +0200, tethys ocean [EMAIL PROTECTED] wrote: I have no idea since any other people doing something but i dont know exactly according to their claim he doing some stuff with python for web and i suppose he want to restart apache Maybe it's a good idea to avoid messing up with this particular Apache instance then. If you don't know how it has been installed, and you cannot find out, and you are only guessing that a restart should fix things, then don't do that... Geez :P -- Share now a pigeon's flight Bluebound along the ancient skies, Its women forever hair and mammal, A Mediterranean town may arise If you rip apart a pigeon's heart. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Segmentation fault (core dumped)
The server is give this error whenever i want to start apache22. why? regards no idea,but most probably you use PHP and added lots of it's modules, some of them crashes ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Segmentation fault (core dumped)
Hi.. I think I know what you are talking about.. What is the output of the command php -v ? any errors? Marwan Date: Sat, 22 Nov 2008 21:23:24 +0200 From: [EMAIL PROTECTED] To: [EMAIL PROTECTED]; [EMAIL PROTECTED] CC: Subject: Segmentation fault (core dumped) Hi to all The server is give this error whenever i want to start apache22. why? regards-- Share now a pigeon's flight Bluebound along the ancient skies, Its women forever hair and mammal, A Mediterranean town may arise If you rip apart a pigeon's heart. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] _ Get more done, have more fun, and stay more connected with Windows Mobile®. http://clk.atdmt.com/MRT/go/119642556/direct/01/___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]