Visit Our UNIX and Linux User Community


help me........... my apache can't start


 
Thread Tools Search this Thread
Operating Systems Solaris help me........... my apache can't start
# 1  
Old 04-08-2008
help me........... my apache can't start

help me please.................bro
i was install apache2 and i have been configure httpd.conf on my solaris 10 machine n i already running my httd service but why my webserver couldn't run on my browser?


some buddy help me.............SmilieSmilieSmilieSmilieSmilie
# 2  
Old 04-08-2008
what are you using to start apache? How are you starting apache?
does dmesg give you any output when you start?
are you using the installed version of apache that came with sol10 or the one you installed separately?

need some output from ya... "buddy" heheheh
# 3  
Old 04-09-2008
on your server, can you do the following

telnet localhost 80
GET /

what do you see after "GET /"

connection terminated immediately or do you see some text ??
# 4  
Old 04-09-2008
Quote:
Originally Posted by yatmianto
help me please.................bro
i was install apache2 and i have been configure httpd.conf on my solaris 10 machine n i already running my httd service but why my webserver couldn't run on my browser?



some buddy help me.............SmilieSmilieSmilieSmilieSmilie
Hi,
Dont panic, you could do it on your own with a bit of 'imagination' Smilie
Check what port your apache is listening on 'grep -i listen httpd.conf'
then check if that port is in use 'netstat -an | grep _the_port_u_just_grepped'
You can inspect the log files which are usually 'error_log' if something went wrong and 'access_log'
# 5  
Old 04-12-2008
i use port 80, and httpd already start with no error but my browser couldn't load my http://localhost
thx be4
# 6  
Old 04-14-2008
Quote:
Originally Posted by yatmianto
i use port 80, and httpd already start with no error but my browser couldn't load my http://localhost
thx be4
did I not ask you to try doing the following?

[root]# telnet localhost 80 <-------- you type this
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
GET / <---------- then you type this

This is the most basic test for any http server

if it display something like below means webserver is ok, it's probably something wrong with your browser.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<META HTTP-EQUIV=Refresh CONTENT="0; URL=http://yourdomain.com./banner.html"
>
<html>
</html>
Connection closed by foreign host.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

if this also cannot see means your webserver is using a non standard port or httpd daemons are not started.

Can you run that command and see what is being displayed?

Previous Thread | Next Thread
Test Your Knowledge in Computers #457
Difficulty: Easy
NTP was created to synchronize all participating computers to within a few milliseconds of Coordinated Universal Time (UTC).
True or False?

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Display status of instances in apache - Where to start

Hello, I know this is not a simple question so I just need to know where to start for below project: I am running under Ubuntu 18.04 What I'd like to see in apache page is to display status of particular process pids. ps aux | grep keywords.txt keywords.txt word1 word2 word3 word4... (9 Replies)
Discussion started by: baris35
9 Replies

2. Web Development

Unable to start the apache web server

Hi All, I'm getting this below error bash-4.1$ ./apachectl -k start (98)Address already in use: make_sock: could not bind to address hostname:18000 no listening sockets available, shutting down Unable to open logs I tried to change the port number, still same error: ... (5 Replies)
Discussion started by: raghur77
5 Replies

3. Red Hat

Apache start error

I have a new server, installed everything and tried to get it all up and running. Got the following issue: # /usr/local/apache/bin/apachectl start httpd: Syntax error on line 54 of /usr/local/apache/conf/httpd.conf: Cannot load /usr/local/apache/modules/libphp5.so into server:... (0 Replies)
Discussion started by: Tommyk
0 Replies

4. UNIX for Advanced & Expert Users

Apache does not start

After i added this line to my apache httpd.conf it does not start. AuthUserFile /apps/apache22/conf/httpd.passwd and i see the below error. Syntax error on line 876 of /apps/apache22/conf/httpd.conf: AuthUserFile not allowed here Kindly help. (4 Replies)
Discussion started by: mohtashims
4 Replies

5. Solaris

apache cannot start

hi all i'm having a problem with apache on solaris 10 SPARC I'm trying to start httpd as root but it fails with the following error /usr/local/apache2/bin/httpd -k start httpd: Could not determine the server's fully qualified domain name, using 192.168.1.11 for ServerName (20014)Error... (16 Replies)
Discussion started by: h@foorsa.biz
16 Replies

6. Solaris

Apache start issue

Hi group, I need help to start apache in following scenario: 1) Say apache is installed on solaris OS by user 'root'. 2) An entry is there in httpd.conf that says to start apache process as user: #User <RUN_AS_USER> is edited as User user1 2) Now say user2 has logged and tries to start... (6 Replies)
Discussion started by: rs266
6 Replies

7. Solaris

Apache start problem

Hi, I have installed apache webserver on my solaris 10(x86). When I tried to start the server it gives following error, ld.so.1: /usr/local/apache2/bin/httpd: fatal: libssl.so.0.9.8: open failed: No such file or directory Killedld.so.1:: Too many arguments Can somebody please guide me how... (1 Reply)
Discussion started by: maheshsri
1 Replies

8. AIX

Start Stop Apache

I am in the process of reorging my Lawson db. I need to turn off the RMI server...not a problem. However my instructions also state that I must also shutdown my Servlet Container....I believe it is Apache. I have looked in /usr/apache/bin/apachectl What is the command for stopping and... (2 Replies)
Discussion started by: MILLERJ62
2 Replies

9. UNIX for Dummies Questions & Answers

Apache start (Was in:how can i?) [Split by LF]

I need to know, which script starts the apache web server on start up? If anyone could help me that would be great. I'm in deep trouble if I can't find the script. thanks very much dan donohd If you know my e-mail is donohd@sage.edu thanks:( (1 Reply)
Discussion started by: donohd
1 Replies

10. UNIX for Dummies Questions & Answers

Apache wont start

Hi, like a lot of people that post here, I am new at UNIX. The only UNIX I have ever messed with is my iBook running MacOSX (10.1). I have a grasp of the basic commands and understanding of the system but only to a point. I searched the archive and FreeBSD.org and apache.org but I couldn't find... (4 Replies)
Discussion started by: Alpha_Harblo
4 Replies

Featured Tech Videos