problem with Sybase in linux

Hi at all,

I’m trying to launch the sybase server in linux,
Ifollowed the Servoy 4 documentation so maybe I missing something.
Here’s what I did:

export LD_LIBRARY_PATH=MYSERVOYPATH/sybase_db
export PATH=$PATH:MYSERVOYPATH/sybase_db
cd MYSERVOYPATH/sybase_db
dbsrv11 @sybase.config

after the last command I receive this error message: “cannot restore segment prot after reloc:Permission denied”.
off course I have done all this with root user.

Am I missing something?

Does exist another way to start sybase service?

Thanks in advance

Marco

I have installed Servoy 5.1 with sybase 11

Sounds like the user logged in to launch the process has no r/w access in the sybase database directory. Did you install as root and run as a different user? Best practice: install and run as the same non root user.

Ok,I have tried to install and run with the same user but the result is the same.
I’m a novice in linux,is normally that if I digit echo $PATH the result is: ```
/usr/kerberos/bin:/usr/local/bin:usr/bin:/usr/X11R6/bin:/home/Marco/bin:/home/Marco/servoy_5.1/application_server/sybase_db

Because the user "Marco" have not the permission to r/w in these path exept for the last (/home/Marco/servoy_5.1/application_server/sybase_db).
Is possible that the error message cames becouse this reason?

Marco,

This seems to have something to do with se-linux (security-enhanced linux) not allowing you to load some required library.

You can try disabling selinux.

Rob

Thank you Rob,

You’re right!By disabling selinux I have solved the error and now sybase server run properly!

Marco