Sponsored Content
Full Discussion: sendmail problem
Operating Systems Linux Red Hat sendmail problem Post 302132973 by eliraza6 on Tuesday 21st of August 2007 08:11:15 AM
Old 08-21-2007
i have runned it again with strace and i get an error with the pipe:

Code:
[engbatch@engapp bin]$ strace cat /etc/fstab | sendmail -t elirazas
-bash: sendmail: command not found
execve("/bin/cat", ["cat", "/etc/fstab"], [/* 29 vars */]) = 0
uname({sys="Linux", node="engapp", ...}) = 0
brk(0)                                  = 0x505000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2a9566c000
open("/etc/ld.so.preload", O_RDONLY)    = -1 ENOENT (No such file or directory)
open("/OracleTools/10.2.0.1/lib/tls/x86_64/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/OracleTools/10.2.0.1/lib/tls/x86_64", 0x7fbfffa880) = -1 ENOENT (No such file or directory)
open("/OracleTools/10.2.0.1/lib/tls/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/OracleTools/10.2.0.1/lib/tls", 0x7fbfffa880) = -1 ENOENT (No such file or directory)
open("/OracleTools/10.2.0.1/lib/x86_64/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/OracleTools/10.2.0.1/lib/x86_64", 0x7fbfffa880) = -1 ENOENT (No such file or directory)
open("/OracleTools/10.2.0.1/lib/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/OracleTools/10.2.0.1/lib", {st_mode=S_IFDIR|0755, st_size=8192, ...}) = 0
open("/usr/lib/tls/x86_64/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/usr/lib/tls/x86_64", 0x7fbfffa880) = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/usr/lib/tls", 0x7fbfffa880)      = -1 ENOENT (No such file or directory)
open("/usr/lib/x86_64/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/usr/lib/x86_64", 0x7fbfffa880)   = -1 ENOENT (No such file or directory)
open("/usr/lib/libc.so.6", O_RDONLY)    = -1 ENOENT (No such file or directory)
stat("/usr/lib", {st_mode=S_IFDIR|0755, st_size=32768, ...}) = 0
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=105214, ...}) = 0
mmap(NULL, 105214, PROT_READ, MAP_PRIVATE, 3, 0) = 0x2a9566d000
close(3)                                = 0
open("/lib64/tls/libc.so.6", O_RDONLY)  = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0@\322\1\0"..., 640) = 640
fstat(3, {st_mode=S_IFREG|0755, st_size=1669064, ...}) = 0
mmap(NULL, 2375528, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x2a95687000
mprotect(0x2a957c2000, 1085288, PROT_NONE) = 0
mmap(0x2a958c2000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x13b000) = 0x2a958c2000
mmap(0x2a958c7000, 16232, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2a958c7000
close(3)                                = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2a958cb000
arch_prctl(ARCH_SET_FS, 0x2a958cb4c0)   = 0
munmap(0x2a9566d000, 105214)            = 0
brk(0)                                  = 0x505000
brk(0x526000)                           = 0x526000
brk(0)                                  = 0x526000
open("/usr/lib/locale/locale-archive", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=32148976, ...}) = 0
mmap(NULL, 32148976, PROT_READ, MAP_PRIVATE, 3, 0) = 0x2a958cc000
close(3)                                = 0
fstat(1, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
open("/etc/fstab", O_RDONLY)            = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=10125, ...}) = 0
read(3, "/dev/sda1                 /     "..., 4096) = 4096
write(1, "/dev/sda1                 /     "..., 4096) = -1 EPIPE (Broken pipe)
--- SIGPIPE (Broken pipe) @ 0 (0) ---
+++ killed by SIGPIPE +++

any1 have an idea?!
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

problem with sendmail, help please!

I run UNIX and PHP I use a forum (ibf) and the mail() function from PHP only allows emails to be sent to an email account that is on my server, so IT doesn't send any emails for example to eden@hotmail.com How can I fix this? I have to edit php.ini???' Please help me Thanks. (3 Replies)
Discussion started by: eden2
3 Replies

2. UNIX for Advanced & Expert Users

sendmail problem

Hi, I have some problem with sendmail daemon. Earlier it was working fine as I used to get alert mail through crontab jobs. Two days back it stopped sending alert messages. When I executed mail command from shell prompt, I could read all the pending messages, generated through crontab... (1 Reply)
Discussion started by: amit_sapre
1 Replies

3. UNIX for Dummies Questions & Answers

Problem with Sendmail

Hi all, I am new to this forums, so please be kind to me :) Anyways, I have this problem when I am trying to send out email using sendmail. I can send an email to gmail.com or other email host, but when I am trying to send an email to email address removed by moderator or anything to the... (2 Replies)
Discussion started by: iluvhk
2 Replies

4. UNIX for Dummies Questions & Answers

Sendmail problem

I replaced sendmail.cf (made a abckup first) with main.cf and stopped and then stopped and started sendmail. I am still getting the following: ibasdb02:/ # May 21 14:06:23 ibasdb02 sendmail: l4L I6Np3001094: Losing ./qfl4LI6Np3001094: savemail panic and this message in my log: May 21... (3 Replies)
Discussion started by: hshapiro
3 Replies

5. UNIX for Dummies Questions & Answers

sendmail problem

I have a user who's email comes out looking like this: From name@domain.com Wed Aug 6 15:36:39 2008 Return-Path: <name@domain.com> X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on it2 X-Spam-Level: * X-Spam-Status: No, score=1.5 required=5.0 tests=AWL,BAYES_20,MISSING_SUBJECT,... (1 Reply)
Discussion started by: photon
1 Replies

6. AIX

sendmail problem

I get the following error while trying to send mail from my AIX box. I have cross checked the sendmail.cf file of this system with a working system (similar h/w and o/s) and found no difference. can somebody sugget?? /etc/sendmail.cf: line 98: readcf: map arith: class arith is not available... (1 Reply)
Discussion started by: gsabarinath
1 Replies

7. Linux

Sendmail problem

I am trying to send mail from my CentOS server. I have made nacessory changes required from sendmail. But it is not working. I am getting following messages in maillog- Dec 17 09:25:12 localhost sendmail: mBH3tCTi016891: fps.company.com did not issue MAIL/EXPN/VRFY/ETRN during... (1 Reply)
Discussion started by: kailas.awchar
1 Replies

8. Solaris

sendmail problem

Hi, when i am trying to send more than 50000 emails by using solaris sendmail utility, server is getting hanged up, needs to restart it once again. but it is sending nearly 20000 emails with out any issues. So what the configuration changes i need to make for the solaris sendmail utility to... (0 Replies)
Discussion started by: anilmanepu
0 Replies

9. AIX

Problem with sendmail

Hi there, I have configured sendmail in AIX 6.1 and able to send emails to most of the domains like yahoo and gmail. But certain domains are denying to verify my domain probably due to the masquarding not happening correctly. Following are some logs of sendmail command.... (9 Replies)
Discussion started by: sraj142
9 Replies

10. HP-UX

Sendmail problem

Hi experts, I am facing unique issue while sending mails from HP-UX box. Mails are not delivered to mail addresses outside my company domain. For e.g. echo "hi" |mailx -s "test" myemail@mycomapny.com is working fine and delivering mails to my company mail address. but If... (7 Replies)
Discussion started by: sai_2507
7 Replies
COMPAT_30(8)						    BSD System Manager's Manual 					      COMPAT_30(8)

NAME
compat_30 -- setup procedure for backward compatibility on post-3.0 releases SYNOPSIS
options COMPAT_30 DESCRIPTION
The compat_30 module allows NetBSD to run NetBSD 3.0 executables. The support is present if the kernel was built with option COMPAT_30. It is not available as a loadable module. Static executables typically need no additional setup. Dynamic binaries may require shared libraries whose major version number changed since NetBSD 3.0, which are listed below. A shadow directory under /emul is not used; the libraries can be obtained from a NetBSD 3.0 dis- tribution and installed in the original directories shown, as the major version number in the file name will prevent conflicts. If an upgrade installation from NetBSD 3.0 has been done and these libraries are still present, nothing more need be done. Libraries needed from 3.0 /lib/libcrypto.so.2.1 /lib/libcrypto.so.2 /usr/lib/libcrypto.so.2.1 /usr/lib/libcrypto.so.2 /lib/libevent.so.0.2 /lib/libevent.so.0 /usr/lib/libevent.so.0.2 /usr/lib/libevent.so.0 /usr/lib/libg2c.so.2.0 /usr/lib/libg2c.so.2 /usr/lib/libkadm.so.5.0 /usr/lib/libkadm.so.5 /usr/lib/libkafs.so.6.0 /usr/lib/libkafs.so.6 /usr/lib/libkdb.so.5.0 /usr/lib/libkdb.so.5 /usr/lib/libkrb5.so.19.1 /usr/lib/libkrb5.so.19 /usr/lib/libkrb.so.6.0 /usr/lib/libkrb.so.6 /usr/lib/libkstream.so.2.0 /usr/lib/libkstream.so.2 /usr/lib/libmagic.so.0.1 /usr/lib/libmagic.so.0 /usr/lib/libpcap.so.1.4 /usr/lib/libpcap.so.1 /lib/libradius.so.0.0 /lib/libradius.so.0 /usr/lib/libradius.so.0.0 /usr/lib/libradius.so.0 /usr/lib/libssh.so.1.0 /usr/lib/libssh.so.1 /usr/lib/libssl.so.3.0 /usr/lib/libssl.so.3 /usr/lib/libstdc++.so.5.0 /usr/lib/libstdc++.so.5 /lib/libz.so.0.4 /lib/libz.so.0 /usr/lib/libz.so.0.4 /usr/lib/libz.so.0 /usr/lib/libamu.so.2.1 /usr/lib/libamu.so.2 IMPLEMENTATION NOTES
COMPAT_30 enables the NetBSD 3.0 versions of the following system calls, whose syscall numbers and argument structures were changed after the 3.0 release to accommodate 64-bit filesystems: fhstat(2), fstat(2), getdents(2), lstat(2), stat(2). The filehandle structure (formerly fhandle_t) was made opaque to userland and variable-sized. A fh_size argument was added to related syscalls: fhstat(2), fhstatvfs(2), fhstatvfs1(2), fhopen(2), getfh(2). This changes the API and ABI of those syscalls, COMPAT_30 enables binary compatibility with the old ABI. Source compatibility is not provided, as use of those syscalls is supposed to be rare. The error code from the socket(2) syscall changed from EPROTONOSUPPORT to EAFNOSUPPORT in the case of an unsupported address family. COMPAT_30 enables binary compatibility with the old ABI. Source compatiblility is not provided. The struct ntptimeval used by ntp_gettime(2) changed with the implementation of timecounters. SEE ALSO
config(1), fhstat(2), fstat(2), getdents(2), lstat(2), stat(2), options(4) HISTORY
NetBSD offers back-compatibility options back to NetBSD 0.9, but the first to be documented with a manual page is compat_30. BUGS
The compatible getdents(2) is unable to see directory entries beneath the top layer of a union, even though the real 3.0 getdents() did not have that problem. SECURITY CONSIDERATIONS
Programs with security impact that receive incorrect directory contents from getdents() may behave improperly, as when they are unable to find, or find the wrong versions of, important files. BSD
December 15, 2007 BSD
All times are GMT -4. The time now is 08:32 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy