LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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-2004, 04:09 PM   #1
rjneeley
LQ Newbie
 
Registered: Jun 2004
Posts: 11

Rep: Reputation: 0
Start Up Logs HELP PLEASE


Hi All,

Just a quick question....

I am trying to repair one of the linux boxes we have at work and am running into a problem.

Our firewall will not start for some odd reason and I am working remotely and unable to see the error message the firewall throws up at startup.

How can I log everything the machine says on start up? Ive looked at the normal log files and cant find anything on this.

Thanks for any help you can provide !!!!


- Ryan
 
Old 06-13-2004, 04:18 PM   #2
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
What does dmesg show?
 
Old 06-13-2004, 04:20 PM   #3
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
What firewall are you using?

If you are using iptables or ipchains then what are you using to add the rules? Is it a custom script?

Which distro are you using?

Some more information would help to diagnose your problem.
 
Old 06-13-2004, 04:26 PM   #4
rjneeley
LQ Newbie
 
Registered: Jun 2004
Posts: 11

Original Poster
Rep: Reputation: 0
Thanks for the quick reply!

We are using iptables under Gentoo Linux. The rules where added before my time at the company, In fact I have been with the company less then a week .

Everything was working great until Friday afternoon when the internet to all of the systems on the network went down. After about 4 hours the Gentoo box came back online, However the windows boxes did not. We are running on a T1 line with static IPs for the servers and a mix of DHCP and Static IPs for the workstations.

The windows boxes can ping the Gentoo box, And the Gentoo Box can ping the windows boxes, However the windows boxes are still without internet.

It may also help to note that this server uses 4 NICs, I have only a vague idea why. We do have a field offices that connect to an NT box we have via this Gentoo server, However since the internet went down, They are unable to get in as well.
 
Old 06-13-2004, 04:30 PM   #5
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Check the /etc/rc.* and /etc/init.d/* files for scripts that are setting iptables rules. You can then run it manually to see why it is failing. If there are no errors then try posting the script to see if we can spot anything.
 
Old 06-13-2004, 04:42 PM   #6
rjneeley
LQ Newbie
 
Registered: Jun 2004
Posts: 11

Original Poster
Rep: Reputation: 0
David,

Thank you again!!

When I ran the script I got errors...

Using Data from /etc/conf.d/firewall instead of current config.
Proforming Sanity Checks .. FAILED
Fatel : Network Address must be in dotted decimal format in PERMIT

Any clues, Its greek to me as I am semi new to linux.

- Ryan
 
Old 06-13-2004, 04:48 PM   #7
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
It looks like it is trying to take the configuration information from the file /etc/conf.d/firewall - somewhere in that file is probably a section where you can specify your ip address - is this set to the ip address of the system? If you are unsure then post the contents of /etc/conf.d/firewall
 
Old 06-13-2004, 05:37 PM   #8
rjneeley
LQ Newbie
 
Registered: Jun 2004
Posts: 11

Original Poster
Rep: Reputation: 0
David,

Thank you !!!!! I have managed to get it back up with the info you provided.



- Ryan
 
Old 06-14-2004, 12:15 PM   #9
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
No problem. Good to see you got it fixed so easily
 
  


Reply



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
Start up logs? 1veedo Linux - Newbie 3 11-22-2005 12:27 AM
making a minimalist window manager start up with a particular user logs on JackSmith Linux - Newbie 2 05-22-2005 10:53 AM
Separate firewall logs and general logs dominant Linux - General 3 04-20-2004 01:26 AM
Gui wont start cant read logs what to do shaneblyth Linux - Newbie 1 12-03-2003 01:08 AM
Getting a program to start with root privileges when a user logs in. joeking Linux - Security 4 10-24-2003 11:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:46 AM.

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