on 08-08-2013 8:18 AM
Hi All,
I am using Solaris operating system, I tried to check work process from O/S level by "dpmon pf=<SID>_DVBMGS<instance no>_server " so its working fine in my quality and dev system, but when i am trying same steps in my PRD ,so it is not working with the below error
"
bash-3.00$ dpmon pf=IEP_DVEBMGS01_ITZECCAP
dpmon=>sapparam(2): fopenU("IEP_DVEBMGS01_ITZECCAP","r"): No such file or directory
dpmon=>No Profile used.
dpmon=>sapparam: SAPSYSTEMNAME neither in Profile nor in Commandline
DpMonInit failed - possibly no dispatcher running
DpMon: External/Internal dplib version: 110/247"
My PRD is on cluster, in this we have 3 application,
Please guide me how can i proceed the action in PRD.
Thanks and Regards,
Aziz.
Hi Faizan,
Can you please try and execute 'dpmon pf=/sapmnt/SID/profile/DEFAULT.PFL' and let me know the results, as it just seems that you need to add SAPSYSTEMNAME parameter to the instance profile
Best Regards
Marius
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Marius,
Tried but same error, see below please.
bash-3.00$ dpmon pf=/sapmnt/IEP/profile/DEFAULT.PFL
DpMonInit failed - possibly no dispatcher running
DpMon: External/Internal dplib version: 110/247
bash-3.00$ dpmon pf=/sapmnt/IEP/DVEBMGS01/DEFAULT.PFL
dpmon=>sapparam(2): fopenU("/sapmnt/IEP/DVEBMGS01/DEFAULT.PFL","r"): No such file or directory
dpmon=>No Profile used.
dpmon=>sapparam: SAPSYSTEMNAME neither in Profile nor in Commandline
DpMonInit failed - possibly no dispatcher running
DpMon: External/Internal dplib version: 110/247
regards,
Aziz.
Hi Marius,
In my instance profile the sapsystemame=IEP already exist .
but,
when i hit command "sappfpar check pf=IEP_DVEBMGS01_ITZECCAP" the screen comes as below,
sappfpar check pf=IEP_DVEBMGS01_ITZECCAP
sappfpar=>sapparam(2): fopenU("IEP_DVEBMGS01_ITZECCAP","r"): No such file or directory
sappfpar=>No Profile used.
sappfpar=>sapparam: SAPSYSTEMNAME neither in Profile nor in Commandline
================================================================================
== Checking profile: <no_profile>
================================================================================
***ERROR: Size of shared memory pool 10 too small
================================================================
SOLUTIONS: (1) Locate shared memory segments outside of pool 10
with parameters like: ipc/shm_psize_<key> =0
SOLUTION: Increase size of shared memory pool 10
with parameter: ipc/shm_psize_10 =128000000
***ERROR: Size of shared memory pool 40 too small
================================================================
SOLUTIONS: (1) Locate shared memory segments outside of pool 40
with parameters like: ipc/shm_psize_<key> =0
SOLUTION: Increase size of shared memory pool 40
with parameter: ipc/shm_psize_40 =112000000
Shared memory disposition overview
================================================================
Shared memory pools
Key: 10 Pool
Size configured.....: 19880000 ( 19.0 MB)
Size min. estimated.: 124223396 ( 118.5 MB)
Advised Size........: 128000000 ( 122.1 MB)
Key: 40 Pool for database buffers
Size configured.....: 14250000 ( 13.6 MB)
Size min. estimated.: 109175040 ( 104.1 MB)
Advised Size........: 112000000 ( 106.8 MB)
Shared memories inside of pool 10
Key: 11 Size: 500000 ( 0.5 MB) Factory calender buffer
Key: 12 Size: 6000000 ( 5.7 MB) TemSe Char-Code convert Buf.
Key: 13 Size: 60500000 ( 57.7 MB) Alert Area
Key: 14 Size: 4400000 ( 4.2 MB) Presentation buffer
Key: 16 Size: 22400 ( 0.0 MB) Semaphore activity monitoring
Key: 17 Size: 2800228 ( 2.7 MB) Roll administration
Shared memories inside of pool 40
Key: 42 Size: 7232992 ( 6.9 MB) DB TTAB buffer
Key: 43 Size: 32534392 ( 31.0 MB) DB FTAB buffer
Key: 44 Size: 7958392 ( 7.6 MB) DB IREC buffer
Key: 45 Size: 4886392 ( 4.7 MB) DB short nametab buffer
Key: 46 Size: 20480 ( 0.0 MB) DB sync table
Key: 47 Size: 3073024 ( 2.9 MB) DB CUA buffer
Key: 48 Size: 500000 ( 0.5 MB) Number range buffer
Key: 49 Size: 2968344 ( 2.8 MB) Spool admin (SpoolWP+DiaWP)
Shared memories outside of pools
Key: 1 Size: 2500 ( 0.0 MB) System administration
Key: 2 Size: 6248368 ( 6.0 MB) Disp. administration tables
Key: 3 Size: 13714400 ( 13.1 MB) Disp. communication areas
Key: 4 Size: 503248 ( 0.5 MB) statistic area
Key: 6 Size: 319488000 ( 304.7 MB) ABAP program buffer
Key: 7 Size: 14838 ( 0.0 MB) Update task administration
Key: 8 Size: 67108964 ( 64.0 MB) Paging buffer
Key: 9 Size: 134217828 ( 128.0 MB) Roll buffer
Key: 18 Size: 917604 ( 0.9 MB) Paging adminitration
Key: 19 Size: 30000000 ( 28.6 MB) Table-buffer
Key: 30 Size: 3072 ( 0.0 MB) Taskhandler runtime admin.
Key: 31 Size: 1806000 ( 1.7 MB) Dispatcher request queue
Key: 33 Size: 10240000 ( 9.8 MB) Table buffer, part.buffering
Key: 41 Size: 25010000 ( 23.9 MB) DB statistics buffer
Key: 51 Size: 3200000 ( 3.1 MB) Extended memory admin.
Key: 52 Size: 40000 ( 0.0 MB) Message Server buffer
Key: 54 Size: 4202496 ( 4.0 MB) Export/Import buffer
Key: 55 Size: 8192 ( 0.0 MB) Spool local printer+joblist
Key: 57 Size: 1048576 ( 1.0 MB) Profilparameter in shared mem
Key: 58 Size: 4096 ( 0.0 MB) Enqueue ID for reset
Key: 62 Size: 85983232 ( 82.0 MB) Memory pipes
Key: 63 Size: 409600 ( 0.4 MB) ICMAN shared memory
Key: 64 Size: 4202496 ( 4.0 MB) Online Text Repository Buf.
Key: 65 Size: 4202496 ( 4.0 MB) Export/Import Shared Memory
Key: 1002 Size: 400000 ( 0.4 MB) Performance monitoring V01.0
Key: 58900100 Size: 4096 ( 0.0 MB) SCSA area
Nr of operating system shared memory segments: 28
Shared memory resource requirements estimated
================================================================
Total Nr of shared segments required.....: 28
System-imposed number of shared memories.: 93
Shared memory segment size required min..: 319488000 ( 304.7 MB)
System-imposed maximum segment size......: 19864223744 (18944.0 MB)
Swap space requirements estimated
================================================
Shared memory....................: 910.7 MB
..in pool 10 19.0 MB, 624% used !!
..in pool 40 13.6 MB, 766% used !!
..not in pool: 679.9 MB
Processes........................: 29.0 MB
Extended Memory .................: 4092.0 MB
------------------------------------------------
Total, minimum requirement.......: 5031.7 MB
Process local heaps, worst case..: 1907.3 MB
Total, worst case requirement....: 6939.1 MB
Errors detected..................: 2
Warnings detected................: 0
Hi,
Please see the permission for Profile directory ,
bash-3.00$ cd /usr/sap/IEP/SYS/profile
bash-3.00$ ls -altr
total 158
-rw-r--r-- 1 iepadm sapsys 245 Jun 29 2009 DEFAULT.1.PFL
-rw-r--r-- 1 iepadm sapsys 333 Jun 30 2009 DEFAULT.2.PFL
drwxr-xr-x 2 iepadm sapsys 512 Jun 30 2009 oracle
-rw-r--r-- 1 iepadm sapsys 408 Jun 30 2009 DEFAULT.3.PFL
-rw-r--r-- 1 iepadm sapsys 1955 Jul 2 2009 DEFAULT.4.PFL
-rw-r--r-- 1 iepadm sapsys 71 Jul 7 2009 INSTSTAT
-rw-r--r-- 1 iepadm sapsys 415 Jul 7 2009 enquelog
-rw-r--r-- 1 iepadm sapsys 1285 Jul 16 2009 START_ERS10_itzeccers
-rw-r--r-- 1 iepadm sapsys 923 Jul 16 2009 IEP_ERS10_itzeccers
-rw-r--r-- 1 iepadm sapsys 1551 Jul 16 2009 START_ASCS00_itzeccascs
-rw-r--r-- 1 iepadm sapsys 998 Jul 16 2009 IEP_ASCS00_itzeccascs
drwxr-xr-x 2 iepadm sapsys 512 Aug 12 2009 old_temp
-rw-r--r-- 1 iepadm sapsys 257 Mar 23 2010 dev_msprot
-rw-rw---- 1 iepadm sapsys 6091 Oct 17 2011 IEP_DVEBMGS01_itzeccap.BAK
-rw-rw---- 1 iepadm sapsys 5811 Oct 17 2011 IEP_D01_itzeccap1.BAK
-rw-r--r-- 1 iepadm sapsys 6223 Jun 6 2012 IEP_DVEBMGS01_itzeccap
-rw-r--r-- 1 iepadm sapsys 5940 Jun 6 2012 IEP_D01_itzeccap1
-rw-r--r-- 1 iepadm sapsys 3165 Jun 6 2012 START_D01_itzeccap2
-rw-r--r-- 1 iepadm sapsys 3566 Jun 6 2012 START_DVEBMGS01_itzeccap
-rw-r--r-- 1 iepadm sapsys 3190 Jun 6 2012 START_D01_itzeccap1
-rw-rw---- 1 iepadm sapsys 6119 Jun 11 2012 IEP_D01_itzeccap2.BAK
-rw-r--r-- 1 iepadm sapsys 6248 Jun 11 2012 IEP_D01_itzeccap2
drwxr-xr-x 11 iepadm sapsys 512 Mar 2 16:16 ..
drwxr-xr-x 4 iepadm sapsys 2048 Mar 2 21:39 .
-rw-r--r-- 1 iepadm sapsys 726 Mar 2 21:39 sqlnet.log
-rw-rw---- 1 iepadm sapsys 2599 Mar 13 17:06 DEFAULT.BAK
-rw-rw---- 1 iepadm sapsys 2714 Mar 13 17:06 DEFAULT.PFL
-rw-r--r-- 1 iepadm sapsys 1040 Apr 21 14:33 dev_sapstart
-rw-r--r-- 1 iepadm sapsys 747 Aug 8 16:45 dev_dpmon
bash-3.00$
Regards,
Faizan Aziz.
Hi Johan,
You can just use sapcontrol !
sapcontrol -nr <instance_number> -function ABAPGetWPTable
Regards,
Americo.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello
dpmon=>sapparam(2): fopenU("IEP_DVEBMGS01_ITZECCAP","r"): No such file or directory
So it is evident that the profile is not available in the directory you are calling from.
Provide the output after executing the below commands
ps -ef | grep ms.sap
su - iepadm
cdpro
pwd
ls -la
Regards
RB
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Please find as u suggest,
# ps -ef | grep ms.sap
iepadm 7539 7518 0 Apr 21 ? 31:00 ms.sapIEP_ASCS00 pf=/usr/sap/IEP/SYS/profile/IEP_ASCS00_itzeccascs
root 22406 22404 0 17:06:03 pts/1 0:00 grep ms.sap
# su - iepadm
All activites on this Host are loged please submit change request form before you commit any configuration changes on this Host
node2-eccdb:iepadm 1% cdpro
node2-eccdb:iepadm 2% pwd
/sapmnt/IEP/profile
node2-eccdb:iepadm 3% ls -la
total 158
drwxr-xr-x 4 iepadm sapsys 2048 Mar 2 21:39 .
drwxr-xr-x 11 iepadm sapsys 512 Mar 2 16:16 ..
-rw-r--r-- 1 iepadm sapsys 245 Jun 29 2009 DEFAULT.1.PFL
-rw-r--r-- 1 iepadm sapsys 333 Jun 30 2009 DEFAULT.2.PFL
-rw-r--r-- 1 iepadm sapsys 408 Jun 30 2009 DEFAULT.3.PFL
-rw-r--r-- 1 iepadm sapsys 1955 Jul 2 2009 DEFAULT.4.PFL
-rw-rw---- 1 iepadm sapsys 2599 Mar 13 17:06 DEFAULT.BAK
-rw-rw---- 1 iepadm sapsys 2714 Mar 13 17:06 DEFAULT.PFL
-rw-r--r-- 1 iepadm sapsys 998 Jul 16 2009 IEP_ASCS00_itzeccascs
-rw-r--r-- 1 iepadm sapsys 5940 Jun 6 2012 IEP_D01_itzeccap1
-rw-rw---- 1 iepadm sapsys 5811 Oct 17 2011 IEP_D01_itzeccap1.BAK
-rw-r--r-- 1 iepadm sapsys 6248 Jun 11 2012 IEP_D01_itzeccap2
-rw-rw---- 1 iepadm sapsys 6119 Jun 11 2012 IEP_D01_itzeccap2.BAK
-rw-r--r-- 1 iepadm sapsys 6223 Jun 6 2012 IEP_DVEBMGS01_itzeccap
-rw-rw---- 1 iepadm sapsys 6091 Oct 17 2011 IEP_DVEBMGS01_itzeccap.BAK
-rw-r--r-- 1 iepadm sapsys 923 Jul 16 2009 IEP_ERS10_itzeccers
-rw-r--r-- 1 iepadm sapsys 71 Jul 7 2009 INSTSTAT
-rw-r--r-- 1 iepadm sapsys 1551 Jul 16 2009 START_ASCS00_itzeccascs
-rw-r--r-- 1 iepadm sapsys 3190 Jun 6 2012 START_D01_itzeccap1
-rw-r--r-- 1 iepadm sapsys 3165 Jun 6 2012 START_D01_itzeccap2
-rw-r--r-- 1 iepadm sapsys 3566 Jun 6 2012 START_DVEBMGS01_itzeccap
-rw-r--r-- 1 iepadm sapsys 1285 Jul 16 2009 START_ERS10_itzeccers
-rw-r--r-- 1 iepadm sapsys 747 Aug 8 16:45 dev_dpmon
-rw-r--r-- 1 iepadm sapsys 257 Mar 23 2010 dev_msprot
-rw-r--r-- 1 iepadm sapsys 1040 Apr 21 14:33 dev_sapstart
-rw-r--r-- 1 iepadm sapsys 415 Jul 7 2009 enquelog
drwxr-xr-x 2 iepadm sapsys 512 Aug 12 2009 old_temp
drwxr-xr-x 2 iepadm sapsys 512 Jun 30 2009 oracle
-rw-r--r-- 1 iepadm sapsys 726 Mar 2 21:39 sqlnet.log
Regards,
Faizan Aziz.
HI,
cd to to relevant directory
cd /usr/sap/IEP/SYS/profile/
Verify your current directory with command pwd
then check your user with command whoami your user should be iepadm
Now if you do ls -ltr in directory of /usr/sap/IEP/SYS/profile/ you should see the profile as you did in your previous that was all correct.
Now run command dpmon pf=IEP_DVEBMGS01_ITZECCAP
You will see the following:
Dispatcher Load Statistics
+------+---------+---------+---------+
| Typ | LA1 | LA5 | LA15 |
+------+---------+---------+---------+
| DIA | 1.306 | 0.828 | 0.795 |
+------+---------+---------+---------+
| UPD | 0.000 | 0.000 | 0.000 |
+------+---------+---------+---------+
| ENQ | 0.000 | 0.000 | 0.000 |
+------+---------+---------+---------+
| BTC | 0.842 | 0.850 | 0.791 |
+------+---------+---------+---------+
| SPO | 0.000 | 0.000 | 0.000 |
+------+---------+---------+---------+
| UP2 | 0.000 | 0.000 | 0.000 |
+------+---------+---------+---------+
q - quit
m - menue
Use option m and and then option p
Dispatcher-Monitor-Menue
------------------------
d - dispatcher queue statistics
r - request queue statistics
p - work-process-admin-table
l - work-process-admin-table (long)
y - vm-container-admin-table
t - trace level/components for wp
w - wp_ca blocks
a - appc_ca blocks
b - dump binary content of shared memory blocks
c - comm adm blocks
j - j2ee adm area
m - mbuf status
s - service buffer status
v - tm_ad dump
z - sys_ad dump
e - maintain profile parameters
q - quit
Option P will list this:
28 BTC 29634 Wait yes no 565 0
29 BTC 13795 Wait yes no 369 0
30 BTC 8597 Wait yes no 387 0
31 BTC 11258 Wait yes no 591 0
32 BTC 5070 Wait yes no 0 0
33 BTC 26101 Wait yes no 611 0
34 SPO 17926 Wait yes no 605 0
35 UP2 24041 Wait yes no 511 0
36 UP2 5909 Wait yes no 511 0
s - stop workprocess
k - kill workprocess (with core)
r - switch restart flag
q - quit
m - menue
And it should list all your processes you want to see, if it still give you error you may gave to set permissions with chmod.
Regards,
Johan
@Reagan:
Good point Reagan, that's why I asked him to do this -->
try to start dpmon with pf=/usr/sap/IEP/SYS/profile/your-instance-profile (full directory).
With hope that he will copy-n-paste the instance-profile correctly....
@Faizan:
You did get cdpro correctly executed (from your list at 2:30 pm):
# su - iepadm
All activites on this Host are loged please submit change request form before you commit any configuration changes on this Host
node2-eccdb:iepadm 1% cdpro
node2-eccdb:iepadm 2% pwd
/sapmnt/IEP/profile
Hi Faizan,
It seems that the profile-directory is not correctly being shared between your SAP-servers on PRD-cluster. Or the environment is not correctly set on those servers.
Try this command on those PRD-servers, and compare with DEV & QAS for example: cdpro --> it should bring you directly to the profile-directory.
Alternatively, you should try to start dpmon with pf=/usr/sap/IEP/SYS/profile/your-instance-profile (full directory).
I hope this will help you.
Regards,
Andre
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Andre,
I have been run command "cdpro", but it is giving error
"bash: cdpro: command not found "
i am also thought about some cluster issue may have there ... but i dnt have any idea about how to check the profile directory sheared in cluster or not and all,
please do the need full ..
Regards,
Aziz.
hi Aziz
reagan.benjamin has stolen the solution my solution
the only difference is that "cdpro" is an alias that you seem not to have so replace that with "cd /usr/sap/IEP/SYS/profile"
Regards
a
Hi Faizan,
In your profile directory if you run command ls -ltr what is the output you see?
is this all you see:
-rw-r----- 1 iepadm sapsys 144 Jun 29 2009 .profile.1
-rw-r--r-- 1 iepadm sapsys 174 Jun 29 2009 local.profile
If this is your complete output you are in the incorrect directory, usually as marius has stated:
It would be located in the directory
/usr/sap/SID/SYS/profile
So in your case go cd /usr/sap/IEP/SYS/profile
then do ls -ltr and give us output please.
Regards,
Johan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Aziz
i believe there is a lack of authorisation, can you go in your profile directory and run a ls -latr ?
Let me know
cheers
a
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Aziz
i am a bit confused. You run the command dpmon pf=<SID>_DVBMGS<instance no>_server where the profile is IEP_DVEBMGS01_ITZECCAP ? but the list you pasted doesn't show any profiles at all ...
One step back, can you run this find /usr/sap/IEP -name IEP_DVEBMGS01_ITZECCAP
in case it return something then launch dpmon pf=result_of_previous_search (and bear in mind that iepadm should have -rw against this file)
in case it doesnt i believe you have to retrieve the profile of your instance first
Let me know if you need further details
a
Hi andrea,
I have run proper command what is working in my quality,eccdev,XIdev smoothly, but its giving error in my ECC production as well as PI(XI)production, I checked all instance profile and permissions and compared with dev and PRD, all are same but Both PRD not working, giving same error, Is this because of cluster????? my both PRD on cluster and have2-3 application.
Please guide me....
Regards,
AzIz.
Aziz,
I'm here to help and we'll fix this.
Yes, probably this difference is because of cluster config. did you try the find command?
In same way your instance are up&running (hopefully) so probably the profile is somewhere somohow, you have just to find it and the everything will be clear and smooth
let me know
a
I'm trying to figure out why when you run
bash-3.00$ dpmon pf=IEP_DVEBMGS01_ITZECCAP
it searches for it under /sapmnt/IEP/DVEBMGS01/DEFAULT.PFL
fopenU("/sapmnt/IEP/DVEBMGS01/DEFAULT.PFL","r"):
But ok, can you get some one to double chekc the cluster and also make sure that the user IEPADM is part of the correct groups ?
also can you try and run the dpmon command from a CSHELL
just type 'csh'
and try and execute the command again
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.