2.2.18 issue, writeconf dies

Discussion in 'Installation/Configuration' started by Justin Albstmeijer, Dec 18, 2007.

  1. Hi,

    Just installed ISPConfig-2.2.18 on a centos4 machine.
    I noticed nothing was happening when adding new website configs using the webinterface.
    Then I noticed writeconf never finnished its job and just segfaulted.

    Here some info I collected:

    Install completed with some errors:
    ---------------------------------------------------------------------------------------
    Connected successfully to MySQL server
    no crontab for root

    Warning: touch(): Unable to create file because No such file or directory in /root/install_ispconfig/install.php on line 1335
    postmap: fatal: usage: postmap [-Nfinoprsvw] [-c config_dir] [-d key] [-q key] [map_type:]file...
    Restarting some services...
    httpd not running, trying to start
    Shutting down postfix: [FAILED]
    Starting postfix: [ OK ]
    ./setup2: line 1135: [: ==: unary operator expected
    Starting ISPConfig system...
    Apache/1.3.39 mod_ssl/2.8.30 (Pass Phrase Dialog)
    Some of your private key files are encrypted for security reasons.
    In order to read them you have to provide us with the pass phrases.

    ------------------------------------------------------------------------------------


    ispconfig.log
    -----------------------------------------------------------------------------
    18.12.2007 - 09:44:42 => WARN - WARNING: could not open file
    18.12.2007 - 09:44:42 => WARN - WARNING: could not open file
    18.12.2007 - 09:44:43 => WARN - /root/ispconfig/scripts/lib/classes/ispconfig_postfix.lib.php, Line 137: WARNING: could not cp -fr ~
    -----------------------------------------------------------------------------

    See strace output of writeconf:
    -----------------------------------------------------------------------------
    read(4, "\3def\tispconfig\16isp_isp_domain\16is"..., 77) = 77
    read(4, "i\0\0\26", 4) = 4
    read(4, "\3def\tispconfig\16isp_isp_domain\16is"..., 105) = 105
    read(4, "\1\0\0\27", 4) = 4
    read(4, "\376", 1) = 1
    read(4, "G\0\0\30", 4) = 4
    read(4, "\0012\0011\0012\0011\0041013\00210\0011\0041015\00211\0011\0011\0041"..., 71) = 71
    read(4, "\5\0\0\31", 4) = 4
    read(4, "\376\0\0\"\0", 5) = 5
    pipe([5, 6]) = 0
    clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xf6ff7708) = 28370
    close(6) = 0
    read(5, cp: missing destination file
    Try `cp --help' for more information.
    "", 8192) = 0
    close(5) = 0
    waitpid(28370, [{WIFEXITED(s) && WEXITSTATUS(s) == 1}], 0) = 28370
    --- SIGCHLD (Child exited) @ 0 (0) ---
    time(NULL) = 1197967483
    time(NULL) = 1197967483
    time(NULL) = 1197967483
    open("/home/admispconfig/ispconfig/ispconfig.log", O_WRONLY|O_CREAT|O_APPEND, 0666) = 5
    fstat64(5, {st_mode=S_IFREG|0644, st_size=5565, ...}) = 0
    lseek(5, 0, SEEK_CUR) = 0
    lseek(5, 0, SEEK_CUR) = 0
    write(5, "18.12.2007 - 09:44:43 => WARN - "..., 134) = 134
    close(5) = 0
    mmap2(NULL, 266240, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xf6dac000
    mmap2(NULL, 266240, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xf6d6b000
    mmap2(NULL, 266240, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xf6d2a000
    mmap2(NULL, 266240, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xf6ce9000
    mmap2(NULL, 266240, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xf6ca8000
    mmap2(NULL, 266240, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xf6c67000
    mmap2(NULL, 266240, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xf6c26000
    mmap2(NULL, 266240, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xf6be5000
    mmap2(NULL, 266240, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xf6ba4000
    mmap2(NULL, 266240, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xf6b63000
    mmap2(NULL, 528384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xf6ae2000
    mmap2(NULL, 266240, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xf6aa1000
    mmap2(NULL, 266240, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xf6a60000
    mmap2(NULL, 528384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xf69df000
    mmap2(NULL, 266240, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xf699e000
    mmap2(NULL, 266240, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xf695d000
    mmap2(NULL, 266240, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xf691c000
    mmap2(NULL, 266240, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xf68db000
    mmap2(NULL, 790528, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xf681a000
    mmap2(NULL, 266240, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xf67d9000
    mmap2(NULL, 266240, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xf6798000
    mmap2(NULL, 266240, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xf6757000
    mmap2(NULL, 266240, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xf6716000
    mmap2(NULL, 790528, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xf6655000
    --- SIGSEGV (Segmentation fault) @ 0 (0) ---
    +++ killed by SIGSEGV +++
    ------
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Did you insert the mysql database dump manually?
     
  3. No everything was done by the setup script.
     
  4. falko

    falko Super Moderator ISPConfig Developer

    What are the outputs of
    Code:
    ls -la /root/ispconfig
    and
    Code:
    df -h
    ?
     
  5. df -h
    Filesystem Size Used Avail Use% Mounted on
    /dev/hdv1 62G 26G 34G 43% /

    ----------------

    ps . I now started looking at 2.3.3 .. it does not have this problem.
     

Share This Page