Re: Re: Trouble starting Apache HTTP Server

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thank you very much Robert for your tips.
The built-in Apache server with MacOs was conflicting with my configuration and setup.

I changed to my Apache bin directory and fired :
a) ./apachectl -f  <My apache -home>/conf/httpd.conf
for starting and
b) ./apachectl -f  <My apache -home>/conf/httpd.conf -k stop
for stopping

After this , i downloaded tomcat's mod_jk module and compiled and configd for communicating with my Apache setup to my JBOSS-tomcat setup and its also working fine
http://tomcat.apache.org/tomcat-3.3-doc/mod_jk-howto.html


Thanks a lot once again,


On 4/26/07, Robert T Wyatt <robert.wyatt@xxxxxxxxxxxxxxx> wrote:
Raju Chandran wrote:
> Hi all,
> I am trying to configure my standalone Apache server 2.2 in my Mac OS
>
> I am able to compile and install Apache HTTP Server 2.2.4 source tree
> (downloaded for UNix) for my Mac OS server without enabling any features
> (modules)
>
> I followed the guidelines given
>
> http://httpd.apache.org/docs/2.2/install.html
>
>
> 1) I tried to start the server using "apachectl start"
>
> a)  but failing and showing the following :
>
>  Processing config directory: /private/etc/httpd/users/*.conf
>  Processing config file: /private/etc/httpd/users/abcde.conf
>  fopen: Permission denied
>  httpd: could not open error log file /private/var/log/httpd/error_log.
>
> I wonder why it is going to a different log path. I disabled the
> built-in Apache Webserver comes with MacOS. Is it causing the issue?

What do these commands result in? (And does that match your expectations?)
which httpd
which apachectl

To start/restart the daemon you should be using:

sudo apachectl start
or
sudo apachectl graceful (if it is already running)


> b) I also tried "httpd -f ..../httpd.conf"
> but it is also failing
>
> Syntax error on line 114 of /Volumes/DATA/Apache_new/conf/httpd.conf:
> Invalid command 'Order', perhaps mis-spelled or defined by a module not
> included in the server configuration
>
> Please help me in the above and also help me in  how I can compile
> 'modules' into the binary and use them
>
> Thanks
> Raju
>
>

---------------------------------------------------------------------
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



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux