Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

error modifing sybase configuration file.

Posted on 2011-02-14
7
Medium Priority
?
917 Views
Last Modified: 2012-08-13
We are getting this error when we try to modify the configuration using sp_cpnfigure:

DBMS      SERVERNAME -- Number (5854) Severity (18) State (1) Server (SERVERNAME) Procedure (sp_configure) Configuration Error: Cannot rename file 'c:\sybase\SERVERNAME.cfg' due to system error 'Permission denied' (status = 0).

The premission seems correct, they haven't been changed on either the file or folder and this is config change is something we do regularly. System specs are:

Adaptive Server Enterprise/12.5.0.3/EBF 11449 ESD#4/P/NT (IX86)/OS 4.0/rel12503/1939/32-bit/OPT/Sat Sep 20 22:28:57 2003

running on:
Windows Server 2003 Enterprise x64 Edition
0
Comment
Question by:IDCSSupport
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
  • 2
7 Comments
 
LVL 13

Expert Comment

by:alpmoon
ID: 34889126
Old config files are renamed as SERVERNAME.001, SERVERNAME.002, and so on. Could it be a problem that you have already changed the config 999 times? If it is the case you can copy them somewhere else for archive purposes and remove them from sybase directory.
0
 

Author Comment

by:IDCSSupport
ID: 34889514
There were 300 + files in there but I moved then to another folder and was still getting the error.
0
 
LVL 13

Expert Comment

by:alpmoon
ID: 34889602
Have you tried to create such a file in that directory as Sybase user (the user starts ASE)? It must be related to creating those old config files.
0
Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

 
LVL 24

Assisted Solution

by:Joe Woodhouse
Joe Woodhouse earned 999 total points
ID: 34893333
The error is straightforward - the OS has told ASE that it doesn't have permissions to do something to the .CFG file in its current directory. Does the .CFG file still exist in the directory it's supposed to be in? You mentioned you moved 300 files so I'm wondering if you moved the current .CFG file as well.

Also re. above, when you get to [server].999 it just wraps around and starts overwriting [server].000 again.
0
 
LVL 13

Accepted Solution

by:
alpmoon earned 501 total points
ID: 34898087
Actually, the message clearly says that it is about renaming, which means "rename SERVERNAME.cfg SERVERNAME.001" didn't work. ASE have to do that before creating a new config file. I am not a Windows person. But could it be a permission preventing only renaming?
0
 
LVL 24

Assisted Solution

by:Joe Woodhouse
Joe Woodhouse earned 999 total points
ID: 34898144
Renaming needs permissions on the file, yes. Read and write, I think.

Good catch about the renaming though! :)
0
 

Author Closing Comment

by:IDCSSupport
ID: 35095186
Good.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

As much as Microsoft wants to kill off PST file support, just as they tried to do with public folders, there are still times when it is useful or downright necessary to export Exchange mailboxes to PST files. Thankfully, it is still possible to e…
With so many activities to perform, Exchange administrators are always busy in organizations. If everything, including Exchange Servers, Outlook clients, and Office 365 accounts work without any issues, they can sit and relax. But unfortunately, it…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Suggested Courses

604 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question