Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 4th November 2009, 20:59
benburner benburner is offline
Junior Member
 
Join Date: Nov 2009
Posts: 4
Thanks: 1
Thanked 0 Times in 0 Posts
Exclamation Not possible to update to 2.2.34 on Ubuntu 9.10

Hey there,

I just tried to update to ISPConfig 2.2.34 (from 2.2.33) on Ubuntu 9.10 but it fails (any updates before worked flawlessly).

The first try gave that result:

Quote:
===> src/support
make[2]: Entering directory `/home/hausmeister/downloads/install_ispconfig/compile_aps/apache_1.3.41/src/support'
gcc -c -I../os/unix -I../include -DLINUX=22 -DHAVE_SET_DUMPABLE -DMOD_SSL=208131 -DUSE_HSREGEX -DEAPI -DUSE_EXPAT -I../lib/expat-lite `../apaci` htpasswd.c
htpasswd.c:101: error: conflicting types for 'getline'
/usr/include/stdio.h:651: note: previous declaration of 'getline' was here
make[2]: *** [htpasswd.o] Error 1
make[2]: Leaving directory `/home/hausmeister/downloads/install_ispconfig/compile_aps/apache_1.3.41/src/support'
make[1]: *** [build-support] Error 1
make[1]: Leaving directory `/home/hausmeister/downloads/install_ispconfig/compile_aps/apache_1.3.41'
make: *** [build] Error 2
ERROR: Could not make Apache
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
Alle Voraussetzungen erfuellt.
Here we go...
chmod: cannot access `./install.php': No such file or directory

./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
Neustart einiger Dienste...
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
./setup2: line 1143: [: ==: unary operator expected
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
Shutting down ISPConfig system...
/etc/init.d/ispconfig_server: line 66: /root/ispconfig/httpd/bin/apachectl: No such file or directory
ISPConfig system stopped!
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
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
ISPConfig system is now up and running!
Herzlichen Glueckwunsch! Ihr ISPConfig-System ist jetzt installiert. Falls Sie Quota nachinstalliert haben, fuehren Sie noch die in der Installationsanleitung beschriebenen Schritte durch. Ansonsten ist Ihr System jetzt ohne Reboot einsatzbereit.

./setup2: line 1189: cd: /home/hausmeister/downloads/install_ispconfig/compile_aps/../..: No such file or directory
Also, when I tried to restart Apache 2, it couldn't because of this line in the apache2.conf:

Code:
CustomLog "|/root/ispconfig/cronolog --symlink=/var/log/httpd/ispconfig_access_log /var/log/httpd/ispconfig_access_log_%Y_%m_%d" combined_ispconfig
I know, I shouldn't comment it out as it breaks logging, but ISPConfig isn't currently working anymore, so I didn't "care".

uname -a is
Code:
2.6.28-16-server #55-Ubuntu SMP Tue Oct 20 20:37:10 UTC 2009 x86_64 GNU/Linux
If you need any more details, please let me know!

Thanks in advance for any help.

Yours,
- Ben

Last edited by benburner; 5th November 2009 at 15:45. Reason: added version I tried to upgrade from; posted the whole error for teh Goggel fun!
Reply With Quote
  #2  
Old 5th November 2009, 15:43
benburner benburner is offline
Junior Member
 
Join Date: Nov 2009
Posts: 4
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Point 16 of http://www.howtoforge.com/perfect-se...ispconfig-2-p5 helped me to be able to compile ISPConfig.

Now, it's

Code:
[Thu Nov  5 14:40:05 2009] [error] mod_ssl: Init: Unable to read server certificate from file /root/ispconfig/httpd/conf/ssl.crt/server.crt (OpenSSL library error follows)
[Thu Nov  5 14:40:05 2009] [error] OpenSSL: error:0D06B08E:asn1 encoding routines:ASN1_D2I_READ_BIO:not enough data
In …/ispconfig/httpd/logs/error.log

I guess I will be able to solve that, too. Will post the result here as Google food for everyone else with the same problem.

Last edited by benburner; 5th November 2009 at 15:54.
Reply With Quote
  #3  
Old 5th November 2009, 15:51
falko falko is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,843
Thanks: 781
Thanked 1,557 Times in 1,476 Posts
Default

Quote:
Originally Posted by benburner View Post
Hey there,

I just tried to update to ISPConfig 2.2.34 (from 2.2.33) on Ubuntu 9.10 but it fails (any updates before worked flawlessly).
Before you install ISPConfig, there's one important thing you must do. Open /usr/include/stdio.h and replace getline with parseline in line 651:

Code:
vi /usr/include/stdio.h
Code:
[...]
   This function is not part of POSIX and therefore no official
   cancellation point.  But due to similarity with an POSIX interface
   or due to the implementation it is a cancellation point and
   therefore not marked with __THROW.  */
extern _IO_ssize_t parseline (char **__restrict __lineptr,
                            size_t *__restrict __n,
                            FILE *__restrict __stream) __wur;
#endif
[...]
If you don't do this, the installation will fail because of the following error:

htpasswd.c:101: error: conflicting types for 'getline'
/usr/include/stdio.h:651: note: previous declaration of 'getline' was here
make[2]: *** [htpasswd.o] Error 1
make[2]: Leaving directory `/home/ISPConfig-2.2.stable/install_ispconfig/compile_aps/apache_1.3.41/src/support'
make[1]: *** [build-support] Error 1
make[1]: Leaving directory `/home/ISPConfig-2.2.stable/install_ispconfig/compile_aps/apache_1.3.41'
make: *** [build] Error 2
ERROR: Could not make Apache
__________________
Falko
--
Follow me on:
Reply With Quote
The Following User Says Thank You to falko For This Useful Post:
benburner (5th November 2009)
  #4  
Old 5th November 2009, 15:53
benburner benburner is offline
Junior Member
 
Join Date: Nov 2009
Posts: 4
Thanks: 1
Thanked 0 Times in 0 Posts
Default

And fixed, thanks to Falko:

http://www.howtoforge.com/forums/sho...58&postcount=4 did the trick.

Everything works as intended now again. Thanks.
Reply With Quote
  #5  
Old 5th November 2009, 15:56
benburner benburner is offline
Junior Member
 
Join Date: Nov 2009
Posts: 4
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Yep, that did the trick. Thank you very much!

(I wonder why it worked before all the times? Never had to do that before. Anyway, solved, and I'm a happy panda!)
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Ubuntu 8.04 updates fails & not able to update to 8.10 from CD ssk123 Installation/Configuration 5 4th June 2009 06:01
apt-get update Fails For UBUNTU Gutsy Gibbon giganet Server Operation 1 1st May 2009 16:24
Unbale to login to Postfix from webmail wasimriz HOWTO-Related Questions 5 6th April 2009 14:49
The system is currently updating the configuration files. warlock General 8 21st February 2009 19:15
HotSaNIC domino Tips/Tricks/Mods 23 6th November 2006 06:19


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


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Sponsored Links: Unified Communications: Thoughts, Strategies and Predictions
Join the discussion.
www.seamlessenterprise.com

IP Convergence
Integrate your wireless and wireline networks.
Learn how from the experts at Sprint.
www.seamlessenterprise.com

Wireless & Wireline Integration
Thoughts, strategies and solutions: join the discussion
www.seamlessenterprise.com

Unified Communications 2009
Join the Discussion. Now.
www.seamlessenterprise.com

Red Hat Virtual Experience - a free virtual event. Dec. 9th