system upgrade introduced oddball apache error...
Running FreeBSD 8.2-STABLE #0: Thu Jun 9 09:25:05 EDT 2011 on i386 and rebuilt all my ports from source shortly after the upgrade. Got weird error when I tried to start apache2 (using "% apachectl -t" first): [Mon Jun 13 10:16:15 2011] [error] syntax error at (eval 21) line 1, near "require Apache2::Const -"\n [Mon Jun 13 10:16:15 2011] [error] Can't load Perl module Apache2::Const -compile => ':common' for server localhost:80, exiting... The Perl module in question is present here: freebsd% ls -l /usr/local/lib/perl5/site_perl/5.14.0/mach/Apache2/Const.pm -r--r--r-- 1 root wheel 25924 Jun 10 17:08 /usr/local/lib/perl5/site_perl/5.14.0/mach/Apache2/Const.pm The only reference to it is in an Apache config include file: PerlModule "Apache2::Const -compile => ':common'" I have these ports: perl-5.14.0 apache-2.2.19 ap22-mod_perl2-2.0.5,3 In the /usr/local/etc/apache22/httpd.conf file, there is this line: LoadModule perl_module libexec/apache22/mod_perl.so but the httpd.conf file was unchanged from before the upgrade. Neither of these two commands gave any output at all: freebsd% perl -e 'use Apache2::Const qw( :common ); freebsd% perl -M'Apache2::Const -compile => qw(:common)' -e 1; This command gave one line of output: freebsd% perl -MApache2::Const -e 'print $Apache2::Const::VERSION, "\n"'; 2.05 This problem did not occur before the upgrade when I was running: perl-5.12.3 apache-2.2.17_1 ap22-mod_perl2-2.0.4_2,3 I don't know how to debug this problem. No log files in /var/log were changed by running the apachectl(8) command and there have been no new lines added to /var/log/httpd-error.log since I rebooted and shut down apache2 on June 9th as part of the upgrade. Any and all ideas welcome. Regards, web... -- William Bulley Email: w...@umich.edu 72 characters width template ->| ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Apache Error Authentication (Nagios)
David Alanis wrote: However, when I go to login to nagios I get the username and password prompt but I am unable to login I apologize for the very long e-mail). I did some research online but found nothing too much helpful. Thank you in advanced! #Error Message from httpd-errors [Wed Jan 30 22:12:58 2008] [error] [client 67.190.229.227] access to /nagios/cgi-bin/tac.cgi failed, reason: require directives present and no Authoritative handler. What does your .htaccess file in /usr/local/www/nagios/cgi-bin look like? Alex, it was a typo in my .htaccess file! Again, thanks a bunch! Good news! Copied to questions@ so the archive has the answer. --Alex ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Apache Error Authentication (Nagios)
David Alanis wrote: Good Day: First and foremost, I would like to thank everyone for providing a fantastic mailing list. Today I happen to need assistance from you all. What is happening is I installed apache and nagios on my firewall. However, when I go to login to nagios I get the username and password prompt but I am unable to login I apologize for the very long e-mail). I did some research online but found nothing too much helpful. Thank you in advanced! #Error Message from httpd-errors [Wed Jan 30 22:12:58 2008] [error] [client 67.190.229.227] access to /nagios/cgi-bin/tac.cgi failed, reason: require directives present and no Authoritative handler. What does your .htaccess file in /usr/local/www/nagios/cgi-bin look like? Here's an example: AuthName "Nagios" AuthType Basic AuthUserFile /usr/local/etc/nagios/htpasswd.nagios require valid-user Same goes for /usr/local/www/nagios. You need to actually set up the AuthUserFile using htpasswd (part of apache). From your httpd.conf # Nagios ScriptAlias /nagios/cgi-bin /usr/local/www/nagios/cgi-bin AllowOverride AuthConfig Options ExecCGI Order allow,deny Allow from all Alias /nagios /usr/local/www/nagios Options None AllowOverride AuthConfig Order allow,deny Allow from all --Alex ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Apache Error Authentication (Nagios)
Good Day: First and foremost, I would like to thank everyone for providing a fantastic mailing list. Today I happen to need assistance from you all. What is happening is I installed apache and nagios on my firewall. However, when I go to login to nagios I get the username and password prompt but I am unable to login I apologize for the very long e-mail). I did some research online but found nothing too much helpful. Thank you in advanced! #Error Message from httpd-errors [Wed Jan 30 22:12:58 2008] [error] [client 67.190.229.227] access to /nagios/cgi-bin/tac.cgi failed, reason: require directives present and no Authoritative handler. #I am running FreeBSD 7.0-PRERELEASE #This is the out put of my Apache build: Server version: Apache/2.2.8 (FreeBSD) Server built: Jan 30 2008 21:46:44 Server's Module Magic Number: 20051115:11 Server loaded: APR 1.2.12, APR-Util 1.2.12 Compiled using: APR 1.2.12, APR-Util 1.2.12 Architecture: 32-bit Server MPM: Prefork threaded: no forked: yes (variable process count) Server compiled with -D APACHE_MPM_DIR="server/mpm/prefork" -D APR_HAS_SENDFILE -D APR_HAS_MMAP -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled) -D APR_USE_FLOCK_SERIALIZE -D APR_USE_PTHREAD_SERIALIZE -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT -D APR_HAS_OTHER_CHILD -D AP_HAVE_RELIABLE_PIPED_LOGS -D DYNAMIC_MODULE_LIMIT=128 -D HTTPD_ROOT="/usr/local" -D SUEXEC_BIN="/usr/local/bin/suexec" -D DEFAULT_PIDLOG="/var/run/httpd.pid" -D DEFAULT_SCOREBOARD="/var/run/apache_runtime_status" -D DEFAULT_LOCKFILE="/var/run/accept.lock" -D DEFAULT_ERRORLOG="/var/log/httpd-error.log" -D AP_TYPES_CONFIG_FILE="etc/apache22/mime.types" -D SERVER_CONFIG_FILE="etc/apache22/httpd.conf" #This is the output of #apachectl -l [EMAIL PROTECTED] /usr/home/canito]# apachectl -l Compiled in modules: core.c prefork.c http_core.c mod_so.c #my httpd.conf http://www.dalan.us/download/httpd.conf This message was sent using IMP, the Internet Messaging Program. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: apache error
dharam paul wrote: Running the command 'apachectl status'produces the following gerror: Not Found The requested URL /server-status was not found on this server. _ Apache/2.0.55 (FreeBSD) Server at localhost Port 80 Practically apache is seving the index.html page. What is the problem here? Regards Check your httpd.conf file. Apache needs to a] load the status module, b] "add" the status module, and c] be configured to show the "status" page: # # Allow server status reports, with the URL of # http://servername/server-status # Change the ".your-domain.com" to match your domain to enable. # SetHandler server-status Order deny,allow Allow from all Note that you probably don't want "allow from all". HTH, Kevin Kinsey -- Your boss climbed the corporate ladder, wrong by wrong. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: apache error
J.D. Bronson wrote: I have apache2.2 and running http only for now. All is running fine, but I noticed that once a page comes up..as soon as I click a link, I see this in the 'access.log' file for apache: www.wixb.com - - [28/Jan/2006:11:55:12 -0600] "GET /" 400 456 www.wixb.com - - [28/Jan/2006:11:55:13 -0600] "GET /" 400 456 this happens right after clicking ANY link whatsoever...but all the pages come up fine. Any tips on trying to figure this out? there is nothing in the error.log file... What exactly is the issue? Are you talking about there being 2 entries in the access.log for the same click? I cant understand what you are trying to say. Regards, Richard ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
apache error
Running the command 'apachectl status'produces the following gerror: Not Found The requested URL /server-status was not found on this server. _ Apache/2.0.55 (FreeBSD) Server at localhost Port 80 Practically apache is seving the index.html page. What is the problem here? Regards Yahoo! India Answers: Share what you know. Learn something new. http://in.answers.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
apache error
I have apache2.2 and running http only for now. All is running fine, but I noticed that once a page comes up..as soon as I click a link, I see this in the 'access.log' file for apache: www.wixb.com - - [28/Jan/2006:11:55:12 -0600] "GET /" 400 456 www.wixb.com - - [28/Jan/2006:11:55:13 -0600] "GET /" 400 456 this happens right after clicking ANY link whatsoever...but all the pages come up fine. Any tips on trying to figure this out? there is nothing in the error.log file... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Apache error logs memory leak
I keep getting errors in my apache error logs with the following: Is this a problem with PHP? /usr/ports/textproc/php5-xml/work/php-5.1.1/ext/xml/xml.c(695) : Freeing 0x0882 B624 (32 bytes), script=/usr/local/www/groupoffice-com-2.14-FINAL-4/modules/phps ysinfo/index.php /usr/ports/lang/php5/work/php-5.1.1/Zend/zend_hash.c(169) : Actual location (loc ation was relayed) Last leak repeated 1 time /usr/ports/textproc/php5-xml/work/php-5.1.1/ext/xml/xml.c(694) : Freeing 0x0882 3BE4 (16 bytes), script=/usr/local/www/groupoffice-com-2.14-FINAL-4/modules/phps ysinfo/index.php /usr/ports/lang/php5/work/php-5.1.1/Zend/zend_execute_API.c(462) : Freeing 0x08 823124 (16 bytes), script=/usr/local/www/groupoffice-com-2.14-FINAL-4/modules/ph psysinfo/index.php Last leak repeated 1 time Zend/zend_language_scanner.c(4938) : Freeing 0x088769E4 (1 bytes), script=/usr/ local/www/groupoffice-com-2.14-FINAL-4/modules/phpsysinfo/index.php /usr/ports/lang/php5/work/php-5.1.1/Zend/zend_compile.c(3200) : Freeing 0x08876 9A4 (16 bytes), script=/usr/local/www/groupoffice-com-2.14-FINAL-4/modules/phpsy sinfo/index.php Last leak repeated 3 times === Total 2791 memory leaks detected === Thanks in advance, Jose ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: [Bulk] Re: [Bulk] Re: PHP startup error in Apache error log
Riemer Palstra wrote: On Sun, Dec 18, 2005 at 02:44:25PM -0800, Jose Borquez wrote: The contents of my extensions.ini file are: extension=mysql.so ; Directory in which the loadable extensions (modules) reside. ; extension_dir = "./" It looks like that is commented out. That shouldn't matter as it should default to the "right" extension directory. I am assuming I need to uncomment this as well as extension=msql.so in the Dynamic Extensions section below. Am I correct? No need to, and msql is not mysql. I'm still suspecting somehow debugging was turned on at compile-time. Could you show me what's in your /var/db/ports/php5/options ? Thanks Riemer, but I fixed that problem. I am having another issue now with the following errors: [Mon Dec 19 18:17:09 2005] [error] PHP Warning: Invalid argument supplied for f oreach() in /usr/local/www/groupoffice-com-2.14-FINAL-4/configuration/index.php on line 299 /usr/local/www/groupoffice-com-2.14-FINAL-4/configuration/index.php(299) : Warni ng - Invalid argument supplied for foreach() [Mon Dec 19 18:17:18 2005] [error] PHP Warning: Invalid argument supplied for f oreach() in /usr/local/www/groupoffice-com-2.14-FINAL-4/configuration/index.php on line 299 /usr/local/www/groupoffice-com-2.14-FINAL-4/configuration/index.php(299) : Warni ng - Invalid argument supplied for foreach() Would you have any ideas about this? Would it be helpful if I posted the code as well and if so do I just need to post the php I get the errors on? Thanks in advance, Jose ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: [Bulk] Re: PHP startup error in Apache error log
On Sun, Dec 18, 2005 at 02:44:25PM -0800, Jose Borquez wrote: > The contents of my extensions.ini file are: > extension=mysql.so > > ; Directory in which the loadable extensions (modules) reside. > ; extension_dir = "./" > > It looks like that is commented out. That shouldn't matter as it should default to the "right" extension directory. > I am assuming I need to uncomment this as well as extension=msql.so in > the Dynamic Extensions section below. Am I correct? No need to, and msql is not mysql. I'm still suspecting somehow debugging was turned on at compile-time. Could you show me what's in your /var/db/ports/php5/options ? -- Riemer PalstraAmsterdam, The Netherlands [EMAIL PROTECTED]http://www.palstra.com/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: [Bulk] Re: PHP startup error in Apache error log
Riemer Palstra wrote: On Sun, Dec 18, 2005 at 01:58:57PM -0800, Jose Borquez wrote: I am running FreeBSD 5.4 with Apache+mod_ssl 1.3.34, mysql-server-5.0.16, mysql-client-5.0.16, php5-5.1.1, and php5-mysql-5.1.1. I see the following error messages every time I attempt to access a php page: PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20050922-debug/mysql.so' - Cannot open "/usr/local/lib/php/20050922-debug/mysql.so" in Unknown on line 0 That's quite strange actually. What's the contents of your /usr/local/etc/php/extensions.ini, and what does the extension_dir directive in your /usr/local/etc/php.ini say? My installation of Apache 2.2.0 and PHP 5.1.1 just takes the mysql.so from /usr/local/lib/php/20050922/mysql.so - did you specify any extra debugging options at compile time? The contents of my extensions.ini file are: extension=mysql.so ; Directory in which the loadable extensions (modules) reside. ; extension_dir = "./" It looks like that is commented out. I am assuming I need to uncomment this as well as extension=msql.so in the Dynamic Extensions section below. Am I correct? ;; ; Dynamic Extensions ; ;; ; ; If you wish to have an extension loaded automatically, use the following ; syntax: ; ; extension=modulename.extension ; ; For example, on Windows: ; ; extension=msql.dll ; ; ... or under UNIX: ; ; extension=msql.so ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: PHP startup error in Apache error log
On Sun, Dec 18, 2005 at 01:58:57PM -0800, Jose Borquez wrote: > I am running FreeBSD 5.4 with Apache+mod_ssl 1.3.34, > mysql-server-5.0.16, mysql-client-5.0.16, php5-5.1.1, and > php5-mysql-5.1.1. I see the following error messages every time I > attempt to access a php page: > > PHP Warning: PHP Startup: Unable to load dynamic library > '/usr/local/lib/php/20050922-debug/mysql.so' - Cannot open > "/usr/local/lib/php/20050922-debug/mysql.so" in Unknown on line 0 That's quite strange actually. What's the contents of your /usr/local/etc/php/extensions.ini, and what does the extension_dir directive in your /usr/local/etc/php.ini say? My installation of Apache 2.2.0 and PHP 5.1.1 just takes the mysql.so from /usr/local/lib/php/20050922/mysql.so - did you specify any extra debugging options at compile time? -- Riemer PalstraAmsterdam, The Netherlands [EMAIL PROTECTED]http://www.palstra.com/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
PHP startup error in Apache error log
I am running FreeBSD 5.4 with Apache+mod_ssl 1.3.34, mysql-server-5.0.16, mysql-client-5.0.16, php5-5.1.1, and php5-mysql-5.1.1. I see the following error messages every time I attempt to access a php page: PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20 050922-debug/mysql.so' - Cannot open "/usr/local/lib/php/20050922-debug/mys ql.so" in Unknown on line 0 Unknown(0) : Warning - PHP Startup: Unable to load dynamic library '/usr/local/l ib/php/20050922-debug/mysql.so' - Cannot open "/usr/local/lib/php/20050922- debug/mysql.so" PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20 050922-debug/mysql.so' - Cannot open "/usr/local/lib/php/20050922-debug/mys ql.so" in Unknown on line 0 Unknown(0) : Warning - PHP Startup: Unable to load dynamic library '/usr/local/l ib/php/20050922-debug/mysql.so' - Cannot open "/usr/local/lib/php/20050922- debug/mysql.so" Could someone please let me know if I have configured something improperly or what I need to look for? Thanks in advance, Jose ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: php --with apache error log
Looks like you are mixing debug and non-debug builds of php. Do a port update to make sure your makefile is clean. Deinstall php and all of the modules. Reinstall php Reinstall the modules. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Vizion Sent: Wednesday, September 07, 2005 10:32 AM To: Kevin Kinsey Cc: [EMAIL PROTECTED]; freebsd-questions@freebsd.org Subject: Re: php --with apache error log On Wednesday 07 September 2005 08:54, the author Kevin Kinsey contributed to the dialogue on- Re: php --with apache error log: >Vizion wrote: >>I tried changing to : >>extension_dir = //usr/local/lib/php/20041030 >>but that made no difference --still got the same error: >>Unknown(0) : Warning - PHP Startup: Unable to load dynamic library >>'/usr/local/lib/php/20041030-debug/pcre.so' - Cannot open >>"/usr/local/lib/php/20041030-debug/pcre.so" >>Unknown(0) : Warning - PHP Startup: Unable to load dynamic library >>'/usr/local/lib/php/20041030-debug/xml.so' - Cannot open >>"/usr/local/lib/php/20041030-debug/xml.so" >> >>Puzzled >> >>david > >I suspect that a call to phpinfo() would reveal that you >built a debug build? Never having done this myself, I >can't say exactly what you'd want to do to fix it; however, >an obvious kluge would be to create the directory >it seems to want to have, and copy the object files to it. > >Kevin Kinsey I am sure you are right -- maybe there is something odd in the Makefile.. I wonder if the debug build version of xml.so and pcre.so are identical? Umph.. I will change the directories,as you suggest.. and see what happens - in the meantime I will make a bug report david -- 40 yrs navigating and computing in blue waters. English Owner & Captain of British Registered 60' bluewater Ketch S/V Taurus. Currently in San Diego, CA. Sailing bound for Europe via Panama Canal after completing engineroom refit. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: php --with apache error log
On Wednesday 07 September 2005 08:54, the author Kevin Kinsey contributed to the dialogue on- Re: php --with apache error log: >Vizion wrote: >>I tried changing to : >>extension_dir = //usr/local/lib/php/20041030 >>but that made no difference --still got the same error: >>Unknown(0) : Warning - PHP Startup: Unable to load dynamic library >>'/usr/local/lib/php/20041030-debug/pcre.so' - Cannot open >>"/usr/local/lib/php/20041030-debug/pcre.so" >>Unknown(0) : Warning - PHP Startup: Unable to load dynamic library >>'/usr/local/lib/php/20041030-debug/xml.so' - Cannot open >>"/usr/local/lib/php/20041030-debug/xml.so" >> >>Puzzled >> >>david > >I suspect that a call to phpinfo() would reveal that you >built a debug build? Never having done this myself, I >can't say exactly what you'd want to do to fix it; however, >an obvious kluge would be to create the directory >it seems to want to have, and copy the object files to it. > >Kevin Kinsey I am sure you are right -- maybe there is something odd in the Makefile.. I wonder if the debug build version of xml.so and pcre.so are identical? Umph.. I will change the directories,as you suggest.. and see what happens - in the meantime I will make a bug report david -- 40 yrs navigating and computing in blue waters. English Owner & Captain of British Registered 60' bluewater Ketch S/V Taurus. Currently in San Diego, CA. Sailing bound for Europe via Panama Canal after completing engineroom refit. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: php --with apache error log
Vizion wrote: I tried changing to : extension_dir = //usr/local/lib/php/20041030 but that made no difference --still got the same error: Unknown(0) : Warning - PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20041030-debug/pcre.so' - Cannot open "/usr/local/lib/php/20041030-debug/pcre.so" Unknown(0) : Warning - PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20041030-debug/xml.so' - Cannot open "/usr/local/lib/php/20041030-debug/xml.so" Puzzled david I suspect that a call to phpinfo() would reveal that you built a debug build? Never having done this myself, I can't say exactly what you'd want to do to fix it; however, an obvious kluge would be to create the directory it seems to want to have, and copy the object files to it. Kevin Kinsey ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: php --with apache error log
On Tuesday 06 September 2005 15:40, the author Vizion contributed to the dialogue on- Re: php --with apache error log: >On Tuesday 06 September 2005 15:22, the author Kevin Kinsey contributed to >the dialogue on- > > Re: php --with apache error log: >>Vizion wrote: >>>Hi >>>It seems that php is looking for a directory 20041030-debug when there is >>> only a directory 20041030. >>> >>>Here is the output from http-error.log >>> >>>Is this a config error? >>> >>>Does anyone know foe to fix the problem? >>> >>>Help appreciated >>> >>>david >>> >>>Quote from log: >>>- >>>[Tue Sep 06 14:26:20 2005] [notice] Apache/2.0.54 (FreeBSD) PHP/5.0.4 >>>configured -- resuming normal operations >>>Unknown(0) : Warning - PHP Startup: Unable to load dynamic library >>>'/usr/local/lib/php/20041030-debug/pcre.so' - Cannot open >>>"/usr/local/lib/php/20041030-debug/pcre.so" >>>Unknown(0) : Warning - PHP Startup: Unable to load dynamic library >>>'/usr/local/lib/php/20041030-debug/xml.so' - Cannot open >> >> >> >>Try adjusting the value for "extension_dir" in the appropriate >>php.ini file. >> >>Note that this has moved, I think, from /usr/local/lib/php/php.ini >>to /usr/local/etc/php.ini for most installations. > >That you very much > >The line extension dir line in the php.ini is: > >extension_dir = "./" > >What value should this have? > >How come it is looking for: >20041030-debug >in the first place when extension_dir is ./? >Where does it get that value from? > >The directory /usr/local/lib/php/20041030 > >dns1# cd /usr/local/lib/php/20041030 >dns1# ls -l >total 130 >-r--r--r-- 1 root wheel 89839 Sep 3 18:50 pcre.so >-r--r--r-- 1 root wheel 40993 Sep 3 18:51 xml.so > I tried changing to : extension_dir = //usr/local/lib/php/20041030 but that made no difference --still got the same error: Unknown(0) : Warning - PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20041030-debug/pcre.so' - Cannot open "/usr/local/lib/php/20041030-debug/pcre.so" Unknown(0) : Warning - PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20041030-debug/xml.so' - Cannot open "/usr/local/lib/php/20041030-debug/xml.so" Puzzled david -- 40 yrs navigating and computing in blue waters. English Owner & Captain of British Registered 60' bluewater Ketch S/V Taurus. Currently in San Diego, CA. Sailing bound for Europe via Panama Canal after completing engineroom refit. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: php --with apache error log
On Tuesday 06 September 2005 15:22, the author Kevin Kinsey contributed to the dialogue on- Re: php --with apache error log: >Vizion wrote: >>Hi >>It seems that php is looking for a directory 20041030-debug when there is >> only a directory 20041030. >> >>Here is the output from http-error.log >> >>Is this a config error? >> >>Does anyone know foe to fix the problem? >> >>Help appreciated >> >>david >> >>Quote from log: >>- >>[Tue Sep 06 14:26:20 2005] [notice] Apache/2.0.54 (FreeBSD) PHP/5.0.4 >>configured -- resuming normal operations >>Unknown(0) : Warning - PHP Startup: Unable to load dynamic library >>'/usr/local/lib/php/20041030-debug/pcre.so' - Cannot open >>"/usr/local/lib/php/20041030-debug/pcre.so" >>Unknown(0) : Warning - PHP Startup: Unable to load dynamic library >>'/usr/local/lib/php/20041030-debug/xml.so' - Cannot open > > > >Try adjusting the value for "extension_dir" in the appropriate >php.ini file. > >Note that this has moved, I think, from /usr/local/lib/php/php.ini >to /usr/local/etc/php.ini for most installations. That you very much The line extension dir line in the php.ini is: extension_dir = "./" What value should this have? How come it is looking for: 20041030-debug in the first place when extension_dir is ./? Where does it get that value from? The directory /usr/local/lib/php/20041030 dns1# cd /usr/local/lib/php/20041030 dns1# ls -l total 130 -r--r--r-- 1 root wheel 89839 Sep 3 18:50 pcre.so -r--r--r-- 1 root wheel 40993 Sep 3 18:51 xml.so Thanks again david -- 40 yrs navigating and computing in blue waters. English Owner & Captain of British Registered 60' bluewater Ketch S/V Taurus. Currently in San Diego, CA. Sailing bound for Europe via Panama Canal after completing engineroom refit. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: php --with apache error log
Vizion wrote: Hi It seems that php is looking for a directory 20041030-debug when there is only a directory 20041030. Here is the output from http-error.log Is this a config error? Does anyone know foe to fix the problem? Help appreciated david Quote from log: - [Tue Sep 06 14:26:20 2005] [notice] Apache/2.0.54 (FreeBSD) PHP/5.0.4 configured -- resuming normal operations Unknown(0) : Warning - PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20041030-debug/pcre.so' - Cannot open "/usr/local/lib/php/20041030-debug/pcre.so" Unknown(0) : Warning - PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20041030-debug/xml.so' - Cannot open Try adjusting the value for "extension_dir" in the appropriate php.ini file. Note that this has moved, I think, from /usr/local/lib/php/php.ini to /usr/local/etc/php.ini for most installations. HTH, Kevin Kinsey ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
php --with apache error log
Hi It seems that php is looking for a directory 20041030-debug when there is only a directory 20041030. Here is the output from http-error.log Is this a config error? Does anyone know foe to fix the problem? Help appreciated david Quote from log: - [Tue Sep 06 14:26:20 2005] [notice] Apache/2.0.54 (FreeBSD) PHP/5.0.4 configured -- resuming normal operations Unknown(0) : Warning - PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20041030-debug/pcre.so' - Cannot open "/usr/local/lib/php/20041030-debug/pcre.so" Unknown(0) : Warning - PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20041030-debug/xml.so' - Cannot open "/usr/local/lib/php/20041030-debug/xml.so" Unknown(0) : Warning - PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20041030-debug/pcre.so' - Cannot open "/usr/local/lib/php/20041030-debug/pcre.so" Unknown(0) : Warning - PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20041030-debug/xml.so' - Cannot open "/usr/local/lib/php/20041030-debug/xml.so" Unknown(0) : Warning - PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20041030-debug/pcre.so' - Cannot open "/usr/local/lib/php/20041030-debug/pcre.so" Unknown(0) : Warning - PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20041030-debug/xml.so' - Cannot open "/usr/local/lib/php/20041030-debug/xml.so" Unknown(0) : Warning - PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20041030-debug/pcre.so' - Cannot open "/usr/local/lib/php/20041030-debug/pcre.so" Unknown(0) : Warning - PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20041030-debug/xml.so' - Cannot open "/usr/local/lib/php/20041030-debug/xml.so" Unknown(0) : Warning - PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20041030-debug/pcre.so' - Cannot open "/usr/local/lib/php/20041030-debug/pcre.so" Unknown(0) : Warning - PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20041030-debug/xml.so' - Cannot open "/usr/local/lib/php/20041030-debug/xml.so" [Tue Sep 06 14:42:11 2005] [notice] caught SIGTERM, shutting down Unknown(0) : Warning - PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20041030-debug/pcre.so' - Cannot open "/usr/local/lib/php/20041030-debug/pcre.so" Unknown(0) : Warning - PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20041030-debug/xml.so' - Cannot open "/usr/local/lib/php/20041030-debug/xml.so" PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20041030-debug/pcre.so' - Cannot open "/usr/local/lib/php/20041030-debug/pcre.so" in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20041030-debug/xml.so' - Cannot open "/usr/local/lib/php/20041030-debug/xml.so" in Unknown on line 0 -- 40 yrs navigating and computing in blue waters. English Owner & Captain of British Registered 60' bluewater Ketch S/V Taurus. Currently in San Diego, CA. Sailing bound for Europe via Panama Canal after completing engineroom refit. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: apache error
Normally when I've seen this error in the past, it's been because of a module for php that isn't too happy with the state of affairs. What you might do is rebuild php without any modules and see if it still coredumps. If not, keep adding them back one by one until it dies again and then you'll know which module is killing it. I've had problems time and time again with libmcrypt being the culprit. I've yet to find a cure other than reinstalling libmcrypt and trying again. Once to the extent of pkg_delete'ing everything on the machine and building it back up to restore php functionality. John Straiton jks@ clickcom.com Clickcom, Inc 704-365-9970x101 > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of H. Bartel > Sent: Monday, September 22, 2003 7:55 AM > To: [EMAIL PROTECTED] > Subject: apache error > > > Hi, > > I did have apache running and then installed mod_php3 after I > already have installed mod_php4. Now I get the following > errors when I try to start apache: > > Segmentation fault (core dumped) > /usr/local/sbin/apachectl start: httpd could not be started > localhost /kernel: pid 183 (httpd), uid 0: exited on signal > 11 (core dumped) > > I would appreciate any solution to this. Thanks, > Holger > ___ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/free> bsd-questions > > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" > ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
apache error
Hi, I did have apache running and then installed mod_php3 after I already have installed mod_php4. Now I get the following errors when I try to start apache: Segmentation fault (core dumped) /usr/local/sbin/apachectl start: httpd could not be started localhost /kernel: pid 183 (httpd), uid 0: exited on signal 11 (core dumped) I would appreciate any solution to this. Thanks, Holger ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Apache error
I had some trouble getting Apache2 to run properly on my machine, so I uninstalled the port and started over with a new port installation. It seemed to work fine "out of the box" with very few changes to the httpd.conf file. I'm able to 'lynx http://localhost' with no trouble, and last I checked I was able to view the page from another browser on my local LAN using my external IP address after 'poking a hole' in my router firewall to allow traffic for port 80 through to the server. However, I've run into a bit of a problem now: I haven't changed anything since yesterday, and I can't browse the site from an external computer (at work). Also, I get the following, strange error when checking the status of the daemon: # apachectl --status (48)Address already in use: make_sock: could not bind to address [::]:80 no listening sockets available, shutting down Unable to open logs Despite all this, the server is still running (or running again?) and I can still 'lynx' to it when I ssh to my server, even from work; I just can't access it via the Web. The server thread looks like it's okay, even though it's somehow now serving bothIP4 and IP6; last night it showed only 'tcp6' and I haven't changed any config settings: # netstat -nat | grep 80 tcp46 0 0 *.80 *.*LISTEN Do I need to open a hole somewhere I haven't yet? Also, I'll eventually need to change port 80 to another, unused port, as my ISP does not allow web hosting. I once tried to fix this by changing the port number in two places in httpd.conf: 'Listen' and 'ServerName'. This seemed to change the port of the thread, as 'netstat' showed the new port, but nothing else worked. Where else must the port number be changed? - Do you Yahoo!? Free online calendar with sync to Outlook(TM). ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"