Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Mailx error

Status
Not open for further replies.

reinstalled

IS-IT--Management
Feb 18, 2003
178
0
0
Hi all,

Getting the message "Bus Error" when trying to use mailx
on Solaris 8. Then getting ".: Permission denied"


Any ideas?
 
trz a

#truss mailx ...

to get more info

Best Regards, Franz
--
Solaris System Manager from Munich, Germany
I used to work for Sun Microsystems Support (EMEA) for 5 years in the domain of the OS, Backup and Storage
 
Thanks Franz,

However I'm not sure how to interpret the output
of the truss mailx command.
If you have a sec I'll copy it here....


(xxx)root:/# mailx
.
Bus Error
(xxx)root:/# .: Permission denied
(xxx)root:/# truss mailx
*** SGID: rgid/egid/sgid = 1 / 6 / 6 ***
execve("/usr/bin/mailx", 0xFFBEFE04, 0xFFBEFE0C) argc = 1
resolvepath("/usr/lib/ld.so.1", "/usr/lib/ld.so.1", 1023) = 16
open("/var/ld/ld.config", O_RDONLY) Err#2 ENOENT
stat("/usr/openwin/lib/libmail.so.1", 0xFFBEF6E8) Err#2 ENOENT
stat("/usr/lib/libmail.so.1", 0xFFBEF6E8) = 0
resolvepath("/usr/lib/libmail.so.1", "/usr/lib/libmail.so.1", 1023) = 21
open("/usr/lib/libmail.so.1", O_RDONLY) = 3
mmap(0x00000000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xFF390000
mmap(0x1870AEF0, 98304, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON, -1, 0) = 0xFF370000
mmap(0xFF370000, 14796, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFF370000
mmap(0xFF384000, 1916, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 16384) = 0xFF384000
mmap(0xFF386000, 3032, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_ANON, -1, 0) = 0xFF386000
munmap(0xFF374000, 65536) = 0
memcntl(0xFF370000, 6204, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
close(3) = 0
stat("/usr/openwin/lib/libc.so.1", 0xFFBEF6E8) Err#2 ENOENT
stat("/usr/lib/libc.so.1", 0xFFBEF6E8) = 0
resolvepath("/usr/lib/libc.so.1", "/usr/lib/libc.so.1", 1023) = 18
open("/usr/lib/libc.so.1", O_RDONLY) = 3
mmap(0xFF390000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFF390000
mmap(0x3B023F38, 802816, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON, -1, 0) = 0xFF280000
mmap(0xFF280000, 703920, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFF280000
mmap(0xFF33C000, 24772, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 704512) = 0xFF33C000
munmap(0xFF32C000, 65536) = 0
memcntl(0xFF280000, 113528, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
close(3) = 0
stat("/usr/openwin/lib/libdl.so.1", 0xFFBEF6E8) Err#2 ENOENT
stat("/usr/lib/libdl.so.1", 0xFFBEF6E8) = 0
resolvepath("/usr/lib/libdl.so.1", "/usr/lib/libdl.so.1", 1023) = 19
open("/usr/lib/libdl.so.1", O_RDONLY) = 3
mmap(0xFF390000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFF390000
mmap(0x39387BB8, 8192, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON, -1, 0) = 0xFF360000
mmap(0xFF360000, 2302, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFF360000
close(3) = 0
mmap(0x00000000, 8192, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFF350000
stat("/usr/platform/SUNW,Ultra-5_10/lib/libc_psr.so.1", 0xFFBEF400) = 0
resolvepath("/usr/platform/SUNW,Ultra-5_10/lib/libc_psr.so.1", "/usr/platform/sun4u/lib/libc_psr.so.1", 1023) = 37
open("/usr/platform/SUNW,Ultra-5_10/lib/libc_psr.so.1", O_RDONLY) = 3
mmap(0xFF390000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFF390000
mmap(0x00000000, 16384, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON, -1, 0) = 0xFF270000
mmap(0xFF270000, 13800, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFF270000
close(3) = 0
munmap(0xFF390000, 8192) = 0
brk(0x00044D88) = 0
brk(0x00046D88) = 0
sigaction(SIGCONT, 0xFFBEFC00, 0xFFBEFC80) = 0
getgid() = 1 [6]
getgid() = 1 [6]
getuid() = 0 [0]
getuid() = 0 [0]
getpid() = 807 [806]
setgid(1) = 0
setuid(0) = 0
open("/etc/mail/mailcnfg", O_RDONLY) Err#2 ENOENT
uname(0xFFBEF7B8) = 1
open("/etc/resolv.conf", O_RDONLY) = 3
fstat64(3, 0xFFBEF540) = 0
brk(0x00046D88) = 0
brk(0x00048D88) = 0
ioctl(3, TCGETA, 0xFFBEF4CC) Err#25 ENOTTY
read(3, " d o m a i n d e n v e".., 8192) = 69
llseek(3, 0xFFFFFFFFFFFFFFD1, SEEK_CUR) = 22
close(3) = 0
ioctl(0, TCGETA, 0xFFBEFCAC) = 0
ioctl(1, TCGETS, 0xFFBEFD74) = 0
open64("/etc/.name_service_door", O_RDONLY) = 3
fcntl(3, F_SETFD, 0x00000001) = 0
door_info(3, 0xFF342748) = 0
door_call(3, 0xFFBEF790) = 0
open("/etc/mail/mailx.rc", O_RDONLY) = 4
sigaction(SIGCONT, 0xFFBED2A0, 0xFFBED320) = 0
getcontext(0xFFBED198)
Incurred fault #5, FLTACCESS %pc = 0x00026610
siginfo: SIGBUS BUS_OBJERR addr=0x00026610 errno=5(EIO)
Received signal #10, SIGBUS [default]
siginfo: SIGBUS BUS_OBJERR addr=0x00026610 errno=5(EIO)
*** process killed ***
(xxx)root:/#
 
ok, wen need more info, mailx itself does not produce the error, you need to run
# truss -f mailx ...
to see all the errors produced by forked processes

Best Regards, Franz
--
Solaris System Manager from Munich, Germany
I used to work for Sun Microsystems Support (EMEA) for 5 years in the domain of the OS, Backup and Storage
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top