Tanks Jared, install the mysql-devel resolve the problem.

Bests,
  Jorge Góis



2015-05-13 20:51 GMT+01:00 Jared David Baker <[email protected]>:

>  Did you have SQL development package installed on your system? Looks
> like the plugin was not built as part of the install. Can probably look in
> config.log to verify.
>
>
>
> -Jared
>
>
>
> *From:* Jorge Góis [mailto:[email protected]]
> *Sent:* Wednesday, May 13, 2015 1:11 PM
> *To:* slurm-dev
> *Subject:* [slurm-dev] Re: slurmdbd accounting_storage/mysql error
>
>
>
> Now i see this debug msg:
>
> "slurmdbd: debug3: Trying to load plugin
> /usr/local/lib/slurm/accounting_storage_mysql.so"
>
> And in /usr/local/lib/slurm/ only have this accounting_storage:
>
>  ll /usr/local/lib/slurm/ | grep acco
>
> -rw-r--r--. 1 root root 182754 May 13 19:58 accounting_storage_filetxt.a
> -rwxr-xr-x. 1 root root   1081 May 13 19:58 accounting_storage_filetxt.la
> -rwxr-xr-x. 1 root root 115306 May 13 19:58 accounting_storage_filetxt.so
> -rw-r--r--. 1 root root  76226 May 13 19:58 accounting_storage_none.a
> -rwxr-xr-x. 1 root root   1060 May 13 19:58 accounting_storage_none.la
> -rwxr-xr-x. 1 root root  50701 May 13 19:58 accounting_storage_none.so
> -rw-r--r--. 1 root root 182798 May 13 19:58 accounting_storage_slurmdbd.a
> -rwxr-xr-x. 1 root root   1088 May 13 19:58 accounting_storage_slurmdbd.la
> -rwxr-xr-x. 1 root root 115508 May 13 19:58 accounting_storage_slurmdbd.so
>
>
>
> The slurmdbd.config I use is this:
>
> #
> # Example slurmdbd.conf file.
> #
> # See the slurmdbd.conf man page for more information.
> #
> # Archive info
> ArchiveJobs=yes
> ArchiveDir="/tmp"
> #ArchiveSteps=yes
> #ArchiveScript=
> #JobPurge=12
> #StepPurge=1
> #
> # Authentication info
> AuthType=auth/munge
> #AuthInfo=/var/run/munge/munge.socket.2
> #
> # slurmDBD info
> DbdAddr=localhost
> DbdHost=localhost
> #DbdPort=7031
> SlurmUser=root
> #MessageTimeout=300
> DebugLevel=4
> #DefaultQOS=normal,standby
> LogFile=/var/log/slurm/slurmdbd.log
> PidFile=/var/run/slurmdbd.pid
> PluginDir=/usr/local/lib/slurm
> #PrivateData=accounts,users,usage,jobs
> #TrackWCKey=yes
> #
> # Database info
> StorageType=accounting_storage/mysql
> StorageHost=localhost
> #StoragePort=1234
> StoragePass=mypassword
> StorageUser=slurm
> StorageLoc=slurm_acct_db
>
>
>
> Creation of the tables and the user in mysql-server its done.
>
> I have make new install and use this "./configure
> --with-mysql_config=/usr/local/bin" but don't resolve
>
>
>
> Someone can help?
>
>
>   bets,
>   Jorge Góis
>
>
>
>
>
>
>
> 2015-05-13 17:50 GMT+01:00 Jorge Góis <[email protected]>:
>
> Hi guys,
>
> I'm using slurm 15.08.0-0pre3, and try to install accounting with slurmdbd
> and mysql.
>
> But slurmdbd give this errors:
>
> > slurmdbd -Dvvv
> slurmdbd: debug:  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 files
> slurmdbd: error: cannot find accounting_storage plugin for
> accounting_storage/mysql
> slurmdbd: error: cannot create accounting_storage context for
> accounting_storage/mysql
> slurmdbd: fatal: Unable to initialize accounting_storage/mysql accounting
> storage plugin
>
>
>
> I've been watching the others solution, but don't resolve.
>
> Someone can help me?
>
>
> bets,
>   Jorge Góis
>
>
>
>
>
>
>

Reply via email to