sbcgua / sap-nw-abap-vagrant

Vagrant config for SAP NW developer edition
46 stars 15 forks source link

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

Open rjbhayani opened 4 years ago

rjbhayani commented 4 years ago

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

sbcgua commented 4 years ago

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 ?

jhallam3 commented 4 years ago

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

sbcgua commented 4 years ago

Could you pls also try #14