Ok.  It was the path.  Thanks.

But now I have a different problem.  I like to manage Apache through Webmin.
But when I try to start apache from within the Webmin module, it says
"Failed to Start Apache", but doing ps -ax shows 5 instances of httpd.  In
addition, I can no longer get virtual hosts to work.  I can only get to the
default host.

Does anybody know of any issues with apache 2.x and webmin? (I'm running the
most current webmin).

brian


> Hi,
>
> I just upgraded to Apache 2.0.44 (from source) on a Caldera 3.1 Linux box.
> Installation went fine, however I no longer have a /etc/rc.d/init.d/httpd
> file to launch httpd.  I did track down the /usr/local/apache2/apachectl
> file which appears to have the same function.

Using apachectl is the preferred way to start/stop Apache.

> In other words, typing in "./apachectl start" will start the daemon.  My
> problem is that I can't make it executable!  I have tried every 'chmod'
> combination possible.  I've tried chmod a+x and even that doesn't work.
It
> needs to have the "./" in front of it.

If your are in the /usr/local/apache2 directory you have to have the ./
in there so it knows to look in the current directory for the script. If
you are in a directory other than the /usr/local/apache2 directory
apachectl should work if you put /usr/local/apache2 in your path. Or you
can use the full path to apachectl.

If you want to start Apache at boot time stick
/usr/local/apache2/apachectl start in the /etc/rc.local file.

>
> Does this version NOT have the /etc/rc.d/init.d/httpd script?  Why can't I
> make it executable?

Did you install Apache the first time during the install of the OS?  I
believe when I once used Apache from the default install of the OS it
had the /etc/rc.d/init.d/httpd and other times when I compiled from
source it didn't.  That was awhile ago and my memory is no good.  YMMV.


--Tom Wilson
BEGIN:VCARD
VERSION:2.1
N:Witowski;Brian
FN:Brian Witowski
ORG:Pyramid Computer Systems
TEL;WORK;VOICE:(231) 331-6090
TEL;CELL;VOICE:(231) 409-9541
EMAIL;PREF;INTERNET:[EMAIL PROTECTED]
REV:20020324T171728Z
END:VCARD
_______________________________________________
Linux-users mailing list
[EMAIL PROTECTED]
Unsubscribe/Suspend/Etc -> http://www.linux-sxs.org/mailman/listinfo/linux-users

Reply via email to