Quantcast
Channel: SCN : Discussion List - SAP HANA and In-Memory Computing
Viewing all 5653 articles
Browse latest View live

How to change the password of user 'DBACOCKPIT' correctly?

$
0
0

Hi, Colleagues

 

There is a SAP ERP on HANA system in our department.

The ERP on a 96G linux server and HANA on another 256G linux server(gshana.pvgl.sap.corp).

 

I’m doing a System Copy (Export & Import) of SAP ERP on HANA system. During Import process, the password of user ‘DBACOCKPIT’ is required, but I forgot it.

So I changed the password through the following steps:
1.       Change the password of ‘DBACOCKPIT’ to ‘Abc12345’ via HANA studio in 256G linux server(HANA DB).
2.       Change the password via command on 96G linux Server (ERP).
            “hdbuserstore SET default "gshana.pvgl.sap.corp":"30015" DBACOCKPIT Abc12345”

 

After the changing password, the sap startup failed.
*-------------------------------------------------------------------------------------------------*
hana-gs-china:~ # su - bepadm
hana-gs-china:bepadm 51> startsap
Checking db Database
Database is not available via R3trans
-------------------------------------------
Database db must be started first
Log on to remote server and start database
hana-gs-china:bepadm 52> R3trans -d
This is R3trans version 6.24 (release 741 - 04.02.14 - 20:14:02 ).
unicode enabled version
2EETW169 no connect possible: "DBMS = HDB                              ---  SERVER = '' PORT = ''"
R3trans finished (0012).

*-------------------------------------------------------------------------------------------------*

hana-gs-china:bepadm 66> hdbuserstore list
DATA FILE       : /home/bepadm/.hdb/hana-gs-china/SSFS_HDB.DAT

KEY DEFAULT
  ENV : gshana.pvgl.sap.corp:30015
USER: DBACOCKPIT
*-------------------------------------------------------------------------------------------------*

 

Do you know how to change the password of user 'DBACOCKPIT' correctly?

Thanks a lot in advance!


Best regards,
Daniel


flat file error

$
0
0

Dear Team,

 

I am trying to upload the data from csv format. I have changed date format as "yyyy-mm-dd" and time format "hh:mm:ss".

 

While importing i have changed data type from nvarchar to Date and Time respectively.

 

I am getting the below issue.

 

Message :

 

 

Batch from record 2 to 506 failed


java.lang.IllegalArgumentException


at java.sql.Date.valueOf(Unknown Source)


at com.sap.ndb.studio.bi.filedataupload.deploy.populate.PopulateSQLTable.populateTable(PopulateSQLTable.java:93)


at com.sap.ndb.studio.bi.filedataupload.ui.job.FileUploaderJob.uploadFlatFile(FileUploaderJob.java:199)


at com.sap.ndb.studio.bi.filedataupload.ui.job.FileUploaderJob.run(FileUploaderJob.java:61)


at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)

 

Regards,

Jo

How to use IN and Between operator in CE Function

$
0
0

Hi

 

 

In Sql we are using the following  expression,

 

SELECT * FROM Customers

WHERE City IN ('Paris','London','Berlin','Bangalore');

 

If we want to write the same in "CE function" then How we can write.

 

thanks

Bapin

SAP HANA Update from SPS 80 to 84

$
0
0

Hi,

 

I am trying to update a Hana server from sp 80 to 84 using hdblcmgui. Please let me know the following.

 

1. Master guide says stop processes, what process should i stop?

2. This is a BW on HANA system, anything specific do i have to take care before updating?

3. Any poststeps i have to take care of, after update?

4. Should i ask all users not to use system till update is over?

 

I am updating server, hostagent and client? how about studio, it has to be updated from respective client machines , correct?

 

Please let me know.

 

Thanks

 

Joyce

Useful OSS Note: 1990354 - Changes in internal HANA Web Dispatcher as of HANA SP9

HDB Won't Start - Nameserver Crashing

$
0
0

Hi,

 

Has anybody come across this error before and can help please?

 

I am trying to start HDB after initially trying to perform an import from another system using Sapinst (Database Refresh option).  Sapinst performed the Create and Load step of the database successfully, but then it timed out on the hdbnsutil -initTopology step.  I aborted the sapinst import and have since tried performing a restore in Hana Studio and also a manual inittopology command, but the HDB will not start.

 

Error from the nameserver_alert_<hostname>.trc file is:

 

NOTE: full crash dump will be written to /usr/sap/BWQ/HDB35/augdnspi51/trace/nameserver_augdnspi51.33501.crashdump.20141118-201115.036400.trc

Call stack of crashing context:

1: 0x00007f159d6c6901 in TrexThreads::Thread::getState() const+0x0 at Thread.cpp:145 (libhdbbasement.so)

2: 0x00007f159ed39d3a in NameServer::BaseThread::stop(int*)+0x16 at ThreadBase.h:27 (libhdbns.so)

3: 0x00007f159ed0627f in NameServer::TREXNameServer::prepareToShutdown()+0xe0b at TREXNameServer.cpp:2833 (libhdbns.so)

[36413]{-1}[-1/-1] 2014-11-18 20:11:15.958504 e Basis            TREXNameServer.cpp(02906) : Process exited due to an error via explicit exit call with exit code 1 , no crash dump will be written

[40995]{-1}[-1/-1] 2014-11-18 20:34:41.892397 e tns_ddl          TNSClient.cpp(00917) : setServiceType no topology databaseId use service default:  2

[41233]{-1}[-1/-1] 2014-11-18 20:34:53.769741 e sr_nameserver    TNSClient.cpp(06756) : unknown data center 2 when sending request dr_retrieveinifilecontents

[41008]{-1}[-1/-1] 2014-11-18 20:38:33.783375 e assign           TREXNameServer.cpp(01810) : assign failed with ltt exception. stopping service...

exception  1: no.3000334  (DataAccess/impl/DisasterRecoveryPrimaryImpl.cpp:1031)

    Operation aborted, service in shutdown

exception throw location:

1: 0x00007fb4f86c1c91 in DataAccess::ShutdownAwareBarrier::wait()+0x50 at DisasterRecoveryPrimaryImpl.cpp:1031 (libhdbdataaccess.so)

2: 0x00007fb4f86c416d in DataAccess::SessionRegistry::SessionRegistryItem::waitUntilActive(DataAccess::ShutdownAwareBarrier*)+0x89 at DisasterRecoveryPrimaryImpl.cpp:1441 (libhdbdataaccess.so)

3: 0x00007fb4f86c439b in DataAccess::DisasterRecoveryPrimaryHandlerImpl::waitUntilSecondaryIsActive()+0xa7 at DisasterRecoveryPrimaryImpl.cpp:1053 (libhdbdataaccess.so)

4: 0x00007fb4fe0261c1 in NameServer::TREXNameServer::assign(NameServer::ServiceStartInfo&)+0x20d0 at TREXNameServer.cpp:1760 (libhdbns.so)

5: 0x00007fb4fe0566c7 in NameServer::SelfAssignThread::run(void*)+0x13 at TREXNameServer.cpp:302 (libhdbns.so)

6: 0x00007fb4fc9ea1f2 in TrexThreads::PoolThread::run()+0x850 at PoolThread.cpp:265 (libhdbbasement.so)

7: 0x00007fb4fc9ebd58 in TrexThreads::PoolThread::run(void*&)+0x14 at PoolThread.cpp:124 (libhdbbasement.so)

8: 0x00007fb4fb088ccf in Execution::Thread::staticMainImp(void**)+0x98b at Thread.cpp:475 (libhdbbasis.so)

9: 0x00007fb4fb08921d in Execution::Thread::staticMain(void*)+0x39 at Thread.cpp:545 (libhdbbasis.so)

[42520]{-1}[-1/-1] 2014-11-18 20:38:56.352439 e tns_ddl          TNSClient.cpp(00917) : setServiceType no topology databaseId use service default:  2

[42759]{-1}[-1/-1] 2014-11-18 20:39:08.217642 e sr_nameserver    TNSClient.cpp(06756) : unknown data center 2 when sending request dr_retrieveinifilecontents

 

Thanks,

Chaz.

HANA import command

$
0
0

Hi Folks,

 

My earlier thread was rejected, may be i put in very little info.

hdbsql HDB=> IMPORT "TESTING"."<table-name>" from '<location>' WITH REPLACE THREADS 20

* 2048: column store error: table import failed:  [30151] Object not found in the import directory;object=TESTING:<table-name> SQLSTATE: HY000

hdbsql HDB=> select count(*) from "TESTING"."<table-name>"

1 row selected (overall time 139.792 msec; server time 10.954 msec)

 

This is the problem select count(*) for the table works but import for the table doesnt work. Following the syntax.

 

http://help.sap.com/saphelp_hanaplatform/helpdata/en/20/f712e175191014907393741fadcb97/content.htm?frameset=/en/20/f75ade751910148492a90e5e375b8f/frameset.htm&current_toc=/en/2e/1ef8b4f4554739959886e55d4c127b/plain.htm&node_id=242

Issues Importing BW Model in HANA Studio

$
0
0

Hello,

 

Currently we are on BW on HANA (BW 7.3 SP9) and we are trying import BW model into HANA and later expose them in Explorer.

 

In the HANA Studio I am doing File>Import> Import SAP NetWeaver BW Models>New Connection>Lists all the infoproviders> Selected one of the infoproviders (HANA Optimized DSO) > Finish

 

It runs for some time and gives out an error message "Completed with errors", In the error log I find lot line with message "Table could not be found or the user does not access privileges".

 

Does anyone anyone know what user is missing access privileges? is it the BW side or the HANA side?

 

attached is the screen print of error.

 

HANA Studio Details;

Version: 1.0.7000

Build id:  386119

 

 

Thanks

Ram


Update HANA Scale-out Systems

$
0
0

Hello experts,

 

Is there any special considerations regarding to HANA scale-out system update (without stand by. For example, from revision 72 -> to revision 74. ).

 

If we just update the this HANA system from the master node, then the worker nodes are automatically updated? or any special options regarding to the distributed one.

 

I do not find the detailed information in SAP HANA Update and Configuration Guide.

 

 

Thanks & Best Regards,

Tong Ning

Custom views in Z* schema possible?

$
0
0

Hi experts,

 

I have a ZBW Content with some Caculation Views, when I activated them, it goes to _SYS_BIC, is it normal? Can I change to a ZBW Catalog?

 

Thanks in advance,

Regards,

Invalid column name; mismatched column in set (UNION ALL)

$
0
0

I saw the Jody's proposed solution in this thread: In Hana SQL Script, can I insert records into an already existing table variable?   which seems great (which it probably is) and now I am trying to do the same, but it does not seem to work as I hoped.

 

PROCEDURE temp (IN a; OUT b)

...

 

DECLARE cond ...

...

 

CALL proc_demo(c);  -- c is returned (OUT) from proc_demo and contains columns 'id' & 'ref'

 

b = SELECT id AS field1 FROM :c WHERE ref = cond

      UNION ALL

      SELECT * FROM :a WHERE ref = cond;

 

Note: 'a' is based on an ABAP dictionary table and contains no column 'id', but column 'field1' among others.

 

The syntax error is: "Invalid column name; mismatched column in set (UNION ALL)"

 

Just for testing I also tried (which gives the same error):

b = SELECT field1 AS field1 FROM :a WHERE ref = cond

      UNION ALL

      SELECT * FROM :b WHERE ref = cond;

 

 

I would appreciate any help on this. Please note I am new to SQL so pls explain on a basic level

How subscribe to RHEL for SAP HANA Channel

$
0
0

Does someone have a url or email to subscribe to RHEL for SAP HANA Channel ?

 

I would like to download RHEL for SAP HANA ISO DVD or to configure yum repo to be able to install compat-sap-c++

 

Regards

HANA PAL Executing error

$
0
0

Dear All,

 

We are  getting below while trying to run Decision Tree in PAL. Please guide.

 

 

Could not execute 'CALL _SYS_AFL.PAL_DT_IRIS (V_DT_IRIS_DATA, DT_IRIS_PARAMS, DT_IRIS_MODEL_JSON, DT_IRIS_MODEL_PMML) ...' in 334 ms 883 µs . SAP DBTech JDBC: [2048]: column store error: search table error:  [2620] executor: plan operation failed;Can not insert data from temp table "SYSTEM:P3_5182B4BE6DC348EFE1000000C0A82A1Den" into table ""DAMUE_PAL_SCHEMA"."DT_IRIS_MODEL_JSON""

 

Best Regards,

Zaib

What is the difference btw. M_TABLES and TABLES view

$
0
0

I looked into the definition of these two HANA views which are a bit complex but look similar, BUT from a 'documentation' point of view they are equal (=information on row and column tables).

 

 

Interestingly, there is a difference in the results I get when I query these tables. So, in order to find the differences I ran the following two queries with surprising results:

 

select schema_name, table_name from tables

minus

 

select schema_name, table_name from m_tables;

 

 

 

This should give me tables from system view "TABLES" which are NOT in system view "M_TABLES". And there are some.

Vice versa, when running the follwing query:

 

select schema_name, table_name from m_tables

minus

select schema_name, table_name from tables;

 

gives a different result set.

Why??

FAIL: process hdbdaemon HDB Daemon not running - HANA

$
0
0

Hello guys,

 

I'm not being able to start a SAP HANA instance. Here's the output of the HDB start command:

 

screenshot_00007.png

 

I've already check the free space on the files systems as you can see here:

 

screenshot_00008.png

 

I can't figure out what is happening. Any suggestions?

 

Regards.


Handle UnitCurrency

$
0
0

Hi Team,

 

How to handle quantity, unit, currency, currency key from flat file in Table. Is there any chances to handle in table or views.

 

Regards,

Jo

hdbsql ssl enablement

$
0
0

Hi Team,

 

I have enabled ssl using openssl. I can login into the studio using SSL.

 

hdbsql i am unable to perform it.

hdbsql -U monitoring -sslprovider openssl -sslkeystore $HOME/.ssl/key.pem -ssltruststore $HOME/.ssl/trust.pem -a -I "sample.sql"

 

4321: only secure connections are allowed:  SQLSTATE: HY000

 

hdbsql -i 01 -u SYSTEM -p ************ -sslprovider openssl -sslkeystore $HOME/.ssl/key.pem -ssltruststore $HOME/.ssl/trust.pem -a -I "sample.sql".

 

 

i am unable to connect via ssl.

How to use wildcard in where clause CE Function

$
0
0

Hi all,

 

    How to use

1. concatenate,shift,sub string in CE Function

2.  wildcard in where clause in CE Function .

 

It will be helpful if you provide us some examples

 

Thanks in advance

Getting Error while Opening Hana Studio or Design Studio

$
0
0

Hi All ,

 

Today I am getting an error while opening HANA Studio Or Design Studio .

 

 

Please find the error below .

 

If Possible Please help me to get this rectified .

 

 

Error Screen.JPG

 

 

 

Regards ,

 

Abhishek

Start an Individual HANA service via cmd line

$
0
0

Hi All, was just wondering if we can start an individual HANA service( HDBindexserver ) via the command line , not using the studio.

 

Thank you

Jonu Joy

Viewing all 5653 articles
Browse latest View live


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