Hello,Give us the output from ls -al /phr-mu_1/cqdev/cognos/cer5/cgi-bin/loginmod22.sl
Also, what OS is this? If you're running CentOS or Fedora, try turning off selinux.
Frank Virendra Malushte wrote:
Hi Frank, I have rechecked the path and the LoadModule statement, both match. Plesae refer to below error; ----------------------- httpd: Syntax error on line 75 of /phr-mu_1/cqdev/Apache2211/Apache2211_Hpux_3535/conf/httpd.conf: Cannot load /phr-mu_1/cqdev/cognos/cer5/cgi-bin/loginmod22.sl into server: No such file or directory ---------------------- The same thing works with Apache 223 Steps followed to reproduce are mentioned below; *1. **The main server is installed at:* /s7dev/p1/uda/Apache/Apache2211_Hpux 2. *The instance is located at* /phr-mu_1/cqdev/Apache2211/Apache2211_Hpux_3535 3. *The cognos query is installed at:* /phr-mu_1/cqdev/cognos/cer5 *4. **Create directory for instance with 3 folders* 1) bin 2) conf 3) logs copy files apachectl & envvars from main instance's bin directory copy file httpd.conf from main instance's conf directory. 5. *Go to bin directory of your Instance*. A) Edit apachectl file to have following entries: HTTPD='/s7dev/p1/uda/Apache/Apache2211_Hpux/bin/httpd -f /phr-mu_1/cqdev/Apache2211/Apache2211_Hpux_3535/conf/httpd.conf -d /phr-mu_1/cqdev/Apache2211/Apache2211_Hpux_3535/conf' if test -f /phr-mu_1/cqdev/Apache2211/Apache2211_Hpux_3535/bin/envvars; then . /phr-mu_1/cqdev/Apache2211/Apache2211_Hpux_3535/bin/envvars fi B) Edit* envvars and add below entries*: SHLIB_PATH="/s7dev/p1/uda/Apache/Apache2211_Hpux/lib:/s7dev/p1/uda/Apache/Apache2211_Hpux/modules:$SHLIB_PATH" SHLIB_PATH=$SHLIB_PATH:/phr-mu_1/cqdev/cognos/cer5/bin:/phr-mu_1/cqdev/cognos/cer5/cgi-bin ** *6. **Go to conf directory of your instance.* *Edit httpd.conf file to have following entries.* ----------------------------------------------------------------------------------------------------------------------------- ServerRoot "/s7dev/p1/uda/Apache/Apache2211_Hpux" PidFile /phr-mu_1/cqdev/Apache2211/Apache2211_Hpux_3535/logs/httpd.pid Listen 10.74.25.35:3535 ################ BEGIN MOD INTERFACE STATEMENTS ############################# ################# Add Cognos module information ############################### LoadModule loginmod_module "/phr-mu_1/cqdev/cognos/cer5/cgi-bin/ loginmod22.sl" loginGatewayDirectory "/phr-mu_1/cqdev/cognos/cer5/cgi-bin" <Location /cognos/cgi-bin/loginmod*> SetHandler login </Location> LoadModule fmmod_module "/phr-mu_1/cqdev/cognos/cer5/cgi-bin/fmmod22.sl" fmGatewayDirectory "/phr-mu_1/cqdev/cognos/cer5/cgi-bin" <Location /cognos/cgi-bin/fmmod*> SetHandler fm </Location> LoadModule cqmod_module "/phr-mu_1/cqdev/cognos/cer5/cgi-bin/cqmod22.sl" cqGatewayDirectory "/phr-mu_1/cqdev/cognos/cer5/cgi-bin" <Location /cognos/cgi-bin/cqmod22> SetHandler cq </Location> LoadModule upfmod_module "/phr-mu_1/cqdev/cognos/cer5/cgi-bin/upfmod22.sl" upfGatewayDirectory "/phr-mu_1/cqdev/cognos/cer5/cgi-bin" <Location /cognos/cgi-bin/upfmod*> SetHandler upf </Location> ############### END OF MOD INTERFACE STATEMENTS ############################# ServerName 10.74.25.50:3540 ErrorLog /phr-mu_1/cqdev/Apache2211/Apache2211_Hpux_3535/logs/error_log ScriptAlias /cognos/cgi-bin "/phr-mu_1/cqdev/cognos/cer5/cgi-bin" Alias /cognos/help "/phr-mu_1/cqdev/cognos/cer5/documentation" Alias /cognos "/phr-mu_1/cqdev/cognos/cer5/webcontent" <Directory "/phr-mu_1/cqdev/cognos/cer5/cgi-bin"> AllowOverride None Options None Order allow,deny Allow from all </Directory> <Directory "/phr-mu_1/cqdev/cognos/cer5/webcontent"> AllowOverride None Options None Order allow,deny Allow from all </Directory> <Directory "/phr-mu_1/cqdev/cognos/cer5/documentation"> AllowOverride None Options None Order deny,Allow Allow from all </Directory> ScriptAlias /cognos/cgi-bin "/phr-mu_1/cqdev/cognos/cer5/cgi-bin" Alias /cognos/help "/phr-mu_1/cqdev/cognos/cer5/documentation" Alias /cognos "/phr-mu_1/cqdev/cognos/cer5/webcontent" <Directory "/phr-mu_1/cqdev/cognos/cer5/cgi-bin"> AllowOverride None Options None Order allow,deny Allow from all </Directory> <Directory "/phr-mu_1/cqdev/cognos/cer5/webcontent"> AllowOverride None Options None Order allow,deny Allow from all </Directory> <Directory "/phr-mu_1/cqdev/cognos/cer5/documentation"> AllowOverride None Options None Order deny,Allow Allow from all </Directory> ----------------------------------------------------------------------------------------------------------------------------- 7. * Now go to bin Directory and run below command:* ./apachectl start We are getting below error: httpd: Syntax error on line 75 of /phr-mu_1/cqdev/Apache2211/Apache2211_Hpux_3535/conf/httpd.conf: Cannot load /phr-mu_1/cqdev/cognos/cer5/cgi-bin/loginmod22.sl into server: No such file or directory On Fri, Mar 6, 2009 at 11:38 AM, Frank Gingras <francois.gingras@xxxxxxxxx>wrote:Virendra Malushte wrote:Hi, PFB the error details; -------------------------------------------------------------------------------------- 43 > ./apachectl start httpd: Syntax error on line 58 of /phr- nu_1/noticecast/Apache2210InstallNew_surjit/conf/httpd.conf: Cannot load/s7dev/p1/uda/Apache/Apache2210_Hpux/loginmod22.sl into server: No such file or directory ---------------------------------------------------------------------------------------- The steps for reproducing the error are attached. The attached steps are copied when tried for 2.2.11 instance. regards, Virendra. ------------------------------------------------------------------------ --------------------------------------------------------------------- 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@xxxxxxxxxxxxxxxxVirendra, You're trying to load a module that does not exist. See your LoadModule line, and make sure the path is correct. Frank --------------------------------------------------------------------- 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
--------------------------------------------------------------------- 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