hi ,
I am trying to install appache 2 on solaris 9 over SPARC .
i have configured the server , run make and make install .
but when i try to start the appachectl it is giving me an error.
it says that :
"ld.so.1: /usr/local/apache2/bin/httpd: fatal: libgcc_s.so.1: open failed: No such file or directory "
on the other hand
the output of echo $LD_LIBRARY_PATH
is /usr/openwin/lib .
but when i go to /usr/openwin/lib , i cannot find libgcc_s.so.1 .
this library is found in /usr/local/lib .
note that i have installed this library and a gcc compiler .
my path contains both the " /usr/openwin/lib " and "/usr/local/lib ".
thanks
hi ,
RTM , i did as u recommended , and the situation is better now .
but now the problem is that when i try to start the httpd by ./apachectl start
it gives me the feeling that it started and that every thing is OK .
what i found is that , the httpd has not started and when i try to stop it using ./apachectl stop it says :"httpd (pid 11144?) not running" .
when i do start i have the following added to my error log :
""
[Thu Apr 07 09:53:01 2005] [warn] pid file /usr/local/apache2/logs/httpd.pid ove
rwritten -- Unclean shutdown of previous Apache run?
[Thu Apr 07 09:53:01 2005] [alert] (22)Invalid argument: setgid: unable to set g
roup id to Group 4294967295
[Thu Apr 07 09:53:01 2005] [alert] (22)Invalid argument: setgid: unable to set g
roup id to Group 4294967295
[Thu Apr 07 09:53:01 2005] [alert] (22)Invalid argument: setgid: unable to set g
roup id to Group 4294967295
[Thu Apr 07 09:53:01 2005] [alert] (22)Invalid argument: setgid: unable to set g
roup id to Group 4294967295
[Thu Apr 07 09:53:01 2005] [alert] (22)Invalid argument: setgid: unable to set g
roup id to Group 4294967295
[Thu Apr 07 09:53:01 2005] [notice] Apache/2.0.53 (Unix) configured -- resuming
normal operations
[Thu Apr 07 09:53:01 2005] [alert] Child 11212 returned a Fatal error...\nApache is exiting!
I have a problem with apache2, i have the same configuration, sparc solaris 9, everything compiles and installs withouth problems, but when i try to start it with ./apachectl start it gives an error in httpd.conf:
bash-2.05# ./apachectl start
Syntax error on line 52 of /usr/local/etc/httpd/conf/httpd.conf:
Invalid command 'ServerType', perhaps mis-spelled or defined by a module not included in the server configuration
the httpd.conf says there are 2 configuration options, with inetd or standalone, i've tryed both and it gives that error anyway, i think is doesn't even know what a ServerType is... i think i forgot to install a module or something. does anyone know whats missing? or whats the problem with this?
ok, problem solved, it appears to be that the ServerType directive is no longer used in apache 2, so i just commented it , and also the directive 'Port' is now called 'Listen' in apache2.
im still trying to configure it for reverse proxy, i'll post a new thread to let you know what happended..
When I tried to start apache (apachectl start), apache service not started but the following error displayed in log file. Please help me in resolve this .