Do you actually have a mysqld server running?

What does that log say.


n Sep 14, 2015, at 11:08 PM, <[email protected]> 
<[email protected]> wrote:
> 
> Hi,
>  
> I am facing issue while starting the slurmctld daemon for slurm 15.08.0. The 
> daemon does not start.
>  
> The following is the output for slurmdbd –Dvvvvvvvv
> slurmdbd -Dvvvvvvvv
> slurmdbd: debug3: Trying to load plugin 
> /opt/slurm-15.08.0/lib/slurm/auth_munge.so
> slurmdbd: debug:  auth plugin for Munge (http://code.google.com/p/munge/ 
> <http://code.google.com/p/munge/>) loaded
> slurmdbd: debug3: Success.
> slurmdbd: debug3: Trying to load plugin 
> /opt/slurm-15.08.0/lib/slurm/accounting_storage_mysql.so
> slurmdbd: debug2: mysql_connect() called for db slurm_acct_db
> slurmdbd: Accounting storage MYSQL plugin loaded
> slurmdbd: debug3: Success.
> slurmdbd: Killing old slurmdbd[5117]
> slurmdbd: debug2: ArchiveDir        = /tmp
> slurmdbd: debug2: ArchiveScript     = (null)
> slurmdbd: debug2: AuthInfo          = (null)
> slurmdbd: debug2: AuthType          = auth/munge
> slurmdbd: debug2: CommitDelay       = 0
> slurmdbd: debug2: DbdAddr           = 192.168.122.181
> slurmdbd: debug2: DbdBackupHost     = (null)
> slurmdbd: debug2: DbdHost           = appmaster
> slurmdbd: debug2: DbdPort           = 6819
> slurmdbd: debug2: DebugFlags        = (null)
> slurmdbd: debug2: DebugLevel        = 10
> slurmdbd: debug2: DefaultQOS        = normal,standby
> slurmdbd: debug2: LogFile           = /var/log/slurmdbd.log
> slurmdbd: debug2: MessageTimeout    = 10
> slurmdbd: debug2: PidFile           = /var/run/slurmdbd.pid
> slurmdbd: debug2: PluginDir         = /opt/slurm-15.08.0/lib/slurm
> slurmdbd: debug2: PrivateData       = none
> slurmdbd: debug2: PurgeEventAfter   = NONE
> slurmdbd: debug2: PurgeJobAfter     = NONE
> slurmdbd: debug2: PurgeResvAfter    = NONE
> slurmdbd: debug2: PurgeStepAfter    = NONE
> slurmdbd: debug2: PurgeSuspendAfter = NONE
> slurmdbd: debug2: SlurmUser         = root(0)
> slurmdbd: debug2: StorageBackupHost = (null)
> slurmdbd: debug2: StorageHost       = appmaster
> slurmdbd: debug2: StorageLoc        = slurm_acct_db
> slurmdbd: debug2: StoragePass       = (null)
> slurmdbd: debug2: StoragePort       = 3306
> slurmdbd: debug2: StorageType       = accounting_storage/mysql
> slurmdbd: debug2: StorageUser       = root
> slurmdbd: debug2: TrackWCKey        = 0
> slurmdbd: debug2: TrackSlurmctldDown= 0
> slurmdbd: debug2: acct_storage_p_get_connection: request new connection 1
> slurmdbd: slurmdbd version 15.08.0 started
> slurmdbd: debug4: got 0 commits
> slurmdbd: debug2: running rollup at Tue Sep 15 11:17:20 2015
> slurmdbd: debug2: Everything rolled up
> slurmdbd: debug4: got 0 commits
>  
>  
> The following is the output for slurmctld -Dvvvvvvv
> slurmctld -Dvvvvvvv
> slurmctld: pidfile not locked, assuming no running daemon
> slurmctld: Job accounting information stored, but details not gathered
> slurmctld: slurmctld version 15.08.0 started on cluster appcluster
> slurmctld: debug3: Trying to load plugin 
> /opt/slurm-15.08.0/lib/slurm/crypto_munge.so
> slurmctld: Munge cryptographic signature plugin loaded
> slurmctld: debug3: Success.
> slurmctld: debug3: Trying to load plugin 
> /opt/slurm-15.08.0/lib/slurm/select_linear.so
> slurmctld: debug3: Success.
> slurmctld: debug3: Trying to load plugin 
> /opt/slurm-15.08.0/lib/slurm/preempt_none.so
> slurmctld: preempt/none loaded
> slurmctld: debug3: Success.
> slurmctld: debug3: Trying to load plugin 
> /opt/slurm-15.08.0/lib/slurm/checkpoint_none.so
> slurmctld: debug3: Success.
> slurmctld: debug:  Checkpoint plugin loaded: checkpoint/none
> slurmctld: debug3: Trying to load plugin 
> /opt/slurm-15.08.0/lib/slurm/acct_gather_energy_none.so
> slurmctld: debug:  AcctGatherEnergy NONE plugin loaded
> slurmctld: debug3: Success.
> slurmctld: debug3: Trying to load plugin 
> /opt/slurm-15.08.0/lib/slurm/acct_gather_profile_none.so
> slurmctld: debug:  AcctGatherProfile NONE plugin loaded
> slurmctld: debug3: Success.
> slurmctld: debug3: Trying to load plugin 
> /opt/slurm-15.08.0/lib/slurm/acct_gather_infiniband_none.so
> slurmctld: debug:  AcctGatherInfiniband NONE plugin loaded
> slurmctld: debug3: Success.
> slurmctld: debug3: Trying to load plugin 
> /opt/slurm-15.08.0/lib/slurm/acct_gather_filesystem_none.so
> slurmctld: debug:  AcctGatherFilesystem NONE plugin loaded
> slurmctld: debug3: Success.
> slurmctld: debug2: No acct_gather.conf file 
> (/opt/slurm-15.08.0/etc/acct_gather.conf)
> slurmctld: debug3: Trying to load plugin 
> /opt/slurm-15.08.0/lib/slurm/jobacct_gather_none.so
> slurmctld: debug:  Job accounting gather NOT_INVOKED plugin loaded
> slurmctld: debug3: Success.
> slurmctld: debug3: Trying to load plugin 
> /opt/slurm-15.08.0/lib/slurm/ext_sensors_none.so
> slurmctld: ExtSensors NONE plugin loaded
> slurmctld: debug3: Success.
> slurmctld: debug3: Trying to load plugin 
> /opt/slurm-15.08.0/lib/slurm/switch_none.so
> slurmctld: debug:  switch NONE plugin loaded
> slurmctld: debug3: Success.
> slurmctld: debug:  No backup controller to shutdown
> slurmctld: debug3: Trying to load plugin 
> /opt/slurm-15.08.0/lib/slurm/accounting_storage_mysql.so
> slurmctld: debug2: mysql_connect() called for db slurm_acct_db
> slurmctld: debug4: (as_mysql_convert.c:771) query
> show columns from "appcluster_assoc_table" where Field='grp_cpus';
> slurmctld: debug4: This could happen often and is expected.
> mysql_query failed: 1146 Table 'slurm_acct_db.appcluster_assoc_table' doesn't 
> exist
> show columns from "appcluster_assoc_table" where Field='grp_cpus';
> slurmctld: error: issue converting tables
> slurmctld: Accounting storage MYSQL plugin failed
> slurmctld: error: Couldn't load specified plugin name for 
> accounting_storage/mysql: Plugin init() callback failed
> slurmctld: error: cannot create accounting_storage context for 
> accounting_storage/mysql
> slurmctld: debug:  Association database appears down, reading from state file.
> slurmctld: debug2: No association state file (/tmp/assoc_mgr_state) to recover
> slurmctld: fatal: You are running with a database but for some reason we have 
> no TRES from it.  This should only happen if the database is down and you 
> don't have any state files.
>  
> The following is the output for saccctmgr show config
> sacctmgr show config
> sacctmgr: error: issue converting tables
> sacctmgr: error: Couldn't load specified plugin name for 
> accounting_storage/mysql: Plugin init() callback failed
> sacctmgr: error: cannot create accounting_storage context for 
> accounting_storage/mysql
> Configuration data as of 2015-09-15T11:17:51
> AccountingStorageBackupHost  = (null)
> AccountingStorageHost  = appmaster
> AccountingStorageLoc   = slurm_acct_db
> AccountingStoragePass  = (null)
> AccountingStoragePort  = 3306
> AccountingStorageType  = accounting_storage/mysql
> AccountingStorageUser  = root
> AuthType               = auth/munge
> MessageTimeout         = 10 sec
> PluginDir              = /opt/slurm-15.08.0/lib/slurm
> PrivateData            = none
> SlurmUserId            = root(0)
> SLURM_CONF             = /opt/slurm-15.08.0/etc/slurm.conf
> SLURM_VERSION          = 15.08.0
> TrackWCKey             = 0
> sacctmgr: error: Problem talking to the database: Interrupted system call
>  
>  
> Thanks and regards,
> Kritesh Arora
>  
> The information contained in this electronic message and any attachments to 
> this message are intended for the exclusive use of the addressee(s) and may 
> contain proprietary, confidential or privileged information. If you are not 
> the intended recipient, you should not disseminate, distribute or copy this 
> e-mail. Please notify the sender immediately and destroy all copies of this 
> message and any attachments. WARNING: Computer viruses can be transmitted via 
> email. The recipient should check this email and any attachments for the 
> presence of viruses. The company accepts no liability for any damage caused 
> by any virus transmitted by this email. www.wipro.com <http://www.wipro.com/>

Reply via email to