LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-18-2003, 12:36 PM   #1
adamgedde
LQ Newbie
 
Registered: Oct 2003
Posts: 7

Rep: Reputation: 0
Need HELP ASAP!!!!!


Our website is down and we need a Linux guru to help fix it. I know this might not be the best place to post, but we're running out of options. Please contact adamgedde at hotmail dot com for details.
 
Old 10-18-2003, 12:40 PM   #2
jqcaducifer
Member
 
Registered: Jul 2003
Distribution: Fedora 3
Posts: 133

Rep: Reputation: 15
Why don't you post your problems? And this forum is for questions for THIS website, linuxquestions.org, not websites in general.
 
Old 10-18-2003, 12:48 PM   #3
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 270Reputation: 270Reputation: 270
Re: Need HELP ASAP!!!!!

Quote:
Originally posted by adamgedde
Our website is down and we need a Linux guru to help fix it. I know this might not be the best place to post, but we're running out of options. Please contact adamgedde at hotmail dot com for details.
Please use better and more helpful thread titles in the future and also like mentioned above, post in the correct forums. This post will most likely be moved accordingly, no need to repost as we do not allow double posting. And in your future posts, you should give more details. Now with your post, we have to probe to find out what is wrong, and your just wasting time in getting an answer that way.

Also, forums are meant to post questions and recieve your questions here, not for our members to email you for you solutions.

Regards.

Last edited by trickykid; 10-18-2003 at 12:49 PM.
 
Old 10-18-2003, 12:48 PM   #4
adamgedde
LQ Newbie
 
Registered: Oct 2003
Posts: 7

Original Poster
Rep: Reputation: 0
Dangle some $$ in front of people and they'll usually respond quicker. Posted it here because frankly, we're in a big bind.

Ok - here's the problem. Our web server doesn't work. There were changes made to the iptable to affect ftp only, and after restarting the server last night, nothing works. Absolutely NOTHING. There's nothing in the hosts.allow file...hosts.deny file, and the iptables are empty (which i understand to mean that basically every service/port on the machine is now open).

There are three machines on the network. One firewall, one dns, and one www. can ssh to the firewall, but cannot ssh to the dns or www. No changes have been made to the dns machine. Thoughts?
 
Old 10-18-2003, 12:52 PM   #5
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 270Reputation: 270Reputation: 270
Are you sure nothing is blocking in the firewall setup? It would surely seem that way from what you describe. What's the errors when you try to connect or view a webpage? Your output for iptables, etc? More details, gets better responses.
 
Old 10-18-2003, 12:59 PM   #6
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Can you post eh output of:
iptables -L

A quick fix to try is:
iptables -P INPUT ACCEPT
iptables -P OUTPUT ACCEPT
iptables -P FORWARD ACCEPT
iptables -F
 
Old 10-18-2003, 01:39 PM   #7
adamgedde
LQ Newbie
 
Registered: Oct 2003
Posts: 7

Original Poster
Rep: Reputation: 0
iptables have already been flushed.
 
Old 10-18-2003, 01:44 PM   #8
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Does that mean that they don;t have a default policy of deny? fluching does not change this.

A few more things to look for:
1) Are the services listening:
netstat -nlp
2) Can you ping the machines?
2.1) Is the conenction OK - check physical links and link lights
2.2) Is the ethernet device up:
ifconfig
 
Old 10-18-2003, 01:49 PM   #9
adamgedde
LQ Newbie
 
Registered: Oct 2003
Posts: 7

Original Poster
Rep: Reputation: 0
can get into the machines locally - i.e. lynx localhost.

I do not get a response when pinging the machine from my location, though the DNS records are pointed at the right machine.

don't know about the connections - I'm not in front of the physical machine. i was told that they were functioning. can't even get in on ssh to see what's wrong, though i can get in to another machine on that network, specifically the firewall.
 
Old 10-18-2003, 01:59 PM   #10
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Sorry if this seems like a daft question but if you can't get to the machine then how do you know that there are no firewall rules in place?
 
Old 10-18-2003, 02:16 PM   #11
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 13,609

Rep: Reputation: 4115Reputation: 4115Reputation: 4115Reputation: 4115Reputation: 4115Reputation: 4115Reputation: 4115Reputation: 4115Reputation: 4115Reputation: 4115Reputation: 4115
/moved.

--jeremy
 
Old 10-18-2003, 02:31 PM   #12
adamgedde
LQ Newbie
 
Registered: Oct 2003
Posts: 7

Original Poster
Rep: Reputation: 0
I've seen the firewall rules that were in place on the machine in question prior to this incident, and have had a contact person sitting in front of the physical machine.
 
Old 10-18-2003, 04:14 PM   #13
Robert0380
LQ Guru
 
Registered: Apr 2002
Location: Atlanta
Distribution: Gentoo
Posts: 1,280

Rep: Reputation: 47
have them check those default policies again, you should see this:
Code:
#iptables -L
Chain INPUT (policy ACCEPT)
target     prot opt source               destination

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination

Chain OUTPUT (policy ACCEPT)
target     prot opt source
like he said before, just flushing the tables doesnt affect the policy.

and if by some off chance you have Bellsouth DSL, i cant connect to my box remotely either anymore
 
  


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
I need help ASAP! coasterfreak212 Fedora - Installation 2 03-21-2004 05:05 PM
***** Need Help ASAP PLEASE!!! ****** iLLuSionZ Linux - Newbie 4 11-18-2003 02:59 PM
Need Help Asap don_dimo Linux - Software 9 10-19-2003 02:11 PM
Help asap! DoobyWho Linux - General 8 04-02-2003 05:23 PM
Answer This Asap Please Dillutedmind Linux - Software 3 03-21-2003 11:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:15 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
Open Source Consulting | Domain Registration