installp: The specified device /mnt/ is not a valid device or file

installp: The specified device /mnt/ is not a valid device or file

Error Message :

When i am going to install/update new software from aix nfs server mount point i faced below mentioned errors.

bash-4.2# installp -Ld . | grep -i nim
installp: The specified device /mnt/
is not a valid device or file.

Problem Identification :

This install/update operation properly working on NFS server. but install/update operation throwing error on remote machine.
Recently i was created .toc file on NFS aix file set available directory location. This files required for file set install/update purpose why because it contains file set information.
Note : .toc is nothing but aix file sets table of contend.
after created .toc file default permission is 600. it means only it has user read & write permission.

bash-4.2# ls -lrt .toc
-rw------- 1 root system 1104985 Nov 03 14:31 .toc

by default we don’t have permission to access .toc file from nfs client.
Note : all the file sets permissions are 755 only .toc file permission is 600.

Solution :

Need to change .toc file permission 744 or 755 at nfs server file sets location.

bash-4.2# chmod 755 .toc
bash-4.2# ls -lrt .toc
-rwxr-xr-x 1 root system 1104985 Nov 03 14:31 .toc

verify if .toc file permission has been changed or not.

bash-4.2# ls -lrt .toc
-rwxr-xr-x 1 root system 1104985 Nov 03 14:31 .toc

Result:

Go to Nfs client mount nfs servr mount point.try to install using installp or smitty options.
on client machine

bash-4.2# mount 192.168.1.100:/NIM_FIESETS /mnt
bash-4.2# cd /mnt
bash-4.2# pwd
/mnt
bash-4.2# ls -lrt .toc
-rwxr-xr-x 1 root system 1104985 Nov 03 14:31 .toc
bash-4.2# installp -ld . | grep -i nim
bos.sysmgt.nim.client 7.1.0.18 I N usr,root
bos.sysmgt.nim.master 7.1.0.17 I N usr
bos.sysmgt.nim.spot 7.1.0.16 I N usr

installp: The specified device /mnt/ is not a valid device or file. problem has been resolved.

Related posts

Leave a Comment