Skip to Content
author's profile photo Former Member
Former Member

SYBASE ASE 15.0.3 VS 15.7 SP64

We have 15.0.3 and 15.7 SP64 DB instance on one SUNOS box .

15.0.3 version server produces the error log with below permissions at OS level .

-rw-r--r-- 1 sybase sybase 56879 Jul 25 10:08 SYBASE_Error.log

But 15.7 SP64 version produces the error log with below permission at OS level .

-rw-r----- 1 sybase sybase 56879 Jul 25 10:08 SYBASE157_Error.log

Can you please advise on this .

Why 15.7 SP64 version fails to create error log file with READ permission (-rw-r-----) whereas 15.0.3 version produces the log file with ( -rw-r--r-- ) permission .

Because of this our application team/Monitoring tool is not able to read the errorlog file . ( As a SYBASE user and as a DBA we are able to grant the permission , But Every Reboot requires DBA or SYBASE user to change the permission manually ) .

Please help me to fix this issue .

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on Jul 25, 2016 at 07:43 AM

    a restart by default doesn't start a new errorlog, but that's easily automated in the runserver file

    e.g. archiving or removing the old server logfile, touching a new one a set the right permissions

    so check the runserver files (for 15.0 and 15.7), maybe there's a umask command in there

    otherwise you can easily set the umask or do chmod inside the runserver file

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.