LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-16-2001, 12:43 PM   #1
seeker4
LQ Newbie
 
Registered: Jul 2001
Distribution: rh62
Posts: 6

Rep: Reputation: 0
Exclamation network down


Hello all, I'm working for a company that used to have a Linux guru... he set up an IBM P75 w/16 MB Ram using RH62 as the network DHCP server, also the internet server using masquarade<sp?>. DHCP seems to have gone partially down... however that is possible??? Some users are up, some are down, and it seems others are dropping. A message is coming up saying that the DHCP lease is expiring...

When I try to use the 'man' command to learn a little about certain commands I get a message saying there is no space left on the drive... I figured out that I can use "rm" to remove a file but I have no clue as to which file to remove or even if that will help!

Help ! Please !!

<> < Michael
 
Old 07-16-2001, 01:03 PM   #2
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 47
I'm not really sure about the DHCP problems but running out of disk space can cause all sorts of hassle so I'd look into that one first. Have you been logging a whole lot of info?? If so have a look at /var/log

You can use du -h to find out how much space is being used and where, this may help you out.

good luck, its probably something stupid.

Jamie...
 
Old 07-16-2001, 01:39 PM   #3
seeker4
LQ Newbie
 
Registered: Jul 2001
Distribution: rh62
Posts: 6

Original Poster
Rep: Reputation: 0
following through

I checked /var/log and found the following:

several pages into the list I find todays date with this:
cron with apparantly 1054720 on todays date
messages shows up with a healthy 40083200

There are several other files, one of which I am comfortable deleting such as boot log taking up over 35k and several other files that don't look necessary but what do I know!

going ahead with du -h gives several lines which make no sense to me.

I read elsewhere to try df which showed me a ton of files including several called tty1, tty2 etc... once again no clue as to if I can delete them. I know that there is a file in root taking up 32k that is my fetchmail log, I was wondering if I used rm if it would remove just the file or my fear is that it is a file format and if I delete it I'll be fubar.

Thank you for your response and time !

<> <Michael
 
Old 07-16-2001, 02:48 PM   #4
ugge
Senior Member
 
Registered: Dec 2000
Location: Gothenburg, SWEDEN
Distribution: OpenSUSE 10.3
Posts: 1,028

Rep: Reputation: 45
The command df should give you a list of the different partitions mounted and how much of the space that is occupied.
I have never heard of df giving a list of ttys.
Please post your info from df along with partition layout and mount point that might help someone to troubleshoot for you.
 
Old 07-16-2001, 03:17 PM   #5
seeker4
LQ Newbie
 
Registered: Jul 2001
Distribution: rh62
Posts: 6

Original Poster
Rep: Reputation: 0
Red face correction

DF did not give me the the file list as I thought, my bad.

Any advice as to whether the CRON or BOOTLOG files are able to be deleted without trouble?
 
Old 07-16-2001, 04:31 PM   #6
gizmola
Member
 
Registered: Jun 2001
Location: Los Angeles, CA USA
Distribution: RedHat
Posts: 53

Rep: Reputation: 15
I left this on the other forum b4 i saw this thread was open:
----------------------------
Ahh you closed your thread so I can't reply. Seems you have a number of issues at hand. In terms of diskspace run

df -h

This will give you a list of the filesystem devices and their mount points, their size and useage vs. free space. It sounds as if some of those volumes have filled, quite possibly because logs have become full. You may need to take a look at /var and /tmp, and do some manual pruning of files there. In particular look in /var/log

Furthermore, since this machine acts as a proxy using ipmasquerade, it probably logs all the connections. Over time this log has probably become enormous and can be safely removed. Unfortunately, i don't know what the name of the log would be or where it would be located. You would need to find the configuration file for the firewall and locate it from there.

Also, the machine may just have become squirrely, and due for a reboot. From root issue:

shutdown -r now

to reboot it.
 
Old 07-18-2001, 03:22 PM   #7
seeker4
LQ Newbie
 
Registered: Jul 2001
Distribution: rh62
Posts: 6

Original Poster
Rep: Reputation: 0
still...

deleted several hundred k from /var/logs and rebooted.
Upon logging back on I df -h again and got the following
Filesystem Size Used Avail Use% Mounted on
/dev/hda6 416 415 0 100 /
/dev/hdb1 500 456 25 95 /home
/dev/hda1 25 3.1 20 13 /boot

have been looking through some docs and tried linuxconf... trouble is that everything is already setup and I'm fairly lost as to what the actual problem is... the symptoms are that my DHCP is down and my DSL and Fetchmail not working either...
On startup it gives the message that no mailserver specified for the Fetchmail app... I found how to display the IP Routes and it would seem that I have a missing route... 10.28.128.135... problem is that when I try to

route -v add 10.28.128.135 255.255.255.128 eth1

produces a bunch of route syntax including
inet_route [-vF] add {-host|-net} target [/prefix] [metric M] [network N] [mss Mss] [window W] [irtt I] [Mod] [dyn] [reinstate] [[dev] if]

and

inet_route [-vF] add {-host|-net} target [/prefix] [metric M]

(only used the Add examples)

I can't get

man route

to work because it comes up saying

gzip: stdout: no space left on device

So... is there anyone out there who knows how I can get my route rebuilt and or could tell me what all the variables mean so I can figure out the proper values please?

All this started on Saturday and I have no internal network and only this dial-up internet access to use... I would just go buy a book and RTFM but I live in rural Nebraska...

Still hopeful to resolve
<> <Michael
 
Old 07-18-2001, 03:39 PM   #8
ugge
Senior Member
 
Registered: Dec 2000
Location: Gothenburg, SWEDEN
Distribution: OpenSUSE 10.3
Posts: 1,028

Rep: Reputation: 45
As can be seen from df output, your / is full, 100%.
The problem is to find where in / the space get's consumed.
Run du -h -n 1 /, not exactly sure of the -n option beeing -n.
This should give you a list with directories found in your / and their corresponding size (a summary of all sub dirs).
Post this result and we will try help you find wich one that might abnormally large.

As your harddisk seems a bit small it would be interresting to know what is actually on this machine.
 
Old 07-19-2001, 02:41 PM   #9
seeker4
LQ Newbie
 
Registered: Jul 2001
Distribution: rh62
Posts: 6

Original Poster
Rep: Reputation: 0
Cool Back in the saddle


Happiness

Thanks for the help, I went in and cleared the messages file from /var/log and also the bootlog, this allowed man route to work and within a few moments I was able to determine that I was not using the -net parameter (sheesh). End result being that my network came back, though I did have a dishwashing Linux guru help with getting IPChains and Masquarade to settle down.

Thank you Dishwashing Linux Guru from North Platte, Nebraska!

I vow to buy "Running Linux" and read it cover to cover... fool me once shame on you, fool me twice...

Blessings
<> <Michael
 
  


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
Fedora C2 - Wireless network drivers? Broadcom 802.11g Network Adapter FragTek Linux - Wireless Networking 7 01-22-2010 12:10 AM
Slackware 10 network configuration. Problem with 8139 network card drivers ! Padmakiran Linux - Networking 8 03-27-2007 06:48 AM
3c905C network card in docking station. Cannot activate network device eth0. pathelms Linux - Networking 4 04-12-2006 02:55 PM
Xandros mount point for Windows Network & NFS Network jaagut Linux - Distributions 1 09-14-2005 07:21 AM
Newbie wanna setup up a linux network on existing home network... marvc Linux - Networking 3 03-19-2003 09:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:09 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