What type of error is this?

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat What type of error is this?
# 1  
Old 07-19-2011
What type of error is this?

SmilieSmilieSmilie
Code:
Jul 18 19:31:31 plbp1s sendmail[17313]: STARTTLS: read error=syscall error (-1), errno=104, get_error=error:00000000:lib(0):func(0):reason(0)

---------- Post updated at 03:08 AM ---------- Previous update was at 03:07 AM ----------

Code:
[root@plbp1s root]# cat /var/log/maillog|egrep -i "error|warn|critical|panic|exceed|alert|down"
Jul 17 13:28:09 plbp1s sendmail[13255]: p6H7u1IG013248: to=<NetCoolAlerts@dtcc.com>, delay=00:02:07, xdelay=00:02:07, mailer=esmtp, pri=30590, relay=sxinet05.dtcc.com. [207.45.45.43], dsn=2.0.0, stat=Sent (+OK message queued for delivery.)
Jul 17 22:12:14 plbp1s sendmail[700]: p6HGg6IG000694: to=<NetCoolAlerts@dtcc.com>, delay=00:00:08, xdelay=00:00:08, mailer=esmtp, pri=30625, relay=swinet05.dtcc.com. [207.45.43.100], dsn=2.0.0, stat=Sent (+OK message queued for delivery.)
Jul 18 19:31:31 plbp1s sendmail[17313]: STARTTLS: read error=syscall error (-1), errno=104, get_error=error:00000000:lib(0):func(0):reason(0)


Last edited by pludi; 07-19-2011 at 07:00 PM..
# 2  
Old 07-25-2011
Lightbulb a read system call returned -1

- this error means that a read() system call returned -1 ;

- when the read() system call encounters an error condition, it returns -1 ;

- the external variable 'errno' holds a code that helps explain the reason why read() failed ;

- in you case , the code is 104 ;

- do a
Code:
grep 104 /usr/include/errno.h

to see what it means ;

good luck, and success !

alexandre botao
<< botao {dot} org >>
This User Gave Thanks to botao For This Post:
# 3  
Old 07-25-2011
Code:
 
[root@plbp1s root]# cat /var/log/maillog|egrep -i "error|warn|critical|panic|exceed|alert|down"

useless use of cat

Code:
egrep -i "error|warn|critical|panic|exceed|alert|down" /var/log/maillog

This User Gave Thanks to itkamaraj For This Post:
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Programming

Logical Error With Type Conversion In C

So, I'm into about 650 lines of some code I'm working on. So I'll try to explain instead of flooding this post. Say I have some code like this: int main() { int i, j; char data; printf("Gimme something: "); fgets(data, INPUT_BUFF, stdin); for (j = 0; j < data; j++){... (6 Replies)
Discussion started by: Azrael
6 Replies

2. Shell Programming and Scripting

Error type order

Hi all, Sample data file... 9f680197||y|a|6 9f6801||6 9f68017|20120511|y|6 9f68017|y|1 9f68017|6 9f68017|20120511|N|2 9f68017|MD|212343907|20120511|N|2 9f68017212343907|20120511|N|2 9f68017N|3 9f68017|20120511|y|3 9f68017|MD|212343907|20120511|N|3 9f68017|MD|212343907|20120511|y|3... (3 Replies)
Discussion started by: bmk
3 Replies

3. Programming

getaddrinfo error:service name not available for the specified socket type

I use Solaris 10,and I use getaddrinfo in my code,like follows: struct addrinfo *ailist,hint; if(argc!=2) err_quit("usage: ruptime hostname"); hint.ai_flags=0; hint.ai_family=0; hint.ai_socktype=SOCK_STREAM; hint.ai_protocol=0; hint.ai_addrlen=0; hint.ai_canonname=NULL;... (1 Reply)
Discussion started by: konvalo
1 Replies

4. UNIX for Dummies Questions & Answers

Build Error: error: dereferencing pointer to incomplete type

I'm getting the following Error: prepare_pcap.c: In function `prepare_pkts': prepare_pcap.c:127: error: dereferencing pointer to incomplete type prepare_pcap.c:138: error: dereferencing pointer to incomplete type ==================================== This is the part of the relevant... (8 Replies)
Discussion started by: katwala
8 Replies

5. SCO

Error: Value too large for defined data type

Hi all, I have this problem in one of the SCO UNIXWare 7.1.4. We have an application which is working on hundreds of machines. When we try to install the same application on a new machine, the executable/binary gives the following error and exits... "xxx startup failure: Value too large for... (1 Reply)
Discussion started by: chava01
1 Replies

6. Programming

error: field `fatx_i' has incomplete type

I'm trying to compile a 2.4.26 kernel but I have to apply two patches to it. The patches are: linux-2.4.26-xbox.patch openMosix-2.4.26-1 This is the reason that it doesn't compile. There is only one error but I'm not familiar with C or C++(Unfortunately only Java and some lower-level... (2 Replies)
Discussion started by: lateralus01
2 Replies

7. Programming

error: field has incomplete type

Hello there, Here is how it goes - I have written a small test driver as an exercise to "Linux Device Drivers" and as a preparation for writing a real, functional driver. For the sake of seeing how far I got it working (I already implemented the open(0, read(), write() and ioctl() calls) I... (4 Replies)
Discussion started by: boyanov
4 Replies

8. Programming

array type has incomplete element type

Dear colleagues, One of my friend have a problem with c code. While compiling a c program it displays a message like "array type has incomplete element type". Any body can provide a solution for it. Jaganadh.G (1 Reply)
Discussion started by: jaganadh
1 Replies

9. Solaris

Unknown File Type error

Greetings there, i was trying to install an eclipse plugin on sunOS 4.x for the solaris sparc platform, and i got the following error: /usr/project/RAServer/bin> ./RAStart.sh Starting Agent Controller ld.so.1: RAServer: fatal: /usr/project/RAServer/lib/libxerces-c.so.24: unknown file type... (3 Replies)
Discussion started by: rohitsz
3 Replies
Login or Register to Ask a Question