Operating System - HP-UX
1823147 Members
3674 Online
109647 Solutions
New Discussion

Re: reamail -n causes a memory fault

 
Ryan Kostohryz
Occasional Contributor

reamail -n causes a memory fault

The box I work on was recently upgraded from HP-UX B.10.20 to HP-UX B.11.00. A prgram that runs on this box makes a system call to '/usr/bin/readmail -n -f /va/mail/mailqueue nn' to get the body of message (no header info). This command now seems to produce a memory fault with the '-n' option. Anyone know if there is a patch for this or another way to extract a message with no header info?
Thanks!
1 REPLY 1
Steffi Jones_1
Esteemed Contributor

Re: reamail -n causes a memory fault

Hi Ryan,

that command works fine for me.
What does the core file say?

Try to run

file core

and see what it is complaining about.
Hope that helps to narrow it a bit,

Steffi Jones