> the script has been done a+x
>
> and the httpd that is there was specified this way
> /usr/local/apache/bin/httpd
> for each occurance of httpd in that script.
>
> And still i am getting this error. no wonder did i post here, as i was
> totally confused.

Use the original unmodified script. Forget the changes you made.

You may remove the apache in /usr/local/apache.

rm the conf files in /etc/httpd/conf
Compile apache again, and this time use something like

./configure --with-layout=RedHat

make and make install again.

This will ensure that apache httpd binary is installed in /usr/sbin. The
httpd.conf will be in /etc/httpd/conf ofcourse.

This way, you will be able to use the service httpd command.

You can always get the original apache back by just reinstalling the RH's
apache rpm.


Another way :
Change the script back to as it was... i.e. no need to change the location
of apache.

#mv /usr/sbin/httpd /usr/bin/httpdbak
#ln -s /usr/local/apache/bin/httpd

No need to do anything else.

Essentially, you will just rename the original binary in /usr/sbin and
create a symbolic link instead to your own binary.

Should work.


Regards,
Abhi


_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to