MC not load Reason: No such file or directory
Hi all
I got a problem in a fresh install of vertica 9.0 (laboratory). I can install manually the RPM vertica 9.0, inclusive I created the DB, but when i tried to install MC I got the follow error ...
geecko@SLES-Vertica:~> sudo rpm -Uvh --force /home/geecko/FTP/vertica-console-9.0.1-0.x86_64.SUSE.rpm
Preparing... ################################# [100%]
[preinstall] clean up older drivers
[preinstall] Starting installation....
[preinstall] Backing up derby database
[preinstall] Backing up config directory
'/opt/vconsole/config' -> '/opt/vconsole/config.bak'
Updating / installing...
1:vertica-console-9.0.1-0 ################################# [100%]
[postinstall] Restoring analysis database
[postinstall] Restoring config file
'/opt/vconsole/config.bak/console.properties' -> '/opt/vconsole/config/console.properties'
[postinstall] Restoring keystore files
'/opt/vconsole/config/keystore.jks' -> '/opt/vconsole/config/keystore.jks.new'
'/opt/vconsole/config.bak/keystore.jks' -> '/opt/vconsole/config/keystore.jks'
'/opt/vconsole/config/keystore.key' -> '/opt/vconsole/config/keystore.key.new'
'/opt/vconsole/config.bak/keystore.key' -> '/opt/vconsole/config/keystore.key'
[postinstall] Restoring permissions and ownership of files...[postinstall]
[postinstall] username: root ; group: root
[postinstall] copy vertica-consoled
mkdir: cannot create directory ‘tools’: File exists
Cleaning up temp folder...
Starting the vertica management console....
redirecting to systemctl start vertica-consoled.service
Failed to start vertica-consoled.service: Unit vertica-consoled.service failed to load: No such file or directory.
[postinstall] Changing permissions of /opt/vconsole
...
When i tried to start the service with the command:
...
sudo /etc/init.d/verticad start
...
I got this message error:
....
verticad.service
Loaded: not-found (Reason: No such file or directory)
...
My lab is on SLES 12SP2, The RPMs that I am using are:
●vertica-9.0.1-0.x86_64.SUSE.rpm
●vertica-console-9.0.1-0.x86_64.SUSE.rpm
Any help or guidance that you can give me I thank you
Comments
Hi,
See if this command works to start Management Console for you:
SYSTEMCTL_SKIP_REDIRECT=1 sudo /etc/init.d/verticad start
Thanks for your reply. With that variable, the "MC" turned on. Should I configure that parameter to be permanent in the configuration of the tool? Or is it not normal behavior?
Kind regards!
You can add the following to the /etc/environment file:
SYSTEMCTL_SKIP_REDIRECT=true