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)
-   -   ISPConfig-2.2.35 Install Problem(s) (http://www.howtoforge.com/forums/showthread.php?t=42281)

Razvan Cioiu 30th December 2009 17:29

ISPConfig-2.2.35 Install Problem(s)
 
Hi,

I tride to instal ISPconfig on my Fedora 11. I get this:


chmod 755 /home/admispconfig/ispconfig/tools/spamassassin/usr/share/spamassassin
creating cache ./config.cache
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking if the compiler supports function prototypes... yes
checking whether make sets ${MAKE}... yes
checking for ranlib... ranlib
checking whether ln -s works... yes
checking for tclConfig.sh... not found
configure: warning: Tcl parts disabled
configure: warning: use --enable-tcl to locate tclConfig.sh
checking for sin... no
checking for connect... yes
checking for gethostbyname... yes
checking for sendmail... /usr/sbin/sendmail
checking for inews... no
checking for news server... not found
checking for hostname... /bin/hostname
checking domain name... SOMETHING.net
YOURDOMAIN.ro
SOMETHING.com
checking directory separator... /
checking for ANSI C header files... no
checking for size_t... yes
checking for ANSI C header files... (cached) no
checking whether time.h and sys/time.h may both be included... no
checking for fcntl.h... no
checking for unistd.h... no
checking for memory.h... no
checking for malloc.h... no
checking for errno.h... no
checking for direct.h... no
checking for io.h... no
checking for sys/time.h... no
checking for getcwd... no
checking for popen... no
checking for gettimeofday... no
checking for isatty... no
checking for tempnam... no
checking for strerror... no
checking for stdin... no
checking for stdarg.h... no
checking for varargs.h... no
configure: error: neither stdarg.h nor varargs.h present
ERROR: Could not configure UUDeview
cd: error retrieving current directory: getcwd: cannot access parent directories : No such file or directory
mv: cannot stat `binaries/aps.tar.gz': No such file or directory
mv: cannot stat `binaries/spamassassin.tar.gz': No such file or directory
mv: cannot stat `binaries/uudeview.tar.gz': No such file or directory
mv: cannot stat `binaries/clamav.tar.gz': No such file or directory
mv: cannot stat `binaries/cronolog': No such file or directory
mv: cannot stat `binaries/cronosplit': No such file or directory
mv: cannot stat `binaries/ispconfig_tcpserver': No such file or directory
mv: cannot stat `binaries/zip': No such file or directory
mv: cannot stat `binaries/unzip': No such file or directory
tar: spamassassin.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Exiting with failure status due to previous errors
mv: cannot stat `spamassassin': No such file or directory
tar: uudeview.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Exiting with failure status due to previous errors
mv: cannot stat `uudeview': No such file or directory
tar: clamav.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Exiting with failure status due to previous errors
mv: cannot stat `clamav': No such file or directory
tar: aps.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Exiting with failure status due to previous errors
mv: cannot stat `ispconfig_tmp': No such file or directory
cp: cannot stat `dist.info': No such file or directory
All prerequisites are fulfilled.
Here we go...
chmod: cannot access `./install.php': No such file or directory
Please enter your MySQL server:localhost
OK
Please enter your MySQL user:root
Please enter your MySQL password:
OK
Please enter a name for the ISPConfig database (e.g. db_ispconfig):db_isconfig
Please enter the IP address of the ISPConfig web (e.g. 192.168.0.1):1.2.3.4
OK
Please enter the host name (e.g. www):HOSTME
Please enter the domain (e.g. xyz.de):YOURDOMAIN.RO
OK
Please select the protocol (http or https (SSL encryption)) to use to access the ISPConfig system:
1) HTTPS
2) HTTP
Your Choice: 2

./setup2: line 1090: mysql_config: No such file or directory
./setup2: line 1091: httpd: No such file or directory
./setup2: line 1092: httpd2: No such file or directory
./setup2: line 1093: httpd2: No such file or directory
./setup2: line 1103: ip_addresses: No such file or directory
./setup2: line 1105: /root/ispconfig/php/php: No such file or directory
./setup2: line 1106: /root/ispconfig/dist.info: No such file or directory
chmod: cannot access `/home/admispconfig/ispconfig/tools/suphp/usr/bin/php-wrapp er': No such file or directory
Restarting some services...
shell-init: error retrieving current directory: getcwd: cannot access parent dir ectories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent dir ectories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent dir ectories: No such file or directory
Starting postfix: [ OK ]
shell-init: error retrieving current directory: getcwd: cannot access parent dir ectories: No such file or directory
Shutting down proftpd: [FAILED]
Starting proftpd: [FAILED]
./setup2: line 1163: /etc/rc.d/init.d/ispconfig_server: No such file or director y
Congratulations! Your ISPConfig system is now installed. If you had to install q uota, please take the steps described in the installation manual. Otherwise your system is now available without reboot.
Please direct your browser to

http://HOSTNAME.YOURDOMAIN.RO:81

and log in:
Username: admin
Password: admin

./setup2: line 1189: cd: /tmp/install_ispconfig/compile_aps/../..: No such file or directory






I tried to uninnstall, deleted the files in /root/ispconfig and in /home.
but no succes :( I was missing gilest from /root/ispconfig the uninstall ones


Can you help me please

Ben 31st December 2009 10:10

At first, i hope you do not mind me editing your post above. I replaced domain name and ip with something else. The reason for this, that if it is posted here and you maybe forget about e.g. editing the admin password for the ISPConfig interface or what so ever.... bad luck ;)

Regarding to your problem, either some output is missing, as it directly misses some directories after detecting to not have some header files.
It could also mean, that the installer does not handle this error right and instead of stopping, produces the following errors.
Therefore I'd reunzip the installtion stuff and try to fix the following error at first:
Quote:

configure: error: neither stdarg.h nor varargs.h present
ERROR: Could not configure UUDeview
cd: error retrieving current directory: getcwd: cannot access parent directories : No such file or directory
mv: cannot stat `binaries/aps.tar.gz': No such file or directory
Based on the following lines I'd say the C header files are missing, could be that they are located in the gcc devel package or similar.
Quote:

checking for ANSI C header files... no
checking for size_t... yes
checking for ANSI C header files... (cached) no
checking whether time.h and sys/time.h may both be included... no
checking for fcntl.h... no
checking for unistd.h... no
checking for memory.h... no
checking for malloc.h... no
checking for errno.h... no
checking for direct.h... no
checking for io.h... no
checking for sys/time.h... no
checking for getcwd... no
checking for popen... no
checking for gettimeofday... no
checking for isatty... no
checking for tempnam... no
checking for strerror... no
checking for stdin... no
checking for stdarg.h... no
checking for varargs.h... no
Maybe you compare your setup with e.g. this tutorial: http://www.howtoforge.com/perfect-se...64-ispconfig-2
Eventhoug it covers Fedora 11 64bit's this should work fine for a normal installation as well.

Razvan Cioiu 31st December 2009 11:59

Hi Ben,


I have fallower the tutorial before trying to install ISPConfig.

I reinstalled for the 8-th time and now it works! (i can connect to the web interface)

Solution: i have changed the permissions for the install folder.

chmod 777 /tmp/install_ispconfig


Now i get this:

Connected successfully to MySQL server
ls: cannot access /etc/httpd/vhosts/*.conf: No such file or directory
ls: cannot access /etc/httpd/vhosts/*.conf: No such file or directory
Restarting some services...
Starting postfix: [ OK ]
Shutting down proftpd: [FAILED]
Starting proftpd: [FAILED]
Starting ISPConfig system...
/root/ispconfig/httpd/bin/apachectl startssl: httpd started
ISPConfig system is now up and running!
Congratulations! Your ISPConfig system is now installed. If you had to install quota, please take the steps described in the installation manual. Otherwise your system is now available without reboot.
Please direct your browser to

http://host.yourdomain.ro:81

and log in:
Username: admin
Password: admin



Thank you for your help!

Ben 31st December 2009 12:38

Are you root while you install? This would explain your permission problems...

the new errors just mean that expected files are not there which would lead me to the above that they could not be created due to permission problems from not beeing root.

Razvan Cioiu 31st December 2009 12:42

I was logged on as root. and i had gcc installed

falko 31st December 2009 13:14

Quote:

Originally Posted by Razvan Cioiu (Post 214832)
Now i get this:

Connected successfully to MySQL server
ls: cannot access /etc/httpd/vhosts/*.conf: No such file or directory
ls: cannot access /etc/httpd/vhosts/*.conf: No such file or directory
Restarting some services...
Starting postfix: [ OK ]
Shutting down proftpd: [FAILED]
Starting proftpd: [FAILED]
Starting ISPConfig system...
/root/ispconfig/httpd/bin/apachectl startssl: httpd started
ISPConfig system is now up and running!
Congratulations! Your ISPConfig system is now installed. If you had to install quota, please take the steps described in the installation manual. Otherwise your system is now available without reboot.
Please direct your browser to

http://host.yourdomain.ro:81

and log in:
Username: admin
Password: admin



Thank you for your help!

This is normal and nothing to worry about. ISPConfig should be working without any problems now. :)


All times are GMT +2. The time now is 22:50.

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