Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

"Database not available" - Development Version - Linux

luis_pinho
Explorer
1,849

Hi,

we have a linux box running SAP to do some tests, we have some ABAP code, customs iDocs, etc. its just for integration tests.

One of the developers tried to make a call and got an error that the system was not available.

We stopped the system using the steps:

su npladm
stopsap

then

startsap

It just doesn't start.

The log states the following:

[root@vm-sap ~]# cat /sybase/NPL/startdb.log 
------------------------------ Tue May 4 18:21:32 WEST 2021 
LOGFILE FOR STARTING SYBASE ASE 
starting database NPL ... 
------------------------------ Tue May 4 18:21:32 WEST 2021 
checking required environment variables 


------------------------------ Tue May 4 18:21:32 WEST 2021 
check if Sybase ASE processes are running 
ASE instance not available 
There are no Sybase processes running - 
Database is probably already stopped. 


------------------------------ Tue May 4 18:21:32 WEST 2021 
check if Sybase Backupserver is running 
Backupserver instance already running (pid of backupserver is: 4631 ) 
Database not available

Since this doesn't move anywhere, I did a CTRL+C and I got this:

vm-sap:npladm 10> startsap 
Checking syb Database 
Database is not available via R3trans 
------------------------------------------- starting database NPL ... 
Log file: /sybase/NPL/startdb.log 
^Cstartdb DB start failed 
check startdb logfile in home directory of user sybnpl 
/usr/sap/NPL/SYS/exe/run/startdb: Terminating with error code 13 
DB startup failed 
please send the tracefile /home/npladm/startsap.trc to support 
vm-sap:npladm 11>

startsaptrc.txt

Can you guys help me out? This was working fine a few weeks ago.

If its a db starting problem, how to start the db?

Best Regards,

Luís Pinho

1 REPLY 1
Read only

luis_pinho
Explorer
0 Likes
1,074

Hi Robert,

you are right, I'll get the new license and copy over the existing one.

login as: root
root@vm-sap's password:
Last login: Tue May  4 19:45:52 2021 from 192.168.201.254
[root@vm-sap ~]# cat /sybase/NPL/ASE-16_0/install/NPL.log
00:0000:00000:00000:2021/05/04 19:46:38.33 kernel  SySAM: Using licenses from: /                                              sybase/NPL/SYSAM-2_0/licenses/SYBASE_ASE_TestDrive.lic
00:0000:00000:00000:2021/05/04 19:46:38.46 kernel  SySAM: Failed to obtain licen                                              se(s) for ASE_CORE feature from license file(s) or server(s).
00:0000:00000:00000:2021/05/04 19:46:38.46 kernel  SySAM: Feature has expired.
00:0000:00000:00000:2021/05/04 19:46:38.46 kernel  SySAM: License feature name:                                                ASE_CORE
00:0000:00000:00000:2021/05/04 19:46:38.46 kernel  SySAM: Expire date:   31-mar-                                              2021
00:0000:00000:00000:2021/05/04 19:46:38.46 kernel  SySAM: License search path:                                                 /sybase/NPL/SYSAM-2_0/licenses/SYBASE_ASE_TestDrive.lic:
00:0000:00000:00000:2021/05/04 19:46:38.46 kernel  SySAM: FlexNet Licensing erro                                              r:-10,32
00:0000:00000:00000:2021/05/04 19:46:38.46 kernel  
There is no valid license for                                               
ASE server product. Installation date is not found or installation grace period                                               has expired. Server will not boot.