on 2024 Jun 03 11:28 AM
I'm currently working with Sybase Adaptive Server Enterprise (ASE) and need to locate the database error logs for troubleshooting purposes. Specifically, I need to understand the default location of these logs and how to verify or change this location if necessary.
Request clarification before answering.
Find the current name and location of the errorlog:
select @@errorlog
Default location when ASE is initially built:
${SYBASE}/${SYBASE_ASE}/install/<ase_instance_name>.log
Default location when ASE is started will be defined in the runserver file, default name and location:
${SYBASE}/${SYBASE_ASE}/install/RUN_<ase_instance_name>
To change the location of the errorlog while ASE is up and running:
sp_errorlog 'change log', '/new/path/to/ASE/errorlog'
To change the location of the errorlog while ASE is shutdown - edit the runserver file to point to a new location.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 7 | |
| 5 | |
| 4 | |
| 3 | |
| 3 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.