LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-05-2004, 04:16 PM   #1
LetoX
LQ Newbie
 
Registered: Jul 2004
Posts: 5

Rep: Reputation: 0
segmentation fault with sendmail 8.13.0 on debian


Hi.

I just finished building sendmail 8.13.0 with BerkeleyDB 4.2.52, Cyrus SASL 2.1.18 and OpenSSL 0.97d on Debian with a 2.4.20 Kernel.

After I solved some problems the Build -c and Build install completed without errors but when I start sendmail I get a segmentation fault.

The output of

/usr/sbin/sendmail -d0.1 -bv root

is

Version 8.13.0
Compiled with: DNSMAP LOG MATCHGECOS MILTER MIME7TO8 MIME8TO7
NAMED_BIND NETINET NETUNIX NEWDB PIPELINING SASLv2 SCANF
STARTTLS USERDB XDEBUG
Segmentation fault


Starting sendmail without parameters works but when using any parameters I get the segfault.

I'm kinda desparate now. I spent some hours getting the whole thing to build and now I just dont know what to do about the segfault.

Can anyone help me what to do about this or where to look for problems?

Thanks for any help.
 
Old 07-06-2004, 10:49 AM   #2
linmix
Senior Member
 
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993
Blog Entries: 1

Rep: Reputation: 46
According to this thread it might be a memory problem.
 
Old 07-06-2004, 11:46 AM   #3
LetoX
LQ Newbie
 
Registered: Jul 2004
Posts: 5

Original Poster
Rep: Reputation: 0
thanks for the reply.

I think its unlikely that it is a memory problem since I got 500mb ram thats only 1 or 2 years old and there is about 100mb ram free.

but I will check if there are memory errors.
 
Old 07-06-2004, 01:09 PM   #4
RHELL
Member
 
Registered: Feb 2004
Location: Outermost mingetty
Distribution: RHEL3,RH4U4,Sol9, Sol10
Posts: 321

Rep: Reputation: 31
In my less than vast experience, seg. faults often occur on null pointers, which can mean a config file is missing, or unreadable. Config files are complicated.
/var/log/maillog may give some idea of the specific complaint.
You might also tail -f /var/log/maillog in a separate terminal while initiating sendmail.
 
Old 07-06-2004, 02:23 PM   #5
LetoX
LQ Newbie
 
Registered: Jul 2004
Posts: 5

Original Poster
Rep: Reputation: 0
I think I'm on the right way now.
I checked the mail.log and mail.err but these contained no output at all. So I searched the sendmail man page for debug settings and set debug level to almost maximum. The last line before the seg fault reported setting an option "DaemonPortOptions". I checked this and found no apparent errors but commented out the line in the sendmail.cf. Now sendmail runs without the seg fault but since the option is almost surely important I have to fix it somehow.
But thats a easier thing to look for, so for now, thanks folks.
 
Old 07-06-2004, 02:50 PM   #6
LetoX
LQ Newbie
 
Registered: Jul 2004
Posts: 5

Original Poster
Rep: Reputation: 0
To finish the thread: I got a line in sendmail.conf thats working with

O DaemonPortOptions=Port=25, Name=MTA

and seg faulting with

O DaemonPortOptions=Port=smtp, Name=MTA

I think it shouldnt matter but as this doesnt make any difference to me, I will leave it at that.

Again, thanks for helping.
 
Old 07-06-2004, 08:16 PM   #7
chort
Senior Member
 
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 76
Sounds like someone removed the line for SMTP from /etc/services
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
yast segmentation fault, system freezing - nvidia driver at fault? BaltikaTroika SUSE / openSUSE 2 12-02-2005 09:34 AM
Segmentation fault dand Linux - Newbie 2 12-16-2004 04:45 PM
Segmentation fault.... lokizen Linux - Newbie 7 09-14-2004 12:40 AM
segmentation fault ! freelinuxcpp Linux - Software 7 12-15-2003 06:34 AM
RH9/sendmail segmentation fault red30x Red Hat 1 10-15-2003 09:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration