appache server installation

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

You need for your LD_LIBRARY_PATH to contain /usr/openwin/lib and /usr/local/lib - make that change and it should work.

LD_LIBRARY_PATH=/usr/openwin/lib:/usr/local/lib ; export LD_LIBRARY_PATH

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" .

cheers
ppass

Check logs and post what is going on there ...

and
find out what is PID of httpd before running
./apachectl stop

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!

and when i try to stop i got :

httpd (pid 11207?) not running

if it's not that hard to do ...

you might want to recompile the program ... the missing libgcc_s.so.1 error you saw earlier might have affected the build and the install process ...

Hi everyone,

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?

I runed the configure script like this:

./configure --prefix=/usr/local/etc/httpd --enable-so --enable-mods-shared="proxy \
proxy_http proxy_ftp proxy_connect headers"

I saw this on a tutorial at http://www.apacheweek.com/features/reverseproxies

im trying to install it as reverse proxy...

thanks

Tony.

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..

thanks

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 .

Thanks

it might be that the group option is not properly set on httpd.conf, try changing #-1... or something like that, for �nobody�