<div dir="ltr">I tried again with a completely new system (virtual machine).  I used the latest source, I used mysql instead of mariadb, and I installed all the client and dev libs (below).  I still get the same error.  It doesn't  build the /usr/lib/slurm/accounting_storage_mysql.so file.<div><br></div><div>Could the ./configure command be the problem?  Here's how I run it:</div><div><br></div><div>./configure --prefix=/tmp/slurm-build --sysconfdir=/etc/slurm --enable-pam --with-pam_dir=/lib/x86_64-linux-gnu/security/ --without-shared-libslurm</div><div><br><div><br></div><div>$ dpkg -l | grep mysql<br>ii  libmysqlclient-dev                         5.7.28-0ubuntu0.18.04.4                         amd64        MySQL database development files<br>ii  libmysqlclient20:amd64                     5.7.28-0ubuntu0.18.04.4                         amd64        MySQL database client library<br>ii  libmysqld-dev                              5.7.28-0ubuntu0.18.04.4                         amd64        MySQL embedded database development files<br>ii  mysql-client                               5.7.28-0ubuntu0.18.04.4                         all          MySQL database client (metapackage depending on the latest version)<br>ii  mysql-client-5.7                           5.7.28-0ubuntu0.18.04.4                         amd64        MySQL database client binaries<br>ii  mysql-client-core-5.7                      5.7.28-0ubuntu0.18.04.4                         amd64        MySQL database core client binaries<br>ii  mysql-common                               5.8+1.0.4                                       all          MySQL database common files, e.g. /etc/mysql/my.cnf<br>ii  mysql-server                               5.7.28-0ubuntu0.18.04.4                         all          MySQL database server (metapackage depending on the latest version)<br>ii  mysql-server-5.7                           5.7.28-0ubuntu0.18.04.4                         amd64        MySQL database server binaries and system database setup<br>ii  mysql-server-core-5.7                      5.7.28-0ubuntu0.18.04.4                         amd64        MySQL database server binaries<br></div><div><br></div><div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Dec 10, 2019 at 2:05 PM Dean Schulze <<a href="mailto:dean.w.schulze@gmail.com">dean.w.schulze@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">I'm trying to set up my first slurm installation following these instructions:<br><br><a href="https://github.com/nateGeorge/slurm_gpu_ubuntu" target="_blank">https://github.com/nateGeorge/slurm_gpu_ubuntu</a><br><br>I've had to deviate a little bit because I'm using virtual machines that don't have GPUs, so I don't have a gres.conf file and in /etc/slurm/slurm.conf I don't have an entry like Gres=gpu:2 on the last line.<br><br>On my controller vm I get errors when trying to do simple commnands:<br><br>$ sinfo<br>slurm_load_partitions: Unable to contact slurm controller (connect failure)<br><br>$ sudo sacctmgr add cluster compute-cluster<br>sacctmgr: error: slurm_persist_conn_open_without_init: failed to open persistent connection to localhost:6819: Connection refused<br>sacctmgr: error: slurmdbd: Sending PersistInit msg: Connection refused<br>sacctmgr: error: Problem talking to the database: Connection refused<br><br><br>Something is supposed to be running on port 6819, but netstat shows nothing using that port.  What is supposed to be running on 6819?<br><br>My database (Maria) is running.  I can connect to it with `sudo mysql -U root`.<br><br>When I boot my controller which services are supposed to be running and on which ports?<br><br>Thanks.<br><br></div>
</blockquote></div>