./bootstrap.py
bin/buildout -N -c buildout.cfg
…
writing RSA key
Signature ok
subject=/C=US/ST=Rockstor user’s state/L=Rockstor user’s city/O=Rockstor user/OU=Rockstor dept/CN=rockstor.user
Getting Private key
Unused options for create-cert: ‘update-command’.
Installing docker-conf.
Installing rockstor-pre-systemd-conf.
Installing rockstor-systemd-conf.
Installing bootstrap-systemd-conf.
Installing def-kernel.
def-kernel: Running 'grubby --set-default=/boot/vmlinuz-‘4.4.5-1.el7.elrepo.x86_64’'
error opening /boot/grub/grub.cfg for read: No such file or directory
Unused options for def-kernel: ‘update-command’.
Installing start-rockstor.
start-rockstor: Running 'cp -f /root/rockstor-core/conf/rockstor-pre.service /etc/systemd/system/rockstor-pre.service &&
systemctl enable rockstor-pre.service &&
systemctl daemon-reload &&
systemctl restart rockstor-pre
systemctl start rockstor’
Created symlink from /etc/systemd/system/multi-user.target.wants/rockstor-pre.service to /etc/systemd/system/rockstor-pre.service.
Job for rockstor-pre.service failed because the control process exited with error code. See “systemctl status rockstor-pre.service” and “journalctl -xe” for details.
Failed to start rockstor.service: Unit rockstor.service failed to load: No such file or directory.
Unused options for start-rockstor: ‘update-command’.
[root@pcie7410-s5-c2 rockstor-core]# !127
systemctl status -l rockstor-pre rockstor rockstor-bootstrap
â rockstor-pre.service - Tasks required prior to starting Rockstor
Loaded: loaded (/etc/systemd/system/rockstor-pre.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Wed 2016-04-27 18:20:54 UTC; 27min ago
Main PID: 4727 (code=exited, status=1/FAILURE)
Apr 27 18:20:53 pcie7410-s5-c2 initrock[4727]: sys.exit(scripts.initrock.main())
Apr 27 18:20:53 pcie7410-s5-c2 initrock[4727]: File “/root/rockstor-core/src/rockstor/scripts/initrock.py”, line 380, in main
Apr 27 18:20:53 pcie7410-s5-c2 initrock[4727]: run_command([‘su’, ‘-’, ‘postgres’, ‘-c’, “psql storageadmin -f %s/conf/storageadmin.sql.in” % BASE_DIR])
Apr 27 18:20:53 pcie7410-s5-c2 initrock[4727]: File “/root/rockstor-core/src/rockstor/system/osi.py”, line 92, in run_command
Apr 27 18:20:53 pcie7410-s5-c2 initrock[4727]: raise CommandException(cmd, out, err, rc)
Apr 27 18:20:53 pcie7410-s5-c2 initrock[4727]: system.exceptions.CommandException: Error running a command. cmd = [‘su’, ‘-’, ‘postgres’, ‘-c’, ‘psql storageadmin -f /root/rockstor-core//conf/storageadmin.sql.in’]. rc = 1. stdout = [’’]. stderr = [’/root/rockstor-core/conf/storageadmin.sql.in: Permission denied’, ‘’]
Apr 27 18:20:54 pcie7410-s5-c2 systemd[1]: rockstor-pre.service: main process exited, code=exited, status=1/FAILURE
Apr 27 18:20:54 pcie7410-s5-c2 systemd[1]: Failed to start Tasks required prior to starting Rockstor.
Apr 27 18:20:54 pcie7410-s5-c2 systemd[1]: Unit rockstor-pre.service entered failed state.
Apr 27 18:20:54 pcie7410-s5-c2 systemd[1]: rockstor-pre.service failed.
â rockstor.service
Loaded: not-found (Reason: No such file or directory)
Active: inactive (dead)
â rockstor-bootstrap.service
Loaded: not-found (Reason: No such file or directory)
Active: inactive (dead)
[root@pcie7410-s5-c2 rockstor-core]#
Any ideas!