cancel
Showing results for 
Search instead for 
Did you mean: 

Extractor Framework Errors

Former Member
0 Kudos

Hello,
This is a brand new Solution Manager 7.1 SR1 system patched to SPS06 immediately after the install. I am now going through SOLMAN_SETUP. I have gone through SOLMAN_SETUP:
>>> System Preparation
>>> Basic Configuration
>>> Managed System Configuration (of SolMan system itself)
>>> Technical Monitoring (of SolMan system itself)

In the Extractor Framework several of the extractors are not working. The two I’m trying to fix now are probably related. In the extractor framework I see:
For extractor “CONFIGURATION (OS COMMAND)” there is error “Exception while retrieving E2EStore - Timeout waiting for saposcol answer.”

For extractor “CONFIGURATION (SAP J2EE ENGINE CONFIGURATION)” there is error “You are not allowed to write into files outside of the current directory or its sub directories!”

In the host_profile the daaadm user is allowed to talk to the host agent; host_profile has service/admin_users = daaadm.

I just can’t figure out what process is trying to talk to the O/S. I’m assuming it is the diagnostics agent user daaadm trying to talk to the host agent that is trying to do something on the O/S but can’t quite figure it out. Anybody have an idea? Thank you,
David


Below is from the application log SLG1 in a little more detail. I see:

10/22/2012  20:00:22  SM_EFWK 12 SOD JAVA  [active] Configuration and Change Database Extractor: Agent - OS SAPLE2E_CCDB_FUNC Dialog processing 00000000000000058018
Started
EFWK passes CONFIGSTR=SOURCERFCDEST=SOLMANDIAG;GROUP_SOURCE=OS;VERSION=001;
RFC-DESTINATION = SOLMANDIAG
TEMPLATES FOUND FOR 5 OBJECT(S) IN THE LANDSCAPE:
> OBJECT: CL_DIAGLS_JAVA_INSTANCE (id= SOD~JAVA~smhost1_SOD_00 ) (host= smhost1 ) ( 1 )
> OBJECT: CL_DIAGLS_JAVA_DISPATCHER_NODE (id= SOD~JAVA~4668500 ) (host= smhost1 ) ( 1 )
> OBJECT: CL_DIAGLS_JAVA_SERVER_NODE (id= SOD~JAVA~4668550 ) (host= smhost1 ) ( 1 )
> OBJECT: CL_DIAGLS_JAVA_INST_TECH_SYST (id= SOD~JAVA~smhost1 ) (host= smhost1 ) ( 3 )
> OBJECT: CL_DIAGLS_HOST (id= smhost1 ) (host= smhost1 ) ( 3 )
EXTRACTOR INITIALIZATION FAILURE:
Exception while retrieving E2EStore - Timeout waiting for saposcol answer.
Finished


10/22/2012  20:00:23  SM_EFWK 12 SOD JAVA  [active] Configuration and Change Database Extractor: Agent - DB SAPLE2E_CCDB_FUNC Dialog processing 00000000000000058022
Started
EFWK passes CONFIGSTR=SOURCERFCDEST=SOLMANDIAG;GROUP_SOURCE=DB;VERSION=001;
RFC-DESTINATION = SOLMANDIAG
TEMPLATES FOUND FOR 5 OBJECT(S) IN THE LANDSCAPE:
> OBJECT: CL_DIAGLS_JAVA_INSTANCE (id= SOD~JAVA~smhost1_SOD_00 ) (host= smhost1 ) ( 1 )
> OBJECT: CL_DIAGLS_JAVA_DISPATCHER_NODE (id= SOD~JAVA~4668500 ) (host= smhost1 ) ( 1 )
> OBJECT: CL_DIAGLS_JAVA_SERVER_NODE (id= SOD~JAVA~4668550 ) (host= smhost1 ) ( 1 )
> OBJECT: CL_DIAGLS_JAVA_INST_TECH_SYST (id= SOD~JAVA~smhost1 ) (host= smhost1 ) ( 3 )
> OBJECT: CL_DIAGLS_JAVA_TECH_SYST (id= SOD~JAVA ) (host= smhost1 ) ( 5 )
EXTRACTOR INITIALIZATION FAILURE:
You are not allowed to write into files outside of the current directory or its sub directories!
Finished

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi ,

To solve this problems please in both of your case just download latest saphostctrl.sar and overwrite existing and give a try.

Regards.

Former Member
0 Kudos

Said, thanks a lot!

David,

I think I found out the solution of our problem.

I paid my attention on a message at Agent Error Monitoring (Agent Framework)

"You are not allowed to write into files outside of the current directory or its sub directories! <ConvenienceEngineAdministratorImpl.java:529:archiveConfiguration()>".

I think https://service.sap.com/sap/support/notes/1163751 can help us.

Evgeniy

Former Member
0 Kudos

Hi Evgeniy,

I have gone through that note and didn't find anything; the umask of daaadm and <sid>adm is 022 which is even less restrictive than 027. I couldn't find any anamolies in ownership or permissions on files or directories (at least I think so). I'm not even sure I know which user is failing: <sid>adm, daaadm, sapadm or where it is trying to write. I can't find anything on it.

I also went through the Outside Discovery guide attached to note 1611483 but the answer for the saposcol timeout was for Windows. I wish I knew what user was failing but I can't find that anywhere. Thanks Evgeniy, still working on it.

David

Former Member
0 Kudos

Hi David,

I found out something.

the Diagnostics Agent's temporary  directory /usr/sap/<AgentSID>/SMDA??/SMDAgent/temp has at least the following permissions: "rwx rwx ---".

my DA temporary directory has the permission "drwxrwxr-x  <AgentSID>adm sapsys"

but it has the following content

...

-rw-r--r-- 1 <solmanSID>adm sapsys   74389 2012-11-07 12:01 ctc_test_S30_1352268119217.zip

-rw-r--r-- 1 <solmanSID>adm sapsys   20630 2012-11-07 14:37 ctc_test_S30_1352277421238.zip

-rw-r--r-- 1 <solmanSID>adm sapsys    6307 2012-11-07 14:37 ctc_test_S30_1352277423075.zip

-rw-r--r-- 1 <solmanSID>adm sapsys   23786 2012-11-07 14:37 ctc_test_S30_1352277425265.zip

-rw-r--r-- 1 <solmanSID>adm sapsys   74386 2012-11-07 14:37 ctc_test_S30_1352277425902.zip

...

-rw-r--r-- 1 daaadm sapsys   0 2012-11-07 15:06 IntroscopeAgent.20121107-160644.log

I am confused about the permission "-rw-r--r--"

in that case umask 022 doesn't work.

Moreover there is https://service.sap.com/sap/support/notes/986350

I hope it help me...

Evgeniy

gammarayburst
Explorer
0 Kudos

Hi,

I know that this post is really, really old, but just for clarification to whoever may read this:

Remember that the umask value gets subtracted from the default permissions

which are 0666 (rw-rw-rw) for files and 0777 (rwxrwxrwx) for directories.

In other words,

umask 022

means 644 (-rw-r-r--) for files

and

755 (drwxr-xr-x)

for directories, respectively.

Regards

Former Member
0 Kudos

Hi David,

I have the same problem.

I paid attention on string "Exception while retrieving E2EStore - Timeout waiting for saposcol answer."

I found out the Note 1611483 - SolutionManager7.1 - Outside Discovery common error messages

There is the following "Check the trace file C:\Program  Files\SAP\hostctrl\work\dev_sapdbctrl for more details" there.

there is the following "[PID 24072] *** ERROR => Initialization of database control library 'libsapdbhdbctrl.so' for database type 'hdb' failed. Please check your installation. [sapdbctrl.cp 2354]" in my dev_sapdbctrl

I found out no information about 'libsapdbhdbctrl.so'.

I changed the hostctrl.

I am looking forward some results...

Evgeniy