Operating System - HP-UX
1835103 Members
1731 Online
110074 Solutions
New Discussion

Re: Cannot open hash database /etc/mail/aliases.db: Not enough

 
Rambo_1
Regular Advisor

Cannot open hash database /etc/mail/aliases.db: Not enough

Hi

I have a machine RP2430, The problem is that there are no responding to all of commands inputed ,the commands will hang no matter what kind of command inputed interval a few days. I need to login into GSP and reboot the machins to fix the problem. I got some messages in mail.log as below ,Does anyone tell me where is the problem in my OS ?

The mail.log
Jun 28 03:47:01 hzqt4 sendmail[13009]: unable to qualify my own domain name (hzqt4) -- using short name
Jun 28 03:47:01 hzqt4 sendmail[13009]: be sure to set domain name in Dj macro in sendmail.cf
Jun 28 03:47:01 hzqt4 sendmail[13009]: DAA13009: from=root, size=606, class=0, pri=30606, nrcpts=1, msgid=<200706271947.DAA13009@hzqt4>, relay=root@localhost
Jun 28 03:47:01 hzqt4 sendmail[13011]: DAA13009: to=root, ctladdr=root (0/3), delay=00:00:00, xdelay=00:00:00, mailer=local, stat=Sent
Jun 28 04:42:10 hzqt4 sendmail[1234]: runqueue: Skipping queue run -- fork() failed: Not enough space
Jun 28 04:47:00 hzqt4 sendmail[18479]: unable to qualify my own domain name (hzqt4) -- using short name
Jun 28 04:47:00 hzqt4 sendmail[18479]: be sure to set domain name in Dj macro in sendmail.cf
Jun 28 04:47:00 hzqt4 sendmail[18479]: NOQUEUE: SYSERR(root): Cannot open hash database /etc/mail/aliases.db: Not enough space
Jun 28 04:47:00 hzqt4 sendmail[18479]: NOQUEUE: SYSERR(root): dbm map "Alias0": missing map file /etc/mail/aliases
Jun 28 04:47:00 hzqt4 sendmail[18479]: EAA18479: from=root, size=606, class=0, pri=30606, nrcpts=1, msgid=<200706272047.EAA18479@hzqt4>, relay=root@localhost
Jun 28 05:13:20 hzqt4 sendmail[1234]: runqueue: Skipping queue run -- fork() failed: Not enough space
Jun 28 05:44:30 hzqt4 sendmail[1234]: runqueue: Skipping queue run -- fork() failed: Not enough space
Jun 28 06:15:40 hzqt4 sendmail[1234]: runqueue: Skipping queue run -- fork() failed: Not enough space
Jun 28 06:46:50 hzqt4 sendmail[1234]: runqueue: Skipping queue run -- fork() failed: Not enough space
Jun 28 07:18:00 hzqt4 sendmail[1234]: runqueue: Skipping queue run -- fork() failed: Not enough space

Thanks
Rambo
5 REPLIES 5
Dennis Handly
Acclaimed Contributor

Re: Cannot open hash database /etc/mail/aliases.db: Not enough

You need more virtual memory (swap space). If you haven't allocated enough device swap, you can use SAM to allocate file system swap until you can add device swap.
Nagashankarp
Frequent Advisor

Re: Cannot open hash database /etc/mail/aliases.db: Not enough

see this other thread
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=956021

also the last of the error msg indicate, there are quiet of process and hence it can't fork anymore..
but i guess once you fix the first issue, the second should be gone.
Rambo_1
Regular Advisor

Re: Cannot open hash database /etc/mail/aliases.db: Not enough

What methods to find out the real causes about the swap usage reached 99%.
Dennis Handly
Acclaimed Contributor

Re: Cannot open hash database /etc/mail/aliases.db: Not enough

>What methods to find out the real causes about the swap usage reached 99%.

You could say the system is under configured or under provisioned.
Or someone went crazy with bad programming and in a recursive fork loop.

Take a look at "ps -ef".
Dennis Handly
Acclaimed Contributor

Re: Cannot open hash database /etc/mail/aliases.db: Not enough

A hierarchical ps output:
$ UNIX95= ps -Hef