Error on Installation / ISPConfig and Mandriva

Discussion in 'Installation/Configuration' started by cchamb2, Mar 19, 2006.

  1. cchamb2

    cchamb2 New Member

    I've got a Mandriva system set up according to the Perfect Setup, and it appears to be correctly set up. All the tests in the setup were passed with flying colors. It's running on Mandriva LE2005/10.2.

    When I try to install ISPConfig, I get an error message in ./setup2, line 777 or thereabouts, that the PHP binary being installed with ISPConfig does not work properly on my machine. This error is at the bottom of the screen. It follows (at the very top of the screen) an error upon trying to leave /root/install_ispconfig/compile_aps/apache_1.3.34/src.

    Did I miss something again?
     
  2. falko

    falko Super Moderator Howtoforge Staff

    Please post the complete error messages.
     
  3. cchamb2

    cchamb2 New Member

    Sat Mar 18 16:47:13 MST 2006 - [ISPConfig] - installation directory: /root/install_ispconfig
    Sat Mar 18 16:47:13 MST 2006 - [ISPConfig] - operating system: Mandrake 10.2
    Sat Mar 18 16:47:16 MST 2006 - [ISPConfig] - Neuinstallation eines ISPConfig-Systems. / Installation of a new ISPConfig system. / Installation d'ISPConfig sur un nouveau système.
    Sat Mar 18 16:47:19 MST 2006 - [ISPConfig] - selected language: en
    Sat Mar 18 16:47:25 MST 2006 - [ISPConfig] - installation note accepted
    Sat Mar 18 16:47:27 MST 2006 - [ISPConfig] - licence accepted
    Sat Mar 18 16:47:30 MST 2006 - [ISPConfig] - installation mode: standard
    Sat Mar 18 16:47:32 MST 2006 - [ISPConfig] - mail: postfix
    Sat Mar 18 16:47:32 MST 2006 - [ISPConfig] - dist_mail=postfix ##
    Sat Mar 18 16:47:32 MST 2006 - [ISPConfig] - dist_mail_log=/var/log/mail/info ##
    Sat Mar 18 16:47:32 MST 2006 - [ISPConfig] - dist_mail_virtusertable=/etc/postfix/virtusertable ##
    Sat Mar 18 16:47:32 MST 2006 - [ISPConfig] - dist_mail_local_host_names=/etc/postfix/local-host-names ##
    Sat Mar 18 16:47:34 MST 2006 - [ISPConfig] - ftp: proftpd
    Sat Mar 18 16:47:34 MST 2006 - [ISPConfig] - dist_ftp=proftpd ##
    Sat Mar 18 16:47:34 MST 2006 - [ISPConfig] - dist_ftp_conf=/etc/proftpd.conf ##
    Sat Mar 18 16:47:34 MST 2006 - [ISPConfig] - dist_ftp_version=standalone ##
    Sat Mar 18 16:47:34 MST 2006 - [ISPConfig] - dist_ftp_log=/var/log/xferlog ##
    Sat Mar 18 16:47:34 MST 2006 - [ISPConfig] - procmail found: /usr/bin/procmail
    Sat Mar 18 16:47:35 MST 2006 - [ISPConfig] - quota found: /usr/bin/quota
    Sat Mar 18 16:47:35 MST 2006 - [ISPConfig] - mysql found: /usr/bin/mysql
    Sat Mar 18 16:47:35 MST 2006 - [ISPConfig] - openssl found: /usr/bin/openssl
    Sat Mar 18 16:47:35 MST 2006 - [ISPConfig] - named found: /usr/sbin/named
    Sat Mar 18 16:47:35 MST 2006 - [ISPConfig] - iptables found: /sbin/iptables
    Sat Mar 18 16:47:35 MST 2006 - [ISPConfig] - httpd found: /usr/sbin/httpd
    Sat Mar 18 16:47:35 MST 2006 - [ISPConfig] - httpd syntax ok!
    Sat Mar 18 16:47:35 MST 2006 - [ISPConfig] - dist_path_httpd_root=/home/www ##
    Sat Mar 18 16:47:39 MST 2006 - [ISPConfig] - Directory /var/www/sharedip created.
    Sat Mar 18 16:47:39 MST 2006 - [ISPConfig] - Use sharedip_index.html_en as SharedIP default page.
    Sat Mar 18 17:35:36 MST 2006 - [ISPConfig] - WARNING: could not unpack ISPConfig system
    Sat Mar 18 17:35:36 MST 2006 - [ISPConfig] - ERROR: The PHP binary coming with ISPConfig does not work properly on your system! The installation routine stops here!

    =================

    Between 16:47 and 17:35 I assume it was compiling Apache - at least a BUNCH of gibberish rolled by on the screen from compiling *something*.

    The error happened on Line 777 of setup2.

    In trying to uninstall the setup and try it again, I got first a "permission denied" on the uninstall script. Then I fixed that issue with the uninstall script. I reset the permissions to read *and* execute. Then I tried to run uninstall and it failed because the installation sub-directory no longer existed.

    I then tried to install ISPConfig again, and it kept failing on its check of the status of mysqld. It tells me that the deamon <sp> is not running, and I check the status. The status result is that "mysqld is dead and a subprocess is locked". I reboot and mysqld comes right back up, but the install keeps failing for the same reason. I restart the deamon and the install keeps failing for the same reason, with the same status results.
     
  4. falko

    falko Super Moderator Howtoforge Staff

    I need the real error messages from the command line, not from the log.
     
  5. cchamb2

    cchamb2 New Member

    Then I'll have to reload from scratch (including Mandriva Official) and run it again. The problem with the status of mysqld precludes installing ISPConfig again.

    That'll happen tonight.

    The final error from the command line was that the version of PHP that was supplied with ISPConfig didn't work correctly on my machine, and this error occurred on line 777 of script "setup2". Everything to that point proceeded as expected. The install did not stop or present any other error messages prior to that point, nor did it proceed after that error, nor can it be started again.
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    This is the default error message if anything was wrong during compilation. There must be an error before this line.
     
  7. cchamb2

    cchamb2 New Member

    E-mail me with an address for the logfile, pls. I have roughly 1mb of log file, and I'm not sure where it starts to go offcourse.
     
  8. falko

    falko Super Moderator Howtoforge Staff

    Simply post the output until the error occurs. It's far less than 1 MB...
     
  9. cchamb2

    cchamb2 New Member

    I guess we can start here. Putty captured 1.4mb of logfile.
    This is about 90 percent of the way through.

    I *think* it's trying to compile SpamAssassin.

    gcc -g -O2 -I. -DHAVE_CONFIG_H -c -o inews.o inews.c
    gcc -g -O2 -I. -DHAVE_CONFIG_H -c -o clientlib.o clientlib.c
    gcc -g -O2 -I. -DHAVE_CONFIG_H -c -o version.o version.c
    gcc -g -O2 -I. -DHAVE_CONFIG_H -o minews inews.o clientlib.o version.o -lm
    make[1]: Leaving directory `/etc/ISPConfig/install_ispconfig/compile_aps/uudeview-0.5.20/inews'
    (cd tcl; rm -f config.h ; ln -s ../config.h config.h)
    (cd tcl ; make)
    make[1]: Entering directory `/etc/ISPConfig/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
    In file included from uuwish.c:33:
    /usr/include/tk.h:96:23: X11/Xlib.h: No such file or directory
    In file included from uuwish.c:33:
    /usr/include/tk.h:572: error: syntax error before "Window"
    /usr/include/tk.h:572: error: `Window' declared as function returning a function
    /usr/include/tk.h:575: error: syntax error before "XEvent"
    /usr/include/tk.h:584: error: syntax error before "Tk_ClassCreateProc"
    /usr/include/tk.h:592: error: syntax error before '}' token
    /usr/include/tk.h:678: error: syntax error before "Bool"
    /usr/include/tk.h:683: error: syntax error before "time"
    /usr/include/tk.h:688: error: syntax error before "same_screen"
     
  10. till

    till Super Moderator Staff Member ISPConfig Developer

    The x11 devel libraries are missing.

    For Mandriva 2006 you can install the librarys with this command:

    urpmi libxorg-x11-devel

    if the above package is not available for your mandriva version, search for a package with "x11-devel" in the name.
     

Share This Page