mailx/sendmail configuration/set up problem


 
Thread Tools Search this Thread
Operating Systems Solaris mailx/sendmail configuration/set up problem
# 8  
Old 02-17-2011
Code:
df -k

Look for a filesystem at 100%.
It looks like may be /var full on you. Clean up time.
# 9  
Old 02-17-2011
here is what if got after "df -k"

What should be my next step? Which one of the FSs should I clean up?

Code:
Filesystem            kbytes    used   avail capacity  Mounted on
/dev/dsk/c0d0s0      4205630 4146189   17385   100%    /
/dev/dsk/c0d0p0:boot   11984    1593   10391    14%    /boot
/proc                      0       0       0     0%    /proc
mnttab                     0       0       0     0%    /etc/mnttab
fd                         0       0       0     0%    /dev/fd
swap                 2947316      24 2947292     1%    /var/run
swap                 2947292       0 2947292     0%    /tmp
/dev/dsk/c0d0s7      111909478 91741067 19049317    83%    /export/home

# 10  
Old 02-17-2011
Well, your / directory is at 100%, and that's not very good.
/dev/dsk/c0d0s0 4205630 4146189 17385 100% /

I would go to the /var filesystem and start looking what you can remove. Look for large log files in /var/log that have been rolled up or compressed. You have /var/run on it's own partition, but not the entire /var fs, which kinda sucks for this very reason.

You have to be careful, but you have to find what to delete from /var. Perhaps you have a lot of old mail, or logs. I would definitely start in /var/log. Try this:
Code:
find /var/log -size +10000 -exec ls -lh {} \;

That should at least show you stuff that is around 1MB+.
# 11  
Old 02-17-2011
would a file system being full (100%) effect mailx/sendmail??

---------- Post updated at 05:13 PM ---------- Previous update was at 05:09 PM ----------

The biggest file I have in my /var/log directory is 958KB
Next best place to delete things?
# 12  
Old 02-17-2011
Yes. Sendmail write incoming and pending message into /var/spool/*. If can't write there, as evident by your sendmail errors in /var/adm/messages.

---------- Post updated at 04:16 PM ---------- Previous update was at 04:14 PM ----------

Code:
find /var -size +10000 -exec ls -lh {} \;

This will process everything in /var. BE CAREFUL!
# 13  
Old 02-17-2011
Below is the listing of Items in /var
What do you suggest I take out?
I can always transfer them into my desktop for "back up" purposes

Code:
-rw-r--r--   1 root     other       8.5M Nov 30  2007 /var/sadm/install/contents
-rw-r--r--   1 root     other       8.7M Nov 30  2007 /var/sadm/install/t.contents
-rw-r--r--   1 root     root         12M Nov  9  2007 /var/sadm/wbem/logr/store
-rw-rw----   1 cvsroot  mail        1.2G Feb 17 02:10 /var/mail/cvsroot
-rw-r--r--   1 root     root        101M Mar 18  2008 /var/crash/tmusid01/vmcore.0
-rw-r--r--   1 root     root         89M Mar 18  2008 /var/crash/tmusid01/vmcore.1
-rw-r--r--   1 root     root        100M Mar 18  2008 /var/crash/tmusid01/vmcore.2

# 14  
Old 02-17-2011
For starters you can remove all files from /var/crash Smilie
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Solaris mailx Configuration

Hi, I need to send an output from Solaris to my email address. For example df -h to be sent out from the Solaris. I was wondering how to configure the mailx and smtp configuration to be setup. Has anyone setup before? Thanks. :confused::confused::confused: (0 Replies)
Discussion started by: freshmeat
0 Replies

2. Solaris

Clarifying sendmail configuration - sendmail-client offline

Hi all, I have read about sendmail running as 2 separate process. 1 as a MSP, and the other as the real daemon or MTA. In my current configuration, the sendmail-client is disabled. Both submit.cf and sendmail.cf are left as default untouch I do not specified any mailhost... (3 Replies)
Discussion started by: javanoob
3 Replies

3. UNIX for Dummies Questions & Answers

One set of executables but multiple set of configuration

i don't know where to put this question hence it is here. Presently, i have X unix machines which each of them running a set of executables with various unique configurations. i would like to have run multiple set of machines the same set of executeables but each running different... (0 Replies)
Discussion started by: lchunleo
0 Replies

4. UNIX for Dummies Questions & Answers

how to sendmail using mailx in linux

how to sendmail to other computer in the same computer lab using mailx? (8 Replies)
Discussion started by: help me
8 Replies

5. Solaris

Configure mailx or sendmail

hi, I would like to configure mailx or sendmail to send out some mails to some users. I tried searching online for the configuration but it was kinda confusing. I thought that posting here might get someone to work with me step by step I tried sending out mail but i did not receive in my... (4 Replies)
Discussion started by: cghcgh
4 Replies

6. UNIX for Dummies Questions & Answers

How to set HIGH importance to a mail sent through mailx or sendmail command

I have written a script for sending automated email, reporting the running status of a cron scheduled work. Now, the issue is, my Project Manager wants, the mail should be received with HIGH IMPORTANCE. How can I do that, kindly anybody explain. Thank you so much. (3 Replies)
Discussion started by: mitte_dino
3 Replies

7. UNIX for Dummies Questions & Answers

Sendmail? Mailx? SMTP?

We require e-mails to come from one of our Solaris 10 boxes ASAP and have found that when using such things as Sendmail and Mailx all the mail goes to a Q that only fires every 15 minutes. We have tried everything we could think of to adjust this to force the Q to go every 1 minute but so far no... (3 Replies)
Discussion started by: LRoberts
3 Replies

8. UNIX for Dummies Questions & Answers

Postfix Problem under mailx/sendmail command

Update: Problem solved with this command: /opt/soc/bin/postfix-setup ================================ Hi, I am trying the following mailx command: sadm@edwardwi-z:/etc$ mailx ewijaya@gmail.com Subject: test foo . . EOT But it gives the following error ... (0 Replies)
Discussion started by: monkfan
0 Replies

9. Solaris

mailx configuration help

Hi, I am just after installing solaris 9 on a test box, an ultra 10.. I want to configure mail.. Is mailx the standard mail program on solaris 9? If so - how do I check the current config settings for this and alter them if necessary? Tks (3 Replies)
Discussion started by: frustrated1
3 Replies

10. UNIX for Dummies Questions & Answers

mailx configuration

I would like to configure mailx on Solaris 8 in order to have the sender address shown at the receiver side in the form: 'user@host.domain' The sender address is currently displayed as 'user@host' Thanks in advance (2 Replies)
Discussion started by: ciccio
2 Replies
Login or Register to Ask a Question