<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Hello,<br>
    <br>
    after configuring SLURM-17.11.5 with accouting/mysql, it seems
    databse is not recording any job. If I run "sacct -vvvvvvvv", I get
    this output:<br>
    <blockquote>sacct: Jobs eligible from Tue May 08 00:00:00 2018 - Now<br>
      sacct: debug:  Options selected:<br>
              opt_completion=0<br>
              opt_dup=0<br>
              opt_field_list=(null)<br>
              opt_help=0<br>
              opt_allocs=0<br>
      sacct: debug3: Trying to load plugin
      /soft/slurm-17.11.5/lib/slurm/accounting_storage_slurmdbd.so<br>
      sacct: Accounting storage SLURMDBD plugin loaded with
      AuthInfo=(null)<br>
      sacct: debug3: Success.<br>
      sacct: debug4: Accounting storage SLURMDBD plugin loaded<br>
      sacct: debug3: Trying to load plugin
      /soft/slurm-17.11.5/lib/slurm/auth_munge.so<br>
      sacct: debug:  Munge authentication plugin loaded<br>
      sacct: debug3: Success.<br>
      sacct: debug:  slurmdbd: Sent PersistInit msg<br>
      sacct: debug2: Clusters requested:      q50004<br>
      sacct: debug2: Userids requested:       all<br>
             JobID    JobName  Partition    Account  AllocCPUS     
      State ExitCode<br>
      ------------ ---------- ---------- ---------- ----------
      ---------- --------<br>
      sacct: debug:  slurmdbd: Sent fini msg<br>
      <br>
    </blockquote>
    However, I supose it would have to appear a job I have submited (and
    finished) a minute ago.... Why does it not appear?<br>
    <br>
    <br>
    My slurmdbd.conf is:<br>
    <blockquote>ArchiveEvents=yes<br>
      ArchiveJobs=yes<br>
      ArchiveSteps=no<br>
      ArchiveSuspend=no<br>
      AuthInfo=/var/run/munge/munge.socket.2<br>
      AuthType=auth/munge<br>
      DbdHost=localhost<br>
      DebugLevel=4<br>
      PurgeEventAfter=12month<br>
      PurgeJobAfter=12month<br>
      PurgeResvAfter=12month<br>
      PurgeStepAfter=12month<br>
      PurgeSuspendAfter=12month<br>
      LogFile=/var/log/slurmdbd.log<br>
      PidFile=/var/tmp/slurm/slurmdbd.pid<br>
      SlurmUser=slurm<br>
      StorageHost=localhost<br>
      StorageLoc=slurmdb<br>
      StoragePass=slurm<br>
      StorageType=accounting_storage/mysql<br>
      StorageUser=slurm<br>
    </blockquote>
    <br>
    And my slurm.conf is:<br>
    <blockquote>[...]<br>
      # LOGGING AND ACCOUNTING<br>
      AccountingStorageType=accounting_storage/slurmdbd<br>
      AccountingStorageLoc=/var/log/slurm/accounting<br>
      JobCompType=jobcomp/filetxt<br>
      JobCompLoc=/var/log/slurm/job_completions<br>
      ClusterName=Q50004<br>
      JobAcctGatherType=jobacct_gather/linux<br>
      SlurmctldDebug=4<br>
      SlurmctldLogFile=/var/log/slurmdctl.log<br>
      SlurmdDebug=4<br>
      SlurmdLogFile=/var/log/slurmd.log<br>
      [...]<br>
    </blockquote>
    <br>
    In file /var/log/slurm/accounting appear my last job... but I don't
    undertand why job appears there while I have configured accounting
    with "AccountingStorageType=accounting_storage/slurmdbd"<br>
    <br>
    <br>
    Thanks.<br>
    <br>
    Thanks.<br>
    <br>
  </body>
</html>