LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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-09-2003, 04:05 AM   #16
ann_tulip18
Member
 
Registered: Jul 2003
Posts: 31

Original Poster
Rep: Reputation: 15

No KDE program installed, only GNOME. It is now deleted.

I have one more question in my mind, EXACTLY Where does the mail server save logs?

Is there any command to delete some log files, automatically?

THAnKS
 
Old 07-09-2003, 04:31 AM   #17
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
There are things like Log Rotators that assist in log removal/archiving. You could use those, then periodically run a cron to clean out the old logs if you didn't wanna keep them around.

And mail servers save logs in various locations, my Postfix system on Gentoo saves them:
/var/log/maillog
And in:
/var/log/everything
But I'm running metalog, so you might wanna check with your system logger to see where it stores it's logs. Most likely it's going to be a subdirectory of /var/log though

Cool
 
Old 07-09-2003, 07:44 PM   #18
ann_tulip18
Member
 
Registered: Jul 2003
Posts: 31

Original Poster
Rep: Reputation: 15
Meaning... I'll just invoke the logrotate command to the console and then it will display all the log files?
Yesterday I have deleted all the files on /var/log. Today the same files appear again.

Ps. Our mail serer is not sending mail, but it can receive mail (though its delayed).

THANKS?
 
Old 07-09-2003, 08:05 PM   #19
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Log files are created if they do not exist. It's normal. You can setup a cron job to remove these files on a weekly/daily/hourly basis if you'd like.

As for the sending/receiving bit..
Were you able to send before you tapped out the partition? Did you manually remove any files when trying to free up space? What files were removed when you removed X? If you've still got your mail server files on your box, nothing should have changed? You might need to restart the server though, follow the documentation for it to restart it.



Cool
 
Old 07-09-2003, 08:21 PM   #20
ann_tulip18
Member
 
Registered: Jul 2003
Posts: 31

Original Poster
Rep: Reputation: 15
I haven't tried to partition the HD.. Yes.. we have removed a file manually (/var ... but we have copy it back, thinking it has no effect on the HD space). I think its the main reason why our server cant send mails.. I restarted postfix here is the error message

[COLOR=darkblue]
postfix/postfix-script: warning : not owned by postfix: /var/spool/postfix/incoming/E/4
postfix/postfix-script: warning : not owned by postfix: /var/spool/postfix/public
postfix/postfix-script: warning : not owned by postfix: /var/spool/postfix/saved
postfix/postfix-script: warning : not owned by group postdrop: /var/spool/postfix/public
postsuper: fatal: scan_dir_push: open directory defer: Permission Denied
postfix/postfix-script: fatal: Postfix integrity check failed!




What should we do then??

THANKS

Last edited by ann_tulip18; 07-09-2003 at 08:26 PM.
 
Old 07-09-2003, 08:24 PM   #21
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Hmm... Let's try to setup the ownership then:
chown -R postfix.postdrop /var/spool/postfix (this needs to be run by root)
Now try restarting postfix again.

Cool

**I've looked up my own permissions, try this instead:
chown root.root /var/spool/postfix
chown postfix.root /var/spool/postfix/*
chown postfix.maildrop /var/spool/postfix/maildrop /var/spool/postfix/public

While I look up permissions, try those instead.

Cool

Last edited by MasterC; 07-09-2003 at 08:28 PM.
 
Old 07-09-2003, 08:35 PM   #22
ann_tulip18
Member
 
Registered: Jul 2003
Posts: 31

Original Poster
Rep: Reputation: 15
I tried it... and then restart the postfix (postfix start) theres a message again:

postfix/postfix-script: warning : not owned by root: /var/spool/postfix/lib/libdb-3.3.so
postfix/postfix-script: warning : not owned by root : /var/spool/postfix/usr
postfix/postfix-script: warning : not owned by root : /var/spool/postfix/usr/lib
postsuper: Renamed to match inode nunmer: 230 messages
postsuper: warning: QUEUE FILE NAMES WERE CHANGED TO MATCH INODE NUMBERS
postfix/postfix-script: starting the Postfix mail system

What are these warning messages?
 
Old 07-09-2003, 09:08 PM   #23
ann_tulip18
Member
 
Registered: Jul 2003
Posts: 31

Original Poster
Rep: Reputation: 15
I tried to send mail on my own email add using one of the computers here (outlook) however I still dont receive the email.

What will i do next?

Sorry if I have so may questions.
 
Old 07-09-2003, 09:08 PM   #24
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Well, we can keep doing this if you'd like, eventually we should get all the permissions back. Another option is for you to use the upgrade option in the postfix source, this will go through and install and set correct permissions on all the new packages when installing postfix.

Cool
 
Old 07-09-2003, 09:17 PM   #25
ann_tulip18
Member
 
Registered: Jul 2003
Posts: 31

Original Poster
Rep: Reputation: 15
So you mean the best option is to reinstall the postfix?? I will try to set the permission like what you have taught to me.. I hope it will work!!

THANKS!
 
Old 07-09-2003, 09:19 PM   #26
mfread
LQ Newbie
 
Registered: Jul 2003
Posts: 5

Rep: Reputation: 0
Well you could spend all this time, energy and heachache trying to fix your space issue by finding the space hog and figuring out how to uninstall it. Or you just ghost to a larger drive... ghost will resize the partitions to scale to the new drive automatically and you have the chance to adjust it at that point.

Or possibly a better fix for you might be to copy out all the mail spools, then google clarkconnect, download the 1.3 ISO, this is a redhat based distro that uses utilities like apt by default, is specifically designed to run as a mailserver/gateway and doesn't install a whole lot more than is needed to perform these functions. It also uses postfix by default rather than the historically bug ridden sendmail. You can perform the simpliest of administration on the local lan by point a browser at: https://mailserverip:81.

It has the advantage of being the only cookie cutter mail/web/ftp/gateway application distro I know of that doesn't overwrite manual changes or require you edit templates. It uses the same directory structure any redhat system uses.


It will take up to an hour to install if you've never done it before and have 50 users or so. You might lose the mail that is sitting on your server right now if you don't know how to move the mail spools back in place but that might not being to compare wit the mail you lose being down.
 
Old 07-09-2003, 09:50 PM   #27
ann_tulip18
Member
 
Registered: Jul 2003
Posts: 31

Original Poster
Rep: Reputation: 15
I have set all the permissions. Thanks to you! About space hog, what is it?? I guess I'll go with that option, uninstall what is eating up my space.
 
Old 07-09-2003, 10:57 PM   #28
ann_tulip18
Member
 
Registered: Jul 2003
Posts: 31

Original Poster
Rep: Reputation: 15
I am trying to uninstall nautilus ( i will not use it) But theres un error message again:

error : removing these package s would break dependensies:
nautilus = 1.0.6 is needed by nautilus-mozilla-1.0.6-15
libnautilus.so.0 is needed by nautilus-mozilla-1.0.6-15

So i tried to uninstall nautilus-mozilla-1.0.6-15 but it displayed again an error message

error: removing these packages would break dependencies:
nautilus-mozilla is needed by nautilus-1.0.6.15

How will i remove these applications????
 
Old 07-09-2003, 11:29 PM   #29
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Remove them both at the same time, or --force it.

Cool
 
Old 07-10-2003, 01:28 AM   #30
ann_tulip18
Member
 
Registered: Jul 2003
Posts: 31

Original Poster
Rep: Reputation: 15
I have removed all the applications that I think it is not used by the server, however it seems not to work out.

What else can I do?
 
  


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
KDE login problems. Running out of disk space maloncu Linux - Newbie 4 09-08-2005 05:12 PM
Running out of disk space rpersaud Linux - Newbie 8 05-18-2005 07:05 PM
Running out of disk space... clean up possible? donv2 Linux - Newbie 3 04-19-2005 02:48 AM
3Gb of disk space lost! Disk space problem or mother board conflicts with HDD Mistreated Linux - Hardware 4 12-06-2004 03:58 PM
Disk space wastage 73 GB Hard disk rajgopalhg Linux - Hardware 2 10-18-2002 03:41 PM

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

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