admintools was unable read /opt/vertica/config/admintools.conf

Problem: When attempting to open adminTools in Vertica, you get the following error:

[LIVE.DC1][xxxxxx@xxverticaxx /opt/vertica/bin]$ ./adminTools
admintools was unable read /opt/vertica/config/admintools.conf due to a conflict with another process that was writing to this file.  Please retry or if necessary remove the .lock file in the config directory

Solution: Check initially for a rogue lock on the admintools.conf file and remove if exists:

cd /opt/vertica/config
ls -l | grep lock
-rwxr-xr-x 1 vertica vertica    0 Jul 23 11:20 admintools.conf.lock
rm admintools.conf.lock

Once removed, the adminTools should be accessible again.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: