segfault at 00007fffff14dff8 PHP+BIND

Discussion in 'Installation/Configuration' started by awd.pt, Apr 9, 2006.

  1. awd.pt

    awd.pt Member

    Hi again

    this is BIND and ISPConfig related.

    Whenever I perform an action (ex. create host on a domain) messages like this are logged under my /var/log/messages:
    Apr 9 01:38:30 web1 kernel: php[561]: segfault at 00007fffff14dff8 rip 000000000063bc60 rsp 00007fffff14e028 error 6

    and also I dont know/get any file changed unde ~named (I'm running bind-chroot).

    At this point I have httpd (not ispconfig_httpd) stop, and the only "thing" using PHP is ispconfig.

    Guidance needed again, sorry!

    Thanks in advance.
    SRosa
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Please run:

    /root/ispconfig/php/php /root/ispconfig/scripts/writeconf.php

    Did you get any errors?

    If you got a segmentation fault, please run:

    strace /root/ispconfig/php/php -q /root/ispconfig/scripts/writeconf.php
     
  3. awd.pt

    awd.pt Member

    [root@web1]# /root/ispconfig/php/php /root/ispconfig/scripts/writeconf.php
    start
    postmap: warning: My hostname www is not a fully qualified name - set myhostname or mydomain in /etc/postfix/main.cf
    Segmentation fault

    attached is de strace. Is it normal to take a long tipe do run root/ispconfig/php/php /root/ispconfig/scripts/writeconf.php ?
    time strace /root/ispconfig/php/php -q /root/ispconfig/scripts/writeconf.php > strace.log 2>&1

    real 2m1.689s
    user 0m0.160s
    sys 0m0.260s

    Thnaks
    srosa
     

    Attached Files:

    Last edited: Apr 9, 2006
  4. awd.pt

    awd.pt Member

    Solved

    Done,
    figure out what was going on.

    ISPConfig now works fine on updating, creating and changing DNS.

    Thanks,
    srosa
     
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    Can you please describe the solution? In case anyone else has the same problem.
     
  6. awd.pt

    awd.pt Member

    I've posted a new message that explains what I found/did to solve this.

    However I still can't figure way php was segfaulting... but it's not any more and running fine now.

    Please take a look at: http://www.howtoforge.com/forums/showthread.php?t=3593


    Thank you
    srosa
     

Share This Page