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)
-   -   Oh crap... Corrupted install (http://www.howtoforge.com/forums/showthread.php?t=2561)

TheMJ 16th February 2006 06:14

Oh crap... Corrupted install
 
Here's what happened. I was innocently minding my own business, installing ISPConfig, when I was prompted for my internet address right after the MySQL configuration. I typed it wrong and it complained about not being able to find the adress and aborted.
Being the good end-user that I am, I deleted the whole install-ispconfig folder, and started again. Now, during compilation, I get the following:

"
[complains about uuencode.c having "pointer targets in passing argument 1 of ‘strlen’ differ in signedness"]
gcc -c -g -O2 -I. -DHAVE_CONFIG_H -DVERSION=\"0.5\" -DPATCH=\"20\" uuscan.c
gcc -c -g -O2 -I. -DHAVE_CONFIG_H -DVERSION=\"0.5\" -DPATCH=\"20\" uustring.c
gcc -c -g -O2 -I. -DHAVE_CONFIG_H -DVERSION=\"0.5\" -DPATCH=\"20\" fptools.c
gcc -c -g -O2 -I. -DHAVE_CONFIG_H -DVERSION=\"0.5\" -DPATCH=\"20\" crc32.c
rm -f libuu.a
ar r libuu.a uulib.o uucheck.o uunconc.o uuutil.o uuencode.o uuscan.o uustring.o fptools.o crc32.o
ar: creating libuu.a
ranlib libuu.a
make[1]: Leaving directory `/home/Max/install_ispconfig/compile_aps/uudeview-0.5.20/uulib'
(cd unix ; make)
make[1]: Entering directory `/home/Max/install_ispconfig/compile_aps/uudeview-0.5.20/unix'
gcc -c -g -O2 -I. -DHAVE_CONFIG_H -I../uulib -DVERSION=\"0.5\" -DPATCH=\"20\" uudeview.c
gcc -c -g -O2 -I. -DHAVE_CONFIG_H -I../uulib -DVERSION=\"0.5\" -DPATCH=\"20\" uufnflt.c
gcc -o uudeview uudeview.o uufnflt.o -L../uulib -luu -lm
../uulib/libuu.a(fptools.o)(.text+0x5b1): In function `_FP_tempnam':
/home/Max/install_ispconfig/compile_aps/uudeview-0.5.20/uulib/fptools.c:527: warning: the use of `tmpnam' is dangerous, better use `mkstemp'
uudeview.o(.text+0x257): In function `proc_stdin':
/home/Max/install_ispconfig/compile_aps/uudeview-0.5.20/unix/uudeview.c:452: warning: the use of `tempnam' is dangerous, better use `mkstemp'
gcc -c -g -O2 -I. -DHAVE_CONFIG_H -I../uulib -DVERSION=\"0.5\" -DPATCH=\"20\" uuenview.c
gcc -o uuenview uuenview.o uufnflt.o -L../uulib -luu -lm
../uulib/libuu.a(fptools.o)(.text+0x5b1): In function `_FP_tempnam':
/home/Max/install_ispconfig/compile_aps/uudeview-0.5.20/uulib/fptools.c:527: warning: the use of `tmpnam' is dangerous, better use `mkstemp'
../uulib/libuu.a(uunconc.o)(.text+0x2830): In function `UUDecode':
/home/Max/install_ispconfig/compile_aps/uudeview-0.5.20/uulib/uunconc.c:1332: warning: the use of `tempnam' is dangerous, better use `mkstemp'
make[1]: Leaving directory `/home/Max/install_ispconfig/compile_aps/uudeview-0.5.20/unix'
(cd tcl; rm -f config.h ; ln -s ../config.h config.h)
(cd tcl ; make)
make[1]: Entering directory `/home/Max/install_ispconfig/compile_aps/uudeview-0.5.20/tcl'
gcc -c -g -O2 -I. -I/usr/include -I/usr/X11R6/include -I/usr/include -DHAVE_CONFIG_H -I../uulib uuwish.c
gcc -c -g -O2 -I. -I/usr/include -I/usr/X11R6/include -I/usr/include -DHAVE_CONFIG_H -I../uulib uutcl.c
uutcl.c: In function ‘uutcl_UpdateParameter’:
uutcl.c:345: warning: assignment discards qualifiers from pointer target type
uutcl.c:347: warning: assignment discards qualifiers from pointer target type
uutcl.c:349: warning: assignment discards qualifiers from pointer target type
uutcl.c:351: warning: assignment discards qualifiers from pointer target type
uutcl.c:353: warning: assignment discards qualifiers from pointer target type
uutcl.c:355: warning: assignment discards qualifiers from pointer target type
uutcl.c:357: warning: assignment discards qualifiers from pointer target type
uutcl.c:359: warning: assignment discards qualifiers from pointer target type
uutcl.c:361: warning: assignment discards qualifiers from pointer target type
uutcl.c: In function ‘Uu_Init’:
uutcl.c:1177: warning: passing argument 3 of ‘Tcl_CreateCommand’ from incompatible pointer type
uutcl.c:1179: warning: passing argument 3 of ‘Tcl_CreateCommand’ from incompatible pointer type
uutcl.c:1180: warning: passing argument 3 of ‘Tcl_CreateCommand’ from incompatible pointer type
uutcl.c:1182: warning: passing argument 3 of ‘Tcl_CreateCommand’ from incompatible pointer type
uutcl.c:1184: warning: passing argument 3 of ‘Tcl_CreateCommand’ from incompatible pointer type
uutcl.c:1185: warning: passing argument 3 of ‘Tcl_CreateCommand’ from incompatible pointer type
uutcl.c:1186: warning: passing argument 3 of ‘Tcl_CreateCommand’ from incompatible pointer type
uutcl.c:1187: warning: passing argument 3 of ‘Tcl_CreateCommand’ from incompatible pointer type
uutcl.c:1188: warning: passing argument 3 of ‘Tcl_CreateCommand’ from incompatible pointer type
uutcl.c:1189: warning: passing argument 3 of ‘Tcl_CreateCommand’ from incompatible pointer type
uutcl.c:1190: warning: passing argument 3 of ‘Tcl_CreateCommand’ from incompatible pointer type
uutcl.c:1191: warning: passing argument 3 of ‘Tcl_CreateCommand’ from incompatible pointer type
uutcl.c:1192: warning: passing argument 3 of ‘Tcl_CreateCommand’ from incompatible pointer type
uutcl.c:1193: warning: passing argument 3 of ‘Tcl_CreateCommand’ from incompatible pointer type
uutcl.c:1194: warning: passing argument 3 of ‘Tcl_CreateCommand’ from incompatible pointer type
gcc -o uuwish uuwish.o uutcl.o -L../uulib -luu -L/usr/lib -L/usr/lib -ltk8.4 -ltcl8.4 -ldl -lieee -lm
../uulib/libuu.a(fptools.o)(.text+0x5b1): In function `_FP_tempnam':
/home/Max/install_ispconfig/compile_aps/uudeview-0.5.20/uulib/fptools.c:527: warning: the use of `tmpnam' is dangerous, better use `mkstemp'
../uulib/libuu.a(uunconc.o)(.text+0x2830): In function `UUDecode':
/home/Max/install_ispconfig/compile_aps/uudeview-0.5.20/uulib/uunconc.c:1332: warning: the use of `tempnam' is dangerous, better use `mkstemp'
make[1]: Leaving directory `/home/Max/install_ispconfig/compile_aps/uudeview-0.5.20/tcl'
(cd uulib ; make)
make[1]: Entering directory `/home/Max/install_ispconfig/compile_aps/uudeview-0.5.20/uulib'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/Max/install_ispconfig/compile_aps/uudeview-0.5.20/uulib'
(cd unix ; make)
make[1]: Entering directory `/home/Max/install_ispconfig/compile_aps/uudeview-0.5.20/unix'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/Max/install_ispconfig/compile_aps/uudeview-0.5.20/unix'
for d in uudeview uuenview ; do \
./install-sh -c unix/$d /home/admispconfig/ispconfig/tools/uudeview/bin/$d ; \
done
(cd tcl ; make)
make[1]: Entering directory `/home/Max/install_ispconfig/compile_aps/uudeview-0.5.20/tcl'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/Max/install_ispconfig/compile_aps/uudeview-0.5.20/tcl'
for d in xdeview uuwish ; do \
./install-sh -c tcl/$d /home/admispconfig/ispconfig/tools/uudeview/bin/$d ; \
done
for d in uudeview.1 uuenview.1 xdeview.1 ; do \
./install-sh -c -m 644 ./man/$d /home/admispconfig/ispconfig/tools/uudeview/man/man1/$d ; \
done
cp: cannot stat `/home/admispconfig/ispconfig/lib/config.inc.php': No such file or directory
cp: cannot stat `/home/admispconfig/ispconfig/users': No such file or directory
cp: cannot stat `/home/admispconfig/ispconfig/adminmail.txt': No such file or directory
All prerequisites are fulfilled.
Here we go...


Warning: main(config.inc.php): failed to open stream: No such file or directory in /home/Max/install_ispconfig/install.php on line 639

Warning: main(): Failed opening 'config.inc.php' for inclusion (include_path='.:/root/ispconfig/php/lib/php') in /home/Max/install_ispconfig/install.php on line 639

Warning: mysql_connect(): Access denied for user 'root'@'localhost' (using password: NO) in /home/Max/install_ispconfig/install.php on line 649
Could not connect to db
Restarting some services...
Shutting down postfix: [ OK ]
Starting postfix: [ OK ]
Shutting down proftpd: [ OK ]
Starting proftpd: - warning: AuthPAMAuthoritative is deprecated
[ OK ]
./setup2: line 974: /etc/rc.d/init.d/ispconfig_server: No such file or directoryCongratulations! 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.

[root@apache install_ispconfig]# /root/ispconfig/uninstall
-bash: /root/ispconfig/uninstall: No such file or directory
"

loong error. I just want to know how I can put everything back to the way it was before I tried to install this thing.

In the meantime, I will delete/start over one more time; it can't hurt to try.

till 16th February 2006 07:30

It seems you have not deleted all directories after yoir previous failed installation. Please delete:

rm -rf /home/admispconfig
rm -rf /root/ispconfig

Then delete the folder with the name you chose for the ISPConfig database in /var/lib/mysql/ if it exists.

Then delete the folder install_ispconfig, unpack the installer tar.gz again and run the setup script.

TheMJ 17th February 2006 01:46

Ah, very good. That worked nicely.

Unfortunately, now I can't connect to it. Firefox complains of a bad ssl certificate.
I am just using this for personal use, and won't be using it from outside my home LAN. Is there a way to switch it to non-SSL after the install? Or an easy way to remake/repair my "corrupted" certificates?

falko 17th February 2006 10:09

[QUOTE=TheMJ]
I am just using this for personal use, and won't be using it from outside my home LAN. Is there a way to switch it to non-SSL after the install?[/QUOTE9
Yes: http://www.howtoforge.com/forums/sho...ttps+ispconfig

Quote:

Originally Posted by TheMJ
Or an easy way to remake/repair my "corrupted" certificates?

You can recreate the SSL certificate as described in post #4 of this thread: http://www.howtoforge.com/forums/showthread.php?t=121

TheMJ 17th February 2006 17:59

Great, Thanks you guys. I'm up and running.


All times are GMT +2. The time now is 07:10.

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