mod_jserv.log’ can’t be opened

This applies to Oracle Applications 11.5.10, any platform.

The Apache Web listener fails to start, however the “adstrtal.sh” script does not show any errors.

Syntax error on line 60 of $IAS_ORACLE_HOME/Apache/Jserv/etc/jserv.conf:
ApJServLogFile: file '$IAS_ORACLE_HOME/Apache/Jserv/logs/mod_jserv.log' can't be opened
./apachectl start: httpd could not be started

Check $COMMON_TOP/admin/log/$CONTEXT_NAME/adapcctl.txt and you will find the above error.

Users cannot see the login page.

$ telnet localhost 8000 
will give network error.

Alternatively, you can run the below command

$ cd $COMMON_TOP/admin/scripts/$CONTEXT_NAME
$ ./adapcctl.sh: configtest

It will return the same error as above.

This is due to the log file mod_jserv.log file is very large <2G> and therefore the log file could not be opened.

Clear out the contents of mod_jserv.log then restart the Apache Listener.

Now, check the config

$ ./adapcctl.sh configtest

adapcctl.sh version 115.55

Checking the Apache Web Server Dedicated HTTP Listener configuration file..
Syntax OK
Checking the Apache Web Server Dedicated PLSQL  Listener configuration file..
Syntax OK

adapcctl.sh: exiting with status 0

$ telnet localhost 8000
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.

About mpoojari
Oracle Consultant and Solutions Architect

Leave a comment