Forum

Unified Communications PBX System

Help us to improve VitalPBX

USD
Postfix segmentatio...
 

[Solved] Postfix segmentation fault  

  RSS

erik
 erik
(@erik)
Active Member
Joined: 2 weeks ago
Posts: 16
25/11/2019 11:37 am  

Whether I test mail from the GUI, or directly from the command line, postfix dies with a segmentation fault. For instance:

aliasesdb[22177]: /usr/libexec/postfix/aliasesdb: line 5: 22179 Segmentation fault /usr/bin/newaliases

Or:

[root@vitalpbx ~]# sendmail -bv root
Segmentation fault

 

Which lead me to investigate and find that Postfix 2.10.1 is installed. Why? When the last 2.10 release was in 2016 (2.10.10) and 2.10.1 is from 2013.

Still, 2.10.1 shouldn't die, should it? I have tried a different main.cf which implements a null client, as should be sufficient for a system that is not receiving any mail. But to no avail.


mrivera
(@ing-joserivera26)
Developer Admin
Joined: 2 years ago
Posts: 1889
25/11/2019 3:07 pm  

You may try to perform a full system update:

yum update -y

then, restart the PBX.


erik
 erik
(@erik)
Active Member
Joined: 2 weeks ago
Posts: 16
26/11/2019 3:36 am  

@ing-joserivera26

I had tried that before I posted. It updated a lot of packages, but none involving postfix. Did not help 🙁

_ _ _ _ ______ ______ _ _
| | | (_)_ | (_____ (____ \ \ / /
| | | |_| |_ ____| |_____) )___) ) \/ /
\ \/ /| | _)/ _ | | ____/ __ ( ) (
\ / | | |_( ( | | | | | |__) ) /\ \
\/ |_|\___)_||_|_|_| |______/_/ \_

Version : 2.3.8-3
Asterisk : Asterisk 16.6.0
Linux Version : CentOS Linux release 7.7.1908 (Core)
Welcome to : vitalpbx.local
Uptime : 9 min
Load : Last Minute: 0,11, Last 5 Minutes: 0,14, Last 15 Minutes: 0,13
Users : 1 user,
IP Address : 10.0.12.31
Clock : di 2019-11-26 10:35:20 CET
NTP Sync. : yes

[root@vitalpbx ~]# sendmail -bv root
Segmentation fault
[root@vitalpbx ~]#


erik
 erik
(@erik)
Active Member
Joined: 2 weeks ago
Posts: 16
26/11/2019 3:57 am  

Since I wasn't getting any metoo's and Google didn't provide any clues either, which it would if this was not a freak accident, I decided to be bold an yum reinstall postfix.

That fixed it.

Does make me wonder how this could have happened  and worse, what else it may have affected.


Share:

Please Login or Register