logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: apachi wont work for me
Author
mbg19chev02



Joined: 09 Sep 2008
Posts: 8

PostPosted: Tue 09 Sep '08 3:13    Post subject: apachi wont work for me Reply with quote

i forwarded port 8001 and changed it in the config file and i still cant get this to work
please help here is my error log

Starting the Apache2.2 service
The Apache2.2 service is running.
rmine the server's fully qualified domain name, using 192.168.1.5 for ServerName
[Mon Sep 08 20:43:13 2008] [notice] Apache/2.2.9 (Win32) configured -- resuming normal operations
[Mon Sep 08 20:43:13 2008] [notice] Server built: Jun 13 2008 04:04:59
[Mon Sep 08 20:43:13 2008] [notice] Parent: Created child process 2756
httpd.exe: Could not reliably determine the server's fully qualified domain name, using 192.168.1.5 for ServerName
httpd.exe: Could not reliably determine the server's fully qualified domain name, using 192.168.1.5 for ServerName
[Mon Sep 08 20:43:13 2008] [notice] Child 2756: Child process is running
[Mon Sep 08 20:43:13 2008] [notice] Child 2756: Acquired the start mutex.
[Mon Sep 08 20:43:13 2008] [notice] Child 2756: Starting 64 worker threads.
[Mon Sep 08 20:43:13 2008] [notice] Child 2756: Starting thread to listen on port 8000.
[Mon Sep 08 20:43:56 2008] [notice] Parent: Received restart signal -- Restarting the server.
[Mon Sep 08 20:43:56 2008] [notice] Child 2756: Exit event signaled. Child process is ending.
httpd.exe: Could not reliably determine the server's fully qualified domain name, using 192.168.1.5 for ServerName
[Mon Sep 08 20:43:56 2008] [notice] Apache/2.2.9 (Win32) configured -- resuming normal operations
[Mon Sep 08 20:43:56 2008] [notice] Server built: Jun 13 2008 04:04:59
[Mon Sep 08 20:43:56 2008] [notice] Parent: Created child process 3364
httpd.exe: Could not reliably determine the server's fully qualified domain name, using 192.168.1.5 for ServerName
httpd.exe: Could not reliably determine the server's fully qualified domain name, using 192.168.1.5 for ServerName
[Mon Sep 08 20:43:56 2008] [notice] Child 3364: Child process is running
[Mon Sep 08 20:43:57 2008] [notice] Child 3364: Acquired the start mutex.
[Mon Sep 08 20:43:57 2008] [notice] Child 2756: Released the start mutex
[Mon Sep 08 20:43:57 2008] [notice] Child 3364: Starting 64 worker threads.
[Mon Sep 08 20:43:57 2008] [notice] Child 3364: Starting thread to listen on port 8000.
[Mon Sep 08 20:43:58 2008] [notice] Child 2756: All worker threads have exited.
[Mon Sep 08 20:43:58 2008] [notice] Child 2756: Child process is exiting

mod note: shrinked the log a bit Wink
Back to top
glsmith
Moderator


Joined: 16 Oct 2007
Posts: 2268
Location: Sun Diego, USA

PostPosted: Tue 09 Sep '08 5:23    Post subject: Reply with quote

I see nothing wrong, I do see Apache is configured for port 8000 not 8001 as you stated. You do not have a valid ServerName so Apache is defaulting to your LAN IP, which should cause no problems.

http://localhost:8000
http://192.168.1.5:8000
http://your.wan.ip:8000
Back to top
mbg19chev02



Joined: 09 Sep 2008
Posts: 8

PostPosted: Wed 10 Sep '08 1:43    Post subject: still small misunderstanding Reply with quote

thanks first of all for clarifing that it works but i would like to know why my files (new text document.txt) will not show when i click any of the links you gave me.

if i dont click these links to get to the site or page then what do i type.

thanks again
Back to top
mbg19chev02



Joined: 09 Sep 2008
Posts: 8

PostPosted: Wed 10 Sep '08 1:56    Post subject: ALSO ANOTHER PROBLEM Reply with quote

my problems that were probably not stated on the log because of the error # 3

1.) httpd.exe: could not reliably determine the server's fully qualified domain name using 192.168.1.5 for servername

2.) (OS 10048) only one usage of each socket address is normally permitted. : make_sock: could not bind to address 0.0.0.0:8000 no listening sockets available, shutting down

unable to open logs
Back to top
mbg19chev02



Joined: 09 Sep 2008
Posts: 8

PostPosted: Wed 10 Sep '08 3:04    Post subject: about port Reply with quote

my port is 8000 on port forward and the config file

not 8001 that is a typo

thanks
Back to top
glsmith
Moderator


Joined: 16 Oct 2007
Posts: 2268
Location: Sun Diego, USA

PostPosted: Wed 10 Sep '08 3:50    Post subject: Reply with quote

again, the server name one is rather benign,

2.) (OS 10048) only one usage of each socket address is normally permitted. : make_sock: could not bind to address 0.0.0.0:8000 no listening sockets available, shutting down

this one however means something else is listening on port 8000. Since I see by the other stuff if was working, here you may be trying to start 2nd instance of Apache using say a console while the service is already running.

for a document.txt file a URL would be the same as above with /document.txt tacked onto the end of any one.
Back to top
mbg19chev02



Joined: 09 Sep 2008
Posts: 8

PostPosted: Wed 10 Sep '08 5:13    Post subject: Reply with quote

ok thanks a bunch i see the text file

but heres the thing..... it wont let me see the text file by itself to click it and/or download it from like an index list or something.

like i saw from this video from you tube:

http://www.youtube.com/watch?v=-r2JnmaWtck&feature=related
Back to top
glsmith
Moderator


Joined: 16 Oct 2007
Posts: 2268
Location: Sun Diego, USA

PostPosted: Wed 10 Sep '08 10:11    Post subject: Reply with quote

<Directory C:/www/mysite>
Options Indexes
..
..
</Directory>
Back to top
mbg19chev02



Joined: 09 Sep 2008
Posts: 8

PostPosted: Thu 11 Sep '08 1:52    Post subject: Reply with quote

what? sorry what are you telling me to do...im a beginner with apache
Back to top
glsmith
Moderator


Joined: 16 Oct 2007
Posts: 2268
Location: Sun Diego, USA

PostPosted: Thu 11 Sep '08 3:14    Post subject: Reply with quote

The setting for directory indexes is just that .. Indexes in the options inside the Directory container.

http://httpd.apache.org/docs/2.2/sections.html
http://httpd.apache.org/docs/2.2/mod/core.html#options
Back to top
mbg19chev02



Joined: 09 Sep 2008
Posts: 8

PostPosted: Thu 11 Sep '08 3:19    Post subject: Reply with quote

o man yea still very confused

sorry
Back to top
glsmith
Moderator


Joined: 16 Oct 2007
Posts: 2268
Location: Sun Diego, USA

PostPosted: Thu 11 Sep '08 18:17    Post subject: Reply with quote

ok .. say document root is c:\www\mysite

then in httpd.conf

<Directory "c:/www/mysite">
Options Indexes
AllowOverride whatever
Order allow,deny
Allow from all
</Directory>

The Indexes option turns on directory index listings
Back to top
mbg19chev02



Joined: 09 Sep 2008
Posts: 8

PostPosted: Thu 11 Sep '08 20:59    Post subject: Reply with quote

thanks ill post if i still need help
Back to top


Reply to topic   Topic: apachi wont work for me View previous topic :: View next topic
Post new topic   Forum Index -> Apache