HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=16)
-   -   Error with CentOS 4.4 i386 (http://www.howtoforge.com/forums/showthread.php?t=6564)

schwan 31st August 2006 20:41

Error with CentOS 4.4 i386
 
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

falko 1st September 2006 17:19

Quote:

Originally Posted by schwan
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

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

schwan 2nd September 2006 14:52

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

schwan 2nd September 2006 15:48

Quote:

Originally Posted by falko
That seems to be the ProFTPd part in install.php. Does /etc/proftpd.conf exist?

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

schwan 2nd September 2006 15:53

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

schwan 2nd September 2006 16:34

Quote:

Originally Posted by schwan
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

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

falko 3rd September 2006 23:36

Did you run the ISPConfig installer as root?

bwragg 4th September 2006 02:15

Quote:

Originally Posted by schwan
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)


Thats becuase the
Code:

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


All times are GMT +2. The time now is 05:57.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.