Suse 10.0 Installation Problems

Discussion in 'Installation/Configuration' started by protocol, Jan 29, 2006.

  1. protocol

    protocol New Member

    Hello all. In the past i have installed the previous version of ISPConfig on Suse 10.0 machines, by following the related 'Perfect Setup' Guides.

    On this particular machine, two things have changed. The first one is that now we have this new ISPConfig version (which i have never tested in the past) and the machine has a software raid configuration. These may not be related to the problems i will report, but i mention them for your information.

    So the problems are:

    a) I fail to run the
    Code:
    quotaon -avug
    , because it reports that

    Code:
    quotaon: using //aquota.group on /dev/md0 [/]: Invalid argument
    quotaon: Maybe create new quota files with quotacheck(8)?
    quotaon: using //aquota.user on /dev/md0 [/]: Invalid argument
    quotaon: Maybe create new quota files with quotacheck(8)?
    which i have no idea what it is.

    My /etc/fstab file is :

    Code:
    /dev/md0             /                    reiserfs   acl,user_xattri,usrquota,grpquota        1 1
    /dev/md1             swap                 swap       defaults              0 0
    proc                 /proc                proc       defaults              0 0
    sysfs                /sys                 sysfs      noauto                0 0
    usbfs                /proc/bus/usb        usbfs      noauto                0 0
    devpts               /dev/pts             devpts     mode=0620,gid=5       0 0
    /dev/cdrecorder      /media/cdrecorder    subfs      noauto,fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=utf8 0 0
    /dev/fd0             /media/floppy        subfs      noauto,fs=floppyfss,procuid,nodev,nosuid,sync 0 0

    b) Ultimately, ISPConfig fails to install at all, with this error:

    Code:
    checking for 8-bit clean memcmp... yes
    checking for mcrypt support... no
    checking for MCVE support... no
    checking OpenSSL dir for MCVE... no
    checking for mhash support... no
    checking whether to include mime_magic support... no
    checking for MING support... no
    checking for mnoGoSearch support... no
    checking for msession support... no
    checking for mSQL support... no
    checking for MSSQL support via FreeTDS... no
    checking for MySQL support... yes
    checking for specified location of the MySQL UNIX socket... no
    checking for MySQL UNIX socket location... no
    configure: error: Cannot find libmysqlclient under /usr.
    Note that the MySQL client library is not bundled anymore.
    ERROR: Could not configure PHP
    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
    ERROR: The PHP binary coming with ISPConfig does not work properly on your system! The installation routine stops here!
    .. which seems to mean that ISPConfig can not find my mysql installation and thus configure php properly, which is very strange because MySQL is really there. Here is my netstat output:

    HTML:
    gateway:/usr/local/src # netstat -tap  
    Active Internet connections (servers and established)
    Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name   
    tcp        0      0 *:mysql                 *:*                     LISTEN      7340/mysqld         
    tcp        0      0 *:sunrpc                *:*                     LISTEN      6001/portmap        
    tcp        0      0 *:ftp                   *:*                     LISTEN      6253/proftpd: (acce 
    tcp        0      0 *:ipp                   *:*                     LISTEN      6184/cupsd          
    tcp        0      0 *:smtp                  *:*                     LISTEN      6500/master         
    tcp        0      0 *:rockwell-csp2         *:*                     LISTEN      6264/sshd           
    tcp        0      0 *:smtp                  *:*                     LISTEN      6500/master
    So, what is happening? I was very confident that everything would function properly, that i am very sad about this mess. Please help.

    Panos
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    to a) did you chose reiserfs on your other servers? ReiserFS is known to have problems with Quota.

    to b) Please install the mysql-dev package from SuSe.
     
  3. falko

    falko Super Moderator ISPConfig Developer

    Quota doesn't work properly on reiserfs. You should use ext3 instead.


    Please install all the MySQL packages mentioned on http://www.howtoforge.com/perfect_setup_suse_10.0_p4:
    Code:
    yast -i mysql mysql-client mysql-shared perl-DBD-mysql perl-DBI perl-Data-ShowTable mysql-devel
     
  4. protocol

    protocol New Member

    Thank you for replying. However:
    a) The other servers had reiserfs as well. I will take note of your recomendation for not using reiserfs in the future.
    b) The mysql-dev package (actually, mysql-devel for Suse) is already installed. ISPConfig still reports the same error.
     
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    Is your server operating system 32Bit linux or 64Bit linux?
     
  6. protocol

    protocol New Member

    It is 32bit. So where the ones that i have used in the past. Does it matter?
     
  7. falko

    falko Super Moderator ISPConfig Developer

    Yes, there are differences between 32- and 64-bit systems. The tutorial was written for 32-bit systems.

    Can you just try and run this command:

    Code:
    yast -i mysql mysql-client mysql-shared perl-DBD-mysql perl-DBI perl-Data-ShowTable mysql-devel
    What does it report?
     
  8. protocol

    protocol New Member

    It reports nothing. It just re-installs the (already installed) packages.

    It took me some time to answer your previous post, because i just re-installed the whole OS (Suse Linux 10.0). This time i used the ext3 filesystem, and the quota problems dissapeared (you were right).

    So i then proceeded with installing ISP Config (always following the Suse Perfect Setup Guide) and voila.. the exact same problem.

    This time i noticed also that when ISPConfig installation begins it does NOT ask me the details of Mysql installation (the password etc...).

    I choose 'expert installation' and then:

    Code:
    ########## MAIL SERVER ##########
    
    Checking for MTA...
    /usr/sbin/postfix
    OK
    
    ISPConfig found the following MTA:
    postfix
    Is this correct? [y/n]y
    
    Log-File: /var/log/mail
    Is this correct? [y/n]y
    
    Virtusertable-File: /etc/postfix/virtusertable
    Is this correct? [y/n]y
    
    Local-Host-Names-File: /etc/postfix/local-host-names
    Is this correct? [y/n]y
    
    
    ########## FTP SERVER ##########
    
    Checking if an FTP server is installed...
    /usr/local/sbin/proftpd
    OK
    
    ISPConfig found the following FTP server:
    proftpd
    Is this correct? [y/n]y
    
    Config-File: /etc/proftpd.conf
    Is this correct? [y/n]y
    
    Server-Version: standalone
    Is this correct? [y/n]y
    
    Log-File: /var/log/xferlog
    Is this correct? [y/n]y
    
    
    ########## PROCMAIL ##########
    
    Checking for package procmail...
    /usr/bin/procmail
    OK
    
    ########## QUOTA ##########
    
    Checking for package quota...
    /usr/bin/quota
    OK
    
    ########## MYSQL SERVER ##########
    
    Checking for package MySQL...
    /usr/bin/mysql
    OK
    
    ########## OPENSSL ##########
    
    Checking for package openssl...
    /usr/bin/openssl
    OK
    
    ########## DNS SERVER ##########
    
    Checking for package bind...
    /usr/sbin/named
    OK
    
    ########## IPTABLES/IPCHAINS/IPFW ##########
    
    Checking for program iptables/ipchains/ipfw...
    /usr/sbin/iptables
    OK
    
    ########## WEB SERVER ##########
    
    which: no httpd in (/sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/libexec)
    which: no apache in (/sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/libexec)
    which: no apache2 in (/sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/libexec)
    Checking for program httpd...
    which: no httpd in (/sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/libexec)
    /usr/sbin/httpd2
    OK
    Checking the syntax of the httpd.conf...
    Syntax OK
    The syntax is ok!
    Web-Root: /home/www
    Is this correct? [y/n]n
    
    Web-Root:/var/www
    
    
    ########## INSTALLATION ##########
    ...
    ...
    ...
    
    The installation proceeds normally, and then the same error (AFTER choosing n on steps 7 and 8)

    Code:
    checking for mnoGoSearch support... no
    checking for msession support... no
    checking for mSQL support... no
    checking for MSSQL support via FreeTDS... no
    checking for MySQL support... yes
    checking for specified location of the MySQL UNIX socket... no
    checking for MySQL UNIX socket location... no
    configure: error: Cannot find libmysqlclient under /usr.
    Note that the MySQL client library is not bundled anymore.
    ERROR: Could not configure PHP
    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
    ERROR: The PHP binary coming with ISPConfig does not work properly on your system! The installation routine stops here!
    
    Please help me, this is driving me crazy because mySql IS there and functioning perfectly:

    Code:
    desk:/usr/x86_64-suse-linux # nmap localhost
    
    Starting nmap 3.81 ( http://www.insecure.org/nmap/ ) at 2006-02-01 13:07 EET
    Interesting ports on localhost (127.0.0.1):
    (The 1658 ports scanned but not shown below are in state: closed)
    PORT     STATE SERVICE
    21/tcp   open  ftp
    25/tcp   open  smtp
    111/tcp  open  rpcbind
    631/tcp  open  ipp
    3306/tcp open  mysql
    Nmap finished: 1 IP address (1 host up) scanned in 0.293 seconds
    
    What else can i do?

    Panos
     
  9. protocol

    protocol New Member

    Oh.. now i see that gimhan90 has the same problem, with Suse 9.3... !
     
  10. falko

    falko Super Moderator ISPConfig Developer

    You said it's a 32-bit system. Now I see this:

    So I think it's a 64-bit system. To go sure, please post the output of
    Code:
    uname -m
    If it is a 64-bit system, then this thread is for you: http://www.howtoforge.com/forums/showthread.php?t=1626
     
  11. protocol

    protocol New Member

    Please feel free to call me an idiot.
    This server is not inside my computer room, it is at a distant location. We have ordered 32 bit machines, we were assured that these were 32 bit machines and now...:eek:

    Thank you for all your help. I will be more careful in the future.
     
  12. falko

    falko Super Moderator ISPConfig Developer

    No problem. :) Things like these happen. Two days ago something happened to me of which I thought it could never happen to me... :eek:
     
  13. bobby

    bobby New Member

    SAME PROBLEM no 64 Bit

    Ok. So im having the EXACT same problem with the error message that protocol was getting before.

    Im talking about the php/mysql error, not the quota error. im using ext3 filesystem setup EXACTLY how the "Perfect Install" guide says.

    Im using Open Suse 10.0

    Any and all help GREATLY welcome
     
  14. falko

    falko Super Moderator ISPConfig Developer

    Did you install the mysql-devel package?

    Please run
    Code:
    yast -i mysql mysql-client mysql-shared perl-DBD-mysql perl-DBI perl-Data-ShowTable mysql-devel
    What's the output of
    Code:
    uname -m
    ?
     
  15. bobby

    bobby New Member

    output of uname -m is:

    i686

    yes i followed the "Perfect Install" instructions PERFECTLY. Ive wiped my hdd clean and restarted 3 times now and it always returns an error that has something to do with either mysql or php.

    i just now get a fatal error saying:

    ERROR: Could Not Make PHP

    ahh driving me crazy
     
  16. bobby

    bobby New Member

    im using ISPConfig-2.1.2 (the latest version)

    ive tried ISPConfig-2.1.1 which returns the "Could Not Make PHP" error

    im running Open Suse 10.0 on an amd athlon xp machine with a 200gb hdd and plenty of ram
     
  17. bobby

    bobby New Member

    OK! I got isp-2.1.1 installed.

    thanks
     

Share This Page