sudo ./install_slurm_only.sh adduser: user 'munge' already exists 1024+0 records in 1024+0 records out 1024 bytes (1.0 kB) copied, 0.00569047 s, 180 kB/s MUNGE SERVICE: Active: active (running) since Thu 2019-07-11 16:35:58 CEST; 53min ago adduser: user 'slurm' already exists sed: can't read /etc/slurm/slurm.conf: Not a directory Loaded plugins: fastestmirror, langpacks Loading mirror speeds from cached hostfile * base: mirror.karneval.cz * epel: mirror.speedpartner.de * extras: mirror.karneval.cz * updates: mirror.karneval.cz Package expect-5.45-14.el7_1.x86_64 already installed and latest version Package expectk-5.45-14.el7_1.x86_64 already installed and latest version Nothing to do Loaded plugins: fastestmirror, langpacks Loading mirror speeds from cached hostfile * base: mirror.karneval.cz * epel: mirror.inode.at * extras: mirror.karneval.cz * updates: mirror.karneval.cz Package 1:mariadb-server-5.5.60-1.el7_5.x86_64 already installed and latest version Package 1:mariadb-5.5.60-1.el7_5.x86_64 already installed and latest version Nothing to do MYSQL SERVICE: Active: active (running) since Thu 2019-07-11 16:39:14 CEST; 50min ago spawn mysql_secure_installation NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MariaDB SERVERS IN PRODUCTION USE! PLEASE READ EACH STEP CAREFULLY! In order to log into MariaDB to secure it, we'll need the current password for the root user. If you've just installed MariaDB, and you haven't set the root password yet, the password will be blank, so you should just press enter here. Enter current password for root (enter for none): OK, successfully used password, moving on... Setting the root password ensures that nobody can log into the MariaDB root user without the proper authorisation. Set root password? [Y/n] n ... skipping. By default, a MariaDB installation has an anonymous user, allowing anyone to log into MariaDB without having to have a user account created for them. This is intended only for testing, and to make the installation go a bit smoother. You should remove them before moving into a production environment. Remove anonymous users? [Y/n] y ... Success! Normally, root should only be allowed to connect from 'localhost'. This ensures that someone cannot guess at the root password from the network. Disallow root login remotely? [Y/n] y ... Success! By default, MariaDB comes with a database named 'test' that anyone can access. This is also intended only for testing, and should be removed before moving into a production environment. Remove test database and access to it? [Y/n] y - Dropping test database... ... Success! - Removing privileges on test database... ... Success! Reloading the privilege tables will ensure that all changes made so far will take effect immediately. Reload privilege tables now? [Y/n] y ... Success! Cleaning up... All done! If you've completed all of the above steps, your MariaDB installation should now be secure. Thanks for using MariaDB! spawn mysql -u root -p -e create database slurm_acct_db;create user slurm@localhost; set password for slurm@localhost = password('sen2agri');grant usage on *.* to slurm;grant all privileges on slurm_acct_db.* to slurm;flush privileges; Enter password: ERROR 1007 (HY000) at line 1: Can't create database 'slurm_acct_db'; database exists Job for slurmdbd.service failed because the control process exited with error code. See "systemctl status slurmdbd.service" and "journalctl -xe" for details. slurmdbd.service is not a native service, redirecting to /sbin/chkconfig. Executing /sbin/chkconfig slurmdbd on SLURM DB SERVICE: Active: failed (Result: exit-code) since Thu 2019-07-11 17:29:52 CEST; 525ms ago couldn't execute "sacctmgr": no such file or directory while executing "spawn sacctmgr add cluster "sen2agri"" spawn sacctmgr add cluster sen2agri mkdir: cannot create directory ‘/var/spool/slurm’: File exists mkdir: cannot create directory ‘/var/log/slurm’: File exists Failed to start slurmctld.service: Unit not found. Failed to execute operation: No such file or directory Unit slurmctld.service could not be found. SLURM CTL SERVICE: Failed to start slurmd.service: Unit not found. Failed to execute operation: No such file or directory Unit slurmd.service could not be found. SLURM NODE SERVICE: Failed to start slurm.service: Unit not found. Failed to execute operation: No such file or directory Unit slurm.service could not be found. SLURM SERVICE: couldn't execute "sacctmgr": no such file or directory while executing "spawn sacctmgr add account "sen2agri-service"" spawn sacctmgr add account sen2agri-service couldn't execute "sacctmgr": no such file or directory while executing "spawn sacctmgr add user "sen2agri-service" Account="sen2agri-service"" spawn sacctmgr add user sen2agri-service Account="sen2agri-service" couldn't execute "sacctmgr": no such file or directory while executing "spawn sacctmgr modify user "sen2agri-service" set adminlevel=Admin" spawn sacctmgr modify user sen2agri-service set adminlevel=Admin couldn't execute "sacctmgr": no such file or directory while executing "spawn sacctmgr add qos "qosMaccs"" spawn sacctmgr add qos qosMaccs couldn't execute "sacctmgr": no such file or directory while executing "spawn sacctmgr modify qos qosMaccs set GrpJobs=1" spawn sacctmgr modify qos qosMaccs set GrpJobs=1 couldn't execute "sacctmgr": no such file or directory while executing "spawn sacctmgr modify user sen2agri-service set qos+=qosMaccs" spawn sacctmgr modify user sen2agri-service set qos+=qosMaccs couldn't execute "sacctmgr": no such file or directory while executing "spawn sacctmgr add qos "qosComposite"" spawn sacctmgr add qos qosComposite couldn't execute "sacctmgr": no such file or directory while executing "spawn sacctmgr modify qos qosComposite set GrpJobs=1" spawn sacctmgr modify qos qosComposite set GrpJobs=1 couldn't execute "sacctmgr": no such file or directory while executing "spawn sacctmgr modify user sen2agri-service set qos+=qosComposite" spawn sacctmgr modify user sen2agri-service set qos+=qosComposite couldn't execute "sacctmgr": no such file or directory while executing "spawn sacctmgr add qos "qosCropMask"" spawn sacctmgr add qos qosCropMask couldn't execute "sacctmgr": no such file or directory while executing "spawn sacctmgr modify qos qosCropMask set GrpJobs=1" spawn sacctmgr modify qos qosCropMask set GrpJobs=1 couldn't execute "sacctmgr": no such file or directory while executing "spawn sacctmgr modify user sen2agri-service set qos+=qosCropMask" spawn sacctmgr modify user sen2agri-service set qos+=qosCropMask couldn't execute "sacctmgr": no such file or directory while executing "spawn sacctmgr add qos "qosCropType"" spawn sacctmgr add qos qosCropType couldn't execute "sacctmgr": no such file or directory while executing "spawn sacctmgr modify qos qosCropType set GrpJobs=1" spawn sacctmgr modify qos qosCropType set GrpJobs=1 couldn't execute "sacctmgr": no such file or directory while executing "spawn sacctmgr modify user sen2agri-service set qos+=qosCropType" spawn sacctmgr modify user sen2agri-service set qos+=qosCropType couldn't execute "sacctmgr": no such file or directory while executing "spawn sacctmgr add qos "qosPheno"" spawn sacctmgr add qos qosPheno couldn't execute "sacctmgr": no such file or directory while executing "spawn sacctmgr modify qos qosPheno set GrpJobs=1" spawn sacctmgr modify qos qosPheno set GrpJobs=1 couldn't execute "sacctmgr": no such file or directory while executing "spawn sacctmgr modify user sen2agri-service set qos+=qosPheno" spawn sacctmgr modify user sen2agri-service set qos+=qosPheno couldn't execute "sacctmgr": no such file or directory while executing "spawn sacctmgr add qos "qosLai"" spawn sacctmgr add qos qosLai couldn't execute "sacctmgr": no such file or directory while executing "spawn sacctmgr modify qos qosLai set GrpJobs=1" spawn sacctmgr modify qos qosLai set GrpJobs=1 couldn't execute "sacctmgr": no such file or directory while executing "spawn sacctmgr modify user sen2agri-service set qos+=qosLai" spawn sacctmgr modify user sen2agri-service set qos+=qosLai couldn't execute "sacctmgr": no such file or directory while executing "spawn sacctmgr modify user sen2agri-service set qos+=normal" spawn sacctmgr modify user sen2agri-service set qos+=normal CLUSTER,USERS,QOS INFO: ./install_slurm_only.sh: line 325: sacctmgr: command not found QOS INFO: ./install_slurm_only.sh: line 328: sacctmgr: command not found Partition INFO: ./install_slurm_only.sh: line 331: scontrol: command not found Nodes INFO: ./install_slurm_only.sh: line 334: scontrol: command not found