Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Fatal exception: Unable to access /var/run/ambari-server directory

Fatal exception: Unable to access /var/run/ambari-server directory

Explorer

sudo ambari-server start Using python /usr/bin/python Starting ambari-server Traceback (most recent call last): File "/usr/sbin/ambari-server.py", line 33, in <module> from ambari_server.dbConfiguration import DATABASE_NAMES, LINUX_DBMS_KEYS_LIST File "/usr/lib/python2.6/site-packages/ambari_server/dbConfiguration.py", line 28, in <module> from ambari_server.serverConfiguration import decrypt_password_for_alias, get_ambari_properties, get_is_secure, \ File "/usr/lib/python2.6/site-packages/ambari_server/serverConfiguration.py", line 569, in <module> configDefaults = ServerConfigDefaults() File "/usr/lib/python2.6/site-packages/ambari_server/serverConfiguration.py", line 486, in __init__ super(ServerConfigDefaultsLinux, self).__init__() File "/usr/lib/python2.6/site-packages/ambari_server/serverConfiguration.py", line 371, in __init__ self.check_if_directories_writable([self.OUT_DIR, self.PID_DIR]) File "/usr/lib/python2.6/site-packages/ambari_server/serverConfiguration.py", line 422, in check_if_directories_writable raise FatalException(-1, "Unable to access {0} directory. Confirm the directory is created and is writable by Ambari Server user account '{1}'".format(directory, getpass.getuser())) ambari_commons.exceptions.FatalException: "Fatal exception: Unable to access /var/run/ambari-server directory. Confirm the directory is created and is writable by Ambari Server user account 'root', exit code -1"

2 REPLIES 2
Highlighted

Re: Fatal exception: Unable to access /var/run/ambari-server directory

@sharath chandra parashara

Please check the permission on the directory? Do you have read / write permission ? The user who, is running Ambari Server should have enough permission on this dir.

Highlighted

Re: Fatal exception: Unable to access /var/run/ambari-server directory

Explorer

lrwxrwxrwx. 1 root root 6 Jun 17 13:35 run -> ../run .. currently i am upgrading ambari from 2.2 to 2.4 i unable to find the directory /var/run/ambari-server

Don't have an account?
Coming from Hortonworks? Activate your account here