Error with CentOS 4.4 i386

Discussion in 'Installation/Configuration' started by schwan, Aug 31, 2006.

  1. schwan

    schwan New Member

    Hi,

    i tried to install ispconfig 2.2.6 on a CentOS 4.4 box (to detect 4.4 i replaced centos43 with centos44 in dist.txt)

    and get this error at the end

    Code:
    1) HTTPS
    2) HTTP
    Ihre Wahl: 1
    
    cp: missing destination file
    Try `cp --help' for more information.
    
    Warning: fclose(): supplied argument is not a valid stream resource in /root/install_ispconfig/install.php on line 97
    
    Warning: fwrite(): supplied argument is not a valid stream resource in /root/install_ispconfig/install.php on line 1003
    
    Warning: fwrite(): supplied argument is not a valid stream resource in /root/install_ispconfig/install.php on line 1005
    
    Warning: fclose(): supplied argument is not a valid stream resource in /root/install_ispconfig/install.php on line 1006
    
    Warning: fwrite(): supplied argument is not a valid stream resource in /root/install_ispconfig/install.php on line 111
    
    Warning: fclose(): supplied argument is not a valid stream resource in /root/install_ispconfig/install.php on line 112
    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 1293
    postmap: fatal: usage: postmap [-Nfinoprsvw] [-c config_dir] [-d key] [-q key] [map_type:]file...
    Neustart einiger Dienste...
    Shutting down postfix:                                     [  OK  ]
    Starting postfix:                                          [  OK  ]
    ./setup2: line 1071: [: ==: unary operator expected
    Starting ISPConfig system...
    /root/ispconfig/httpd/bin/apachectl startssl: httpd started
    ISPConfig system is now up and running!
    if i have time over the weekend, i will try to setup again a centos 4.4 box with vmware to see if i can reproduce this error.

    Grüsse aus der Schweiz,
    Schwan
     
  2. falko

    falko Super Moderator Howtoforge Staff

    That seems to be the ProFTPd part in install.php. Does /etc/proftpd.conf exist?
     
  3. schwan

    schwan New Member

    strange, 2nd time i used the centos cd "CentOS-4.3.ServerCD-i386.iso", followed the howto guide for centos4.3 and now see this release info :eek:

    Code:
    # cat /etc/redhat-release
    CentOS release 4.4 (Final)

    anyway this time /etc/proftpd.conf exist and now i will try to install ispconfig ...

    Gruss,
    Schwan
     
  4. schwan

    schwan New Member

    i get the same erros again with the second installation. this time /etc/proftpd.conf exist.

    Code:
    # ls -l /etc/proftpd.conf
    -rw-r-----  1 root root 3913 Sep  2 15:06 /etc/proftpd.conf
    checked file permission on my old debian 3.1 box

    Code:
    /$ ls -l /etc/proftpd.conf
    -rw-r--r--  1 root root 2937 2006-02-26 00:32 /etc/proftpd.conf
    Gruss,
    Schwan
     
  5. schwan

    schwan New Member

    hmm ....

    ispconfig]# ./uninstall
    You chose to uninstall the ISPConfig system! Do you also want to uninstall the objects (webs, users, databases, DNS entries etc.) created by the system? [y/n] y

    Warning: fread(): supplied argument is not a valid stream resource in /root/ispconfig/uninstall on line 130

    Warning: fclose(): supplied argument is not a valid stream resource in /root/ispconfig/uninstall on line 131

    Warning: fclose(): supplied argument is not a valid stream resource in /root/ispconfig/uninstall on line 135

    Warning: fopen(/var/spool/cron/root): failed to open stream: No such file or directory in /root/ispconfig/uninstall on line 178

    Warning: filesize(): stat failed for /var/spool/cron/root in /root/ispconfig/uninstall on line 179

    Warning: fread(): supplied argument is not a valid stream resource in /root/ispconfig/uninstall on line 179

    Warning: fclose(): supplied argument is not a valid stream resource in /root/ispconfig/uninstall on line 180
    Connected successfully
    shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
    shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
     
  6. schwan

    schwan New Member

    i changed the file permission for proftpd.conf to look like on the debian box, and installed ispconfig again. no change ...

    will try now ispconfig 2.1.2 to compare
     
  7. falko

    falko Super Moderator Howtoforge Staff

    Did you run the ISPConfig installer as root?
     
  8. bwragg

    bwragg New Member

    Thats becuase the
    Code:
    yum update
    command on page 3 of the guide updates centos to 4.4. It just happened to me also.
     

Share This Page