Mantis - apache24
Viewing Issue Advanced Details
5224 minor always 2015-01-04 23:07 2015-02-10 12:45
Bastian  
dam  
normal  
closed  
fixed  
none    
none  
0005224: apache24 cannot start with smf due wrong env CONF_FILE in svc-cswapache24 method
After installation fresh CSWapache24 i found it came to maintanance mode right away.
The reason is that service cannot start becouse in /var/opt/csw/svc/method there is wrong config file pathname pointing to the non existing localization:

CONF_FILE=/etc/opt/csw/apache24/httpd.conf

it should be

CONF_FILE=/etc/opt/csw/apache2/httpd.conf

After that service starts without problem.

Since this si apache24 i suggest change the directory name to apache24 instead of changing patchname in method file.
Issue History
2015-01-04 23:07 Bastian New Issue
2015-01-05 15:49 dam Status new => assigned
2015-01-05 15:49 dam Assigned To => dam
2015-01-05 16:09 dam Note Added: 0011007
2015-01-05 16:09 dam Status assigned => confirmed
2015-01-06 09:07 dam Note Added: 0011008
2015-01-06 09:07 dam Status confirmed => feedback
2015-01-07 13:39 Bastian Note Added: 0011009
2015-02-10 12:45 dam Note Added: 0011015
2015-02-10 12:45 dam Status feedback => closed
2015-02-10 12:45 dam Resolution open => fixed

Notes
(0011007)
dam   
2015-01-05 16:09   
This is indeed a bug. I tend to keep the /etc/opt/csw/apache2 location as it is already
used for several other configuration files which then would need migration.
(0011008)
dam   
2015-01-06 09:07   
I made fixed packages, please give them a try at
  http://buildfarm.opencsw.org/experimental.html#apache24 [^]
and let me know if they work for you.
(0011009)
Bastian   
2015-01-07 13:39   
Yep, it works fine now out of the box. Thanks.

Ticket to close.
(0011015)
dam   
2015-02-10 12:45   
This is fixed in REV=2015.02.10, probably earlier.