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:
[itisgrp@itis-appdev bin]$ ./httpd stop kill: 4286: no such process [itisgrp@itis-appdev bin]$ ./httpd start Starting the able Apache web server http://itis-appdev.harvard.edu:10061 https://itis-appdev.harvard.edu:10062 [itisgrp@itis-appdev bin]$ ps -ef|grep ableroot 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 [itisgrp@itis-appdev bin]$ cd ../logs [itisgrp@itis-appdev 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 [itisgrp@itis-appdev 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 <ken_murach@xxxxxxxxxxx> 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: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
--------------------------------------------------------------------- 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: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx