appache server installation


 
Thread Tools Search this Thread
Operating Systems Solaris appache server installation
# 1  
Old 04-06-2005
apache 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

Last edited by ppass; 04-07-2005 at 05:06 AM..
# 2  
Old 04-06-2005
Quote:
my path contains both the " /usr/openwin/lib " and "/usr/local/lib "
the output of echo $LD_LIBRARY_PATH
is /usr/openwin/lib .
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
# 3  
Old 04-07-2005
httpd not running

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
# 4  
Old 04-07-2005
Check logs and post what is going on there ...

and
find out what is PID of httpd before running
./apachectl stop
# 5  
Old 04-07-2005
error log

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
# 6  
Old 04-07-2005
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 ...
# 7  
Old 06-22-2005
Computer Problems with apache 2.0.54

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:

Code:
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:

Code:
./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.
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Help with Ubuntu server 12.04 installation

hello, i have been try installing Ubuntu server 12.04 and receiving a message: no network interface card detected. can someone help me to locate where my interface card is (1 Reply)
Discussion started by: naghazky
1 Replies

2. Solaris

Apache Server installation

Hi, can we install two diferent versions of apache on same server for different applications? (1 Reply)
Discussion started by: madhudeva
1 Replies

3. Red Hat

Xen Server Installation on CentOS6...?

Hello Folks, Anyone know about the support possibilities of Xenserver(open source) on CentOS6..? As I Googled and read alot of forums, but no luck. I have tried the followings. OS: CentOS6 Kernel: 2.6.32-71.29.1.el6.x86_64 Arch: x86_64 When tried to install XenServer from source. Xen4.0 -... (1 Reply)
Discussion started by: chandranjoy
1 Replies

4. UNIX for Dummies Questions & Answers

Red5 Server Installation

Hello, I Have a Problem... I have a Debian server where I would like Red5 instalation. Now I have the Red5 0.9.1 loaded on my server and want to instalation with *make* the server and it did not work. I keep getting this message here.: I have ant-ivy also already installed and all of the... (1 Reply)
Discussion started by: JungBoy1988
1 Replies

5. Solaris

how do I make my workstation an installation server for a remote server?.

Is there a way I can make my Sun workstation as a installation server for a remote server?. (3 Replies)
Discussion started by: calsum
3 Replies

6. SCO

Server installation problem

Hi, After installing our application in SCO UNIX 7.1.3, instead of asking username and password it's prompting to A:/> . Even after restart its its asking as "press any key to reboot". So, how can i come to my unix prompt. (1 Reply)
Discussion started by: pintupatro
1 Replies

7. Solaris

Server Installation Help

Forgive me for posting this. That was the wrong way to install the NXServer. If anyone has documentation links, let me know please. Thanks. (0 Replies)
Discussion started by: smac
0 Replies

8. UNIX for Dummies Questions & Answers

firewall errors with appache 2.0

Hi!, I am a bit of a linux neebie. I just installed and setup appache 2. I have it all installed the way it should be according to the appache documentation. When i try to view my page i find that i can't. Can someone help me please :confused: (8 Replies)
Discussion started by: Shifty
8 Replies
Login or Register to Ask a Question