View Full Version : Howto Suse 10 x86_64 and ISPConfig
SeaWolf
11th December 2005, 04:53
Hi!
Since I had some troubles to install ISP on my 64bit server with Suse 10, here is a howto to help you ;)
~~~~~~~~~~~~~~~~~~~~ STEP 1 ~~~~~~~~~~~~~~~~~~~~
Install Suse 10 (perfect setup)
~~~~~~~~~~~~~~~~~~~~ STEP 2 ~~~~~~~~~~~~~~~~~~~~
yast2 -i openssl-devel-32bit
~~~~~~~~~~~~~~~~~~~~ STEP 3 ~~~~~~~~~~~~~~~~~~~~
mkdir /usr/local/lib/mysql
cd /usr/local/lib/mysql
ln -s /usr/include/mysql include
ln -s /usr/lib64/mysql lib
cd /tmp
~~~~~~~~~~~~~~~~~~~~ STEP 4 ~~~~~~~~~~~~~~~~~~~~
wget http://easynews.dl.sourceforge.net/sourceforge/ispconfig/ISPConfig-2.1.1.tar.gz
tar xvfz ISPConfig*.tar.gz
cd install_ispconfig
~~~~~~~~~~~~~~~~~~~~ STEP 5 ~~~~~~~~~~~~~~~~~~~~
vi compile_aps/compile
Change line 85 to:
./configure --with-apxs=${INSTALL_ROOT}/httpd/bin/apxs --enable-track-vars --enable-sockets --with-config-file-path=${INSTALL_ROOT}/php --enable-ftp --prefix=${INSTALL_ROOT}/php --with-openssl --with-mysql=/usr/local/lib/mysql --disable-libxml --with-zlib-dir=/usr/lib64 || error "Could not configure PHP"
~~~~~~~~~~~~~~~~~~~~ STEP 6 ~~~~~~~~~~~~~~~~~~~~
Install ISPConfig (./setup)
~~~~~~~~~~~~~~~~~~~~ STEP 7 ~~~~~~~~~~~~~~~~~~~~
Install Webmail (option)
With "update" function
choose URL and enter: http://www.ispconfig.org/downloads/webmail.pkg
If you already tried and doesn't work try this before:
rm -rf /home/admispconfig/ispconfig/web/tools/tools/webmail
rm -rf /home/admispconfig/ispconfig/web/webmail
rm -rf /home/admispconfig/ispconfig/temp/webmail
~~~~~~~~~~~~~~~~~~~~ STEP 8 ~~~~~~~~~~~~~~~~~~~~
Install phpMyAdmin (option)
With "update" function
choose URL and enter: http://www.ispconfig.org/downloads/phpmyadmin-2.6.4-pl3.pkg
On my server, ispconfig, imap and pop3 was not started automatically when computer boot so I just do these commands:
chkconfig --add ispconfig_server
chkconfig --add courier-authdaemon
chkconfig --add courier-imap
chkconfig --add courier-imap-ssl
chkconfig --add courier-pop
chkconfig --add courier-pop-ssl
you can start them manually right after that if you don't want to reboot.
/etc/init.d/ispconfig_server start
etc...
Hope will help some of you ;) That's all the step I've done and it works (with https) :)
Thanks to falko, till and some of you :cool:
SeaWolf
beholder
15th January 2006, 23:24
Following posted instruction on installation of ISPconfig on OpenSUSE 10 X86_64, my installation fails and gives me the following information about the failure:
/usr/lib64/gcc/x86_64-suse-linux/4.0.2/../../../../x86_64-suse-linux/bin/ld: /usr/local/lib/libz.a(gzio.o): relocation R_X86_64_32S against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libz.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[2]: *** [libclamav.la] Error 1
make[2]: Leaving directory `/tmp/install_ispconfig/compile_aps/clamav-0.87.1/libclamav'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/install_ispconfig/compile_aps/clamav-0.87.1'
make: *** [all] Error 2
ERROR: Could not make ClamAV
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 771: ispconfig_tmp/php/bin/php: No such file or directory
Since I am a bit of a novice please make any helpful information a detailed as possible.
Thank you in advance for you assistance.
SeaWolf
19th January 2006, 03:51
Could you tell me the specs of your system?
Did you install Suse 10 perfect setup?
SeaWolf
falko
19th January 2006, 08:09
Maybe this post helps: http://www.howtoforge.com/forums/showpost.php?p=1889&postcount=13
beholder
19th January 2006, 15:42
Yes Seawolf, I did use the Suse 10 (perfect setup). I also followed your suggestions and still have the failure listed above. I've tried every suggestion in this forum. Unless something new is listed I may be out of luck.
I am running Suse 10 x86_64 on a Dell PowerEdge SC1426 Xeon 64 bit server. Any help you can provide will be greatly appreciated.
falko
19th January 2006, 22:40
I found this thread: http://www.mail-archive.com/clamav-users@lists.clamav.net/msg19255.html
It seems as if you have to compile zlib with shared libraries before you try to install ISPConfig (the compilation of ClamAV is part of the ISPConfig installation).
Geekocrat
27th January 2006, 22:01
<Please bear with me; I'm a Raw Linux Newbie.>
I have the same problem installing ISPConfig on a new Gigabyte board with an AMD-64. So how does recompiling zlib affect the rest of the ISP setup? I finally got everything else working after 5 installs, and don't want to demolish anything!
[Don't get me wrong. It was a great learning experience, and I'm very grateful for your extensive instructions in the article. "Hand holding" I called it when I tried to explain it to my wife. "You're holding hands over the Internet with a *guy* named Falko in Germany?" she shrieked. So now I'm sleeping on the couch. But the server works!]
Many thanks,
Nick
falko
27th January 2006, 22:35
I have the same problem installing ISPConfig on a new Gigabyte board with an AMD-64. So how does recompiling zlib affect the rest of the ISP setup? I finally got everything else working after 5 installs, and don't want to demolish anything!
If ISPConfig is installed and running, then everything is fine, and you don't have to compile zlib! :)
[Don't get me wrong. It was a great learning experience, and I'm very grateful for your extensive instructions in the article. "Hand holding" I called it when I tried to explain it to my wife. "You're holding hands over the Internet with a *guy* named Falko in Germany?" she shrieked. So now I'm sleeping on the couch. But the server works!]
LOL :D
Geekocrat
28th January 2006, 02:11
Well, I should've been more explicit. The server works (MySQL, Apache, etc) except for IPSConfig. The installation can't get past the error message,
"relocation R_X86_64_32S against `a local symbol' can not be used when making a shared object; recompile with -fPIC"
It appears from the advice in your link above that zlib should be recompiled with the --shared option to work around this problem. I just want to be sure I'm not going to break anything else in the installation when it's recompiled. Or at least I'd like to have some idea of what will break so I have some clue what to fix.
Thanks again,
Nick
falko
28th January 2006, 08:02
It appears from the advice in your link above that zlib should be recompiled with the --shared option to work around this problem. I just want to be sure I'm not going to break anything else in the installation when it's recompiled. Or at least I'd like to have some idea of what will break so I have some clue what to fix.
Recompiling zlib won't break anything. Just do it! :)
Geekocrat
28th January 2006, 22:07
Recompiling zlib won't break anything. Just do it! :)
OK, I did it. Did not work. So recompiling zlib with shared libraries is not the issue.
I went back to this thread you recommended
http://www.howtoforge.com/forums/showthread.php?t=1626
and followed instructions by gbjbaanb except I was installing on Breezy Badger (Ubuntu) so did not need to install ssl-devel. Worked perfectly except that I did not write down the correct pwd for MySQL so had to reinstall. [Insert appropriate rough language here...][Lots of it.]:mad:
This time I didn't recompile zlib so I could check if the shared libraries were the issue. Just used the tweaks in the link above. ISPConfig installed without a hitch.
Bottom line: I suspect the compiler gives the "recompile with -FPIC" message because it can't find the shared libraries. When you change the ./configure to "--with-openssl" and the MySQL symbolic links, the compiler can find everything it needs.
Thanks to everyone for the help and various links. And thanks to Falko and Till for a most impressive product.
Nick
vBulletin® v3.8.4, Copyright ©2000-2010, Jelsoft Enterprises Ltd.