Re: Configuring multiple instance of apache on solaris

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

 



I figure it out...  Thank you Boyle Owen for your help and suggestions!

Basically, one of the "Includes"  in the instance.conf had the PidFile
defined in it... For example:

In My instance1.conf:
####################
# Server-pool management (MPM specific)
Include /opt/apache/code/apache-conf/extra/httpd-mpm.conf
################


so I edited "/opt/apache/code/apache-conf/extra/httpd-mpm.conf" that
file and boom here is the directive:
###############
<IfModule !mpm_netware_module>
 PidFile "/NFL/CDA/var/apache/httpd.pid"
</IfModule>
##############

Once I commented it out, everything is working!

Thanks,
W

On Mon, Jun 8, 2009 at 5:53 PM, Sayed Wali<sayed.wali@xxxxxxxxx> wrote:
> Hi ,
>
> I have a problem that I am hoping one you have seen before....
>
> I am trying to run multiple instances of Apache V. 2.2.8 on Solaris
> 10.  I have everything setup. i.e. Different configuration files for
> each instances, with different port numbers, lock file, PidFile, and
> ScoreBoardFile. However, when I try to start instance, it won't accept
> the "PidFile" param from the config file. Hence I am unable to start
> multiple instances. If I start each instance individually, all 3
> instances come up ok, but they all place the PidFile in
> /var/run/httpd.pid. No matter what I do, I cannot seem to force the
> config to use different pid file. Any help?
>
> I know its not permissions issue because it creates errorlogs and
> scoreboardfile successfully.
>
>
> Here is my instance 1.conf:
>
> ServerRoot "/opt/code/apache2.2.8"
>
> Listen 80
> ServerName localhost:80
> ScoreBoardFile /var/adm/apache2.2.8/inst1/apache_runtime_status
> LockFile /var/adm/apache2.2.8/inst1/inst1.lock
> PidFile /var/adm/apache2.2.8/inst1/inst1.pid
>
>
>
>
> Here is my instance 2.conf:
>
> ServerRoot "/opt/code/apache2.2.8"
>
> Listen 81
> ServerName localhost:81
> ScoreBoardFile /var/adm/apache2.2.8/inst2/apache_runtime_status
> LockFile /var/adm/apache2.2.8/inst2/inst2.lock
> PidFile /var/adm/apache2.2.8/inst2/inst2.pid
>
>
> Here is my instance 3.conf:
>
> Listen 82
> ServerName localhost:82
> ScoreBoardFile /var/adm/apache2.2.8/inst3/apache_runtime_status
> LockFile /var/adm/apache2.2.8/inst3/inst3.lock
> PidFile /var/adm/apache2.2.8/inst3/inst3.pid
>
>
>
> Any help or suggestions are very much appreciated.
>
> Thanks,
> Sayed
>

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