LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
LinkBack Search this Thread
Old 12-28-2006, 05:37 AM   #16
itzamecwp
LQ Newbie
 
Registered: Dec 2006
Distribution: Ubuntu
Posts: 20

Rep: Reputation: 0

What linux are you running?
 
Old 12-28-2006, 05:41 AM   #17
crazycondor
LQ Newbie
 
Registered: Dec 2006
Posts: 23

Original Poster
Rep: Reputation: 15
openSuse 10.2

As long as concerns Clemente's question, netstat -tulpen exports

Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State User Inode PID/Program name
tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN 0 9099 3321/mysqld
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 0 7938 2939/portmap
tcp 0 0 127.0.0.1:2544 0.0.0.0:* LISTEN 0 8524 3172/zmd
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 0 10768 3142/cupsd
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 0 8603 3208/master
tcp 0 0 :::80 :::* LISTEN 0 13766 4058/httpd
tcp 0 0 :::22 :::* LISTEN 0 9064 3314/sshd
tcp 0 0 ::1:631 :::* LISTEN 0 10769 3142/cupsd
tcp 0 0 ::1:25 :::* LISTEN 0 8605 3208/master
udp 0 0 0.0.0.0:111 0.0.0.0:* 0 7937 2939/portmap
udp 0 0 0.0.0.0:631 0.0.0.0:* 0 10772 3142/cupsd
 
Old 12-28-2006, 05:48 AM   #18
itzamecwp
LQ Newbie
 
Registered: Dec 2006
Distribution: Ubuntu
Posts: 20

Rep: Reputation: 0
Is it running SELINUX?

Ahaa! Check this out - http://fedora.redhat.com/docs/selinux-faq-fc3/

Googled ..
Q: How do I enable/disable SELinux protection on specific daemons under the ... For
example, if you find that you need to disable SELinux for Apache to run ...
fedora.redhat.com/docs/selinux-faq-fc3/ - 93k - Cached - Similar pages

http://www.google.co.bw/search?hl=en...e+Search&meta=
 
Old 12-28-2006, 06:03 AM   #19
crazycondor
LQ Newbie
 
Registered: Dec 2006
Posts: 23

Original Poster
Rep: Reputation: 15
I found that openSuse has APPARMOR instead os SELINUX.

I disabled it but nothing changed
 
Old 12-28-2006, 06:11 AM   #20
Clemente
Member
 
Registered: Aug 2003
Distribution: Debian, Ubuntu
Posts: 188

Rep: Reputation: 30
Hi,

Quote:
4) The IP of the server (as well as the IP of the other PC) is 212.37.xxx.xxx
Two points here:

1)
I would suggest using private ip addresses whithin your own network. You can find those address spaces and some short information at http://en.wikipedia.org/wiki/Private_ip_address.
whois 212.37.49.73, e.g., says, that the ip addresses 212.37.49.64 - 212.37.49.79 belongs to the "Kreisverwaltung Unna", a german city. If your
a) network is connected to the internet,
b) routing works and
c) your servers address belongs to this space,
it probably wasn't your server that responded, but a machine belonging to those Unna people.
;-)

2)
If the addresses from pc and server differ in both of the last bytes, your subnet mask should be 255.255.0.0 and not 255.255.255.0. Means: Both machines must reside within the same subnet. Do they? It is no security issue, if you post the full ip address/subnet mask here.

According to the netstat output, your apache server available for the servers subnet. I don't think - like said before - that there is an issue with apache. It surely is some network trouble, IMHO.

Clemente

Last edited by Clemente; 12-28-2006 at 06:13 AM.
 
Old 12-28-2006, 06:20 AM   #21
Clemente
Member
 
Registered: Aug 2003
Distribution: Debian, Ubuntu
Posts: 188

Rep: Reputation: 30
What I forgot: Your PC seems to be a windows machine. Do you have access to another Linux machine in your subnet?
 
Old 12-28-2006, 06:49 AM   #22
crazycondor
LQ Newbie
 
Registered: Dec 2006
Posts: 23

Original Poster
Rep: Reputation: 15
The name of my server is seeds.bee.gr and the IP is 212.37.66.19.

Try "host seeds.bee.gr" to check it.

The IP addresses differ only on the last byte and i use subnet 255.255.255.192 (The same with the

PC which is winXP indeed and with the DNS server). From the PC i can connect to the DNS server!
 
Old 12-28-2006, 06:55 AM   #23
itzamecwp
LQ Newbie
 
Registered: Dec 2006
Distribution: Ubuntu
Posts: 20

Rep: Reputation: 0
What is your Router/Gateway address?
 
Old 12-28-2006, 06:59 AM   #24
crazycondor
LQ Newbie
 
Registered: Dec 2006
Posts: 23

Original Poster
Rep: Reputation: 15
212.37.66.1
 
Old 12-28-2006, 07:20 AM   #25
itzamecwp
LQ Newbie
 
Registered: Dec 2006
Distribution: Ubuntu
Posts: 20

Rep: Reputation: 0
Stumped!
Do you really have 62 public IP addresses at your disposal?
Would it not be better to give the server two NICs - 1 Public address and 1 private address.
Put the LAN PCs onto the private LAN and NAT them through the public.
 
Old 12-28-2006, 07:25 AM   #26
Clemente
Member
 
Registered: Aug 2003
Distribution: Debian, Ubuntu
Posts: 188

Rep: Reputation: 30
Hm. If you can use this public network, forget my complaint about private addresses.
So assumed, your network is OK, there could be a firewall thing - reread the thread and found:
Quote:
I've tried iptables -nL and the result is
Chain Input (POLICY DROP)
Chain Forward (POLICY DROP)
Chain Output (POLICY ACCEPT)
I - sad to say - am not very fit with iptables. Just know some basics.
But I am nearly to sure, that this configuration is contraproductive for a server. If I see right, the input chain drops everything including http requests, ssh or telnet. Correct me, if I am wrong.

IIRC, open suse provides some gui tool for opening the firewall for several services. Did you try?
To give any hint for an iptables command, I have to google/man myself... I'd try and error on my own machine, but IO don't want to ruin your machine ;-)

Just kidding, after rebooting, iptables should be in its current state.

Last edited by Clemente; 12-28-2006 at 07:27 AM.
 
Old 12-28-2006, 07:27 AM   #27
crazycondor
LQ Newbie
 
Registered: Dec 2006
Posts: 23

Original Poster
Rep: Reputation: 15
Thanx for your response itzamecwp.

Do you have any idea why this doesn't work???
 
Old 12-28-2006, 07:34 AM   #28
crazycondor
LQ Newbie
 
Registered: Dec 2006
Posts: 23

Original Poster
Rep: Reputation: 15
AT LAST!!!!

The problem was the openSuse firewall!!!!!

As i told you i'm niewbie!!

Thank you all!!!
 
Old 12-28-2006, 07:41 AM   #29
Clemente
Member
 
Registered: Aug 2003
Distribution: Debian, Ubuntu
Posts: 188

Rep: Reputation: 30
Congratulation!
And for our shame, we had to see it after your third posting... Good training for me
 
Old 12-28-2006, 08:09 AM   #30
itzamecwp
LQ Newbie
 
Registered: Dec 2006
Distribution: Ubuntu
Posts: 20

Rep: Reputation: 0
Thank goodness! Yeah, U'r right - 3rd post should have rang some bells!!!

Enjoy.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mail from Apache being rejected - Cannot route to sender apache@localhost.localdomain jimwillsher Linux - Networking 2 01-19-2006 12:41 AM
Apache 1.3.33 (debian built) and Apache SSL does not respond to the proper ports lqorg_user Linux - Networking 0 11-06-2005 04:11 PM
Strange apache trailing / problem - Slack-current, apache 1.3.33 vamp Linux - Networking 1 01-30-2005 07:28 PM
Apache Webserver 403 Forbidden Errors (User not in apache group?) Mankind75 Mandriva 4 07-08-2004 05:30 AM
apache benchmarks (apache v13 / apache v20) ; large differences between benchmarking markus1982 Linux - Software 0 02-08-2003 10:53 AM


All times are GMT -5. The time now is 07:22 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration