Mantis - apache2
Viewing Issue Advanced Details
5015 packaging minor always 2012-10-24 10:49 2014-02-22 11:37
janci  
bwalton  
normal  
closed  
fixed  
none    
none  
0005015: /opt/csw/apache2/sbin/httpd is missing after upgrade on S9
After upgrade of CSWapache2 on Solaris 9, the rc script says:
> /etc/init.d/cswapache2 start
/opt/csw/apache2/sbin/apachectl: /opt/csw/apache2/sbin/httpd: not found

Reason:
> ll /opt/csw/apache2/sbin/httpd*
-rwxr-xr-x 1 root bin 463K Jun 1 04:56 /opt/csw/apache2/sbin/httpd.prefork

Solution:
cd /opt/csw/apache2/sbin/
ln -s httpd.prefork httpd
Issue History
2012-10-24 10:49 janci New Issue
2012-10-24 10:52 bwalton Note Added: 0010196
2012-10-24 10:52 bwalton Assigned To => bwalton
2012-10-24 10:52 bwalton Status new => assigned
2014-02-22 11:37 dam Note Added: 0010729
2014-02-22 11:37 dam Status assigned => closed
2014-02-22 11:37 dam Resolution open => fixed

Notes
(0010196)
bwalton   
2012-10-24 10:52   
Hi,

I think this is a problem with the CSWalternatives package. Apache uses alternatives to provide prefork and worker mpm modules. There have been issues with this in the past though as our alternatives implementation has a few bugs.

What does `alternatives --display httpd` show?

Thanks
-Ben
(0010729)
dam   
2014-02-22 11:37   
This has been fixed quite some time ago.