Results 1 to 17 of 17
  1. #1
    Join Date
    Oct 2002
    Posts
    227

    CentOS 4.4 and Startup Scripts

    Is anyone else having issues with some of their startup scripts after moving from CentOS 4.3 to 4.4? My sshd, sendmail and proftpd startup scripts are all giving me segfault errors however I can start all the services manually with no trouble.

    Ryan

  2. #2
    Join Date
    Apr 2004
    Location
    Singapore
    Posts
    1,522
    I upgraded one of my machine but have not reboot yet. I will try and upgrade on another machine & reboot and see whether i have the same problem as you.

    Update you later...
    tanfwc

  3. #3
    Join Date
    Oct 2002
    Posts
    227
    Here's what the error looks like.

    service sendmail start
    Starting sendmail: /etc/init.d/sendmail: line 42: 7871 Segmentation fault /usr/lib/opcenter/sendmail/sendmail_add_maps /etc/mail/sendmail.cf
    /etc/rc.d/init.d/functions: line 83: 7873 Segmentation fault $nice initlog $INITLOG_ARGS -c "$*"
    /etc/rc.d/init.d/functions: line 381: 7874 Segmentation fault initlog $INITLOG_ARGS -n $0 -s "$1" -e 2
    [FAILED]
    Starting sm-client: /etc/init.d/sendmail: line 42: 7877 Segmentation fault touch /var/run/sm-client.pid
    /etc/init.d/sendmail: line 42: 7878 Segmentation fault chown smmspmmsp /var/run/sm-client.pid
    /etc/rc.d/init.d/functions: line 83: 7880 Segmentation fault $nice initlog $INITLOG_ARGS -c "$*"
    /etc/rc.d/init.d/functions: line 381: 7881 Segmentation fault initlog $INITLOG_ARGS -n $0 -s "$1" -e 2
    [FAILED]

  4. #4
    Quote Originally Posted by Ryan F
    Is anyone else having issues with some of their startup scripts after moving from CentOS 4.3 to 4.4?
    It seems to be quite scary when updating from 4.3 to 4.4.

    Found another vicitim reported in centos forum. After the update, he rebooted the machine but it didn't startup!

  5. #5
    Join Date
    Oct 2002
    Posts
    227
    I paid the $100 for a priority ticket with Ensim and the guy's logged onto my server right now. I'll let you know how it goes.

    I guess the lesson is hold off on updating to CentOS 4.4 until this is resolved.

    Ryan

  6. #6
    Join Date
    Jul 2003
    Location
    Goleta, CA
    Posts
    5,566
    At any rate you can always visit the CentOS forums for version 4 at http://centos.org/modules/newbb/index.php?cat=3

    CentOS has a large community and the members there may have more in depth knowledge of the operating system.
    Patron: I'd like my free lunch please.
    Cafe Manager: Free lunch? Did you read the fine print stating it was an April Fool's joke.
    Patron: I read the same way I listen, I ignore the parts I don't agree with. I'm suing you for false advertising.
    Cafe Owner: Is our lawyer still working pro bono?

  7. #7
    Join Date
    Oct 2002
    Posts
    227
    The Ensim tech pretty much told me what I already knew: Ensim doesn't support CentOS 4.4 and the OS will have to be rolled back to 4.3.

  8. #8
    Join Date
    Apr 2003
    Location
    San Jose, CA.
    Posts
    1,624
    I've had no problems on a 4.4 x86_64 box running sshd, sendmail, or proftpd.

  9. #9
    No problems here either .. We updated all our cpanel (minimal install) servers from 4.3 to 4.4 and there were no issues.

    I just rebooted one of the test boxes and came back up just fine incl. all services. Just FYI.

  10. #10
    Join Date
    Oct 2002
    Posts
    227
    Thanks. At this point I think the issue is Ensim-specific.

  11. #11
    Join Date
    Apr 2004
    Location
    Singapore
    Posts
    1,522
    I just upgraded and reboot the machine, everything went fine for me. I will keep monitoring the box for the next few days.
    tanfwc

  12. #12
    Quote Originally Posted by Lightwave
    I've had no problems on a 4.4 x86_64 box running sshd, sendmail, or proftpd.
    Do you have control panel installed? I am curious if those problem arise from various controal panels such as cpanel

    Anybody else if you updated sucessfully please confirm.

  13. #13
    Join Date
    Apr 2003
    Location
    San Jose, CA.
    Posts
    1,624
    I don't use control panels...

  14. #14
    Join Date
    Mar 2003
    Location
    California USA
    Posts
    13,681
    Its likely ensim specific did you rerun maitence mode after you did yum upgrade?
    Steven Ciaburri | Industry's Best Server Management - Rack911.com
    Software Auditing - 400+ Vulnerabilities Found - Quote @ https://www.RACK911Labs.com
    Fully Managed Dedicated Servers (Las Vegas, New York City, & Amsterdam) (AS62710)
    FreeBSD & Linux Server Management, Security Auditing, Server Optimization, PCI Compliance

  15. #15
    Weird this has also happened to me before.

  16. #16
    Join Date
    Oct 2002
    Posts
    227
    Quote Originally Posted by Steven
    Its likely ensim specific did you rerun maitence mode after you did yum upgrade?
    Yes however restarting the webppliance failed. I restarted the server (as that's fixed the maintenance-mode problem for me before) and at that point SSH died. Anyway, I've got an admin working on it now. He's been on it for a while and slowly, one by one, the services are comming back up. I wanted to roll back to CentOS 4.3 but it looks like he's just fixing the issues in 4.4.

    Pop3 and IMAP support seem to be taking the longest to set right.

    Ryan
    Last edited by Ryan F; 08-31-2006 at 06:38 PM.

  17. #17
    Join Date
    Oct 2002
    Posts
    227
    Here's the bulk of the problem. This is the debugging output of xinetd:

    06/8/31@17:15:15 xinetd[26613]: ERROR: bind failed (Address already in use (errno = 98)). service = imap
    06/8/31@17:15:15 xinetd[26613]: ERROR: Service imap failed to start and is deactivated.
    06/8/31@17:15:15 xinetd[26613]: ERROR: bind failed (Address already in use (errno = 98)). service = imaps
    06/8/31@17:15:15 xinetd[26613]: ERROR: Service imaps failed to start and is deactivated.
    06/8/31@17:15:15 xinetd[26613]: ERROR: bind failed (Address already in use (errno = 98)). service = pop3
    06/8/31@17:15:15 xinetd[26613]: ERROR: Service pop3 failed to start and is deactivated.
    06/8/31@17:15:15 xinetd[26613]: ERROR: bind failed (Address already in use (errno = 98)). service = pop3s
    06/8/31@17:15:15 xinetd[26613]: ERROR: Service pop3s failed to start and is deactivated.
    06/8/31@17:15:15 xinetd[26613]: ERROR: bind failed (Address already in use (errno = 98)). service = telnet
    06/8/31@17:15:15 xinetd[26613]: ERROR: Service telnet failed to start and is deactivated.
    06/8/31@17:15:15 xinetd[26613]: CRITICAL: 26613 {init_services} no services. Exiting...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •