LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-13-2003, 04:35 PM   #16
KaiHogan
LQ Newbie
 
Registered: Jun 2003
Posts: 25

Original Poster
Rep: Reputation: 15

OK, changed the Listen to 192.168.1.102:80....stopped httpd.....

When I started httpd again I received the followign error.


httpd failed. The error was: Starting httpd: (99)Cannot assign requested address: make_sock: could not bind to address 192.168.1.102:80
no listening sockets available, shutting down
[FAILED]
 
Old 06-13-2003, 04:36 PM   #17
green_dragon37
Member
 
Registered: Oct 2002
Location: Lower Alabama
Distribution: Slackware, OpenBSD 3.9
Posts: 344

Rep: Reputation: 31
It shouldn't be the DNS, because when you are specifying the IP address, there is no need to use DNS, because DNS maps domain names to IP addys.

Ian
 
Old 06-13-2003, 04:39 PM   #18
green_dragon37
Member
 
Registered: Oct 2002
Location: Lower Alabama
Distribution: Slackware, OpenBSD 3.9
Posts: 344

Rep: Reputation: 31
Post the results of "/sbin/ifconfig", also, if you stop apache then "nmap 192.168.1.102" again, does it show port 80 as open?

Ian
 
Old 06-13-2003, 04:55 PM   #19
KaiHogan
LQ Newbie
 
Registered: Jun 2003
Posts: 25

Original Poster
Rep: Reputation: 15
[root@localhost conf]# /sbin/ifconfig
eth0 Link encap:Ethernet HWaddr 00:20:78:11:EC:3A
inet addr:192.168.1.100 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:10451 errors:0 dropped:0 overruns:0 frame:0
TX packets:10958 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:5110319 (4.8 Mb) TX bytes:1634569 (1.5 Mb)
Interrupt:15 Base address:0x2000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:90505 errors:0 dropped:0 overruns:0 frame:0
TX packets:90505 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:6038391 (5.7 Mb) TX bytes:6038391 (5.7 Mb)

[root@localhost conf]#
==============================================

[root@localhost conf]# nmap 192.168.1.102

Starting nmap V. 3.00 ( www.insecure.org/nmap/ )
Interesting ports on (192.168.1.102):
(The 1596 ports scanned but not shown below are in state: closed)
Port State Service
135/tcp open loc-srv
139/tcp open netbios-ssn
445/tcp open microsoft-ds
1025/tcp open NFS-or-IIS
5000/tcp open UPnP

Nmap run completed -- 1 IP address (1 host up) scanned in 0 seconds
[root@localhost conf]#
=============================================

http is currently stopped because of the error I reproted in the past messages.
 
Old 06-13-2003, 04:58 PM   #20
green_dragon37
Member
 
Registered: Oct 2002
Location: Lower Alabama
Distribution: Slackware, OpenBSD 3.9
Posts: 344

Rep: Reputation: 31
ifconfig reports that your ip addy is 192.168.1.100! change the Listen line in httpd.conf back to "Listen *:80", start apache, and go to http://192.168.1.100 and see if that works.

Ian
 
Old 06-13-2003, 05:14 PM   #21
KaiHogan
LQ Newbie
 
Registered: Jun 2003
Posts: 25

Original Poster
Rep: Reputation: 15
ACK!!!

OK (scraching head) 192.168.1.100 works great. I was sure (not so much anymore) that it was 192.168.1.102. Is there a way, other than what we have done so far, to be sure? A program like ipconfig in windows?

I guess so long as it works is the main thing.

Thanks for all your assistance.
 
Old 06-13-2003, 05:27 PM   #22
green_dragon37
Member
 
Registered: Oct 2002
Location: Lower Alabama
Distribution: Slackware, OpenBSD 3.9
Posts: 344

Rep: Reputation: 31
I'm pretty sure that ifconfig is the equivalent of ipconfig in windows. But, another way to be sure of your network settings is to use "neat" in X.

Always glad to help

Ian
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
httpd in rh9 acrors Red Hat 6 09-07-2004 03:20 AM
httpd-2.0.50-1.0 won't start RH9 jariep Red Hat 5 08-21-2004 03:10 AM
httpd breakdown on RH9 Slurmo Linux - Networking 1 07-31-2004 04:12 PM
how to remove httpd-2.0.40-21 on RH9 icepig Linux - Software 2 11-21-2003 05:41 PM
RH9 Display Prob sukhjeet Red Hat 4 09-01-2003 04:32 AM


All times are GMT -5. The time now is 04:48 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration