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)
-   -   Suse 10.0 Installation Problems (http://www.howtoforge.com/forums/showthread.php?t=2295)

protocol 29th January 2006 21:47

Suse 10.0 Installation Problems
 
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 Code:

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

till 29th January 2006 22:02

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.

falko 29th January 2006 22:04

Quote:

Originally Posted by protocol
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


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


Quote:

Originally Posted by protocol
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!


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

protocol 29th January 2006 23:56

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.

till 30th January 2006 08:02

Is your server operating system 32Bit linux or 64Bit linux?

protocol 30th January 2006 16:18

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

falko 30th January 2006 18:53

Quote:

Originally Posted by protocol
It is 32bit. So where the ones that i have used in the past. Does it matter?

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?

protocol 1st February 2006 12:07

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

protocol 1st February 2006 12:13

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

falko 1st February 2006 12:44

Quote:

Originally Posted by protocol
It is 32bit. So where the ones that i have used in the past. Does it matter?

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

Quote:

Originally Posted by protocol
desk:/usr/x86_64-suse-linux # nmap localhost

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


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

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