Skip to Content
0
Feb 21, 2009 at 11:16 AM

Apache webserver start error

268 Views

Hi All,

We have installed content server ver 630 on IBM-AIX ver 5.3 machines along with Apache web server ver Apache_1.3.41.

while starting the server following is the error,

$ apachectl start

Syntax error on line 205 of /apache/kprcs/conf/httpd.conf:

Cannot load /apache/kprcs/libexec/mod_sapcs.o into server: 0509-022 Cannot load module /apache/kprcs/libexec/mod_sapcs.o.

0509-026 System error: A file or directory in the path name does not exist.

/apache/kprcs/bin/apachectl start: httpd could not be started

$

Please find the httpd.conf file:

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

  1. httpd.conf -- Apache HTTP server configuration file

  • Timeout: The number of seconds before receives and sends time out.

  • Timeout 300

    KeepAlive On

    #

    1. MaxKeepAliveRequests: The maximum number of requests to allow

    2. during a persistent connection. Set to 0 to allow an unlimited amount.

    3. We recommend you leave this number high, for maximum performance.

    #

    MaxKeepAliveRequests 100

    #

    1. KeepAliveTimeout: Number of seconds to wait for the next request from the

    2. same client on the same connection.

    #

    KeepAliveTimeout 15

    #

    MinSpareServers 5

    MaxSpareServers 10

    #

    1. Number of servers to start initially --- should be a reasonable ballpark

    2. figure.

    #

    StartServers 5

    #

    MaxClients 150

    #

    MaxRequestsPerChild 0

    #

    1. LoadModule foo_module libexec/mod_foo.so

    LoadModule sapcs_module libexec/mod_sapcs.o

    LoadModule vhost_alias_module libexec/mod_vhost_alias.so

    LoadModule env_module libexec/mod_env.so

    LoadModule config_log_module libexec/mod_log_config.so

    LoadModule mime_magic_module libexec/mod_mime_magic.so

    LoadModule mime_module libexec/mod_mime.so

    LoadModule negotiation_module libexec/mod_negotiation.so

    LoadModule status_module libexec/mod_status.so

    LoadModule info_module libexec/mod_info.so

    LoadModule includes_module libexec/mod_include.so

    LoadModule autoindex_module libexec/mod_autoindex.so

    LoadModule dir_module libexec/mod_dir.so

    LoadModule cgi_module libexec/mod_cgi.so

    LoadModule asis_module libexec/mod_asis.so

    LoadModule imap_module libexec/mod_imap.so

    LoadModule action_module libexec/mod_actions.so

    LoadModule speling_module libexec/mod_speling.so

    LoadModule userdir_module libexec/mod_userdir.so

    LoadModule alias_module libexec/mod_alias.so

    LoadModule rewrite_module libexec/mod_rewrite.so

    LoadModule access_module libexec/mod_access.so

    LoadModule auth_module libexec/mod_auth.so

    LoadModule anon_auth_module libexec/mod_auth_anon.so

    LoadModule dbm_auth_module libexec/mod_auth_dbm.so

    LoadModule digest_module libexec/mod_digest.so

    LoadModule proxy_module libexec/libproxy.so

    LoadModule cern_meta_module libexec/mod_cern_meta.so

    LoadModule expires_module libexec/mod_expires.so

    LoadModule headers_module libexec/mod_headers.so

    LoadModule usertrack_module libexec/mod_usertrack.so

    LoadModule log_forensic_module libexec/mod_log_forensic.so

    LoadModule unique_id_module libexec/mod_unique_id.so

    LoadModule setenvif_module libexec/mod_setenvif.so

    1. Reconstruction of the complete module list from all available modules

    2. (static and shared ones) to achieve correct module execution order.

    3. [WHENEVER YOU CHANGE THE LOADMODULE SECTION ABOVE UPDATE THIS, TOO]

    ClearModuleList

    AddModule mod_sapcs.cpp

    AddModule mod_vhost_alias.c

    AddModule mod_env.c

    AddModule mod_log_config.c

    AddModule mod_mime_magic.c

    AddModule mod_mime.c

    AddModule mod_negotiation.c

    AddModule mod_status.c

    AddModule mod_info.c

    AddModule mod_include.c

    AddModule mod_autoindex.c

    AddModule mod_dir.c

    AddModule mod_cgi.c

    AddModule mod_asis.c

    AddModule mod_imap.c

    AddModule mod_actions.c

    AddModule mod_speling.c

    AddModule mod_userdir.c

    AddModule mod_alias.c

    AddModule mod_rewrite.c

    AddModule mod_access.c

    AddModule mod_auth.c

    AddModule mod_auth_anon.c

    AddModule mod_auth_dbm.c

    AddModule mod_digest.c

    AddModule mod_proxy.c

    AddModule mod_cern_meta.c

    AddModule mod_expires.c

    AddModule mod_headers.c

    AddModule mod_usertrack.c

    AddModule mod_log_forensic.c

    AddModule mod_unique_id.c

    AddModule mod_so.c

    AddModule mod_setenvif.c

    Port 1090

    #

    User nobody

    Group nobody

    #

    ServerAdmin kprcs@KPRO

    #

    DocumentRoot "/apache/kprcs/htdocs"

    #

    <Directory />

    Options FollowSymLinks

    AllowOverride None

    </Directory>

    #

    <Directory "/apache/kprcs/htdocs">

    #

    Options Indexes FollowSymLinks MultiViews

    #

    AllowOverride None

    #

    Order allow,deny

    Allow from all

    </Directory>

    #

    <IfModule mod_userdir.c>

    UserDir public_html

    </IfModule>

    #

    <IfModule mod_dir.c>

    DirectoryIndex index.html

    </IfModule>

    #

    1. AccessFileName: The name of the file to look for in each directory

    2. for access control information.

    #

    AccessFileName .htaccess

    #

    #

    <Files ~ "^\.ht">

    Order allow,deny

    Deny from all

    Satisfy All

    </Files>

    #

    UseCanonicalName On

    #

    #

    <IfModule mod_mime.c>

    TypesConfig /apache/kprcs/conf/mime.types

    </IfModule>

    #

    DefaultType text/plain

    #

    <IfModule mod_mime_magic.c>

    MIMEMagicFile /apache/kprcs/conf/magic

    </IfModule>

    #

    HostnameLookups Off

    #

    ErrorLog /apache/kprcs/logs/error_log

    #

    LogLevel warn

    #

    LogFormat "%h %l %u %t \"%r\" %>s %b \"%i\" \"%{User-Agent}i\"" combined LogFormat "%h %l %u %t \"%r\" %>s %b" common LogFormat "%i -> %U" referer

    LogFormat "%{User-agent}i" agent

    #

    CustomLog /apache/kprcs/logs/access_log common

    #

    ServerSignature On

    #

    <IfModule mod_alias.c>

    #

    Alias /icons/ "/apache/kprcs/icons/"

    <Directory "/apache/kprcs/icons">

    Options Indexes MultiViews

    AllowOverride None

    Order allow,deny

    Allow from all

    </Directory>

    1. This Alias will project the on-line documentation tree under /manual/

    #

    Alias /manual/ "/apache/kprcs/htdocs/manual/"

    <Directory "/apache/kprcs/htdocs/manual">

    Options Indexes FollowSymlinks MultiViews

    AllowOverride None

    Order allow,deny

    Allow from all

    </Directory>

    #

    ScriptAlias /cgi-bin/ "/apache/kprcs/cgi-bin/"

    #

    <Directory "/apache/kprcs/cgi-bin">

    AllowOverride None

    Options None

    Order allow,deny

    Allow from all

    </Directory>

    </IfModule>

    <IfModule mod_autoindex.c>

    #

    1. FancyIndexing is whether you want fancy directory indexing or standard

    #

    IndexOptions FancyIndexing

    #

    1. AddIcon* directives tell the server which icon to show for different

    1. files or filename extensions. These are only displayed for

    1. FancyIndexed directories.

    #

    AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip

    AddIconByType (TXT,/icons/text.gif) text/*

    AddIconByType (IMG,/icons/image2.gif) image/*

    AddIconByType (SND,/icons/sound2.gif) audio/*

    AddIconByType (VID,/icons/movie.gif) video/*

    AddIcon /icons/binary.gif .bin .exe

    AddIcon /icons/binhex.gif .hqx

    AddIcon /icons/tar.gif .tar

    AddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv

    AddIcon /icons/compressed.gif .Z .z .tgz .gz .zip

    AddIcon /icons/a.gif .ps .ai .eps

    AddIcon /icons/layout.gif .html .shtml .htm .pdf

    AddIcon /icons/text.gif .txt

    AddIcon /icons/c.gif .c

    AddIcon /icons/p.gif .pl .py

    AddIcon /icons/f.gif .for

    AddIcon /icons/dvi.gif .dvi

    AddIcon /icons/uuencoded.gif .uu

    AddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tcl

    AddIcon /icons/tex.gif .tex

    AddIcon /icons/bomb.gif core

    AddIcon /icons/back.gif ..

    AddIcon /icons/hand.right.gif README

    AddIcon /icons/folder.gif ^DIRECTORY^

    AddIcon /icons/blank.gif ^^BLANKICON^^

    #

    1. DefaultIcon is which icon to show for files which do not have an icon

    1. explicitly set.

    #

    DefaultIcon /icons/unknown.gif

    #

    1. AddDescription allows you to place a short description after a file in

    1. server-generated indexes. These are only displayed for FancyIndexed

    1. directories.

    1. Format: AddDescription "description" filename

    #

    #AddDescription "GZIP compressed document" .gz

    #AddDescription "tar archive" .tar

    #AddDescription "GZIP compressed tar archive" .tgz

    #

    1. ReadmeName is the name of the README file the server will look for by

    1. default, and append to directory listings.

    #

    1. HeaderName is the name of a file which should be prepended to

    1. directory indexes.

    #

    ReadmeName README.html

    HeaderName HEADER.html

    #

    1. IndexIgnore is a set of filenames which directory indexing should ignore

    1. and not include in the listing. Shell-style wildcarding is permitted.

    #

    IndexIgnore .??* *~ # HEADER README* RCS CVS *,v *,t

    </IfModule>

    1. End of indexing directives.

    #

    1. Document types.

    #

    <IfModule mod_mime.c>

    #

    AddLanguage da .dk

    AddLanguage nl .nl

    AddLanguage en .en

    AddLanguage et .ee

    AddLanguage fr .fr

    AddLanguage de .de

    AddLanguage el .el

    AddLanguage he .he

    AddCharset ISO-8859-8 .iso8859-8

    AddLanguage it .it

    AddLanguage ja .ja

    AddCharset ISO-2022-JP .jis

    AddLanguage kr .kr

    AddCharset ISO-2022-KR .iso-kr

    AddLanguage nn .nn

    AddLanguage no .no

    AddLanguage pl .po

    AddCharset ISO-8859-2 .iso-pl

    AddLanguage pt .pt

    AddLanguage pt-br .pt-br

    AddLanguage ltz .lu

    AddLanguage ca .ca

    AddLanguage es .es

    AddLanguage sv .sv

    AddLanguage cs .cz .cs

    AddLanguage ru .ru

    AddLanguage zh-TW .zh-tw

    AddCharset Big5 .Big5 .big5

    AddCharset WINDOWS-1251 .cp-1251

    AddCharset CP866 .cp866

    AddCharset ISO-8859-5 .iso-ru

    AddCharset KOI8-R .koi8-r

    AddCharset UCS-2 .ucs2

    AddCharset UCS-4 .ucs4

    AddCharset UTF-8 .utf8

    <IfModule mod_negotiation.c>

    LanguagePriority en da nl et fr de el it ja kr no pl pt pt-br ru ltz ca es sv tw

    </IfModule>

    #

    AddType application/x-tar .tgz

    #

    AddEncoding x-compress .Z

    AddEncoding x-gzip .gz .tgz

    #

    1. If the AddEncoding directives above are commented-out, then you

    </IfModule>

    BrowserMatch "Mozilla/2" nokeepalive

    BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0

    #

    1. The following directive disables HTTP/1.1 responses to browsers which

    1. are in violation of the HTTP/1.0 spec by not being able to grok a

    1. basic 1.1 response.

    #

    BrowserMatch "RealPlayer 4\.0" force-response-1.0

    BrowserMatch "Java/1\.0" force-response-1.0

    BrowserMatch "JDK/1\.0" force-response-1.0

    </IfModule>

    1. End of browser customization directives

    <IfModule mod_sapcs.cpp>

    AddModuleInfo ContentServer "SAP Content Server 6.30"

    CSConfigPath /apache/kprcs/conf/cs.conf

    <Location /sapcs>

    SetHandler sapcs_module

    Allow from all

    </Location>

    <Location /ContentServer/ContentServer.dll>

    SetHandler sapcs_module

    Allow from all

    </Location>

    <Location /contentserver/contentserver.dll>

    SetHandler sapcs_module

    Allow from all

    </Location>

    </IfModule>

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

    Could anyone help in solving this issue?

    Regards,

    HP Basis