Constant disturbing messages????


 
Thread Tools Search this Thread
Operating Systems Solaris Constant disturbing messages????
# 1  
Old 09-04-2011
Constant disturbing messages????

Hi friends,
I am new to Solaris, I have just managed to install Solaris 10 under VirtualBox. As I use the system, I constantly get some very disturbing error messages on my screen, I hope you will help me remove them. Messages are

Code:
 
# syslogd: line 24: WARNING: loghost could not be resolved
 
Sep 4 15:15:42 unknown sendmail[563]: My unqualified host name (unknown) unknown; sleeping for retry
 
# Sep 4 15:15:43 unknown sendmail[563]: My unqualified host name (unknown) -- using short name
 
Sep 4 15:15:43 unkown senmail[563] [ID 702911 mail.alert] unable to qualify my own domain name (unknown) -- using short name

Sometimes, I get the message that the filesystem is full, while I have lots of space, more than 30GB, what could be wrong with that?

Sep 4 15:35:37 unknown ufs: NOTICE: alloc : /: filesystem full

Here is my disk configuration, which was automatically done by the installer, since I have no experience with unix partitioning.



Looking forward to your wonderful replies!
Thanks in advance!

Last edited by gabam; 09-04-2011 at 01:53 PM..
# 2  
Old 09-04-2011
You should alias localhost to loghost to avoid the first message.

The other ones are a side effect of running a dhcp server that doesn't provide a hostname in which case the latter defaults to "unknown".

File system full is unrelated and can't be answered without any clue about your context.
# 3  
Old 09-04-2011
[QUOTE=File system full is unrelated and can't be answered without any clue about your context.[/QUOTE]

This what the df -h command says, hope you can help me with it now!

Code:
 
Filesystem             size   used  avail capacity  Mounted on
/dev/dsk/c0t0d0s0      657M   349M   249M    59%    /
/devices                 0K     0K     0K     0%    /devices
ctfs                     0K     0K     0K     0%    /system/contract
proc                     0K     0K     0K     0%    /proc
mnttab                   0K     0K     0K     0%    /etc/mnttab
swap                   655M   948K   654M     1%    /etc/svc/volatile
objfs                    0K     0K     0K     0%    /system/object
sharefs                  0K     0K     0K     0%    /etc/dfs/sharetab
/dev/dsk/c0t0d0s6      5.1G   3.5G   1.5G    71%    /usr
fd                       0K     0K     0K     0%    /dev/fd
/dev/dsk/c0t0d0s3      177M    87M    72M    55%    /var
swap                   654M    40K   654M     1%    /tmp
swap                   654M    28K   654M     1%    /var/run
/dev/dsk/c0t0d0s5       29M   1.1M    25M     5%    /opt
/dev/dsk/c0t0d0s7       43G    43M    42G     1%    /export/home
/dev/dsk/c0t0d0s1      884M   577M   254M    70%    /usr/openwin
/vol/dev/dsk/c0t1d0/vboxadditions_4.1.0_73009    43M    43M     0K   100%    /cdrom/vboxadditions_4.1.0_73009

And how can I set alias, could you please guide me on it!
# 4  
Old 09-04-2011
Most of space goes to home directory by default so you must reinstall Solaris because there is no way to allocate more space to the / device, you could try with gparted and UFS support, never tried. If you gonna to reinstall Solaris use ZFS because UFS is no longer supported by the Oracle Corporation.

For the sendmail, you must configure sendmail server or you can disable it using SMF.

Code:
svcadm disable sendmail

# 5  
Old 09-04-2011
About the alias, just add loghost to the localhost line:
Code:
127.0.0.1 localhost loghost

---------- Post updated at 22:50 ---------- Previous update was at 22:36 ----------

Quote:
Originally Posted by solaris_user
Most of space goes to home directory by default so you must reinstall Solaris because there is no way to allocate more space to the / device
There is certainly a way, but it's not at all simple. gparted isn't required.
Quote:
If you gonna to reinstall Solaris use ZFS because UFS is no longer supported by the Oracle Corporation.
I agree about the ZFS suggestion. ZFS would have avoided the suboptimal partition sizing. However, your UFS support comment is misleading. UFS will remain supported with Solaris 10 for the root file system and others. Solaris 11 Express indeed requires root ZFS but hopefully still supports UFS for data file systems.
Quote:
For the sendmail, you must configure sendmail server or you can disable it using SMF.
Code:
svcadm disable sendmail

or just keep sendmail enabled. The default configuration allows local mail delivery which can still be useful.
# 6  
Old 09-05-2011
check the crontab, usually one forgets to put:
Code:
   > /dev/null 2>&1

at the end of command, so it tries to sendmail the result of command instead ignoring it. (I think)
# 7  
Old 09-06-2011
As mentioned by others earlier, use ZFS. Also, your file systems are far too small. That's probably why you're running out of disk space on /. Even in a virtual machine set aside at least 20 gigs for root and for /var. That way later on you're not running into problems with disk space.
Login or Register to Ask a Question

Previous Thread | Next Thread

7 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Split large file into smaller files without disturbing the entry chunks

Dears, Need you help with the below file manipulation. I want to split the file into 8 smaller files but without cutting/disturbing the entries (meaning every small file should start with a entry and end with an empty line). It will be helpful if you can provide a one liner command for this... (12 Replies)
Discussion started by: Kamesh G
12 Replies

2. Shell Programming and Scripting

Inserting a field without disturbing field separator on other fields

Hi All, I have the input as below: cat input 032016002 2.891 97.109 16.605 27.172 24.017 32.207 0.233 0.021 39.810 0.077 0.026 19.644 13.882 0.131 11.646 0.102 11.449 76.265 23.735 16.991 83.009 8.840 91.160 0.020 99.980 52.102 47.898 44.004 55.996 39.963 18.625 0.121 1.126 40.189... (15 Replies)
Discussion started by: am24
15 Replies

3. Programming

String Constant C

I wonder string constant exists permanently or temporary. For example, printf("hello, world"); the function printf access to it is through a pointer. Does it mean storage is allocated for the string constant to exist permanently in memory? :confused: (4 Replies)
Discussion started by: kris26
4 Replies

4. Shell Programming and Scripting

Weird ^M characters is disturbing the paste command

Dear all, I have the files: xaa xab xac and I try to paste them using $paste -d, xaa xab xac I see: output 3e-130 ,6e-78 ,5e-74 6e-124 ,0,007 ,0,026 2e-119 When I type: $ paste -d, xaa xab xac |less I see: output 3e-130^M,6e-78^M,5e-74 6e-124^M,0,007^M,0,026 (2 Replies)
Discussion started by: valente
2 Replies

5. Shell Programming and Scripting

Constant mirroring

I'm not sure how to best explain what I'd like to do, so let me give an example. I used to work in a department that deals with internet security. This department had an "internal" website (only people in the building can get on it) and an "external" website (anyone in the world can get on it --... (1 Reply)
Discussion started by: sstevens
1 Replies

6. Programming

File descriptor constant

I have a requirement to close all the file descriptors from 3 to 1024 for a particular application. Right now, this is how I do it .. for ( int i = 3 ; i <= 1024; ++i ) close(i); The change I am looking at is, I want to do away with the number 1024 and replace it with a constant which... (4 Replies)
Discussion started by: vino
4 Replies

7. Programming

disturbing problem with PRINTF() !!

hello everybody, here is my problem: ________________________________________ #include <stdio.h> int main() { int i=10; printf("value is %i",i); return 0; } _________________________________________ when i compile and execute, nothing appears on screen!! but if i replace the printf... (2 Replies)
Discussion started by: brain_processin
2 Replies
Login or Register to Ask a Question