Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have a server running RH8 Pro and all my network services like Sendmail, DNS, DHCP, Samba, etc. All the other machines on the network are Winblows based. All of the other computers are either runnind MS Outlook or Outlook Express as an e-mail client. Last night, I returned from a trip and had about 150 e-mail messages when I checked on my computer, which uses Outlook 2002. Today, I checked my e-mail and only had one message, which is very odd. I didn't get any more e-mail for several hours, so I decided to try to send a test message. In Outlook, I got the following error:
Task 'goliath - Sending' reported error (0x800CCC78) : 'Unable to send the message. Please verify the e-mail address in your account properties. The server responded: 452 4.4.5 Insufficient disk space; try again later'
I checked a machine running Outlook Express and got this:
The message could not be sent because the server rejected the sender's e-mail address. The sender's e-mail address was 'nancy@bartlett-family.net'. Subject 'test', Account: 'goliath', Server: 'goliath', Protocol: SMTP, Server Response: '452 4.4.5 Insufficient disk space; try again later', Port: 25, Secure(SSL): No, Server Error: 452, Error Number: 0x800CCC78
Obviously, the hostname of my server is "goliath", The e-mail account names are correct, and I don't have any idea how the disk could be full on the server. It has a 120GB HDD, with only about 30GB taken up. All of my other network services are running fine. I have done some searching on the web for help with this problem but am getting nowhere. Can anyone help?! I'd appreciate it greatly. Thank you.
Chris
PS. I am still somewhat of a , especially with sendmail, so feel free to talk to me like I'm a five year old, it may help me understand!
It does sound like you are out of space. By default RedHat creates a VERY small var partition - if that is where your mail is stored / queued then you may have a problem. Run:
df -h
Ok, you're obviously right then, I am out of space. My mail all goes to /var/spool/mail and then the text files chris, nancy, john, etc. I looked in the directory and checked all thos files and they are all empty. How do I find out what is eating up all my space?! Argh... Also, is it possible for me to "take" 20GB of space out of /dev/hda3 and use it for /dev/hda1? Thanks again for all your help, you the man.
To see what is using the space you will need to check all directories on that partition (var, etc, boot, usr, root etc).
1) cd var
2) du -hS | less
This prints the sizes in human readable format "h" and sorts by size "S" then puts the output in "less" for easier reading
I'm not sure how much you installed but 4.5 GB is not a lot for a full redhat install.
I can think of 4 options:
1) Use parted to resize your partitions
2) If you have free space on the HDD then create a new partition for /var or /etc
3) If it is storing mail in one of the directories then change the config to use another
4) Another option for the above - link the storage dir to a dir on /home
Ok, I think the easiest thing for me to do here is this:
Uninstall a whole bunch of programs (I blindly did a FULL install of RH 8.0) and now I realize I don't use half of it. How can I get a FULL list of everything installed on my machine, and how do I remove certain progs?
Resize the /dev/hda1 partition to 20GB total, from the 4.5GB it is right noe. I looked at the man page for "parted", but am a little confused. What would the command looke like to take about 15GB from /dev/hda3 and add it to /dev/hda1? Would this damage anything that is running? Should I shut down all me network services and so on first? Will this new partition remain intact if I were to reboot my machine, in other words, would the change be permanent? Will I lose any data?
Using parted "could" result in data loss although it is fairly reliable. (I have only done a test with it as I have never actually needed to use it) As for stopping network services - you'll need to do more than that. Down the system and boot into rescue mode ith cd1 (type "linux rescue" at the boot prompt). Personnaly I would chop space of home and use it to add /var and /etc partitions rather than increasing the root partition.
Finanlly - yes the change will be permenant. Obviously you could use parted to put it back but this will not really help you to recover any data that you may lose - make a good backup first (or cross you fingers - what ever works for you ).
Ok, "du" is showing me that ./log in /var is 140MB! Is this unusual? Also, the /var/log/maillog file is 108 itself!! I went to /var/mail and the "root" file in there was also huge. I deleted that, but I don't want to delete "/var/log/maillog" unless you tell me it's safe to do so. Is it? Also, After deleting the "root" file in /var/mail, I restarted sendmail. Well, on "Shutting down sm-client", it failed that. Everything else with the restart went OK. Does this mean anything I should worry about? Thanks a million!
Been just running and no housecleaning, eh? Very dusty /var, I see.
Cron runs a job and the files are "rotated" and you may see lots of messages.1, maillog.27, etc. You were suppose to review these and delete if the system is running OK.
Schedule a cron job for yourself to review the logs and delete unneeded ones. You may have a ton of servers and services running as well if you did a blind "install everything". That means tons of log files generated. Uninstall things you aren't using.
The "Shutting down sm-client" failure probably meant that it wasn't running for some reason. If what you want to run starts, then not to worry.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.