cancel
Showing results for 
Search instead for 
Did you mean: 

Permission denied:Sybase.sh

0 Kudos

Hi all,

I have installed sap nw 7.4 on suse Linux with sap Sybase Ase 16. The installation was successful... No errors...

The Sap and Sybase SID is MK1. When I tried to set the environment variable by running Sybase.sh  from sybmk1 user I am getting permission denied.

Please help me fix the error. Thanks in advance

0 Kudos

Hi Mark,

i guess i have to run the file .SYBASE.sh when i bring up the appplication for the first time.

The file .SYBASE.sh has full authorization . Please check screen shot attached to this mail.

0 Kudos

Hello Dinakar,

Try this

./SYBASE.sh

It should work.

HTH,

Gek

crisnormand
Active Participant
0 Kudos

Hello,

Problem is not about permission on SYBASE.sh but on shell directory /bin/sh.

Anyway, as you're logged with syb<SID> user it shouldn't be necessary to execute the SYBASE.sh.

Sybase environment variables are already set for this OS user.

HTH

Regards,

Cris

0 Kudos

Hi Maria,

As you said it shouldnt be necessary to execute the SYBASE,sh, but if i install any other component like DBISQL or SCC later i should execute the script else i wont be able to launch the tools...

which i think is true.

After ignoring the error "pemission denied" i tried starting the backup server and the primary using  the command startserver. i was able to connect to the database using isql -Usapsa -SMK1 -X command. Later i installed DBISQL and SCC. i tried to run dbisql but no go... it was asking to set the DISPLAY variable which i did but still no go..

Surprisingly  i was able to execute . SYBASE.sh using root, then everything i.e dbisql started working.

Accepted Solutions (0)

Answers (1)

Answers (1)

crisnormand
Active Participant
0 Kudos

Hello,

sybmk1 OS user should already have all Sybase environment variables set and all permissions on Sybase directories and files. This is done by the SAPinst when you install your SAP application on SAP ASE.

Is it possible you are actually logged as mk1adm? This is the OS user for SAP system directories/files/environment variables pointing to SAP directories.

If not, then we should see in the sapinst_dev.log why sybmk1 is not getting permissions and Sybase env variables as expected.

Regards,

Cris

0 Kudos

Hi Maria,

I logged in as root and switched to sybase user ..i.e sybmk1. Please check the screeshots attached to this note..

hans-juergen_schwindke
Active Participant
0 Kudos

Hi,

please try ./SYBASE.sh

There are no spaces and don't forget the slash /

If this does not work, please type on the shell:  id

This will print the current user. So we can see whether you're really logged on as sybmk1.

If you receive any other errors, please execute:  echo $SHELL

This helps us to identify whether you're using the right file for your shell.

Best regards,

Juergen