Author Topic: Supervisor start up on Linux failing  (Read 9867 times)

ACE post production Prague

  • Jr. Member
  • **
  • Posts: 3
Supervisor start up on Linux failing
« on: September 24, 2008, 03:46:51 PM »
Hello,

I'm trying to install supervisor on OpenSuse Linux machine according the manual. After installation is complete it says that starting the supervisor failed. Here is an output:
Do you have some idea what's wrong, please?

Code: [Select]
RF-09 Desktop/LIN# rpm -ivh qube-supervisor-5.3-0-SUSE-10.1.x86_64.rpm
Preparing...                ########################################### [100%]
   1:qube-supervisor        ########################################### [100%]
Making directories...
Installing db...
Configuring mysql...
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
sucessfully configured mysql
Stoping mysqld...
Shutting down service MySQL                                          done
Starting up mysqld...
Creating MySQL privilege database...
Installing MySQL system tables...
OK
Filling help tables...
OK
PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
To do so, start the server, then issue the following commands:
/usr/bin/mysqladmin -u root password 'new-password'
/usr/bin/mysqladmin -u root -h RF-09.ACE password 'new-password'

Alternatively you can run:
/usr/bin/mysql_secure_installation

which will also give you the option of removing the test
databases and anonymous user created by default.  This is
strongly recommended for production servers.

See the manual for more instructions.

You can start the MySQL daemon with:
cd /usr ; /usr/bin/mysqld_safe &

You can test the MySQL daemon with mysql-test-run.pl
cd mysql-test ; perl mysql-test-run.pl

Please report any problems with the /usr/bin/mysqlbug script!

The latest information about MySQL is available on the web at
http://www.mysql.com
Support MySQL by buying support/licenses at http://shop.mysql.com
Updating MySQL privilege database...
Looking for 'mysql' in: /usr/bin/mysql
Looking for 'mysqlcheck' in: /usr/bin/mysqlcheck
Running 'mysqlcheck'...
mysql.columns_priv                                 OK
mysql.db                                           OK
mysql.func                                         OK
mysql.help_category                                OK
mysql.help_keyword                                 OK
mysql.help_relation                                OK
mysql.help_topic                                   OK
mysql.host                                         OK
mysql.proc                                         OK
mysql.procs_priv                                   OK
mysql.tables_priv                                  OK
mysql.time_zone                                    OK
mysql.time_zone_leap_second                        OK
mysql.time_zone_name                               OK
mysql.time_zone_transition                         OK
mysql.time_zone_transition_type                    OK
mysql.user                                         OK
Running 'mysql_fix_privilege_tables'...
OK
Starting service MySQL                                               done
[Sep 24, 2008 15:32:26] RF-09 : INFO: Mysql Client Version: 5.0.51a
[Sep 24, 2008 15:32:26] RF-09 : detecting current storage state...
[Sep 24, 2008 15:32:26] RF-09 : qube's primary storage doesn't exist...  creating.
[Sep 24, 2008 15:32:26] RF-09 : constructing primary storage structure - version: 23
[Sep 24, 2008 15:32:28] RF-09 : current storage version: 23
Installing supervisor init script...
supervisor                0:off  1:off  2:on   3:on   4:off  5:on   6:off
Starting supervisor:
Done!                                      [FAILED]
RF-09 Desktop/LIN#

eric

  • Hero Member
  • *****
  • Posts: 229
Re: Supervisor start up on Linux failing
« Reply #1 on: September 24, 2008, 07:14:09 PM »
There are a couple of things you can do:
  • Check the /var/log/supelog for errors that might be responsible for the failure.
  • Running the supervisor manually (/usr/local/pfx/qube/sbin/supervisor) might also indicate what the problem might be.
Note that we have not tested Qube on OpenSuSe so it is possible that you may have a configuration that isn't currently supported.


ACE post production Prague

  • Jr. Member
  • **
  • Posts: 3
Re: Supervisor start up on Linux failing
« Reply #2 on: September 24, 2008, 08:34:28 PM »
Hello,
I will send you logs, but I'm not worry about OpenSuse we are using, it has all necessary libraries as Suse 10.1 has. My bigger problem is that even if I'm running Supervisor on Win 32bit, we are not able to submit any job using GUI, and jobs are pending only. This problem is primary for me to solve. To install Supervisor on Linux was just my idea of how to try to solve this problem, but I think it will not solve it. So better to look to my previous post or emails and try to solve situation described there. I will be glad for this.

Many thanks