on 10-17-2013 11:37 PM
Hello,
I´m doing a SAP Gateway installation in a Solaris SPARC 64bit (I´m using the Software provisioning manager 1.0 SP03). I running the SWPM with root user.
During the installation the SWPM stops with an error in the phase 2 - Install common system files
I checked the sapinst.log file:
...
INFO 2013-10-17 22:39:48.293
Creating system directories for SAP system GAT...
ERROR 2013-10-17 22:39:49.204
FSL-00009 System call failed. Error 30 (Read-only file system) in execution of system call 'mkdir' with parameter (/sapmnt/GAT, S_IRWXU | S_IRWXG | S_IRWXO), line (471) in file (syuxcpath.cpp), stack trace: EJSController.cpp: 164: EJSControllerImpl::executeScript()
JSExtension.hpp: 873: CallFunctionBase::call()
iaxxbfile.cpp: 690: CIaOsFile::createDirectoryFromPath_impl()
syxxcfsmgt.cpp: 437: CSyFileSystemMgtImpl::createDirectory(/sapmnt/GAT)
syuxcpath.cpp: 457: CSyPath::createDirectory()
.
ERROR 2013-10-17 22:39:49.205
FSL-02036 Unable to create node /sapmnt/GAT with type directory: Read-only file system.
ERROR 2013-10-17 22:39:49.211
CJS-30129 Creating node /sapmnt/$(SAPSYSTEMNAME) with type DIRECTORY failed. Original exception text was: modlib.jslib.caughtException:
Caught ::ESyException in module call: At line 481 file syuxcpath.cpp
Call stack:
EJSController.cpp: 164: EJSControllerImpl::executeScript()
JSExtension.hpp: 873: CallFunctionBase::call()
iaxxbfile.cpp: 690: CIaOsFile::createDirectoryFromPath_impl()
syxxcfsmgt.cpp: 437: CSyFileSystemMgtImpl::createDirectory(/sapmnt/GAT)
syuxcpath.cpp: 457: CSyPath::createDirectory()
System call failed. Error 30 (Read-only file system) in execution of system call 'mkdir' with parameter (/sapmnt/GAT, S_IRWXU | S_IRWXG | S_IRWXO), line (471) in file (syuxcpath.cpp), stack trace: EJSController.cpp: 164: EJSControllerImpl::executeScript()
JSExtension.hpp: 873: CallFunctionBase::call()
iaxxbfile.cpp: 690: CIaOsFile::createDirectoryFromPath_impl()
syxxcfsmgt.cpp: 437: CSyFileSystemMgtImpl::createDirectory(/sapmnt/GAT)
syuxcpath.cpp: 457: CSyPath::createDirectory()
.
Unable to create node /sapmnt/GAT with type directory: Read-only file system.
..
ERROR 2013-10-17 22:39:49.215
MUT-03025 Caught ESAPinstJSError in module call: nw.createNodeFailed.
ERROR 2013-10-17 22:39:49.711
FCO-00011 The step createSystemDirectories with step key |NW_Gateway|ind|ind|ind|ind|0|0|NW_System|ind|ind|ind|ind|system|0|createSystemDirectories was executed with status ERROR ( Last error reported by the step: System call failed. Error 30 (Read-only file system) in execution of system call 'mkdir' with parameter (/sapmnt/GAT, S_IRWXU | S_IRWXG | S_IRWXO), line (471) in file (syuxcpath.cpp), stack trace: EJSController.cpp: 164: EJSControllerImpl::executeScript()
JSExtension.hpp: 873: CallFunctionBase::call()
iaxxbfile.cpp: 690: CIaOsFile::createDirectoryFromPath_impl()
syxxcfsmgt.cpp: 437: CSyFileSystemMgtImpl::createDirectory(/sapmnt/GAT)
syuxcpath.cpp: 457: CSyPath::createDirectory()
.).
INFO 2013-10-17 22:39:50.18
Creating file /tmp/sapinst_instdir/NW702/STANDALONE/GW/__instana_tmp.xml.
I tried to overcome this issue and so I tried to give full permissions to /sapmnt directory... but even with root user it doesn´t allowed me, the output is the following (currently the /sapmnt directory has 755 permissions):
liszgpora001# who am i
root pts/2 Oct 17 23:15 (liszgp-som001)
liszgpora001# chmod 777 sapmnt
chmod: WARNING: can't change sapmnt
Can you help me please to solve this problem?
Thank you,
samid
If the folder permissions are correct, you need to look at the NFS permissions on the exporting host and the mount options on the importing host. I have never done this on Solaris, but take alook at this: http://www.dswkim.org/tips/tu228.html
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
FSL-02036 Unable to create node /sapmnt/GAT with type directory: Read-only file system.
That message is pretty understandable
Check how the file system is mounted. - mount
Are you able to create the directory manually ? - mkdir /sapmnt/GAT
Regards
RB
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
mkdir: Failed to make directory "GAT"; Read-only file system
This is a problem with the way the NFS was exported from the source host.
You need to make sure that the filesystem has permissions rw (rather than ro) on the /etc/dfs/dfstab on the source host.
That should solve your problem
Regards, Juan
Hello Juan,
I checked the /etc/dbs/dbstab in CI host (source host):
liszgpsap003# cat /etc/dfs/dfstab
# Place share(1M) commands here for automatic execution
# on entering init state 3.
#
# Issue the command 'svcadm enable network/nfs/server' to
# run the NFS daemon processes and the share commands, after adding
# the very first entry to this file.
#
# share [-F fstype] [ -o options] [-d "<text>"] <pathname> [resource]
# .e.g,
# share -F nfs -o rw=engineering -d "home dirs" /export/home2
share -F nfs -o root=liszgpsap004:liszgpora001:liszgpsap001:liszgpsap002:liszgpsap003,anon=0 -d "SAP trans" /usr/sap/trans
share -F nfs -o root=liszgpsap004:liszgpora001,anon=0 -d "SAP exe" /sapmnt/AZP/exe
share -F nfs -o root=liszgpsap004:liszgpora001,anon=0 -d "SAP global" /sapmnt/AZP/global
share -F nfs -o root=liszgpsap004:liszgpora001,anon=0 -d "SAP profiles" /sapmnt/AZP/profile
share -F nfs -o rw,anon=0 /usr/sap
What I have to edit here?
regards,
samid
Hello Juan,
I already posted the mount command from DB host, but I will post again for you:
DB Host:
liszgpora001# mount
/ on rpool/ROOT/s10s_u10wos_17b read/write/setuid/devices/rstchown/dev=4010002 on Thu Jan 1 01:00:00 1970
/devices on /devices read/write/setuid/devices/rstchown/dev=59c0000 on Thu Oct 17 22:11:01 2013
/system/contract on ctfs read/write/setuid/devices/rstchown/dev=5a40001 on Thu Oct 17 22:11:01 2013
/proc on proc read/write/setuid/devices/rstchown/dev=5a00000 on Thu Oct 17 22:11:01 2013
/etc/mnttab on mnttab read/write/setuid/devices/rstchown/dev=5a80001 on Thu Oct 17 22:11:01 2013
/etc/svc/volatile on swap read/write/setuid/devices/rstchown/xattr/dev=5ac0001 on Thu Oct 17 22:11:01 2013
/system/object on objfs read/write/setuid/devices/rstchown/dev=5b00001 on Thu Oct 17 22:11:01 2013
/etc/dfs/sharetab on sharefs read/write/setuid/devices/rstchown/dev=5b40001 on Thu Oct 17 22:11:01 2013
/platform/sun4v/lib/libc_psr.so.1 on /platform/sun4v/lib/libc_psr/libc_psr_hwcap3.so.1 read/write/setuid/devices/rstchown/dev=4010002 on Thu Oct 17 22:11:05 2013
/platform/sun4v/lib/sparcv9/libc_psr.so.1 on /platform/sun4v/lib/sparcv9/libc_psr/libc_psr_hwcap3.so.1 read/write/setuid/devices/rstchown/dev=4010002 on Thu Oct 17 22:11:05 2013
/dev/fd on fd read/write/setuid/devices/rstchown/dev=5cc0001 on Thu Oct 17 22:11:20 2013
/tmp on swap read/write/setuid/devices/rstchown/xattr/dev=5ac0002 on Thu Oct 17 22:11:21 2013
/var/run on swap read/write/setuid/devices/rstchown/xattr/dev=5ac0003 on Thu Oct 17 22:11:21 2013
/export on rpool/export read/write/setuid/devices/rstchown/nonbmand/exec/xattr/atime/dev=4010003 on Thu Oct 17 22:11:22 2013
/export/home on rpool/export/home read/write/setuid/devices/rstchown/nonbmand/exec/xattr/atime/dev=4010004 on Thu Oct 17 22:11:22 2013
/oracle/AZP/log on SAPpool/oralog read/write/setuid/devices/rstchown/nonbmand/exec/xattr/atime/dev=4010005 on Thu Oct 17 22:11:22 2013
/oracle/AZP/sapdata on SAPpool read/write/setuid/devices/rstchown/nonbmand/exec/xattr/atime/dev=4010006 on Thu Oct 17 22:11:22 2013
/rpool on rpool read/write/setuid/devices/rstchown/nonbmand/exec/xattr/atime/dev=4010007 on Thu Oct 17 22:11:22 2013
/sapmnt on liszgpsap003:/sapmnt remote/read/write/setuid/devices/rstchown/xattr/dev=5d40001 on Thu Oct 17 22:11:25 2013
regards,
samid
Hi Juan,
Here you have it, the output of df-k command in DB host:
liszgpora001:azpadm 6% df -k
Filesystem kbytes used avail capacity Mounted on
rpool/ROOT/s10s_u10wos_17b
309657600 22903733 105318086 18% /
/devices 0 0 0 0% /devices
ctfs 0 0 0 0% /system/contract
proc 0 0 0 0% /proc
mnttab 0 0 0 0% /etc/mnttab
swap 77723512 440 77723072 1% /etc/svc/volatile
objfs 0 0 0 0% /system/object
sharefs 0 0 0 0% /etc/dfs/sharetab
/platform/sun4v/lib/libc_psr/libc_psr_hwcap3.so.1
128221819 22903733 105318086 18% /platform/sun4v/lib/libc_psr.so.1
/platform/sun4v/lib/sparcv9/libc_psr/libc_psr_hwcap3.so.1
128221819 22903733 105318086 18% /platform/sun4v/lib/sparcv9/libc_psr.so.1
fd 0 0 0 0% /dev/fd
swap 78036240 313168 77723072 1% /tmp
swap 77723136 64 77723072 1% /var/run
rpool/export 309657600 39712501 105318086 28% /export
rpool/export/home 309657600 579 105318086 1% /export/home
SAPpool/oralog 10485760 31 10485729 1% /oracle/AZP/log
SAPpool 743178240 576266521 166882735 78% /oracle/AZP/sapdata
rpool 309657600 106 105318086 1% /rpool
liszgpsap003:/sapmnt 41943040 4366797 37576243 11% /sapmnt
regards,
samid
liszgpsap003:/sapmnt
Your /sapmnt is and nfs mount coming from liszgpsap003 that is why you cannot create the Gateway SID under it.
from your previous post
share -F nfs -o root=liszgpsap004:liszgpora001:liszgpsap001:liszgpsap002:liszgpsap003,anon=0 -d "SAP trans" /usr/sap/trans
share -F nfs -o root=liszgpsap004:liszgpora001,anon=0 -d "SAP exe" /sapmnt/AZP/exe
share -F nfs -o root=liszgpsap004:liszgpora001,anon=0 -d "SAP global" /sapmnt/AZP/global
share -F nfs -o root=liszgpsap004:liszgpora001,anon=0 -d "SAP profiles" /sapmnt/AZP/profile
share -F nfs -o rw,anon=0 /usr/sap
basically you should have /sapmnt/AZP mounted on your distributed hosts not /sapmnt
I would unmount /sapmnt from liszgpsap001 and mount /sapmnt/AZP from liszgpsap003 , then you should be able to create local new entries under /sapmnt in liszgpsap001
Regards, Juan
Hello Juan,
Ok... but tell me one thing, it is mandatory to perform a SAP Gateway installation in a /sapmnt directory?! Can I install it locally, on DB host? ...the main reason for this installation it´s because I need to install a SAP gateway on DB host to connect the CI and DI instances/hosts with DB host through the RFC SAPXPG_DBDEST_LISZGPORA001 (for the DB13 activities (notes 1914589, 446172)).
I posted this situation some days ago in the following url:
http://scn.sap.com/thread/3437170
During the installation of SAP Gateway the SWPM asked me the following value:
regards,
samid
Remount file system with rw option.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
As suggested please change the permission for /sapmnt and proceed, this will work.
BR,
Prabhakar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Samid,
Please change the permission for /sapmnt as suggest by deepak.because your FS is only read only mode .
It will work after that.
BR
Atul
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Samid,
I guess you have distributed environment and you are installing SAP gateway on the DB host where you have /sapmnt mounted from CI host.
FSL-00009 System call failed. Error 30 (Read-only file system) in execution of system call 'mkdir' with parameter (/sapmnt/GAT, S_IRWXU | S_IRWXG | S_IRWXO), line (471) in file (syuxcpath.cpp),
Please change the permission of /sapmnt on the source server from where it has been exported.
make it 777 . Post this it should work.
Hope this helps.
Regards,
Deepak Kori
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Deepak,
Thanks, in fact this is a distributed SAP system and I´m doing this on the DB host. So, I went to CI host and I change the permissions of /sapmnt to 777 with success:
liszgpsap003# chmod 777 sapmnt
liszgpsap003# ls -ltr
drwxrwxrwx 3 root sapsys 3 Sep 5 2012 sapmnt
I retry the installation of SAP Gateway but unfortunatelly it show me the same error:
...
INFO 2013-10-18 11:17:02.256
An error occured and the user decided to retry the current step: "|NW_Gateway|ind|ind|ind|ind|0|0|NW_System|ind|ind|ind|ind|system|0|createSystemDirectories".
INFO 2013-10-18 11:17:02.291
Working directory changed to /tmp/sapinst_instdir/NW702/STANDALONE/GW.
INFO 2013-10-18 11:17:02.458
Creating system directories for SAP system GAT...
ERROR 2013-10-18 11:17:03.503
FSL-00009 System call failed. Error 30 (Read-only file system) in execution of system call 'mkdir' with parameter (/sapmnt/GAT, S_IRWXU | S_IRWXG | S_IRWXO), line (471) in file (syuxcpath.cpp), stack trace: EJSController.cpp: 164: EJSControllerImpl::executeScript()
JSExtension.hpp: 873: CallFunctionBase::call()
iaxxbfile.cpp: 690: CIaOsFile::createDirectoryFromPath_impl()
syxxcfsmgt.cpp: 437: CSyFileSystemMgtImpl::createDirectory(/sapmnt/GAT)
syuxcpath.cpp: 457: CSyPath::createDirectory()
.
ERROR 2013-10-18 11:17:03.504
FSL-02036 Unable to create node /sapmnt/GAT with type directory: Read-only file system.
ERROR 2013-10-18 11:17:03.507
CJS-30129 Creating node /sapmnt/$(SAPSYSTEMNAME) with type DIRECTORY failed. Original exception text was: modlib.jslib.caughtException:
Caught ::ESyException in module call: At line 481 file syuxcpath.cpp
Call stack:
EJSController.cpp: 164: EJSControllerImpl::executeScript()
JSExtension.hpp: 873: CallFunctionBase::call()
iaxxbfile.cpp: 690: CIaOsFile::createDirectoryFromPath_impl()
syxxcfsmgt.cpp: 437: CSyFileSystemMgtImpl::createDirectory(/sapmnt/GAT)
syuxcpath.cpp: 457: CSyPath::createDirectory()
Can you help me please?
Kind regards
samid
Hi Samid,
As clearly showing the FS is read only
ERROR 2013-10-18 11:17:03.504
FSL-02036 Unable to create node /sapmnt/GAT with type directory: Read-only file system.
ERROR 2013-10-18 11:17:03.507
please try to create any test file/folder in /sapmnt/GAT and see if it is allowing you to do that with same user using which u r running installatiuon.
BR
Atul
Hello Roman N,
Here you have it, the output command from DB host and CI host:
DB Host:
liszgpora001# mount
/ on rpool/ROOT/s10s_u10wos_17b read/write/setuid/devices/rstchown/dev=4010002 on Thu Jan 1 01:00:00 1970
/devices on /devices read/write/setuid/devices/rstchown/dev=59c0000 on Thu Oct 17 22:11:01 2013
/system/contract on ctfs read/write/setuid/devices/rstchown/dev=5a40001 on Thu Oct 17 22:11:01 2013
/proc on proc read/write/setuid/devices/rstchown/dev=5a00000 on Thu Oct 17 22:11:01 2013
/etc/mnttab on mnttab read/write/setuid/devices/rstchown/dev=5a80001 on Thu Oct 17 22:11:01 2013
/etc/svc/volatile on swap read/write/setuid/devices/rstchown/xattr/dev=5ac0001 on Thu Oct 17 22:11:01 2013
/system/object on objfs read/write/setuid/devices/rstchown/dev=5b00001 on Thu Oct 17 22:11:01 2013
/etc/dfs/sharetab on sharefs read/write/setuid/devices/rstchown/dev=5b40001 on Thu Oct 17 22:11:01 2013
/platform/sun4v/lib/libc_psr.so.1 on /platform/sun4v/lib/libc_psr/libc_psr_hwcap3.so.1 read/write/setuid/devices/rstchown/dev=4010002 on Thu Oct 17 22:11:05 2013
/platform/sun4v/lib/sparcv9/libc_psr.so.1 on /platform/sun4v/lib/sparcv9/libc_psr/libc_psr_hwcap3.so.1 read/write/setuid/devices/rstchown/dev=4010002 on Thu Oct 17 22:11:05 2013
/dev/fd on fd read/write/setuid/devices/rstchown/dev=5cc0001 on Thu Oct 17 22:11:20 2013
/tmp on swap read/write/setuid/devices/rstchown/xattr/dev=5ac0002 on Thu Oct 17 22:11:21 2013
/var/run on swap read/write/setuid/devices/rstchown/xattr/dev=5ac0003 on Thu Oct 17 22:11:21 2013
/export on rpool/export read/write/setuid/devices/rstchown/nonbmand/exec/xattr/atime/dev=4010003 on Thu Oct 17 22:11:22 2013
/export/home on rpool/export/home read/write/setuid/devices/rstchown/nonbmand/exec/xattr/atime/dev=4010004 on Thu Oct 17 22:11:22 2013
/oracle/AZP/log on SAPpool/oralog read/write/setuid/devices/rstchown/nonbmand/exec/xattr/atime/dev=4010005 on Thu Oct 17 22:11:22 2013
/oracle/AZP/sapdata on SAPpool read/write/setuid/devices/rstchown/nonbmand/exec/xattr/atime/dev=4010006 on Thu Oct 17 22:11:22 2013
/rpool on rpool read/write/setuid/devices/rstchown/nonbmand/exec/xattr/atime/dev=4010007 on Thu Oct 17 22:11:22 2013
/sapmnt on liszgpsap003:/sapmnt remote/read/write/setuid/devices/rstchown/xattr/dev=5d40001 on Thu Oct 17 22:11:25 2013
CI Host:
liszgpsap003# mount
/ on rpool/ROOT/s10s_u10wos_17b read/write/setuid/devices/rstchown/dev=4010002 on Thu Jan 1 01:00:00 1970
/devices on /devices read/write/setuid/devices/rstchown/dev=59c0000 on Wed Mar 13 19:44:09 2013
/system/contract on ctfs read/write/setuid/devices/rstchown/dev=5a40001 on Wed Mar 13 19:44:09 2013
/proc on proc read/write/setuid/devices/rstchown/dev=5a00000 on Wed Mar 13 19:44:09 2013
/etc/mnttab on mnttab read/write/setuid/devices/rstchown/dev=5a80001 on Wed Mar 13 19:44:09 2013
/etc/svc/volatile on swap read/write/setuid/devices/rstchown/xattr/dev=5ac0001 on Wed Mar 13 19:44:09 2013
/system/object on objfs read/write/setuid/devices/rstchown/dev=5b00001 on Wed Mar 13 19:44:09 2013
/etc/dfs/sharetab on sharefs read/write/setuid/devices/rstchown/dev=5b40001 on Wed Mar 13 19:44:09 2013
/platform/sun4v/lib/libc_psr.so.1 on /platform/sun4v/lib/libc_psr/libc_psr_hwcap3.so.1 read/write/setuid/devices/rstchown/dev=4010002 on Wed Mar 13 19:44:11 2013
/platform/sun4v/lib/sparcv9/libc_psr.so.1 on /platform/sun4v/lib/sparcv9/libc_psr/libc_psr_hwcap3.so.1 read/write/setuid/devices/rstchown/dev=4010002 on Wed Mar 13 19:44:11 2013
/dev/fd on fd read/write/setuid/devices/rstchown/dev=5cc0001 on Wed Mar 13 19:44:14 2013
/tmp on swap read/write/setuid/devices/rstchown/xattr/dev=5ac0002 on Wed Mar 13 19:44:14 2013
/var/run on swap read/write/setuid/devices/rstchown/xattr/dev=5ac0003 on Wed Mar 13 19:44:14 2013
/export on rpool/export read/write/setuid/devices/rstchown/nonbmand/exec/xattr/atime/dev=4010003 on Wed Mar 13 19:44:15 2013
/export/home on rpool/export/home read/write/setuid/devices/rstchown/nonbmand/exec/xattr/atime/dev=4010004 on Wed Mar 13 19:44:15 2013
/rpool on rpool read/write/setuid/devices/rstchown/nonbmand/exec/xattr/atime/dev=4010005 on Wed Mar 13 19:44:15 2013
/sapmnt on SAPpool/sapmnt read/write/setuid/devices/rstchown/nonbmand/exec/xattr/atime/dev=4010006 on Wed Mar 13 19:44:15 2013
/usr/sap/trans on SAPpool read/write/setuid/devices/rstchown/nonbmand/exec/xattr/atime/dev=4010007 on Wed Mar 13 19:44:15 2013
Kind regards,
samid
Is this a mounted file system? like NFS!
make sure that the mount point was exported with write permission.
Regards
Clebio
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
92 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.