[EMAIL PROTECTED] apache 2.2 and php 5 problem

2006-05-01 Thread Ken Murach

Hi everyone,

Does anyone know if there are issues between apache 2.2.0 and php 5.0.5 for 
Solaris unix??


I've recently installed apache 2.2.0 which was working fine. I then added 
the php 5.0.5 piece and now when I run the httpd -t command to verify 
syntax is still OK, I get the following the error:


itis-padlproxy1 # ./httpd -t
httpd: Syntax error on line 53 of /usr/local/apache2/conf/httpd.conf: 
Cannot load /usr/local/apache2/modules/libphp5.so into server: ld.so.1: 
./httpd: fatal: relocation error: file 
/usr/local/apache2/modules/libphp5.so: symbol xmlRelaxNGCleanupTypes: 
referenced symbol not found


If I comment out the:

LoadModule php5_modulemodules/libphp5.so


in the httpd.conf file, my syntax is OK again??


Any help/thoughts are greatly appreciated.

P.S. - Prior to the apache 2.2.0 installation, I also installed apache 
1.3.34 with PHP 4.4.0  PHP 5.0.5 and this works fine. I get no errors like 
I do with the 2.2.0 for the httpd -t command.


Thanks
Kenny



-
The official User-To-User support forum of the Apache HTTP Server Project.
See URL:http://httpd.apache.org/userslist.html for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
 from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [EMAIL PROTECTED] apache 2.2 and php 5 problem

2006-05-01 Thread Ken Murach

Hi Rainier,

I would imagine it should be ok? I didn't have any problems with same php 
5.0.5 for the apache 1.3.34 installation. The ./httpd -t command works fine 
for that version.


Do you think I should I should grab latest libxml2 and install that??

Thanks
Kenny

At 07:19 PM 5/1/2006 +0200, you wrote:

On Mon, May 01, 2006 at 01:02:15PM -0400, Ken Murach wrote:

 libxml2.so.2 =  /lib/libxml2.so.2

Is this lib recent enough for php5?

Rainer

-
The official User-To-User support forum of the Apache HTTP Server Project.
See URL:http://httpd.apache.org/userslist.html for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
  from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





-
The official User-To-User support forum of the Apache HTTP Server Project.
See URL:http://httpd.apache.org/userslist.html for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
 from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [EMAIL PROTECTED] apache 2.2 and php 5 problem

2006-05-01 Thread Ken Murach

Hi Rainier,

Thanks for your help/info. Yeah, I just remembered that I grabbed the 
latest libxml2 from Sunfreeware and installed it prior to installing 
apache/php (see below):


itis-padlproxy1 # pkginfo -l SMClxml2
   PKGINST:  SMClxml2
  NAME:  libxml2
  CATEGORY:  application
  ARCH:  sparc
   VERSION:  2.6.16
   BASEDIR:  /usr/local
VENDOR:  Daniel Veillard
PSTAMP:  Steve Christensen
  INSTDATE:  Oct 12 2005 17:22
 EMAIL:  [EMAIL PROTECTED]
STATUS:  completely installed
 FILES:  539 installed pathnames
   8 shared pathnames
  29 directories
  38 executables
   45020 blocks used (approx)

Will continue to dig around to see if I can find out why apahce 2.2.0  php 
5.0.5 don't want to play nice together??


Thanks again
Kenny

At 07:51 PM 5/1/2006 +0200, you wrote:

On Mon, May 01, 2006 at 01:32:42PM -0400, Ken Murach wrote:
 Hi Rainier,

 I would imagine it should be ok? I didn't have any problems with same php
 5.0.5 for the apache 1.3.34 installation. The ./httpd -t command works 
fine

 for that version.

 Do you think I should I should grab latest libxml2 and install that??

Dunno ;-)
http://de2.php.net/manual/en/ref.libxml.php
Also, php.net talks only about apache 2.0.
You can check your libxml (I am quite sure that this is the root of your
problems) by issuing pkginfo -l SMClxml2 (assumed you have installed
sunfreeware's version of libxml).

Rainer

-
The official User-To-User support forum of the Apache HTTP Server Project.
See URL:http://httpd.apache.org/userslist.html for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
  from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





-
The official User-To-User support forum of the Apache HTTP Server Project.
See URL:http://httpd.apache.org/userslist.html for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
 from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [EMAIL PROTECTED] apache 2.2 and php 5 problem

2006-05-01 Thread Ken Murach

Hi Rainier  Nick

Thanks for your help with this. I figured out the problem. It was the code 
in the httpd.conf file for the php5 that was wrong.


Originally line read:

LoadModule php5_modulemodules/libphp5.so

I changed this line to:

LoadModule php5_modulelibexec/libphp5.so

and added the following code (which I originally forgot to add):

IfModule mod_php5.c
 AddType application/x-httpd-php .php .phtml
 AddType application/x-httpd-php-source .phps
/IfModule

Once I did these 2 things, my httpd -t command now works again and I get 
the OK status.


Thanks again
Kenny

At 08:05 PM 5/1/2006 +0200, you wrote:

On Mon, May 01, 2006 at 02:00:08PM -0400, Ken Murach wrote:

BASEDIR:  /usr/local

Remember your ldd's output:

libxml2.so.2 =  /lib/libxml2.so.2

You see?

Rainer

-
The official User-To-User support forum of the Apache HTTP Server Project.
See URL:http://httpd.apache.org/userslist.html for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
  from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





-
The official User-To-User support forum of the Apache HTTP Server Project.
See URL:http://httpd.apache.org/userslist.html for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
 from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [EMAIL PROTECTED] apache 2.2 and php 5 problem

2006-05-01 Thread Ken Murach
Thanks Nick for the info. So should I remove that piece of code?? Should it 
be replaced??


Reason I added it was because of a PHP install document I had in my files 
and part of the installation of PHP was to add those lines into the 
httpd.conf file.


Thanks
Kenny

At 08:37 PM 5/1/2006 +0100, you wrote:

On Monday 01 May 2006 19:21, Ken Murach wrote:

 IfModule mod_php5.c
   AddType application/x-httpd-php .php .phtml
   AddType application/x-httpd-php-source .phps
 /IfModule

Oh dear.  That cargo-cult is deeply BAD for two reasons.  That abuse of
AddType was wrong in Apache 1.1, and everything since.



--
Nick Kew

-
The official User-To-User support forum of the Apache HTTP Server Project.
See URL:http://httpd.apache.org/userslist.html for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
  from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





-
The official User-To-User support forum of the Apache HTTP Server Project.
See URL:http://httpd.apache.org/userslist.html for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
 from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [EMAIL PROTECTED] Weblogic module and apache 1.3.33 question

2006-03-28 Thread Ken Murach

Thank you Alex for the info. I will check it out.

Much appreciated

Kenny

At 07:56 PM 3/28/2006 +0200, you wrote:

Hi,

On Die 28.03.2006 12:47, Ken Murach wrote:


I then started up this apache 1.3.33 instanace but got the following
message upon start up:

apollo1 # ./apachectl start
[Tue Mar 28 12:23:24 2006] [warn] Loaded DSO libexec/mod_wl.so uses plain 
Apache 1.3 API, this module might crash under EAPI! (please recompile it 
with -DEAPI)

./apachectl start: httpd started

Should I be concerned about this message. Do I need to go back and
recompile the apache 1.3.33 and put in this -DEAPI option??


Yes, it crash without EAPI or use the one without EAPI see:

http://e-docs.bea.com/wls/docs81/plugins/apache.html
 = Table 2-2 Apache Plug-In Shared Object File Versions

BTW:  when you 'install' mod_ssl you will have automatically the eapi ;-)

Greettings

Alex

-
The official User-To-User support forum of the Apache HTTP Server Project.
See URL:http://httpd.apache.org/userslist.html for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
 from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






-
The official User-To-User support forum of the Apache HTTP Server Project.
See URL:http://httpd.apache.org/userslist.html for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
 from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[EMAIL PROTECTED] Apache 2.0.54 rotate logs problem

2006-03-24 Thread Ken Murach

Hi everyone,

Was wondering if there is a work around solution to apache 2.0.54 and 
rotatelogs?? Currently having a problem trying to start up apache 2.0.54 
with the rotatelogs function. This function does not retain the value of 
the LD_LIBRARY_PATH variable and when we try to start this apache 2.0.54 we 
get the following error:


dbnode2 # ./httpd-isites start
Starting the bi-modal Apache web server
ld.so.1: /usr/local/apache-2.0.54/bin/httpd: fatal: libgcc_s.so.1: open 
failed: No such file or directory


Even though one of the first lines in this httpd-isites script sets the 
LD_LIBRARY_PATH variable and exports it.


We do not have this problem with apache 2.0.50.

Has anyone else run into this problem and does anyone know a work around 
solution for this???


Any help is greatly appreciated

Thanks
Kenny



-
The official User-To-User support forum of the Apache HTTP Server Project.
See URL:http://httpd.apache.org/userslist.html for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
 from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[EMAIL PROTECTED] apache 2.0.54 rotatelogs compilation question

2006-03-24 Thread Ken Murach
Does anyone know if it's possible to configure apache 2.0.54 without having 
the rotatelogs function compiled in???


Thanks
Kenny



-
The official User-To-User support forum of the Apache HTTP Server Project.
See URL:http://httpd.apache.org/userslist.html for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
 from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[EMAIL PROTECTED] apache/php question

2006-01-04 Thread Ken Murach

Hi everyone,

I'm relatively new at apache/php and I've just installed/built apache 
1.3.33 with php-4.4.0 as static. The build was successful and I've run the 
following commands:


itis-appdev # pwd
/usr/local/apache_1.3.33_ssl/bin

itis-appdev # ./httpd -t
Syntax OK

itis-appdev # ./httpd -l
Compiled-in modules:
  http_core.c
  mod_vhost_alias.c
  mod_env.c
  mod_define.c
  mod_log_config.c
  mod_mime_magic.c
  mod_mime.c
  mod_negotiation.c
  mod_status.c
  mod_info.c
  mod_include.c
  mod_autoindex.c
  mod_dir.c
  mod_cgi.c
  mod_asis.c
  mod_imap.c
  mod_actions.c
  mod_speling.c
  mod_userdir.c
  mod_alias.c
  mod_rewrite.c
  mod_access.c
  mod_auth.c
  mod_auth_anon.c
  mod_auth_dbm.c
  mod_digest.c
  mod_proxy.c
  mod_cern_meta.c
  mod_expires.c
  mod_headers.c
  mod_usertrack.c
  mod_log_forensic.c
  mod_unique_id.c
  mod_setenvif.c
  mod_ssl.c
  mod_php4.c
  mod_perl.c
  mod_auth_cookie.c
suexec: disabled; invalid wrapper /usr/local/apache_1.3.33_ssl/bin/suexec

I was wondering if there is a way to test to make sure that this apache 
1.3.33 and php 4.4.0 are properly working before I inform the users that 
this is all set and hand this over to them?? Eventually users would like to 
migrate from 1.3.28 to 1.3.33 and from past attempts, there was a problem 
with php and apache 1.3.33 so the users had to revert back to 1.3.28.


Any help is greatly appreciated
Thanks
Kenny



-
The official User-To-User support forum of the Apache HTTP Server Project.
See URL:http://httpd.apache.org/userslist.html for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
 from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [EMAIL PROTECTED] apache 1.3.28 not starting up - no errors??

2005-12-16 Thread Ken Murach

Thank you Christian for your help/information.

Actually come to find out, problem was with php module. PHP was being 
called from main config file and from users config file. Once I commented 
out users LoadModule php line from his config file, I was able to start up 
apache 1.3.28, but thanks again for the useful information. I will save 
your e-mail response for future references.


Best wishes and thanks again
Kenny

At 11:23 PM 12/16/2005 +0100, you wrote:

Hi there,

You can try to run it directly from the command line without the
init-script. Just call the httpd directly. That way you see
him exit.

Then make sure you are looking into the right error.log.
It does not need to be the one in your config file. Your httpd
has a hardcoded error log, that is used until it can access the
error.log defined in the config. Check the documentation
of your distribution

And finally you can start the command with strace or your
local dialect's tool of choice. That way you will see the
error killing your process.

hope this helps,

Christian


On Tue, Dec 13, 2005 at 01:11:08PM -0500, Ken Murach wrote:
 Hi everyone,

 I have a user who starts up apache 1.3.28 by running a script and giving
 the script the argument of start

 This was working, but now the user is unable to get this to start up
 anymore??

 Even as root, I am unable to start this up and there are no errors being
 recorded in the error log file??

 Says apache is starting and pauses for a few seconds before returning me
 back to a prompt but when I do a ps -ef | grep httpd | grep dev, it 
doesn't

 show up??

 Here is what I'm doing:

 itis-appdev # pwd
 /etc/init.d

 itis-appdev # ./httpd-dev stop
 kill: 17557: no such process

 itis-appdev # ./httpd-dev start
 Starting the DEV instance of Apache web server

 itis-appdev # ps -ef|grep httpd | grep dev
 root 21398 1  0   Dec 02 ?0:00
 /usr/local/apache_wds_dev/bin/httpd -f
 /www/dev/wdsphproot/apache-conf/httpd.co
   nobody 21403 21398  0   Dec 02 ?3:28
 /usr/local/apache_wds_dev/bin/httpd -f
 /www/dev/wdsphproot/apache-conf/httpd.co
   nobody 21405 21398  0   Dec 02 ?3:37
 /usr/local/apache_wds_dev/bin/httpd -f
 /www/dev/wdsphproot/apache-conf/httpd.co
   mladan 23178 23172  0   Dec 02 ?0:01
 /usr/local/apache_dev/bin/httpd -f
 /usr/users/mladan/servers/stemcell/apache-co
   mladan 23172 1  0   Dec 02 ?0:00
 /usr/local/apache_dev/bin/httpd -f
 /usr/users/mladan/servers/stemcell/apache-co
vtole  3794 1  0   Nov 28 ?0:00 /usr/local/apache/bin/httpd
 -f /usr/users/vtole/servers/mydev/apache-conf/httpd
vtole  3798  3794  0   Nov 28 ?0:02 /usr/local/apache/bin/httpd
 -f /usr/users/vtole/servers/mydev/apache-conf/httpd
   mladan 23173 23172  0   Dec 02 ?0:01
 /usr/local/apache_dev/bin/httpd -f
 /usr/users/mladan/servers/stemcell/apache-co
vtole  3795  3794  0   Nov 28 ?0:02 /usr/local/apache/bin/httpd
 -f /usr/users/vtole/servers/mydev/apache-conf/httpd
   mladan  5699 1  0   Nov 28 ?0:00
 /usr/local/apache_dev/bin/httpd -f
 /usr/users/mladan/servers/harvie/apache-conf
   mladan  5700  5699  0   Nov 28 ?0:01
 /usr/local/apache_dev/bin/httpd -f
 /usr/users/mladan/servers/harvie/apache-conf
   mladan  5759  5699  0   Nov 28 ?0:01
 /usr/local/apache_dev/bin/httpd -f
 /usr/users/mladan/servers/harvie/apache-conf


 Here is script that is used to start up this instance of apache:

 itis-appdev # cat httpd-dev
 #!/usr/bin/bash
 #
 # Paul Lembo March 2003
 # Start up the Apache DEV web server

 case $1 in
 'start')
 
LD_LIBRARY_PATH=/lib:/usr/lib:/usr/local/lib:/usr/local/include:/usr/local/ssl/include:/usr/local/ssl/lib

 export LD_LIBRARY_PATH
 if [ -x /usr/local/apache_dev/bin/httpd -a -f
 /www/dev/conf/httpd.conf ]; then
 echo Starting the DEV instance of Apache web server
 /usr/local/apache_dev/bin/httpd -f /www/dev/conf/httpd.conf
 fi
 ;;

 'stop')
 pid=`cat /www/dev/logs/httpd.pid`
 if [ X = $pidX ]; then
 echo WARNING:  Cannot open pid file, trying ps output
 pid=`/usr/bin/ps -fu root | grep -v grep | grep apache_dev
 | grep httpd | awk ' { print $2 } ' `
 fi
 if [ X = $pidX ]; then
 echo HTTPD is not running
 else
 /usr/bin/kill $pid
 fi
 ;;
 'restart')
 pid=`/usr/bin/ps -fu root | grep -v grep | grep apache_dev | grep
 httpd | awk ' { print $2 } ' `
 if [ X = $pidX ]; then
 echo HTTPD is not running
 else
 /usr/bin/kill -1 $pid
 fi
 ;;

 *)
 echo Usage: $0 { start | stop | restart }
 exit 1
 ;;
 esac
 exit 0

 Any ideas as to why it says its starting but doesn't and doesn't record 
any

 errors in the error_log file??

 Any help is greatly appreciated.
 Thank you
 Kenny

[EMAIL PROTECTED] apache 1.3.28 not starting up - no errors??

2005-12-13 Thread Ken Murach

Hi everyone,

I have a user who starts up apache 1.3.28 by running a script and giving 
the script the argument of start


This was working, but now the user is unable to get this to start up anymore??

Even as root, I am unable to start this up and there are no errors being 
recorded in the error log file??


Says apache is starting and pauses for a few seconds before returning me 
back to a prompt but when I do a ps -ef | grep httpd | grep dev, it doesn't 
show up??


Here is what I'm doing:

itis-appdev # pwd
/etc/init.d

itis-appdev # ./httpd-dev stop
kill: 17557: no such process

itis-appdev # ./httpd-dev start
Starting the DEV instance of Apache web server

itis-appdev # ps -ef|grep httpd | grep dev
root 21398 1  0   Dec 02 ?0:00 
/usr/local/apache_wds_dev/bin/httpd -f /www/dev/wdsphproot/apache-conf/httpd.co
  nobody 21403 21398  0   Dec 02 ?3:28 
/usr/local/apache_wds_dev/bin/httpd -f /www/dev/wdsphproot/apache-conf/httpd.co
  nobody 21405 21398  0   Dec 02 ?3:37 
/usr/local/apache_wds_dev/bin/httpd -f /www/dev/wdsphproot/apache-conf/httpd.co
  mladan 23178 23172  0   Dec 02 ?0:01 
/usr/local/apache_dev/bin/httpd -f /usr/users/mladan/servers/stemcell/apache-co
  mladan 23172 1  0   Dec 02 ?0:00 
/usr/local/apache_dev/bin/httpd -f /usr/users/mladan/servers/stemcell/apache-co
   vtole  3794 1  0   Nov 28 ?0:00 /usr/local/apache/bin/httpd 
-f /usr/users/vtole/servers/mydev/apache-conf/httpd
   vtole  3798  3794  0   Nov 28 ?0:02 /usr/local/apache/bin/httpd 
-f /usr/users/vtole/servers/mydev/apache-conf/httpd
  mladan 23173 23172  0   Dec 02 ?0:01 
/usr/local/apache_dev/bin/httpd -f /usr/users/mladan/servers/stemcell/apache-co
   vtole  3795  3794  0   Nov 28 ?0:02 /usr/local/apache/bin/httpd 
-f /usr/users/vtole/servers/mydev/apache-conf/httpd
  mladan  5699 1  0   Nov 28 ?0:00 
/usr/local/apache_dev/bin/httpd -f /usr/users/mladan/servers/harvie/apache-conf
  mladan  5700  5699  0   Nov 28 ?0:01 
/usr/local/apache_dev/bin/httpd -f /usr/users/mladan/servers/harvie/apache-conf
  mladan  5759  5699  0   Nov 28 ?0:01 
/usr/local/apache_dev/bin/httpd -f /usr/users/mladan/servers/harvie/apache-conf



Here is script that is used to start up this instance of apache:

itis-appdev # cat httpd-dev
#!/usr/bin/bash
#
# Paul Lembo March 2003
# Start up the Apache DEV web server

case $1 in
'start')

LD_LIBRARY_PATH=/lib:/usr/lib:/usr/local/lib:/usr/local/include:/usr/local/ssl/include:/usr/local/ssl/lib
export LD_LIBRARY_PATH
if [ -x /usr/local/apache_dev/bin/httpd -a -f 
/www/dev/conf/httpd.conf ]; then

echo Starting the DEV instance of Apache web server
/usr/local/apache_dev/bin/httpd -f /www/dev/conf/httpd.conf
fi
;;

'stop')
pid=`cat /www/dev/logs/httpd.pid`
if [ X = $pidX ]; then
echo WARNING:  Cannot open pid file, trying ps output
pid=`/usr/bin/ps -fu root | grep -v grep | grep apache_dev 
| grep httpd | awk ' { print $2 } ' `

fi
if [ X = $pidX ]; then
echo HTTPD is not running
else
/usr/bin/kill $pid
fi
;;
'restart')
pid=`/usr/bin/ps -fu root | grep -v grep | grep apache_dev | grep 
httpd | awk ' { print $2 } ' `

if [ X = $pidX ]; then
echo HTTPD is not running
else
/usr/bin/kill -1 $pid
fi
;;

*)
echo Usage: $0 { start | stop | restart }
exit 1
;;
esac
exit 0

Any ideas as to why it says its starting but doesn't and doesn't record any 
errors in the error_log file??


Any help is greatly appreciated.
Thank you
Kenny



-
The official User-To-User support forum of the Apache HTTP Server Project.
See URL:http://httpd.apache.org/userslist.html for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
 from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[EMAIL PROTECTED] apache errors

2005-12-05 Thread Ken Murach

Hi everyone,

I'm relatively new to apache and was wondering what do these errors mean??

[Thu Dec 01 16:45:12 2005] [warn] (128)Network is unreachable: connect to 
listener on [::]:80
[Thu Dec 01 16:45:12 2005] [notice] child pid 275 exit signal Segmentation 
fault (11), possible coredump in /usr/local/apache20
piped log program ' /usr/local/apache20/bin/rotatelogs 
/logs/commencement-access_log 86400' failed unexpectedly
[Thu Dec 01 16:45:12 2005] [notice] child pid 272 exit signal Segmentation 
fault (11), possible coredump in /usr/local/apache20
piped log program ' /usr/local/apache20/bin/rotatelogs 
/logs/webmaster-access_log 86400' failed unexpectedly
[Thu Dec 01 16:45:12 2005] [notice] child pid 271 exit signal Segmentation 
fault (11), possible coredump in /usr/local/apache20
piped log program ' /usr/local/apache20/bin/rotatelogs 
/logs/researchmatters-access_log 86400' failed unexpectedly
[Thu Dec 01 16:45:12 2005] [notice] child pid 270 exit signal Segmentation 
fault (11), possible coredump in /usr/local/apache20
piped log program ' /usr/local/apache20/bin/rotatelogs 
/logs/news-logs/access_log 86400' failed unexpectedly
[Thu Dec 01 16:45:12 2005] [notice] child pid 277 exit signal Segmentation 
fault (11)
piped log program ' /usr/local/apache20/bin/rotatelogs 
/logs/president-access_log 86400' failed unexpectedly
[Thu Dec 01 16:45:12 2005] [notice] child pid 276 exit signal Segmentation 
fault (11)
piped log program ' /usr/local/apache20/bin/rotatelogs 
/logs/emergency-access_log 86400' failed unexpectedly
[Thu Dec 01 16:45:12 2005] [notice] child pid 274 exit signal Segmentation 
fault (11)
piped log program ' /usr/local/apache20/bin/rotatelogs 
/logs/hnotest-access_log 86400' failed unexpectedly
[Thu Dec 01 16:45:12 2005] [notice] child pid 273 exit signal Segmentation 
fault (11)
piped log program ' /usr/local/apache20/bin/rotatelogs 
/logs/vine-access_log 86400' failed unexpectedly


Any help/ideas are much appreciated.

Thanks
Kenny



-
The official User-To-User support forum of the Apache HTTP Server Project.
See URL:http://httpd.apache.org/userslist.html for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
 from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [EMAIL PROTECTED] apache 1.3.33 multiple instances problem

2005-11-28 Thread Ken Murach
Thank you Axel for your help. I will look into what you said on both the 
pid possible problem and and running the truss command with the -f option 
for more information.


Thanks again
Kenny

At 11:02 AM 11/24/2005 +0100, you wrote:
 [EMAIL PROTECTED] logs]$ tail error.log [Tue Nov 22 11:27:59 2005] 
[warn] pid file /usr/users/itisgrp/servers/able/logs/httpd.pid 
overwritten -- Unclean shutdown of previous Apache run?


makes me suspect that at least one of the apache instances do not create 
the PID file in the correct directory. In this case, fad may be creating 
the pid file in the directory of able. Check the PidFile directive in the 
apache configurations.


 [EMAIL PROTECTED] bin]$ truss -o /tmp/output httpd start

The only trace this will give you is from the script that starts Apache. 
You should at least give the -f option to truss. Furthermore, as Joshua 
suggests, for trace purposes, start Apache with the -X option.


-ascs

-
The official User-To-User support forum of the Apache HTTP Server Project.
See URL:http://httpd.apache.org/userslist.html for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
  from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





-
The official User-To-User support forum of the Apache HTTP Server Project.
See URL:http://httpd.apache.org/userslist.html for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
 from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[EMAIL PROTECTED] apache 1.3.33 multiple instances problem

2005-11-22 Thread Ken Murach

Hi everyone,

My name is Ken Murach and I'm relatively new to the apache world. I'm a 
unix administrator and I was recently asked to install apache 1.3.33 on one 
of our servers. I was able to install/configure apache 1.3.33 successfully. 
However, the user itisgrp is unable to start apache 1.3.33 for either the 
able or fad account. However, I am able as root to start up apache 1.3.33 
for both able  fad and have 2 instances running simultaneously.


Can't figure out why I can get this to work for root, but not as the 
non-root user itisgrp. I verified that able will be using port 10061 and 
fad will be using port 10055. I also verified that the script which calls 
the httpd binary for each uses the -f flag to specify different configs.


I've also verified that the User directive for each config file specifies 
the itisgrp account and the Group directive specifies the itis group.


Any help is greatly appreciated.
Thank you much
Sincerely
Ken Murach



-
The official User-To-User support forum of the Apache HTTP Server Project.
See URL:http://httpd.apache.org/userslist.html for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
 from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [EMAIL PROTECTED] apache 1.3.33 multiple instances problem

2005-11-22 Thread Ken Murach

Hi Joshua,

Thanks for replying to my posting. The logs directory for each account 
(able  fad) are 777 across the board and they are owned by itisgrp:itis.


Here's what I get when I try to start up apache 1.3.33 for the able account 
for example as itisgrp:


[EMAIL PROTECTED] bin]$ ./httpd stop
kill: 4286: no such process

[EMAIL PROTECTED] bin]$ ./httpd start
Starting the able Apache web server
http://itis-appdev.harvard.edu:10061
https://itis-appdev.harvard.edu:10062

[EMAIL PROTECTED] bin]$ ps -ef|grep able
root 11425 11420  0   Nov 14 ?0:00 
/usr/local/apache_1.3.28_ssl/bin/rotatelogs /www/qa/logs/able/apache/able-error
root 11512 11504  0   Nov 14 ?0:00 
/usr/local/apache_1.3.28_ssl/bin/rotatelogs /www/qa/logs/able/apache/able-acces
root 11504 11352  0   Nov 14 ?0:00 /bin/sh 
-c  /usr/local/apache_1.3.28_ssl/bin/rotatelogs /www/qa/logs/able/apach
root 11419 11352  0   Nov 14 ?0:00 /bin/sh 
-c  /usr/local/apache_1.3.28_ssl/bin/rotatelogs /www/qa/logs/able/apach
root 11449 11443  0   Nov 14 ?0:00 
/usr/local/apache_1.3.28_ssl/bin/rotatelogs /www/qa/logs/able/apache/able-rewri
root 11516 11503  0   Nov 14 ?0:00 
/usr/local/apache_1.3.28_ssl/bin/rotatelogs /www/qa/logs/able/apache/able-acces
root 11423 11419  0   Nov 14 ?0:00 
/usr/local/apache_1.3.28_ssl/bin/rotatelogs /www/qa/logs/able/apache/able-error
root 11443 11352  0   Nov 14 ?0:00 /bin/sh 
-c  /usr/local/apache_1.3.28_ssl/bin/rotatelogs /www/qa/logs/able/apach
root 11503 11352  0   Nov 14 ?0:00 /bin/sh 
-c  /usr/local/apache_1.3.28_ssl/bin/rotatelogs /www/qa/logs/able/apach
root 11420 11352  0   Nov 14 ?0:00 /bin/sh 
-c  /usr/local/apache_1.3.28_ssl/bin/rotatelogs /www/qa/logs/able/apach

 itisgrp  4375  3764  0 11:28:14 pts/11   0:00 grep able

[EMAIL PROTECTED] bin]$ cd ../logs
[EMAIL PROTECTED] logs]$ ls -al
total 82
drwxrwxrwx   2 itisgrp  itis 512 Nov 22 11:17 .
drwxrwxrwx  10 itisgrp  itis 512 Oct 25  2004 ..
-rw-r--r--   1 itisgrp  itis   10575 Nov 22 11:06 access.log
-rw-r--r--   1 itisgrp  itis 146 Nov 22 11:27 error.log
-rw-r--r--   1 itisgrp  itis   5 Nov 22 11:27 httpd.pid
-rw-r--r--   1 itisgrp  itis   25606 Nov 22 11:27 ssl_engine_log
-rw---   1 root other  0 Nov  9 15:04 ssl_mutex.1173
-rw---   1 itisgrp  itis   0 Aug 11 15:13 ssl_mutex.4268
-rw---   1 itisgrp  itis   0 May 27 18:52 ssl_mutex.8080
[EMAIL PROTECTED] logs]$ tail error.log
[Tue Nov 22 11:27:59 2005] [warn] pid file 
/usr/users/itisgrp/servers/able/logs/httpd.pid overwritten -- Unclean 
shutdown of previous Apache run?


I don't get any errors when trying to start up apache. The only apache that 
is currently running for able is 1.3.28 but user would like to have 1.3.28 
and 1.3.33 running simultaneously. Eventually will be moving from 1.3.28 to 
1.3.33.


What is strace and how do I run it??
Thanks again Joshua for your time
Kenny

At 11:22 AM 11/22/2005 -0500, you wrote:

On 11/22/05, Ken Murach [EMAIL PROTECTED] wrote:
 Hi everyone,

 My name is Ken Murach and I'm relatively new to the apache world. I'm a
 unix administrator and I was recently asked to install apache 1.3.33 on one
 of our servers. I was able to install/configure apache 1.3.33 successfully.
 However, the user itisgrp is unable to start apache 1.3.33 for either the
 able or fad account. However, I am able as root to start up apache 1.3.33
 for both able  fad and have 2 instances running simultaneously.

 Can't figure out why I can get this to work for root, but not as the
 non-root user itisgrp. I verified that able will be using port 10061 and
 fad will be using port 10055. I also verified that the script which calls
 the httpd binary for each uses the -f flag to specify different configs.

 I've also verified that the User directive for each config file specifies
 the itisgrp account and the Group directive specifies the itis group.

The User and Group directive will be ignored if you aren't root when
you start the server.

Do you get any error message when you start as non-root?  Are the log
directories writable by the non-root user?  Have you tried running
under strace (or equivalent) to catch failing syscalls?

Joshua.

-
The official User-To-User support forum of the Apache HTTP Server Project.
See URL:http://httpd.apache.org/userslist.html for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
  from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





-
The official User-To-User support forum of the Apache HTTP Server Project.
See URL:http://httpd.apache.org/userslist.html for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
 from the digest: [EMAIL PROTECTED]
For additional commands, e-mail

Re: [EMAIL PROTECTED] apache 1.3.33 multiple instances problem

2005-11-22 Thread Ken Murach
 instances, but it won't start up for non-root user
itisgrp??
Kenny
At 11:22 AM 11/22/2005 -0500, you wrote:
On 11/22/05, Ken Murach
[EMAIL PROTECTED] wrote:
 Hi everyone,

 My name is Ken Murach and I'm relatively new to the apache world.
I'm a
 unix administrator and I was recently asked to install apache 1.3.33
on one
 of our servers. I was able to install/configure apache 1.3.33
successfully.
 However, the user itisgrp is unable to start apache 1.3.33 for
either the
 able or fad account. However, I am able as root to start up apache
1.3.33
 for both able  fad and have 2 instances running
simultaneously.

 Can't figure out why I can get this to work for root, but not as
the
 non-root user itisgrp. I verified that able will be using port 10061
and
 fad will be using port 10055. I also verified that the script which
calls
 the httpd binary for each uses the -f flag to specify different
configs.

 I've also verified that the User directive for each config file
specifies
 the itisgrp account and the Group directive specifies the itis
group.
The User and Group directive will be ignored if you aren't root 
when
you start the server.
Do you get any error message when you start as non-root? Are the
log
directories writable by the non-root user? Have you tried
running
under strace (or equivalent) to catch failing syscalls?
Joshua.
-
The official User-To-User support forum of the Apache HTTP Server
Project.
See URL:http://httpd.apache.org/userslist.html for more
info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
  from the digest:
[EMAIL PROTECTED]
For additional commands, e-mail:
[EMAIL PROTECTED]




Re: [EMAIL PROTECTED] apache 1.3.33 multiple instances problem

2005-11-22 Thread Ken Murach

Hi Joshua,

the httpd is actually the name of the script that calls the httpd binary 
(see below):


[EMAIL PROTECTED] bin]$ cat httpd
#!/sbin/sh
#
# Start up the Apache web server

case $1 in
'start')
LD_LIBRARY_PATH=/usr/lib:/usr/local/lib;export LD_LIBRARY_PATH
if [ -x /usr/local/apache_1.3.33_ssl/bin/httpd -a -f 
/usr/users/itisgrp/servers/able/apache-conf/httpd.conf ]; then

echo Starting the able Apache web server
echo \thttp://itis-appdev.harvard.edu:10061;
echo \thttps://itis-appdev.harvard.edu:10062;
/usr/local/apache_1.3.33_ssl/bin/httpd -f 
/usr/users/itisgrp/servers/able/apache-conf/httpd.conf

fi
;;

'stop')
pid=`cat /usr/users/itisgrp/servers/able/logs/httpd.pid`
if [ X = $pidX ]; then
echo HTTPD is not running, or pid file was shot dead.
else
/usr/bin/kill $pid
fi
;;
'restart')
$0 stop
$0 start
;;

*)
echo Usage: $0 { start | stop | restart }
exit 1
;;
esac
exit 0

Kenny

At 02:36 PM 11/22/2005 -0500, you wrote:

On 11/22/05, Ken Murach [EMAIL PROTECTED] wrote:
  Hi Joshua,

  Found out that for solaris, use the truss command instead of strace so I
 ran the truss command (see below):

  [EMAIL PROTECTED] bin]$ truss -o /tmp/output httpd start

I don't know what that httpd is, but it certainly isn't the one that
comes from httpd.apache.org, becuase start is not a valid httpd
command line option.

In any case, you should try using the -X command line option to force
httpd into single-process mode for the truss.

Joshua.

-
The official User-To-User support forum of the Apache HTTP Server Project.
See URL:http://httpd.apache.org/userslist.html for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
  from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





-
The official User-To-User support forum of the Apache HTTP Server Project.
See URL:http://httpd.apache.org/userslist.html for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
 from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]