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)
-   -   Upgrade has taken ISPConfig offline, help! (http://www.howtoforge.com/forums/showthread.php?t=26701)

indie1982 9th September 2008 13:40

Upgrade has taken ISPConfig offline, help!
 
Right, I've just tried to upgrade from 2.2.23 to 2.2.25. I'm running an up to date Ubuntu Hardy Herron (perfect server setup install).

When I ran ./setup it identified my box as Debian Lenny and started the upgrade process.

Half way through the upgrade I got the following:

Quote:

from o_names.c:7:
../../include/openssl/bn.h:510: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
For Debian GNU/Linux specific bug reporting instructions,
see <URL:file:///usr/share/doc/gcc-4.2/README.Bugs>.
make[2]: *** [o_names.o] Error 1
make[2]: Leaving directory `/home/administrator/install_ispconfig/compile_aps/op enssl-0.9.7m/crypto/objects'
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory `/home/administrator/install_ispconfig/compile_aps/op enssl-0.9.7m/crypto'
make: *** [sub_all] Error 1
ERROR: Could not make OpenSSL
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: Error exit delayed from 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: Error exit delayed from 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: Error exit delayed from 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: Error exit delayed from previous errors
./setup2: line 888: ispconfig_tmp/php/bin/php: No such file or directory
ERROR: The PHP binary coming with ISPConfig does not work properly on your system!
The installation routine stops here!
I've tried to restart ispconfig_server but I get the following:

Quote:

Starting ISPConfig system...
/etc/init.d/ispconfig_server: line 45: /root/ispconfig/httpd/bin/apachectl: No such file or directory
/etc/init.d/ispconfig_server: line 48: /root/ispconfig/php/php: No such file or directory
FreshClam is already running!
ISPConfig system is now up and running!
Norman suggested making some changes to the configure and make files.

If I make the changes and re-run ./setup will it think I'm doing a fresh install or an upgrade?

Can someone please help!? As for as I can tell email is working but Apache is down.

indie1982 9th September 2008 20:16

Right I extracted the openssl files, edited the Configure and Makefile, removed the original archive, re-archived it, made /root/ispconfig and ran ./setup.

I get the following:

Quote:

Configured for linux-pentium.
making all in crypto...
make[1]: Entering directory `/home/administrator/install_ispconfig/compile_aps/openssl-0.9.7m/crypto'
( echo "#ifndef MK1MF_BUILD"; \
echo ' /* auto-generated by crypto/Makefile for crypto/cversion.c */'; \
echo ' #define CFLAGS "gcc -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_KRB5 -DL_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -march=pentium -Wall -DSHA1_ASM -DMD5_ASM -DRMD160_ASM"'; \
echo ' #define PLATFORM "linux-pentium"'; \
echo " #define DATE \"`LC_ALL=C LC_TIME=C date`\""; \
echo '#endif' ) >buildinf.h
gcc -I. -I.. -I../include -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_KRB5 -DL_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -march=pentium -Wall -DSHA1_ASM -DMD5_ASM -DRMD160_ASM -c -o cryptlib.o cryptlib.c
cryptlib.c: In function ‘CRYPTO_get_new_dynlockid’:
cryptlib.c:221: warning: value computed is not used
cryptlib.c: In function ‘CRYPTO_destroy_dynlockid’:
cryptlib.c:263: warning: value computed is not used
gcc -I. -I.. -I../include -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_KRB5 -DL_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -march=pentium -Wall -DSHA1_ASM -DMD5_ASM -DRMD160_ASM -c -o mem.o mem.c
gcc -I. -I.. -I../include -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_KRB5 -DL_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -march=pentium -Wall -DSHA1_ASM -DMD5_ASM -DRMD160_ASM -c -o mem_clr.o mem_clr.c
gcc -I. -I.. -I../include -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_KRB5 -DL_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -march=pentium -Wall -DSHA1_ASM -DMD5_ASM -DRMD160_ASM -c -o mem_dbg.o mem_dbg.c
mem_dbg.c: In function ‘print_leak’:
mem_dbg.c:620: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
For Debian GNU/Linux specific bug reporting instructions,
see <URL:file:///usr/share/doc/gcc-4.2/README.Bugs>.
make[1]: *** [mem_dbg.o] Error 1
make[1]: Leaving directory `/home/administrator/install_ispconfig/compile_aps/openssl-0.9.7m/crypto'
make: *** [sub_all] Error 1
ERROR: Could not make OpenSSL
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: Error exit delayed from 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: Error exit delayed from 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: Error exit delayed from 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: Error exit delayed from previous errors
./setup2: line 888: ispconfig_tmp/php/bin/php: No such file or directory
ERROR: The PHP binary coming with ISPConfig does not work properly on your system! The installation routine stops here!
Any ideas where to go from here? I need to get the websites back up and running.

Can I just reinstall 2.2.23 over 2.2.23? Would that work?

till 9th September 2008 20:18

Please do not double post!

http://www.howtoforge.com/forums/showthread.php?t=26420


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

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