Writing on the configuration files.

Discussion in 'General' started by juampi, Mar 22, 2006.

  1. juampi

    juampi New Member

    Hi All!
    I see an error on my system. All the modifications that I do on ispconfig cannot be written in the configuration files: virtusertable, Vhosts_ispconfig.conf, name.conf and others. These files have the correct chmod.
    I can see all the correct data into the database of ispconfig.
    I think that this it is an important problem. I verified all the configuration and I did`nt find the problem.
    I check my log file and i see all ok.

    Please, any help?

    Regards,
    JP
     
  2. danf.1979

    danf.1979 ISPConfig Developer ISPConfig Developer

    Maybe the ispconfig_wconf deamon is dead. Try restarting ispconfig

    # /etc/init.d/ispconfig_server restart
     
  3. juampi

    juampi New Member

    I try restart the ispconfig_server. The daemon is Ok, but the problem continues.

    Regards,
    JP
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Run this as root user on the shell:

    rm -f /root/ispconfig/.ispconfig_lock

    Then restart ISPConfig:

    /etc/init.d/ispconfig restart

    Then modify anything in the ISPConfig interface, e.g the settings of a website. Does ISPConfig starts now to write the pending changes?
     
  5. juampi

    juampi New Member

    Hi!
    This procedure don't work for me.

    Regards,
    JP
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    Did you get any error messages when you execute:

    /root/ispconfig/php/php -q /root/ispconfig/scripts/writeconf.php

    How long does the script run approx?
     
  7. juampi

    juampi New Member

    favaloro:~# /root/ispconfig/php/php -q /root/ispconfig/scripts/writeconf.php
    start
    Segmentation Fault

    13272

    Regards,
    JP
     
  8. falko

    falko Super Moderator ISPConfig Developer

    Might be a hardware problem. You should have a look at memtest86: http://www.howtoforge.com/forums/showthread.php?t=807

    If you're using Fedora, make sure SELinux is disabled.
     
  9. juampi

    juampi New Member


    Well i don't see an error in hardware. I have a Debian 3.1. Is impossible make some modification from ISPconfig.
    Let me know about other test. Can I re-install ISPConfig?.

    Regards,
    JP
     
  10. till

    till Super Moderator Staff Member ISPConfig Developer

    You can try to reinstall the latest ISPConfig version, this will recompile your PHP.

    But in most cases, Segmentation faults are hardware related.
     
  11. juampi

    juampi New Member

    Can the quota affect to ISPConfig?.

    JP
     
  12. till

    till Super Moderator Staff Member ISPConfig Developer

    Do you have quotas on the root account? I dont think that the error can be caused by quota.
     
  13. juampi

    juampi New Member

    No, I don`t have quotas on the root account.
    I don't know for now where is the problem.

    JP
     
  14. till

    till Super Moderator Staff Member ISPConfig Developer

    I guess the problem is related to your hardware. have you run the memtest as falko suggested?
     
  15. till

    till Super Moderator Staff Member ISPConfig Developer

    Please run this command:

    strace /root/ispconfig/php/php -q /root/ispconfig/scripts/writeconf.php

    and post the last ouput/error here.
     
  16. juampi

    juampi New Member


    Code:
    waitpid(23299, [{WIFEXITED(s) && WEXITSTATUS(s) == 1}], 0) = 23299
    --- SIGCHLD (Child exited) @ 0 (0) ---
    time(NULL)                              = 1144213740
    time(NULL)                              = 1144213740
    getcwd("/root", 4096)                   = 6
    time(NULL)                              = 1144213740
    lstat64("/home", {st_mode=S_IFDIR|S_ISGID|0775, st_size=4096, ...}) = 0
    lstat64("/home/admispconfig", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
    lstat64("/home/admispconfig/ispconfig", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
    lstat64("/home/admispconfig/ispconfig/ispconfig.log", {st_mode=S_IFREG|0644, st_size=861841, ...}) = 0
    open("/home/admispconfig/ispconfig/ispconfig.log", O_WRONLY|O_APPEND|O_CREAT, 0666) = 5
    fstat64(5, {st_mode=S_IFREG|0644, st_size=861841, ...}) = 0
    lseek(5, 0, SEEK_CUR)                   = 0
    lseek(5, 0, SEEK_CUR)                   = 0
    write(5, "05.04.2006 - 02:09:00 => WARN - "..., 147) = 147
    close(5)                                = 0
    getcwd("/root", 4096)                   = 6
    time(NULL)                              = 1144213740
    open("/etc/passwd", O_RDONLY)           = 5
    fstat64(5, {st_mode=S_IFREG|0644, st_size=5325, ...}) = 0
    lseek(5, 0, SEEK_CUR)                   = 0
    stat64("/etc/passwd", {st_mode=S_IFREG|0644, st_size=5325, ...}) = 0
    read(5, "root:x:0:0:root:/root:/bin/bash\n"..., 8192) = 5325
    close(5)                                = 0
    --- SIGSEGV (Segmentation fault) @ 0 (0) ---
    +++ killed by SIGSEGV +++
    
     

Share This Page