MapR Installer Verification Phase Error 404: Permission Denied

Blog Post created by apatil Employee on Feb 7, 2017

During MapR installation using installer GUI as mapr user, you may see "Error code: 404."

The detailed error shown below can also be seen from /opt/mapr/installer/logs/installer-process.log file of the installer host.



2017-01-31 11:01:47.887: install: python script launched with pid 14330
Traceback (most recent call last):
File "/opt/mapr/installer/bin/install.py", line 19, in <module>
from maprinstaller.runner import InstallRunner
File "/opt/mapr/installer/build/installer/lib/python2.7/site-packages/maprinstaller-1.4.24-py2.7.egg/maprinstaller/runner/__init__.py", line 2, in <module>
File "/opt/mapr/installer/build/installer/lib/python2.7/site-packages/maprinstaller-1.4.24-py2.7.egg/maprinstaller/runner/installrunner.py", line 28, in <module>
File "/opt/mapr/installer/build/installer/lib/python2.7/site-packages/maprinstaller-1.4.24-py2.7.egg/maprinstaller/callbacks.py", line 21, in <module>
File "/opt/mapr/installer/build/installer/lib/python2.7/site-packages/maprinstaller-1.4.24-py2.7.egg/maprinstaller/var.py", line 5, in <module>
File "/opt/mapr/installer/build/python/lib/python2.7/multiprocessing/__init__.py", line 253, in Value
return Value(typecode_or_type, *args, **kwds)
File "/opt/mapr/installer/build/python/lib/python2.7/multiprocessing/sharedctypes.py", line 108, in Value
lock = RLock()
File "/opt/mapr/installer/build/python/lib/python2.7/multiprocessing/__init__.py", line 183, in RLock
return RLock()
File "/opt/mapr/installer/build/python/lib/python2.7/multiprocessing/synchronize.py", line 172, in __init__
SemLock.__init__(self, RECURSIVE_MUTEX, 1, 1)
File "/opt/mapr/installer/build/python/lib/python2.7/multiprocessing/synchronize.py", line 75, in __init__
sl = self._semlock = _multiprocessing.SemLock(kind, value, maxvalue)
OSError: [Errno 13] Permission denied
install: python script exited with 1

2017-01-31 11:01:57.022:
2017-01-31 11:29:44.556:
2017-01-31 11:29:45.599:
2017-01-31 11:29:45.825:
2017-01-31 11:38:57.445:
2017-01-31 11:39:21.010:



The above error is seen when user mapr is not able to create shared memory files due to lack of permission.


Check the below directory permission:

     # ls -ltrd /dev/shm /tmp


This directory permission should be 1777 and owned by root. Update the permission if it is not correct:

     # chown root:root /dev/shm /tmp

     # chmod 1777 /dev/shm /tmp


Once the above updates are done, go back to installer GUI, and retry the installation.