Operating System - HP-UX
1836585 Members
2496 Online
110102 Solutions
New Discussion

Re: unknow prompt by system.

 
SOLVED
Go to solution
Henry Chua
Super Advisor

unknow prompt by system.

My system sudden starts to periodically prompt
"OCT 18 11:08:24 hostname last message repeated 7 times" & "OCT 18 11:08:39 ( have 0, SMTP-DAEMON needs 101 in /var/spool/mqueue.)

I can't login as system keep prompted that there is something wrong with VUE..

May I know wat could have caused this and how should I resolve it.

Thank you all!!
12 REPLIES 12
Govinda
Advisor

Re: unknow prompt by system.

please check the "/" and "/var" i belive these file systems might be full.

try to clean up these filesystems.

telnet the system and cleanup the files.

regards,
Govind,
Indira Aramandla
Honored Contributor

Re: unknow prompt by system.

Hi Henry,

This is due to lask of enough space in /var.

At the console do bdf and see the free available space.Then try to delete the files that you thing are not required ot move them some where else.




Never give up, Keep Trying
Shaikh Imran
Honored Contributor
Henry Chua
Super Advisor

Re: unknow prompt by system.

Hi Guys,

I have tried to clear the /var/adm/syslog/mail.log and also clear files in the /tmp directory, however when I ran df -k the free space allocated to /var is still 0.. is there any reason why is this so? anyway is there anyway to find under /var which files that is excessively large?

Thank you!!
RAC_1
Honored Contributor

Re: unknow prompt by system.

There may be files that are in use. If you delete/move/null out those files, the space will not be reclaimed. User the fuser command (or lsof if you have it installed) to see if a paticular file is in use or not.

fuser -u "file"

If the file is not in use, and you delete/move/null out, the space will be reclaimed.

Anil
There is no substitute to HARDWORK
Sยภเl Kย๓คг
Respected Contributor

Re: unknow prompt by system.

Hentry
Can u try check the /var filesystem size.Freeup if it is full.
rgards
SK
Your imagination is the preview of your life's coming attractions
Govinda
Advisor

Re: unknow prompt by system.

hi,

can u tell us whts the fstype, and what size of the /var. see if u can remove files.

#cd /var
#du -sk * ---> paste this output..

thanks & regards,
Govind.

Rick Garland
Honored Contributor

Re: unknow prompt by system.

The /var filesystem is full and it appears to be related to sendmail. The mqueue directory is where mail is stored until it is released from the system to go to the recipient. When sendmail is not working the mqueue will fill up until you manually intervene or sendmail starts working.

If you are goinh to remove these files use >/dev/null instead of the 'rm' command.

Henry Chua
Super Advisor

Re: unknow prompt by system.

Hi Guys, Is there anyway I can check what is the files in the LV that is above certain file size (e.g. using "find").


THank YOu!
Muthukumar_5
Honored Contributor

Re: unknow prompt by system.

You can file system lv informations and mount point using bdf / df command there.


We can collect file size on the particular file system with,

du -x

du -xk /home

will generate file size in kill bytes there. You can do grep to get that file or sort with file size of first filed there.

du -xk /tmp | sort -nbrk 1


it will generate file size with most - least in kill bytes.

HTH.
Easy to suggest when don't know about the problem!
Henry Chua
Super Advisor

Re: unknow prompt by system.

Hi Guys,

I did a "du -sk" under "/var" and it gives "203702". May I know what this means?

Thank u.

Sorrel G. Jakins
Valued Contributor
Solution

Re: unknow prompt by system.

You have 203702KB (198MB) used under /var.

cd /var
du -sk *|sort -n

will tell you the biggest file or directory in /var.

fuser -c /var

will tell you who has open files on /var (the -c option lets you know about all subdirectories as well).

When this is all over, look at the lsof utility, and make it part of your standard toolkit on all servers.