Operating System - HP-UX
1820072 Members
2561 Online
109608 Solutions
New Discussion юеВ

Stronghold Web Server Installation problem

 
Saumil Shah
Occasional Contributor

Stronghold Web Server Installation problem

Hello,

I have a problem installing a Web server "Stronghold" on HP-UX-11.00. On A-180 server.

1) At the time of installation itself or at the end of the installation server fails to start.

The error:
----------
An error occurred during an The error message is:Command "/opt/stronghold/bin/start-server" returned error status 256.

This occurred while processing configuration file: /opt/stronghold/.configure/.configure-trailer line 15

2) By running manually by

#/opt/stronghold/bin/start-server

The following error is displayed.

[dev_webs:/opt/stronghold]#/opt/stronghold/bin/start-server

Syntax error on line 226 of /opt/stronghold/conf/httpd.conf:
Cannot load /opt/stronghold/modules/libexec/libphp3.so into server: Invalid argument
Server could not be started

The lib-file (libphp3) is present at the same location.

3) If I'm avoiding to load this lib-file, then also server could not start.

Any one is having any clue? What I'm doing wrong here?
Thanks,

-Saumil
3 REPLIES 3
SHABU KHAN
Trusted Contributor

Re: Stronghold Web Server Installation problem

Saumil,

Just a thought ...

Are you sourcing-in all the environment variables that it needs correctly ?

-Shabu
Saumil Shah
Occasional Contributor

Re: Stronghold Web Server Installation problem

Thanks Shabu,

As far as I know, I have source-in. But do you think any particular one, by seeing this error?


Taking to you some more closer to problem/solution (?):
------------------------------------------

I)

./httpd -l -d /opt/stronghold -f conf/httpd.conf
Compiled-in modules:
http_core.c
mod_env.c
mod_log_config.c
mod_log_agent.c
mod_log_referer.c
mod_mime.c
mod_negotiation.c
mod_status.c
mod_info.c
mod_include.c
mod_autoindex.c
mod_dir.c
mod_cgi.c
mod_asis.c
mod_imap.c
mod_actions.c
mod_userdir.c
mod_alias.c
mod_rewrite.c
mod_access.c
mod_auth.c
mod_auth_dbm.c
mod_proxy.c
mod_cern_meta.c
mod_expires.c
mod_headers.c
mod_usertrack.c
mod_unique_id.c
mod_so.c
mod_setenvif.c
mod_sxnet.c
mod_perl.c
mod_ssl.c
suexec: disabled; invalid wrapper /usr/local/apache/bin/suexec
=====================

II)

./httpd -V
Server version: Stronghold/3.0 Apache/1.3.14 RedHat/3013 (Unix)
Server built: Dec 14 2000 14:18:06
Server's Module Magic Number: 19990320:10
Server compiled with....
-D EAPI
-D EAPI_MM
-D EAPI_MM_CORE_PATH="logs/mm"
-D HAVE_SHMGET
-D USE_SHMGET_SCOREBOARD
-D USE_FCNTL_SERIALIZED_ACCEPT
-D HTTPD_ROOT="/usr/local/apache"
-D SUEXEC_BIN="/usr/local/apache/bin/suexec"
-D DEFAULT_PIDLOG="logs/httpd.pid"
-D EDFAULT_SCOREBOARD="logs/apache_runtime_status"
-D DEFAULT_LOCKFILE="logs/accept.lock"
-D DEFAULT_XFERLOG="logs/access_log"
-D DEFAULT_ERRORLOG="logs/error_log"
-D TYPES_CONFIG_FILE="conf/mime.types"
-D SERVER_CONFIG_FILE="conf/httpd.conf"
-D ACCESS_CONFIG_FILE="conf/access.conf"
-D RESOURCE_CONFIG_FILE="conf/srm.conf"

===============

Now is it any clue...???!

Thanks,

-Saumil








SHABU KHAN
Trusted Contributor

Re: Stronghold Web Server Installation problem

Saumil,

I did a google search on the invalid wrapper problem, one of them says that you should create a symbolic link:

ln -s /usr/sbin/suexec /usr/local/apache/bin/suexec

This might fix your "invalid wrapper" problem ... but not sure if this is a good thing to do ...

-Shabu