MaxDB on Linux
Dear all,
I am a beginner in maxdb.I have installed maxdb(7.5) on Linux and its running remotely. I connect through my current Windows XP machine. I have the DBMGUI and SQL studio running in my local Win-XP machine and I want to connect to the database instance I created with the following command in Linux
>>dbmcli db_create HOTELDB -u dbm,dbm
1. But, I get the error, Database not running. How to rectify this error because when I am able to create a database instance with the above mentioned command I assume the database is runnning.
also suggestions for any commands to start and stop the database on linux are welcome
2. how do i create a user to the database instance thats on a remote linux system.
Kindly help me with this and any help is greatly appreciated.
Regards,
Praveenjothi
Hi,
1. you can check if your database instance is running with:
dbmcli -n <hostname of dbserver> -d HOTELDB -u dbm,dbm db_state
2. depends on what kind of user you want to create, i.e. what you're planning on doing with it.
Regards,
Roland
Similar Messages
-
How to run SAP BUSINESS ONE 8.8 clients on windows and use MaxDB on linux/W
Good day,
As the subject shows we have SAP BUSINESS ONE 8.8 and I want to find out how to use it in combination with MaxDB instead of MS SQL. I find a lot of MaxDB stuff on the net but no guides on how to setup SAP BUSINESS ONE 8.8 clients on windows workstations and connect them to MaxDB.
Is this possible and if so how do I go about doing it ?
Any assistance is greatly appreciated .Hi,
I suggest you to check the supported server for B1 in this link:
http://service.sap.com/smb/sbo/platforms
You will know the sap b1 supported platform.
If you really want to use maxDB on linux/W as B1 server, you can send a development request to SAP AG.
JimM -
hi all,
how do i start maxdb on linux.
very urgent,
thanks and regardsHi,
maybe you are looking for a start/stop script for linux. An example can you find here (online docu for 7.6):
http://maxdb.sap.com/doc/7_6/41/79751b1a361036e10000000a114cbd/content.htm
(Basic Information -> Concepts of the Database System -> Creating and Configuring a Database Instance -> Automatic Start)
Regards,
Thomas -
MAXDB on LINUX use only one CPU
Hi all,
I have a question regarding the usage of parameter MAXCPU. I have set it the value 3. But I do see only one cpu used and almost at 100% with the command "top".
My release is MAXDB 7.7 and the kernel for Linux is SMP.
Someone can tell me what influence this behaviour?
thank you allHi,
The database kernel runs as one process divided into threads. Did you start top -H to check the Cpu-Usage?
Threads can be active in parallel on several processors within the operating system. Threads perform various tasks.
MaxCPU has influence on the number of Threads which are created during restart.
In your case after restart you have 3 Threads ( UKT ) -> you can check this with x_cons show all
How many threads are active in parallel depends on the distribution of the User Tasks on the Threads and the applications which are connected to the User Tasks.
x-cons <DBNAME> show active shows the status of the different Tasks in an UKT. Notrice that an UKT can contain several Tasks but at one time only one Task in The UKT can have the CPU.
MaxDb manages this via internal dispatching.
You will find more information about the process structure in the Expert Sessions recording and slides of session: Session 18: SAP MaxDB Architecture
You can download the session here -> SAP MaxDB: The SAP Database - Training
Regards, Christiane -
Best backup method in sap maxdb
Hi to all,
I would like to know what is best backup and restore method in maxdb so that we can restore the data successfully.
actually i know the process of doing backup with dbmcli commands. Suggest me best method of doing backup in Maxdb in linux operatiing system.
Thanks
SrikanthHi Dear,
solution of your query is following link.:
http://www.sapdb.org/7.4/pdf/backrec_eng.pdf
Regards,
majamil -
MaxDb hung at starting database stage
Hi all,
We have NW2004s and Maxdb on linux _86 system.
SP update terminated due to space requirement for db. I restored the db from back up and it went into restart mode. took a long time so cancelled it and tried starting the db using "startdb", but it gets hung at
<b>Trying to start database ...
Log file: /home/bw7adm/startdb.log</b>
the error in startdb.log is
Starting Database Instance...
OK
Opening Database...
ERR
-24988,ERR_SQL: SQL error
-104,DBM command impossible at this time
20013,Admin command cannot enter critical state 'Redo'
6,Restart, Errorcode 6561 "dbm_command_not_possible"
Fri Oct 19 19:41:06 CEST 2007
Connect to the database to verify the database is now open
dbmcli check finished with return code: 0
Can anyone help me with this?
Thanks guys...
Regards
HariHi Hari,
for a detailed analysis this is not enough information, but I <b>guess</b> that this is what happened:
you restored the database from backup (for whatever reason... neither a DATA AREA FULL nor a LOG FULL would ever require a restore!) but you left the LOG AREA as it was.
when the database starts it recognizes that there are transactionlogs available in the LOG AREA and starts to recover them. Depending on your LOG AREA size this can really take some time
"Cancelling" a startup is a nice one ... how did you do that? Honestly you cannot actually cancel the startup once it's triggered. What you can do is: monitor if the db is doing anything via x_cons show active (resp. db_cons show active).
In any case: while the database is doing the recovery it's obvious that another startup-command doesn't make any sense - so it's refused with a "-104, DBM command impossible at this time"
If the situation is not resolved by now and this is a production system or the go-life date is due on monday then it time to open a Prio Very High SAP Support message and have this fixed by the support experts.
Best Regards,
Lars -
Maxdb not starting after recovery - hung
Hi all,
We have NW2004s and Maxdb on linux _86 system.
SP update terminated due to space requirement for db. I restored the db from back up and it went into restart mode. took a long time so cancelled it and tried starting the db using "startdb", but it gets hung at
<b>Trying to start database ...
Log file: /home/bw7adm/startdb.log</b>
the error in startdb.log is
Starting Database Instance...
OK
Opening Database...
ERR
-24988,ERR_SQL: SQL error
-104,DBM command impossible at this time
20013,Admin command cannot enter critical state 'Redo'
6,Restart, Errorcode 6561 "dbm_command_not_possible"
Fri Oct 19 19:41:06 CEST 2007
Connect to the database to verify the database is now open
dbmcli check finished with return code: 0
Can anyone help me with this?
Thanks guys...
Regards
HariHi
thanks for your suggestion..
now i mgetting the following error "disk not accessible"
this is the knldiag.err file text..
24976 ERR 11599 BTRACE -
> End of Stack Back Trace <----
2007-10-19 20:11:35 24976 ERR 7 Messages Begin of dump of registered messages
2007-10-19 20:11:35 24976 ERR 8 Messages End of the message list registry dump
2007-10-19 20:11:35 24976 ERR 11196 DBCRASH vabort:Emergency Shutdown, Task: 146
2007-10-19 20:11:52 0 ERR 12006 DBCRASH Kernel exited without core and exit status 0x200
2007-10-19 20:11:52 0 ERR 12010 DBCRASH Kernel exited exit code 2
2007-10-19 20:11:53 ___ Stopping GMT 2007-10-19 18:11:53 7.6.00 Build 028-123-126-876
2007-10-19 20:13:07 --- Starting GMT 2007-10-19 18:13:07 7.6.00 Build 028-123-126-876
2007-10-19 21:21:15 25862 ERR 11000 d0_vatta Cannot open volume, No such file or directory
2007-10-19 21:21:15 25862 ERR 11000 d0_vatta Volume name '/sapdb/BW7/saplog/DISKL001'
2007-10-19 21:21:15 25058 ERR 11000 vattach dev0_vattach returned FALSE
2007-10-19 21:21:15 25058 ERR 20027 IOMan Attach error on log volume 1: Could not open volume
2007-10-19 21:21:15 25058 ERR 3 Admin Database state: OFFLINE
2007-10-19 21:21:15 25058 ERR 6 KernelCo + Internal errorcode, Errorcode 9050 "disk_not_accessible"
2007-10-19 21:21:15 25058 ERR 20017 Admin + RestartFilesystem failed with 'I/O error'
2007-10-19 21:21:18 0 ERR 12009 DBCRASH Kernel exited due to signal 0(Killed after timeout with state SERVER_KILL)
2007-10-19 21:21:19 ___ Stopping GMT 2007-10-19 19:21:19 7.6.00 Build 028-123-126-876
2007-10-19 21:23:10 --- Starting GMT 2007-10-19 19:23:10 7.6.00 Build 028-123-126-876
2007-10-19 21:23:24 25999 ERR 11000 d0_vatta Cannot open volume, No such file or directory
2007-10-19 21:23:24 25999 ERR 11000 d0_vatta Volume name '/sapdb/BW7/saplog/DISKL001'
2007-10-19 21:23:24 25978 ERR 11000 vattach dev0_vattach returned FALSE
2007-10-19 21:23:24 25978 ERR 20027 IOMan Attach error on log volume 1: Could not open volume
2007-10-19 21:23:24 25978 ERR 3 Admin Database state: OFFLINE
2007-10-19 21:23:24 25978 ERR 6 KernelCo + Internal errorcode, Errorcode 9050 "disk_not_accessible"
2007-10-19 21:23:24 25978 ERR 20017 Admin + RestartFilesystem failed with 'I/O error'
2007-10-19 21:23:25 0 ERR 12009 DBCRASH Kernel exited due to signal 0(Killed after timeout with state SERVER_KILL)
Please let me know any options as i need to complete this in another one days time.
Thanks
Regards
Hari -
Hello Everyone,
I am facing a problem in file system designing for ECC 6.0 System. We are working with MAXDB on linux redhat platform.We have created a file system "/sapdb/sid/sapdata1" for datafile. We got info from the Linux admininstrator that this file system cannot be extended to higher size in future.
So if I come across a situation that the file system "/sapdb/sid/sapdata1" is full then can I create a new file system "/sapdb/sid/sapdata2" and use it for new datafiles of maxdb as we do in oracle . Is this work or I should give more space to "/sapdb/sid/sapdata1", Currently the size given is 80 GB. We are having problem with the space availability of local harddisk.In future we will get NAS or SAN so we can use that for creating new file system "/sapdb/sid/sapdata2"
Please help us in this regard
Thanks
HanyHello All,
We are using MaxDB for our content management system. We have MaxDB data volumn of size 200MB each.
We can add more data volumn but not able to increase the size of data volumn (we want to create a data volumn of size 1GB each).
Can you please advise how can we increase the size of data volumn?
Thanks in advance and best regards.
Avijit -
MAXDB and benchmark factory(or any load generator)
hi
Has anyone tried running Benchmark Factory with MAXDB successfully ?
(This is the version i am running maxdb-all-linux-64bit-x86_64-7_6_06_10 to test our new platform)
If not, what load generator is recommended for use with MAXDB ?
thanks
A.Hi,
I have not tested yet, but you can take a look at [url http://www.dominicgiles.com/swingbench.php]Swingbench that is a free load generator (and benchmarks) designed to stress test an Oracle database (9i,10g,11g). In addition, you can also take a look at [url http://www.oracle.com/technology/obe/obe9ir2/obe-mng/wkldgen/wkldgen.htm]Workload Generator but it seems it was designed to work on Oracle 9i.
Cheers
Legatti -
NAS mounted SAP linux server for backup
Dear All,
We are working with SAP ECC 6.0/ MAXDB on Linux RHEL5 platform. For backup and additional storage purpose we have mounted NAS box to our Linux/SAP
While trying to take backup of the Database online backup using DBMGUI , I am getting backup error permission denied unable to open device.I checked found that the NAS box is only allowing user root and group as NFSNOBODY.OS persons are not able to help us as they dont have much knowledge on how to configure NAS for SAP backup purpose.
Any help highly appreciated.
Thanks
HanyAnna,
It should work even though I didn't install it
It is a kind of recommended configuration for installation.
Thanks
James Lim. -
IDES Installation error (RFC connection error)
Hi
Would someone help me?
I have a problem while installing the IDES ,ECC 6.0 with MaxDB. (Linux)
The installaiton of CI is holding in the phase " Checking the DDIC password " and it seems a loop.
Looking through sapinst.log , there is some messages.
These messages are showing as a loop.
INFO 2008-06-25 13:46:09
RFC connection information checked successfully.
ERROR 2008-06-25 13:47:10
FRF-00007 Unable to open RFC connection.
ERROR 2008-06-25 13:47:10
MUT-03025 Caught ERfcExcept in Modulecall: Timeout.
And I tried to logon ,but I didn't because of the timeout.
The window says "waiting for response" and the logon is over with a error,timeout.
Any hints and advice would be helpful for me ,thanks.Hi,
1. Check dailog work processes through OS level
2. Check all profile parameters through OS level and change it according.
3. Then try for sap logon with 000 client and password.
After login into sap, check RFC connection within the system. using by tcode sm59.
4. Finally you can check also MaxDB services at OS level.
Regards,
Srini Nookala
Edited by: Srini Nookala on Jun 28, 2008 6:11 AM -
Upgrade 7.9.07 BUILD 014-123-244-287 to 7.9.08.22 not possible
After upgrading to 7.9.08.08, it's not possible to upgrade to .22:
pagxen010:/mnt/BPO_Files/MAXDB/MAXDB7908_22/maxdb-server-linux-64bit-x86_64-7_9_08_22 # ./SDBUPD
SAP MaxDB Installation Manager - Database Upgrade 7.9.08.22
Upgrade Database:
0: UQ1 "/sapdb/UQ1/db" 7.9.08.08
1: None (Abort upgrade)
please enter database id: 0
Please enter Database Manager Operator: CONTROL
Please enter Database Manager Operator Password:
Checking upgrade...
Running finalize check...
Current database state is ONLINE
Switching database state to OFFLINE
Checking parameters...
Switching database state to ADMIN
Switching database state to ONLINE
ERR: Upgrade failed
ERR: error upgrading
ERR: Finalize upgrade failed: Current database state is ONLINE
Switching database state to OFFLINE
Checking parameters...
Switching database state to ADMIN
Switching database state to ONLINE
Cannot switch database mode, error during dbm command:
db_online
ERR
-24622,ERR_AUTOLOADSYSTAB: Automatic loading of the System Tables
failed-24909,ERR_DBAUNKNOWN: SYSDBA unknown
Looking for error messages in knldiag
No error messages found in knldiag
I tried to restore a backup, no effort. It seems like SUPERDBA isn't working any more, data cache can't be displayed as well.
Any suggestions?Something seems wrong:
dbmcli on pagsapup1 : UP1>sql_execute select * from users
ERR
-24988,ERR_SQL: SQL error
-4004,Unknown table name or unknown schema:USERS
dbmcli on pagsapup1 : UP1>sql_execute select * from DOMAIN.USERS
ERR
-24988,ERR_SQL: SQL error
-4004,Unknown table name or unknown schema:USERS -
-4001 Unknown name/pw comb in state ADMIN when recovering a DB
Hi, (Yes, this is a SAP system - ECC6 / MaxDB / SLES Linux.)
============
I'm trying to restore a database while reconfiguring the logs. I currently have 2 log files, and I want to configure just 1 smaller file. I can recover this DB from the same backup file without difficulties if I don't make any changes. When I follow the documented procedure (see below), I get an authentication error.
============
The full error message is this:
-4001 Unknown user name/password combination in operational state ADMIN
============
The DB really is in ADMIN state. I can connect from DB Studio on Linux and DB Manager on XP. I have verified the passwords for users SUPERDBA and CONTROL work. For example:
============
gepadm> dbmcli -d GEP -u control,control user_get control
OK
SERVERRIGHTS=DBInfoRead,SystemCmd,ExecLoad,UserMgm,DBFileRead,Backup,InstallMgm,LoadSysTab,ParamCheckWrite,ParamFull,ParamRead,DBStart,DBStop,Recovery,AccessSQL,AccessUtility,SharedMemoryMgm,SchedulerMgm,Scheduling,EvtDispMgm,EvtDisp
GUIRIGHTS=
SECONDPASSWORD=YES
DISABLED=NO
COMMENT=
USERTYPE=
============
Interesting that the CONTROL user has a blank USERTYPE.
============
gepadm> dbmcli -d GEP -u control,control user_get SUPERDBA
OK
SERVERRIGHTS=DBInfoRead,SystemCmd,ExecLoad,UserMgm,DBFileRead,Backup,InstallMgm,LoadSysTab,ParamCheckWrite,ParamFull,ParamRead,DBStart,DBStop,Recovery,AccessSQL,AccessUtility,SharedMemoryMgm,SchedulerMgm,Scheduling,EvtDispMgm,EvtDisp
GUIRIGHTS=
SECONDPASSWORD=NO
DISABLED=NO
COMMENT=
USERTYPE=DBM
============
I know the 1 password for SUPERDBA and both passwords for CONTROL.
============
Does anyone know what's happening or how to get past this?
============
Thanks in advance,
Jim
====================================================================================
Here is the procedure I found in the help (on my machine at http://127.0.0.1:63846/help/index.jsp?topic=/com.sap.sdb.tools.help/htmhelp-out-en/18/1dedd0833b4957b68d34360814514e/content.htm ) I read that this cannot be done (currently) using DB Studio, so I used DB Manager - which I otherwise never use.
====================================================================================
Prerequisites
The database instance is in the ADMIN operational state.
Procedure
1. Choose Instance ® Recovery ® Recovery with Initialization.
2. If necessary, transfer the database instance to the ADMIN operational state.
3. The Recovery Wizard always proposes the quickest procedure for recovering lost data. You may need to choose a procedure that is adapted to your situation.
4. The wizard guides you through the entire process of recovering the database instance. The subsequent recovery steps are described under the relevant recovery procedure.
Restoring after initializing a database instance with the option of changing the database parameters and volume configuration
Prerequisites
The log files dbm.knland dbm.mdf exist and are not damaged. This means that the backup history is complete. The database instance is in the OFFLINE operational state.
Procedure
5. Initialize the database instance. All data from the old version is then lost.
6. During the initialization process, choose Create instance for recovery (not Create and start instance), since this is the only option that lets you recover the data.
Once it has been created, the database instance is in the ADMIN operational state. The Database Manager opens the Recovery Wizard automatically.
7. The Recovery Wizard always proposes the quickest procedure for recovering lost data. You may need to choose a procedure that is adapted to your situation.
8. The wizard guides you through the entire process of recovering the database instance. The subsequent recovery steps are described under the relevant recovery procedure.Natalia Khlopina wrote:Hi Natalia,
>
> From the posted information, the problem could be because you created the target
> database with DBM user SUPERDBA.
How do I know which user created the DB? As I mentioned, I used DBMGUI (on Windows) to initialize and restore the DB (many times!). I tried disconnecting and reconnecting as both SUPERDBA and CONTROL, so I thought I had tried both users already.
> By the default SAP installation the control user is DBM user and the SUPERDBA user
> is SYSDBA. Please see more details in SAP note 25591
Can this note please be updated to include Database Studio - which is what I use. (I run a Linux desktop, so using DB Manager is extremely inconvenient!)
When will the "Create instance for recovery" functionality be in DB Studio? This is a very important function!!!
> or MAXDB documentation
> < SAP note 767598 >. In UPC containers the control user has the u201CUSERTYPE=DBMu201D
> and superdba user has USERTYPE=DBA. You will see it when run the dbm command u201Cuser_get controlu201D
> or u201Cuser_get superdbau201D.
I posted the output from these commands in my original post. Is it not useful? (Or did I do this wrong?)
> Do you know the database users of the source database?
SUPERDBA, CONTROL and SAP<SID>.
This system was originally created as a homogeneous copy of a production ECC6 system. (It is not Unicode.) Then I ran the system for a while (generating a few log backup files), and when I tried a test restore, I get these errors.
> Did you create the SAP ticket where this issue was reported?
Not yet.
> If you would like to solve the problem by yourself, I recommend to create the target database
> instance with DBM user < Database Manager Operator > control when you run the initialization
> process with Create instance for recovery.
(repeating from above) Am I creating the DB as a particular user if I connect (using DBMGUI) as a particular user?
One final question, the "preview" feature shows my posts looking OK, but my actual posts (and many other people's) have very long lines and no line breaks. Is there a FAQ on how to post to the SDN forum? (Or perhaps this is a firefox setting...)
Thanks, Jim -
Sequential read in sm66 - Database size 550GB - system slow for users
Hello,
Currently when we use any standard transactions or custom program, it is going to sequential read in sm66.
We are getting slowness in system due to this issue for users.
Sm66 log:
sapXX01_XXX_00 0 DIA 12873 Running Yes 6 XIRFC ZCL_WM_S Sequential Read MARD
sapXX01_XXX_00 20 BTC 16155 Running Yes 15 Zuser1 ZCL_SD_D Sequential Read LTAP
sapXX01_XXX_00 29 SPO 12018 Running Yes 12 Zuser1 print 35
sapXX01_XXX_00 30 SPO 12037 Running Yes 12 Zuser1 print 35
sapXX01_XXX_00 31 SPO 12041 Running Yes 12 SAPSYS querying
sapXX02_XXX_02 3 DIA 15098 Running Yes 714 Zuser2 ZCL_IM_B
sapXX02_XXX_02 4 DIA 8158 Running Yes 38 Zuser2 RWRPLPRO Sequential Read WRPL
sapXX02_XXX_02 6 DIA 8160 Running Yes 555 Zuser3 ZCL_IM_B
sapXX03_XXX_03 0 DIA 1969 Running Yes 2390 Zuser5 SAPLFAGL Sequential Read BSIS
sapXX03_XXX_04 0 BTC 10811 Running Yes 209 Zuser6 ZCL_SD_D Sequential Read LTA
Database: Maxdb
OS: Linux
I understand that if you create Index on these table ( whichever it shows as sequential read ), it will improve the report performance.
Most of the time, system process shows that sequential read on VBAP, VKPA (sales tables), purchase tables, Finance tables and etc.
If sm66 shows as sequential read for few table, that means that corresponding user will get slowness on getting report/transaction output. I agree on that.
Is there any reason other user will get slowness ie if i run Va03 transaction, WE02 transaction which is not relevant to sm66 process over view.
I appreciate, if you give some recommendations reg. this performance improvement and to avoid this kind of sequential read.
I posted the Same question in DB forum also.
I want to get some more idea from this forum also. That is reason, i posted here again.
Thanks
PrabaHi Volker,
Thanks for your reply.
We have three application server instance ie 00, 02, 03, -
04 (enque server)
1) This parameter value on 00 instance ie : rdisp/wp_no_spo - Number of spool work processes
Dflt value - 0
ProfileVa - 1
Current value - 1
Minimum - Nothing
Maximum - 100
2) his parameter value on 02 instance ie : rdisp/wp_no_spo - Number of spool work processes
Dflt value - 0
ProfileVa - 1
Current value - 1
Minimum - Nothing
Maximum - 100
3) his parameter value on 03 instance ie : rdisp/wp_no_spo - Number of spool work processes
Dflt value - 0
ProfileVa - 1
Current value - 1
Minimum - Nothing
Maximum - 100 -
Transport Directory and queue are out of sync after the restore
Hi all
I got a DEV server. Running ECC6 on MAXDB over linux. One user deleted some tables and we restored the database. No file system is restored.
Now we are having issues with the transports as the tranport directory is the latest and database is having old data about 3 days old data.
I am not able to see the same objects that we released in the old transports before the restore neither I am able to re-import the transport.
Please let me know the best way to make this in sync with the file system transports available.
Thanks
ShafquatThanks for the response. I think I am not clear in my problem statement.
We restored the whole database. Nothing at the fie system level is restored. So Trans directory is having up to date work done (Released transports etc) but after the restore the information coming through the database is the old information. Like in SE10 the transport that was released earlier still showing released but showing less number of objects than the one we actually released before the restore. Even if we try to re-import the same transport it ends up in the error.
Please let me know how we can make file system and database in sync.
Thanks again for the response.
Shafquat
Maybe you are looking for
-
Problem during Process Order creation
Hi, I have problem while creating Process Order. I have maintained all the basic data required to create the process order. When I Release the order, I am able to create the control recipe also, but PI sheet is not generated along with it. System giv
-
Won't finish loading to net install image.
I thought I was getting the hang of this but now I am getting a bit frustrated. I took a machine out of one of our labs. I fired it up in target disk mode and plugged it into the xserve. I then used the system image utility to to create a netinstall
-
Nokia 5800 XpressMusic device software update issu...
Hi all, I can't update my phone's device software whatever via cell phone or Nokia Software Updater application. My phone's software version is 31.2.101 and the latest software release for Nokia 5800 Xpress Music is 50.0.005. Every time I will get "N
-
Now it dosent say blah blah blah macbook pro and it wont open any commands
-
I cant buy app from My mini iPad
Hoy can i buy años app theta say así support