Quantcast
Channel: SCN: Message List - SAP Applications on SAP Adaptive Server Enterprise (SAP ASE)
Viewing all 3678 articles
Browse latest View live

Re: Cross Platform Dump/Load >SP122 to SP110

$
0
0

Loading a 16.x dump into an earlier version is simply not supported at all.

 

For 15.7 SP120-SP122 there is a bug (CR 765911), fixed in SP130 (not yet released), that prevents dumps from these versions from being loaded into versions prior to SP120.  When loading locally, the symptom is a 3223 error, "Attempt to read a dump trailer failed; returned error code is  2.".  The root cause was a formatting error in new information added to the dump trailer.  I suspect the "fatoi" error you are getting has the same root cause.

 

You might try doing the remote dump using the same version on the remote server.

 

-bret


Re: Cross Platform Dump/Load >SP122 to SP110

$
0
0

Dear Mr Scheibe,

 

To all my knowledge : a database DUMP which was taken on a new ASE server will not load to a database in an older ASE server . This is not supported.
It may accidentally work (For example I assume that you will be able to load a DUMP taken on an ASE SP122 into an ASE SP121 )  . But it is not officially supported.
New features in a new ASE server may change the database and or DUMp format so that the LOAD will not work. 

 

ASE supports the loading of DUMPS that where taken on earlier versions of ASE , e.g. DUMP was taken on ASE 15.7 SP110 and LOAD is done on ASE 15.7 SP122 or ASE 16.0 SP00 PL02.
That should work . For details see documentation in SyBooks Online on the topic.


With kind regards

Tilman Model-Bosch

Re: Cross Platform Dump/Load >SP122 to SP110

$
0
0

Hello Tilman,

Hello Bret,

 

thanks to you for your replies.

 

I know that it is impossible or better to say, not supported, to load a database dump from an ealier version of ase in an older version.

 

I only want to save a dump file on another database server which is on SP110. For that i dump a database of version SP122 on a server with SP110 with the already mentioned dump statement (dump database xyz at xyz). But i think that a scenario like this is not provided because of the unsupported load direction.

Re: Cross Platform Dump/Load >SP122 to SP110

$
0
0

Hey @all,

 

i want to update my question after further investigations of the problem.

 

I get the error message "fatoi" also when i try to dump a database of version sp110 local and want to load it from another server sp122 with the load database xyz from xyz at xyz statement. Furthermore the error only appears on HP/UX  (the workflow works on Linux).

 

Does anyone faces the same issues?

 

Thanks in advance,

 

Patrick

Re: Cross Platform Dump/Load >SP122 to SP110

$
0
0

Dear Mr Scheibe,
So I understand you see the problem only when you try to dump or load your database on ASE 15.7 SP122 and only on HP-UX (HPIA64) .
Can you try to copy over the backupserver executable from the SP110 and place it in the $SYBASE_ASE/bin directory (thus replacing the backupserver sp122 by backupserver sp110 in the ASE SP122 system) . Do make a copy of the sp122 backupserver before.
Then restart the backupserver in the SP122 ASE server environment and retry.

I suggest to do this in a test environment only .
With kind  regards
Tilman Model-Bosch

Re: Cross Platform Dump/Load >SP122 to SP110

$
0
0

Hello Patrick,

 

could you please provide the full version strings of the ASE / BS you are using ?

 

Cause I see you are talking about a cross platform dump load, but I'm not sure where the different version are located.

 

A quick overview with the dataserver -v and / or backupserver -v will be enough.

 

Thanks.

 

Regards

Stefan

If i delete/trucate the alert log in sybase will it be automatically created?

$
0
0

If i delete/truncate the alert log in sybase will it be automatically created?

Also let me know how to create a false alert in sybase database so that it gets captured in sybase alert log.

 

Quick help in expediting this request is highly appreciated.

Re: If i delete/trucate the alert log in sybase will it be automatically created?

$
0
0


By "alert log", do you mean the ASE errorlog?

 

If the errorlog is deleted, ASE will automatically create a new errorlog file

the next time ASE is booted.  You can manually cause ASE to start a new

errorlog file using the sp_errorlog stored procedure.  See sp_errorlog

in the ASE Reference Manual.

 

It isn't quite the same thing as generating a false error message, but

you can cause some genuine errors that aren't normally sent to the

errorlog to get output to the errorlog using

sp_altermessage <msgnumber>, "with_log", true.

 

As an example:

 

sp_altermessage 207, "with_log", true

go

select no_such_column from sysobjects

go


Re: If i delete/trucate the alert log in sybase will it be automatically created?

$
0
0

One additional tidbit ...

 

To print a message to the ASE errorlog (eg, from a T-SQL;batch, from a stored proc/trigger):

 

     dbcc printolog('<some_string>')

 

----------------------

 

You didn't mention *why* you're deleting/truncating the errorlog (it was a mistake? on purpose because it's gotten too large?) nor your ASE version so fwiw ...

 

If your ASE errorlog is growing too large (eg, filling up the filesystem, getting too large to scan/analyze), and you're running ASE 15.0.3+, you can use sp_errorlog (as mentioned by Bret) to do the following:

 

NOTE: Keep in mind that the sp_errorlog change only affects the currently running ASE; the next time the RUNserver file is used to startup the ASE, said ASE will write to whatever errorlog file is named in the RUNserver file.

 

1 - run sp_errorlog to point ASE to a newly named log (creating said file if it doesn't exist); the old errorlog file will still be there ...same name, same contents

 

2 - move the old log out of the way (eg, move to a directory on a different filesystem)

 

3 - run sp_errorlog to point ASE back to the previously named log (creating a new file since it won't exist); the short-used errorlog (created in step #1) will still exist so you can keep it or remove it once you've determined it contains nothing of value

 

This allows you to move the old/too-big errorlog out of the way while not having to update the RUNserver file to point at a different errorlog file next time the ASE is started.

Administrative function in Sybase Control Center

$
0
0

Hi all,

 

Has anyone experienced using SCC administration function to recover database or extending database of a SAP system?

 

I understand that we must install an agent in the target database, but there's only SCC Suite available on Marketplace?

 


Thanks,
Henry

ase isql login error (CT-LIBRARY error)

$
0
0

Dear Ase Gurus,

 

When i try to login to "isql -Usa -SSBD , after Password.

Error : CT-LIBRARY error: ct_connect(): directory service layer: internal directory control layer. error: Requested server name not found.

 

After this , i tried to unlock SA user, "isql -Usasso -SSBD after Password :  error is same !

Error :  CT-LIBRARY error: ct_connect(): directory service layer: internal directory control layer. error: Requested server name not found.


Remote Desktop : 192.168.xxxx - User : Sybsbd

 

What could be the problem ?

 

Best Regards

Re: ase isql login error (CT-LIBRARY error)

Re: ase isql login error (CT-LIBRARY error)

$
0
0

facing same error for all of these ;

 

isql -Usapsa -P<password> -S<DBSID>

isql -Usa -P<password> -S<DBSID>

isql -Usapsso -P<password> -S<DBSID>

Re: ase isql login error (CT-LIBRARY error)

$
0
0

login like this

 

isql -Usapsa -P<password> -S<DBSID>  -X

Re: ase isql login error (CT-LIBRARY error)


Re: ase isql login error (CT-LIBRARY error)

Re: ase isql login error (CT-LIBRARY error)

$
0
0

problem solved thanks friend !

 

isql -Usapsa -P<password> -S<DBSID>  -X

 

Regards

Restarting of SAP PRD server

$
0
0

Dear Team,

 

We are facing a issue with PRD server.

For last 20 days we restarted the PRD server for 3 times.

 

 

1)We restarted the server for TMS issue which is advised by SAP support team in one incident.

2)Another time we restarted the server for the issue in Procedure cache problem in DB which is also advised by SAP support team in another incident.

3)today server is restarted due to VMWare (physical server) problem.

 

 

Now i have one doubt how frequently we can restart the server and is there any future issues with this restarting of server.

Please give suggestions on this because this is very critical to us.

Frequently we are restarting the server production server.

 

 

 

Thanks&regards,

Patan Thavaheer.

Re: Restarting of SAP PRD server

$
0
0

Hi Patan,

 

Now i have one doubt how frequently we can restart the server and is there any future issues with this restarting of server.

There is no impact on server restart if application and db is shutdown gracefully.

Secondly there are no guidelines for how frequently servers can be restarted.

 

Please investigate further on the ongoing issue to find out RCA of the issue.

 

Regards,

Deepak Kori

Re: Restarting of SAP PRD server

$
0
0

Hi deepak,

 

Thanks for your suggestion.

 

Regards,

Patan Thavaheer.

Viewing all 3678 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>