sendmail's newaliases dies on SIGFPE

This is a discussion on sendmail's newaliases dies on SIGFPE within the SendMail forums in Other Technologies category; Hello everybody, This morning I discovered my sendmail daemon wasn't accepting incoming connections anymore. I tried a telnet on it and no sendmail banner at all: [root @ monpc etc]# telnet 127.0.0.1 25 Trying 127.0.0.1... Connected to 127.0.0.1. Escape character is '^]'. Connection closed by foreign host. So I decided to restart the sendmail service but I got an floating point exception error message: [root @ monpc ~]# service sendmail restart Arrêt de sm-client*: [ OK ] Arrêt de sendmail*: [ OK ] Démarrage de sendmail*: /etc/init.d/sendmail: line 46: 22620 Exception en point flottant /usr/bin/newaliases > /dev/null 2>&1 [ OK ...

Go Back   Application Development Forum > Other Technologies > SendMail

Object Mix

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 08-21-2008, 04:19 AM
FC
Guest
 
Default sendmail's newaliases dies on SIGFPE

Hello everybody,


This morning I discovered my sendmail daemon wasn't accepting incoming
connections anymore. I tried a telnet on it and no sendmail banner at all:

[root@monpc etc]# telnet 127.0.0.1 25
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
Connection closed by foreign host.


So I decided to restart the sendmail service but I got an floating point
exception error message:

[root@monpc ~]# service sendmail restart
Arrêt de sm-client*: [ OK ]
Arrêt de sendmail*: [ OK ]
Démarrage de sendmail*: /etc/init.d/sendmail: line 46: 22620 Exception
en point flottant /usr/bin/newaliases > /dev/null 2>&1
[ OK ]
Démarrage de sm-client*: [ OK ]


The line 46 is launching newaliases. I tried to launch newaliases from
the command prompt and it fails with a status 136:

[root@monpc etc]# newaliases
Exception en point flottant
[root@monpc etc]# echo $?
136




An strace showed me it was ending on an SIGFPE error:

..............
stat64("/etc", {st_mode=S_IFDIR|0755, st_size=12288, ...}) = 0
open("/etc/aliases.db", O_RDWR|O_CREAT|O_EXCL, 0640) = 4
fstat64(4, {st_mode=S_IFREG|0640, st_size=0, ...}) = 0
fcntl64(4, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=0, len=0}) = 0
stat64("/etc/aliases.db", {st_mode=S_IFREG|0640, st_size=0, ...}) = 0
open("/etc/aliases.db", O_RDWR|O_TRUNC|O_LARGEFILE) = 5
fcntl64(5, F_SETFD, FD_CLOEXEC) = 0
fstat64(5, {st_mode=S_IFREG|0640, st_size=0, ...}) = 0
stat64("/etc/aliases.db", {st_mode=S_IFREG|0640, st_size=0, ...}) = 0
gettimeofday({1219302350, 449018}, NULL) = 0
_llseek(5, 0, [0], SEEK_SET) = 0
write(5, "\0\0\0\0\1\0\0\0\0\0\0\0a\25\6\0\t\0\0\0\0\20\0\0 \
0\10\0\0\0\0\0\0"..., 4096) = 4096
_llseek(5, 8192, [8192], SEEK_SET) = 0
write(5, "\0\0\0\0\1\0\0\0\2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\20 \
0\r\0\0\0\0\0\0"..., 4096) = 4096
fdatasync(5) = 0
open("DB_CONFIG", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or
directory)
stat64("/var/tmp", {st_mode=S_IFDIR|S_ISVTX|0777, st_size=4096, ...}) = 0
time(NULL) = 1219302350
gettimeofday({1219302350, 472763}, NULL) = 0
open("/proc/stat", O_RDONLY) = 6
fstat64(6, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0xb7fa7000
read(6, "cpu 1225547 29051 381355 296513"..., 1024) = 697
read(6, "", 1024) = 0
close(6) = 0
munmap(0xb7fa7000, 4096) = 0
mmap2(NULL, 159744, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0xb7f5e000
open("/etc/aliases.db", O_RDWR|O_LARGEFILE) = 6
fcntl64(6, F_SETFD, FD_CLOEXEC) = 0
fstat64(6, {st_mode=S_IFREG|0640, st_size=12288, ...}) = 0
--- SIGFPE (Floating point exception) @ 0 (0) ---
+++ killed by SIGFPE +++
[root@monpc etc]# ll aliases.db
-rw-r----- 1 root smmsp 12288 aoû 21 09:05 aliases.db


Any idea what's wrong there ?

I've verified the package with rpm -V sendmail but nothing wrong appeared.

By the way, my OS if Fedora 9 and I've the sendmail-8.14.2-4.fc9.i386
RPM installed.
Reply With Quote
  #2  
Old 08-22-2008, 03:28 AM
FC
Guest
 
Default Re: sendmail's newaliases dies on SIGFPE

After a hard reset of my machine sendmail and newaliases are now working
well. I guess my machine has some hardware problems.

Cheers,
FC.
Reply With Quote
Reply


Thread Tools
Display Modes


All times are GMT -5. The time now is 08:45 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vB Ad Management by =RedTyger=

In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.