执行apachectl start提示:
Syntax error on line 62 of /cardres/apache2/conf/httpd.conf:
Cannot load /cardres/apache2/modules/mod_wl_20.so into server: Exec format error已经把mod_wl_20.so复制进去了
$ cp mod_wl_20.so /cardres/apache2/modules/mod_wl_20.so我很郁闷,求解
Syntax error on line 62 of /cardres/apache2/conf/httpd.conf:
Cannot load /cardres/apache2/modules/mod_wl_20.so into server: Exec format error已经把mod_wl_20.so复制进去了
$ cp mod_wl_20.so /cardres/apache2/modules/mod_wl_20.so我很郁闷,求解
Listen 8888
ServerName localhost
ServerRoot /cardres/apache2
DocumentRoot /cardres/app/app
ExtendedStatus OnTimeout 3000<IfModule prefork.c>
MaxClients 256
StartServers 200
MinSpareServers 5
MaxSpareServers 10
</IfModule><IfModule worker.c>
StartServers 200
MaxClients 800
MinSpareThreads 25
MaxSpareThreads 75
ThreadsPerChild 3000
MaxRequestsPerChild 0
</IfModule>DirectoryIndex login.jspMaxRequestsPerChild 0ErrorLog logs/error_logLogLevel error
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
LogFormat "%h %l %u %t \"%r\" %>s %b" common
LogFormat "%{Referer}i -> %U" referer
LogFormat "%{User-agent}i" agentSetEnvIf Remote_Addr "127\.0\.0\.1" image-request
SetEnvIf Request_URI \.gif image-request
SetEnvIf Request_URI \.jpg image-request
SetEnvIf Request_URI \.png image-request
SetEnvIf Request_URI \.css image-request
SetEnvIf Request_URI \.js image-request
SetEnvIf Request_URI \/console/* image-request
CustomLog logs/access_log common env=!image-request<Directory />
Options FollowSymLinks
AllowOverride None
ProxyPass http://10.156.76.30:8888/
SetEnv force-proxy-request-1.0 1
SetEnv proxy-nokeepalive 1
</Directory><Location /sss>
SetHandler server-status
Order deny,allow
Order allow,deny
Allow from all
</Location>LoadModule weblogic_module modules/mod_wl_20.so<IfModule mod_weblogic.c>
WebLogicCluster 10.156.76.125:8001,10.156.76.125:8002,10.156.76.125:8003,10.156.76.125:8004
MatchExpression *.jsp
MatchExpression *.do
MatchExpression *.val
</IfModule>
以上是配置文件
可能是你的.so文件损坏了吧。
你是从BEA_HOME\server\plugin\win\32中copy的吗?
2。hp好像默认带一个apache。如果你重新安装的话,启动时最好确认你启动的是新的apache。
LD_PRELOAD=/usr/lib/libcl.2