Web Hosting Talk







View Full Version : help !!! install Plesk7 with Fedora code 1


youandme
06-08-2004, 09:53 AM
**********************
[root@219 root]# service psa start
===> Reading /etc/psa/psa.conf ...
Starting xinetd: [ OK ]
Starting named: [ OK ]
Starting qmail: [ OK ]
Starting Courier-IMAP server:
Starting imapd [ OK ]
Starting imap-ssl [ OK ]
Starting pop3 [ OK ]
Starting pop3-ssl [ OK ]

Starting postgresql service: [ OK ]
Starting spamd: [ OK ]
Starting psa-spamassassin service: [ OK ]
Timeout error occurred trying to start MySQL Daemon.
Starting MySQL: [FAILED]
/usr/local/psa/admin/bin/httpsdctl start: httpd started
Starting Plesk: [ OK ]
*********************
i cant run Plesk cause Mysql Problem
plz help me to resolve this problem
i used autoinstaller Plesk

zupanm
06-08-2004, 09:56 AM
just off hand.. do you have mysql-server installed? I'm sure you do but i'm just wondering

rpm -q mysql-server

youandme
06-08-2004, 10:09 AM
rpm -qa | grep mysql
mysql-3.23.58-4
mysql-server-3.23.58-4
php-mysql-4.3.4-1.1

zupanm
06-08-2004, 11:01 AM
check your mysqld log in /var/log/

youandme
06-08-2004, 11:15 AM
cat mysqld.log

***********
040609 00:14:03 mysqld started
Cannot initialize InnoDB as 'innodb_data_file_path' is not set.
If you do not want to use transactional InnoDB tables, add a line
skip-innodb
to the [mysqld] section of init parameters in your my.cnf
or my.ini. If you want to use InnoDB tables, add to the [mysqld]
section, for example,
innodb_data_file_path = ibdata1:10M:autoextend
But to get good performance you should adjust for your hardware
the InnoDB startup options listed in section 2 at
http://www.innodb.com/ibman.html
/usr/libexec/mysqld: ready for connections

youandme
06-08-2004, 11:18 AM
added skip-innodb in /etc/my.cnf but mysqld still not start well
service mysqld start
Timeout error occurred trying to start MySQL Daemon.
Starting MySQL: [FAILED]

zupanm
06-08-2004, 11:24 AM
that is a normal error for the rpm version of mysql. try this

ps aux | grep mysql

youandme
06-08-2004, 11:29 AM
i did it :) here is result
rpm -qa | grep mysql
mysql-server-3.23.58-4
mysql-3.23.58-4
php-mysql-4.3.4-1.1

:)

zupanm
06-08-2004, 11:43 AM
no ps aux | grep mysql

i want to make sure there are no random mysql process running that are taking that using the port

youandme
06-08-2004, 11:47 AM
[root@219 psa]# ps aux | grep mysql
root 13725 0.0 0.1 5260 1164 pts/0 S 00:40 0:00 /bin/sh /usr/bin/safe_mysqld --defaults-file=/etc/my.cnf
mysql 13749 0.0 0.5 30420 5832 pts/0 S 00:40 0:00 /usr/libexec/mysqld --defaults-file=/etc/my.cnf --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysqld/mysqld.pid --skip-locking
root 13998 0.0 0.0 5688 664 pts/0 S 00:53 0:00 grep mysql

zupanm
06-08-2004, 11:49 AM
ok try this

kill -9 13725

service mysql start

youandme
06-08-2004, 11:53 AM
kill -9 13725
[root@219 psa]# service mysqld start
Timeout error occurred trying to start MySQL Daemon.
Starting MySQL: [FAILED]
[root@219 psa]#

**************

zupanm
06-08-2004, 11:56 AM
did you add the plesk user into the db and then change the mysql startup script to reflect those changes like the install file says?

youandme
06-08-2004, 12:03 PM
first : i got 3 dedicated with Rh9.0 and Rh ES3 and 1 with Fedora core1 !!! RH9.0 and ES3 <== all of them work good with plesk autoinstaller :)
but with Fedora i have some problem wth mysql :(
i always use autoinstaller and never meet any problem but......not with Fedora
how can i do now ???

youandme
06-08-2004, 12:20 PM
i can login mysql in Webmin but plesk not running :(
service mysqld start
Timeout error occurred trying to start MySQL Daemon.
Starting MySQL: [FAILED]

zupanm
06-08-2004, 12:57 PM
IMPORTANT:
Pay attention to the options used. Utilizing -U instead of -i will help you avoid
some problems during Plesk installation.

If prior to installing Plesk RPM you have already installed and configured MySQL, you need to
do the following:
set the empty password for the MySQL 'root' user;
or create the user 'admin' with password 'setup' and 'root' privileges.

youandme
06-08-2004, 01:08 PM
all work now :) just upgrade to mysql 4.0.18 and done
thanks zupanm