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

isql: command not found

$
0
0

Hi Experts,

 

I just installed SAP EHP7 with SYBASE ASE 15.7.0.122 on Red Hat Enterprise Linux Server release 6.5 (Santiago).

 

When I am trying to connect to isql with the user: syb<sid> and with the command:

 

isql -Usapsa -S<SID> -X but it it giving the error output as: isql: command not found

 

I also tried the command from the path: /sybase/<SID>/OCS-15_0/bin but giving the same error but it is getting connected with the command:

 

isql64 -Usapsa -S<SID> -X

 

I have checked the permission and owner of the files that are properly set and I though that this is the problem with the environment variables but I believe all are properly set. FYR.. the below are the environment variable:

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

PATH=/sybase/DEV/ASE-15_0/jobscheduler/bin:/sybase/DEV/ASE-15_0/bin:/sybase/DEV/ ASE-15_0/install:/sybase/DEV/OCS-15_0/bin:/usr/lib64/qt-                   3.3/bin:/usr/local/bin:/bin:/usr/bin

SAP_JRE7_32=/sybase/DEV/shared/SAPJRE-7_1_011_32BIT

SAP_JRE7=/sybase/DEV/shared/SAPJRE-7_1_011_64BIT

SAP_JRE7_64=/sybase/DEV/shared/SAPJRE-7_1_011_64BIT

SYBASE_OCS=OCS-15_0

INCLUDE=/sybase/DEV/OCS-15_0/include:

LIB=/sybase/DEV/OCS-15_0/lib:

LD_LIBRARY_PATH=/sybase/DEV/ASE-15_0/lib:/sybase/DEV/OCS-15_0/lib:/sybase/DEV/OCS-15_0/lib3p64:/sybase/DEV/OCS-15_0/lib3p:

SYBASE=/sybase/DEV

SYBASE_ASE=ASE-15_0

SYBROOT=/sybase/DEV

SYBASE_JRE_RTDS=/sybase/DEV/shared/SAPJRE-7_1_011_64BIT

SYBASE_WS=WS-15_0

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

Now my questions are:

 

1) What could be the reason for this behavior?

2) What is the difference b/w isql and isql64?

3) backup taken by isql64 will be restored with isql?

 

Thanks and Regards
KLNR


Re: Sybase ASE installation source for warm standby replication server

$
0
0


Hello,

 

the medias for BS on ASE and ASE standalone are pretty the same, the difference is that only some versions are supported to be used with Netweaver, if you check the SAP Adaptive Server Enterprise Media coming with Netweaver, then you will see a setup and if you start this you will get the same installation steps like any other customer using ASE without SAP Applications.

 

If you plan to use Replication Server, then you should do this only in the way supported for the Netweaver application, see SAP Note 1650511 and SAP Note 1891560 - You need to use ASE 15.7 SP110 as minimum.

 

Hope this will help.

 

With kind regards

Stefan

 

PS: Don't get confused about the different meaning of warm standby replication (if you google this), this differs between SAP Application Installations and Custom Application Installations, for you "warm standby" is described as:

 

Source: SAP Note 1650511 ->

 

Availabilty - Database Disaster Recovery with SAP Sybase ASE:

Log File Shipping Custom Based (Warm Standby)

 

and

 

Availability - Database Disaster Recovery with SAP Sybase ASE:

Asynchronous Data Replication by SAP Sybase Replication Server (Warm Standby)

Re: isql: command not found

$
0
0

Hello,

 

isql is 32-bit and isql is 64-bit, both are doing and working the same way.

 

I'm wondering that the SP122 just contains the isql64, you should have both, could you post here:

 

cd $SYBASE\OCS-15_0\bin

 

ls -la isql*

 

You should see isql, isql64, isql_r and isql_r64

 

Mean you can restore the backup either with isql64 or isql, doesn't matter what isql you used before.

 

Regards

Stefan

Re: isql: command not found

$
0
0

Thanks Stefan for your reply,

 

I got the same answer in the below link:

 

http://infocenter.sybase.com/help/index.jsp?topic=/com.sybase.infocenter.dc30191.1570100/doc/html/san1367605044069.html

 

in $SYBASE\OCS-15_0\bin I could see:

 

-rwxr-x---. 1 sybdev sapsys 1662380 Apr 14 08:48 isql

-rwxr-x---. 1 sybdev sapsys 1810334 Apr 14 09:15 isql64

-rwxr-x---. 1 sybdev sapsys 1686751 Apr 14 09:39 isql_r

-rwxr-x---. 1 sybdev sapsys 1835709 Apr 14 10:04 isql_r64

 

Finally I have renamed the isql and created a logical link from isql64 to isql

 

Thanks and Regards
KLNR

Sybase ASE database administration - isql commands and a graphical application

$
0
0

Hello,

 

I installed yesterday a SAP Solution Manager in Windows Server 2012 (R2) with SAP Sybase ASE database version 16.0.

 

I´m newest in SAP Sybase ASE database and I don´t know how to do the administration tasks in this type of database!

 

I made the download of DBA Guide - SAP BS on SAP Sybase AS Enterprise guide but I don´t see any explanation about isql and which isql commands exist and how to I use them... and everything else! I can not even do the basics, for example I don´t know how to start and stop the sybase database with the isql application... even how to log in on sybase... I don´t know anything about it!

 

Other question is also about the SAP Sybase ASE database administration... is there anygraphicalsoftwareenvironmentthat allowsthe administrationof the same like for example the SQL Server Management Studio in MS SQL Server database) and the Oracle Enterprise Administration in Oracle DB environment...!? 

 

Can you help me please?

 

Thank you,

samid raif

Re: Sybase ASE database administration - isql commands and a graphical application

$
0
0

I would expect your installation would have included the "dbacockpit" client for managing ASE for SAP applications.

Re: Sybase ASE database administration - isql commands and a graphical application

$
0
0

Hello Bret Halford,

 

Yes it has! But in SQL Server or in Oracle you have the "dbacockpit" too but you also have other tools for managing the databases like sql server management studio or the oracle enterprise manager. It´s exactly that I´m trying to find, some graphical tools for managing Sybase databases and also some information, tips about the isql tool.

 

Regarding the "dbacockpit" can you tell me if there is some guides/tutorials with some tips, information about some actions and options that we can perform?!

 

Kind regards,

samid raif

Re: Upgrade from 15.7.0.121 to 16.0.00.01 with saphostctrl

$
0
0

Yes, I used the latest script. These are the files created after a tried to start the upgrade. In dbsrvresp_update i have the DO_UPDATE_INSTALL=true which the ase log says to make it false.

Capture.PNG

From my point of view is something else i'm not doing right, like the command i used.

 

Note that upgrading an ASE server from 15.7 to 16.0 is a major upgrade which requires special upgrade steps. Beside that rsecssfx part there is nothing about this case in the note.


Re: Upgrade from 15.7.0.121 to 16.0.00.01 with saphostctrl

$
0
0

Hi Bogdan,

 

Can you also add -updateoption -UPDATE_FORCE=1 in your command and check the results.

Also complete the JDBC and ODBC driver updates.

 

Post the results after these changes.

 

Regards,

Deepak Kori

Re: Upgrade from 15.7.0.121 to 16.0.00.01 with saphostctrl

$
0
0

Dear Mr Simionescu,

 

ASE Version 15.7 SP121 is not compatible with ASE 16.0.SP00 PL01- some bug fixes that made it into 15.7 SP121 did not make it into 16.0 SP00 PL01.
Do not manually edit any of the files generated by sapdbctrl - this is not supported - and as far as I know sapdbctrl will re-create the response file anyway - so editing will not help.
I recommend  to download and install the latest sapdbctrl versio and also the ASE pacth 16.0 SP00 PL02. As far as I know it is compatible with SP121

 

sapdbctrl is intended to be used for patch installation (i.e. minor upgrades) as well as major upgrades (e.g. 15.7 to 16.0 )

 

With kind regards
Tilman Model-Bosch

Re: Upgrade from 15.7.0.121 to 16.0.00.01 with saphostctrl

$
0
0

Hi Tilman,

 

Where can we find such upgrade compatibility data ? we do not see such information in any SAP note.

 

Regards,

Deepak Kori

Re: isql: command not found

$
0
0

Hi K LNR,

 

There was an issue a while back with the environment variables.
Here is yours:
LD_LIBRARY_PATH=/sybase/DEV/ASE-15_0/lib:/sybase/DEV/OCS-15_0/lib:/sybase/DEV/OCS-15_0/lib3p64:/sybase/DEV/OCS-15_0/lib3p:

 

You notice how 64bit libraries are picked up before 32bit libraries?
lib3p64 then lib3p.

If you switch these I wonder if isql will work and isql64 will start failling.

 

Regards,

Ryan

Re: Sybase ASE database administration - isql commands and a graphical application

$
0
0

Hi Samid raif,

 

There are many GUI tools to help.
Interactive sql / dbisql - GUI isql application - Found in SDK 16.0

Sybase Central - GUI Database Administrator tool - EOL but can be found in ASE download section called PC Client

Sybase Control Center (SCC) - GUI Database Administrator / Monitoring tool - Found in ASE download section.

DBACockpit - Business Suite GUI for Databases.

 

Regards,
Ryan

Re: Sybase ASE database administration - isql commands and a graphical application

$
0
0

Hello lonut,

 

Thank you for all the information that you shared... some of them I already knew!

 

In tcode DBACOCKPIT it´s possible for instance to add more datafiles to sybase database or trunc/stop the generation of transaction logs (because I want to run the SGEN and as you know this transaction generate a lots of Tlogs)... in SQL management studio we can manage this, we can change the recovery model to "simple" and in Oracle database we can also stop the archivelogs generation! Here in Sybase ASE database I don´t know how to do that!

 

Can you help me with some tips?!

 

Thank you,

samid raif

Re: Sybase ASE database administration - isql commands and a graphical application

$
0
0

Hello Ryan,

 

Thank you for the information.

 

But tell me can you share the exactly url link where I can download the "Interactive sql / dbisql - GUI isql application - Found in SDK 16.0" ?

 

And also for the Sybase Central... I can´t find it!

 

 

Thank you,

BR,

samid raif


Re: Sybase ASE database administration - isql commands and a graphical application

$
0
0

Samid Raif,


Not sure links will work as you have to login, etc.

 

Interactive SQL - service Marketplace > Software Developer > A-Z index > S > SDK for SAP ASE

Might already in your ASE 16.0 installation.
Is there a dbisql folder? %SYBASE% dir

This was in PC Client until they EOL it and put it into the SDK.

 

Sybase Central - service Marketplace > Software Developer > A-Z index > A > SAP ASE > ASE 15.7

Sybase ASE 15.7 Refresh PC-Client


This isn't under 16.0 as PC Client was dropped.

 

Regards,

Ryan

Re: Upgrade from 15.7.0.121 to 16.0.00.01 with saphostctrl

$
0
0

I upgraded sap host agent to last version (189) and used 16.0 SP00 PL2 and everything was fine. Thanks for the advice.

Re: Backup and restore Sybase ASE 15.7 database

$
0
0

Hi Ivan,

 

Where you able to schedule your backup. ? If so can you please share the syntax that you used to schedule it. please see below command im running..

 

dump database SID to "f:\backup\backupxxxx.dmp" with compression = "101"

go

 

Re: Backup and restore Sybase ASE 15.7 database

$
0
0

Hi Manuela,

 

You can login with SIDADM or SYBADM & login to command prompt and execute the dump command .Before that use Isql  -Usapsa -SSID -->go.

 

You can also use dbisql utility also

 

Regards

IAsim

Cross Platform Dump/Load >SP122 to SP110

$
0
0

Hello @all,

 

does anyone faces issues with cross dumping a database from a newer ASE Version like SP122 or ASE16 to SP110 or older?

 

The following statement i tried:

 

dump database xyz to 'xyz' at xyz

go

 

and got this error message:

 

WARNING: In order to LOAD the xyz database, the ASE must run in single-user mode. If the xyz database dump uses multiple volumes, you must execute sp_volchanged on another ASE at LOAD time in order to signal volume changes.

Backup Server: 4.171.1.1: The current value of 'reserved pages threshold' is 85%.

Backup Server: 4.171.1.2: The current value of 'allocated pages threshold' is 40%.

Backup Server: 4.171.1.5: The current value of 'parallel scan' is 2.

Backup Server session id is: 21. Use this value when executing the 'sp_volchanged' system stored procedure after fulfilling any volume change request from the Backup Server.

Backup Server: 1.67.2.16: Backup Server Internal Error in function 'fatoi'. Please contact Sybase Technical Support

Msg 8009, Level 16, State 1: Server 'xyz', Line 1: Error encountered by Backup Server.  Please refer to Backup Server messages for details.

 

Despite the error message i can log on with isql to the remote backup server or can execute statements like remote_bs...sp_who. Also the opposite direction to dump a database works without any issues.

 

Please let me know if somebody knows a workaround for that problem.

 

Thanks in advance!

 

Best regards,

 

Patrick

Viewing all 3678 articles
Browse latest View live


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