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

 
# 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!

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.

[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!

 
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!

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.

svcadm disable sendmail

About the alias, just add loghost to the localhost line:

127.0.0.1 localhost loghost

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

There is certainly a way, but it's not at all simple. gparted isn't required.

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.

or just keep sendmail enabled. The default configuration allows local mail delivery which can still be useful.

check the crontab, usually one forgets to put:

   > /dev/null 2>&1   

at the end of command, so it tries to sendmail the result of command instead ignoring it. (I think)

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.