sap-nw-abap-vagrant icon indicating copy to clipboard operation
sap-nw-abap-vagrant copied to clipboard

couldn't execute "./install.sh": permission denied for mac OS

Open rjbhayani opened this issue 4 years ago • 3 comments

sapnw: Running provisioner: shell... sapnw: Running: /var/folders/3s/d818h5113wqf8pzw19g684c40000gn/T/vagrant-shell20200426-13158-aa1fah.sh sapnw: Installing SAP NW ... sapnw: spawn sapnw:
sapnw: ./install.sh sapnw:
sapnw: -s sapnw:
sapnw: -k sapnw: couldn't execute "./install.sh": permission denied sapnw: while executing sapnw: "spawn ./install.sh -s -k" sapnw: (file "/vagrant/scripts/provision/install_nw.expect" line 2) sapnw: Waiting for NW to start ... sapnw: Still not started ... waiting more ... sapnw: [!] NW hasn't started after 2 minutes, this is strage sapnw: [!] Continuing with the script but there might be some issue ==> sapnw: Running provisioner: shell... sapnw: Running: /var/folders/3s/d818h5113wqf8pzw19g684c40000gn/T/vagrant-shell20200426-13158-1h5ys0z.sh sapnw: Local start/stopsap scripts... ==> sapnw: Running provisioner: shell... sapnw: Running: /var/folders/3s/d818h5113wqf8pzw19g684c40000gn/T/vagrant-shell20200426-13158-su18xu.sh sapnw: Adjusting SAP profile - increasing workers number... sapnw: cp: sapnw: cannot stat '/sapmnt/NPL/profile/NPL_D00_vhcalnplci' sapnw: : No such file or directory sapnw: sed: can't read /sapmnt/NPL/profile/NPL_D00_vhcalnplci: No such file or directory sapnw: SAP HARDWARE KEY sapnw: /tmp/vagrant-shell: 10: /tmp/vagrant-shell: cannot create /sapmnt/NPL/profile/NPL_D00_vhcalnplci: Directory nonexistent sapnw: sudo sapnw: : sapnw: unknown user: npladm sapnw: sudo sapnw: : sapnw: unable to initialize policy plugin

rjbhayani avatar Apr 26 '20 15:04 rjbhayani

sorry, didn't see the issue. Looks like the scripts cannot could not find the distrib files. Or maybe vagrant security policies are different in MacOS - I cannot check I don't have a macos with required RAM size. Can you try logging into the machine ssh and checking if the distrib is accessible ?

sbcgua avatar May 09 '20 09:05 sbcgua

Ive updated the vagrant file to allow for this on Mac #13

jhallam3 avatar Jul 30 '20 14:07 jhallam3

Could you pls also try #14

sbcgua avatar Jul 31 '20 19:07 sbcgua