Bug 896674 - Solaris .postinstall.httpd script fails to configure OPTIONS for apachectl
Summary: Solaris .postinstall.httpd script fails to configure OPTIONS for apachectl
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Enterprise Web Server 2
Classification: JBoss
Component: httpd
Version: 2.0.0
Hardware: sparc64
OS: Solaris
unspecified
unspecified
Target Milestone: ---
: 2.0.1
Assignee: Weinan Li
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-01-17 17:55 UTC by bmorriso
Modified: 2018-11-30 20:04 UTC (History)
6 users (show)

Fixed In Version: 2.0.1
Clone Of:
Environment:
Last Closed: 2014-01-03 12:58:11 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description bmorriso 2013-01-17 17:55:14 UTC
Description of problem:
The postinstall script included in jboss-ews-httpd-2.0.0-sun10.sparc64.zip doesn't correctly configure the OPTIONS parameter in the apachectl script. If a user installs httpd in a directory other than the default (/opt/jboss-ews-2.0/) then apachectl will fail to launch httpd since it can't locate httpd.conf.

Version-Release number of selected component (if applicable):


How reproducible:
Consistently

Steps to Reproduce:
1. unzip jboss-ews-httpd-2.0.0-sun10.sparc64.zip to a non-default directory (eg /app)
2. Run the .postinstall.httpd script located at $INSTALL_DIR/jboss-ews-2.0/etc
3. Run "apachectl start" as root from $INSTALL_DIR/jboss-ews-2.0/sbin
  
Actual results:
Launching fails with message:
./apachectl start
httpd.worker: Could not open configuration file /opt/jboss-ews-2.0/etc/httpd/conf/httpd.conf: No such file or directory

Expected results:
httpd locates the configuration files in $INSTALL_DIR/jboss-ews-2.0/etc/httpd/conf/, and launches.

Additional info:
apachectl is still configured to expect the OPTIONS parameter, so you can manually add it back and everything works as expected.

Comment 1 Mandar Joshi 2013-05-16 13:21:59 UTC
Added Doc text.

@Mladen, can you please review the Doc Text content??

Comment 2 Mladen Turk 2013-05-16 13:53:11 UTC
This has been fixed in the git. A version with the fix has already been built although too late for the ER1. I don't think we need this doc.

Comment 3 Libor Fuka 2013-06-07 10:45:02 UTC
Verified with EWS 2.0.1 CR1 on Solaris SPARC

Comment 4 Libor Fuka 2013-06-07 11:23:28 UTC
Verified with EWS 2.0.1 CR1 on Solaris 11 Intel 32/64bit

Comment 5 Jean-frederic Clere 2013-06-14 09:48:39 UTC
It is on all solaris zip files in fact.


Note You need to log in before you can comment on or make changes to this bug.