Thank you for the reply.

As I understood, I was missing a running munge daemon - it was disabled by 
default in centos 5.5 - and an appropriate slurm configuration (AuthType etc).

On Tue, 23 Oct 2012 15:29:05 -0600
"Jerry Smith" <[email protected]> wrote:

> Did you grant access to the Database?
> 
>  From https://computing.llnl.gov/linux/slurm/accounting.html
> 
> 
>     SlurmDBD Configuration
> 
> SlurmDBD requires its own configuration file called "slurmdbd.conf".
> This file should be only on the computer where SlurmDBD executes and 
> should only be readable by the user which executes SlurmDBD (e.g. "slurm").
> This file should be protected from unauthorized access since it contains 
> a database login name and password.
>  See "man slurmdbd.conf" for a more complete description of the 
> configuration parameters. Some of the more important parameters include:
> 
> 
> As well as:
> 
> mysql@snowflake:~$ mysql
> Welcome to the MySQL monitor.Commands end with ; or \g.
> Your MySQL connection id is 538
> Server version: 5.0.51a-3ubuntu5.1 (Ubuntu)
> 
> Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
> 
> mysql> grant all on slurm_acct_db.* TO 'slurm'@'localhost';
> Query OK, 0 rows affected (0.00 sec)
> 
> 
> Vsevolod Nikonorov wrote:
> > Thank you very much, that's what my installation was lacking.
> >
> > Now I have slurm installed, slurmdbd runs successfully, but slurmctld, 
> > started vith -Dvvvv, gives some error messages constantly:
> >
> > slurmctld: debug:  slurmdbd: DBD_RC is 2002 from DBD_INIT(1400): Failed to 
> > unpack DBD_INIT message
> > slurmctld: error: slurmdbd: Sending DbdInit msg: Access/permission denied   
> >                       
> >
> > What am I missing now?
> >
> > On Thu, 18 Oct 2012 09:23:04 -0600
> > Moe Jette <[email protected]> wrote:
> >
> >   
> >> Do you have the mysql header file and library installed  
> >> (libmysqlclient-dev package)?
> >>
> >> Quoting Vsevolod Nikonorov <[email protected]>:
> >>
> >>     
> >>> Hello.
> >>>
> >>> I tried to compile slurm-2.4.3 with checkconfig. My configure line  
> >>> was the following:
> >>>
> >>> ./configure --with-mysql_config=/usr/bin
> >>>
> >>> and while configure script is being executed it produces the  
> >>> following error in log:
> >>>
> >>> checking for mysql_config... /usr/bin/mysql_config
> >>> configure: WARNING: *** MySQL test program execution failed.
> >>>
> >>> After that it checkconfig builds an rpm package from slurm-2.4.3  
> >>> directory, and this rpm package installs OK. But when I run slurmdbd  
> >>> -D, it gives me the following:
> >>>
> >>> slurmdbd: auth plugin for Munge (http://code.google.com/p/munge/) loaded
> >>> slurmdbd: error: Couldn't find the specified plugin name for  
> >>> accounting_storage/mysql looking at all fil
> >>> es
> >>> slurmdbd: error: cannot find accounting_storage plugin for  
> >>> accounting_storage/mysql
> >>> slurmdbd: error: cannot resolve acct_storage plugin operations
> >>> slurmdbd: fatal: Unable to initialize accounting_storage/mysql  
> >>> accounting storage plugin
> >>>
> >>> What am I doing wrong? Is there some packages missing maybe?
> >>>
> >>> Thanks.
> >>>
> >>> --
> >>> Vsevolod Nikonorov
> >>>
> >>> NIKIET, Russia
> >>>
> >>> <[email protected]>
> >>>
> >>>       
> >
> >
> >   


-- 
Всеволод Никоноров,
ОИТТиС, НИКИЭТ

<[email protected]>

Reply via email to