cancel
Showing results for 
Search instead for 
Did you mean: 

File sytem Repository - What am I doing wrong?

Former Member
0 Kudos

Hi,

We are on EP6.0 SP2 P03 HF02 / CM6.0 SP2 P03 HF01 / TREX 6.0 SP1 P03 HF01.

I'm trying to setup a file system repository but I'm having problems.

Here are the steps:

- portal server running on portals01.portal.company.com (PORTAL domain)

- shared out the directory "Office" on portals06.portal.company.com (same PORTAL domain) as "officeshare" and gave PORTAL\installuser full access to the share, everybody else has read permission to the share (installuser is a domain admin in the PORTAL domain)

- changed the user to PORTAL\installuser on the SAP J2EE services Dispatcher and Server, restarted servlet engine

- assigned PORTAL\installuser to the "Act as part of the operating system" and "Log on as a service" security policies, restarted server

- checked for the existence of a Windows system, "Microsoft_Windows_KM" was already there

- setup the "KMWindows_System" windows system template in the portal

- created the "KMWindows_System" sytem in the "KMSystems" folder of the Portal Content catalog based on the "KMWindows_System" template and gave the same alias to the system as my Windows system ("Microsoft_Windows_KM")

- setup the network path "officepath" to the shared directory "officeshare" as "
portals06\officeshare"

- setup the File System Repository Manager parameters as follows:

Name: fs_office

Localroot: //portals06/officeshare

Prefix: /officeshare

Windows Landscape System: Microsoft_Windows_KM

Lookup Mode: caseless

Security Manager: W2kSecurityManager

- restarted the portal server, just in case...

I'm not seeing the new repository in the explorer, I can not assign it to an index, etc.

What am I doing wrong here? Any help would be much appreciated!

Thank You!

Gabor

Accepted Solutions (0)

Answers (9)

Answers (9)

Former Member
0 Kudos

Hi!

Looks like I have a similar problem:

Have configured anything like Gabor, but the Repository Manager just got a "startup failed".

The only part which is different to Gabor: I'm using EP6.0 on NW04, anything patched up to SP09 (WAS, EP, TREX, KMC): J2EE is installed as Plug-In into a ABAP-WAS.

Maybe the FS-Mount-Service is not running? But where can I find the Log-File? \usr\sap\SID\DVEBMGS00\j2ee\cluster\server0\log --> a fs-scan doesn't return anything usefull.

Thanks

Rene

Former Member
0 Kudos

HI,

you can check if the mount service is running in the km component monitor under services. Look for an entry called fsmount. If it is green then it works.

Regards,

Miguel

Former Member
0 Kudos

It looks that the FS-Repository only works if it is installed on a J2EE-Only-NW04 system.

My first test was on the following system:

ABAP-Stack (Netweaver04 ABAP WAS)

J2EE-Plug-In

EP6.0

This didn't work. After reinstalling the Portal on a J2EE-Only NW04-System, anything worked fine.

Former Member
0 Kudos

Hi all,

i did all configuration requested to set up a windows repository in portal.

Actually i can see from the repository manager monitor, new repository works fine, but my question is where should i see the repository installed?

Under the km root directory? in an appropiate navigation iview?

thanks in advance

Kyle
Active Participant
0 Kudos

You should see the repository in the Virtual Root - assuming you did not select the Hide in Root option. As to where users can see the repository, you can create an Explorer iView and point the root folder to the Windows repository.

Regards,

Kyle

Former Member
0 Kudos

Thanks for the answer.

the prefix of my FSR is /Required_SW and i guess i should see it under KM content|root but it doesn't work. I haven't flagged hide in root directory. I set localroot as
ilte-portal\Required_SW (with slash "//" it seemed not working at all)

anyway i'm trying to point it with an explorer iview and it sounds something's working but i get an access denied for no authorization. But i'm mapped on microsoft_windows_km resource, it should be enough? Which kind of authentication schema has to set in the iview parameters?

Kyle
Active Participant
0 Kudos

Fabio -

Which Security Manager are you using? If you're not using the W2kSecurityManager, you may have difficulties. Also, please ensure that the svc_acl service is enabled.

Finally, if you can't see the FSR in the virutal root, try looking in the KM monitoring iView. This should give you some indication of whether there is an error in the repository start up.

Regards,

Kyle

Former Member
0 Kudos

Hi Kyle, thanks for given help.

security manager i'm using is W2k according to the help guide. Monitoring says that repository is installed up and running.

i'm mapped on windows_system_km as the servlet user, and the servlet user has full control of the windows shared directory.

this is the log i'm getting from knowledge management:

1.5#C000AC120174000400000001000DC6560003DD615E594D68#1087835194609#com.sapportals.wcm.repository.manager.generic.security.w2k.W2kSecurityManager#irj#com.sapportals.wcm.repository.manager.generic.security.w2k.W2kSecurityManager#System#0#####Client_Thread_3##0#0#Warning##Plain###Failed to check W2K file system access (user fgrilli, permission leaf_read_content, resource /Required_SW, W2K path

172.18.1.116
Required_SW com.sapportals.wcm.repository.manager.generic.security.w2k.W2kException: User Administrator does not have a domain

at com.sapportals.wcm.repository.manager.generic.security.w2k.W2KFileSystemWrapper.checkAccess(W2KFileSystemWrapper.java:63)

at com.sapportals.wcm.repository.manager.generic.security.w2k.W2kSecurityManager.isAllowed(W2kSecurityManager.java:415)

at ................

Kyle
Active Participant
0 Kudos

Fabio -

It appears that the user fgrilli is not defined as a domain user. Is this correct? Did you check the box in the CM System landscape for "User is in same domain"?

Also, can you connect to the shared folder via Windows with the same user? If so, do you have to specify a domain?

Regards,

Kyle

Former Member
0 Kudos

Hi,

The problem should be related to the user mapped. The error message says the user used for the usermapping does not have a domain, that is fgrilli does not have the format domain\user required for windows systems. Be sure that the user contains this info in Portal mapping.(I guess you just forgot to type the domain in portal user mapping)

Regards,

Miguel

Former Member
0 Kudos

Gabor,

Have you tried changing your "localroot" to "
portals06\officeshare" (instead of "//portals06/officeshare").

I have successfully set a repository up like this (eventually!) on my development box and it would only work with "
" not "//".

Good luck!

Stuart.

0 Kudos

Hi Gabor,

can you check the "Component Monitor" of KM? You might find there an error message about what's wrong with your FS Manager configuration.

Regards, Frank

Former Member
0 Kudos

Hello,

are you sure it is Windows 2000 and not Windows 2003 Server? For Windows 2003 Server you have to upgrade to SP2 Patch3 HF1 to get W2kSecurityManager to work.

Greetings

Reinhard dürr

Former Member
0 Kudos

Hi Reinhard,

I'm extremely sure we are on W2k servers. 🐵

Also, at the time of the original post we were already at the latest and greatest patch/hotfix levels: EP6.0 SP2 P03 HF02 / CM6.0 SP2 P03 HF01 / TREX 6.0 SP1 P03 HF01.

Gabor

Reichel_Christi
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Gabor,

Please add the Repository Service "properties" to this FS Repository and try again!

Regards,

CHRISTIAN

i804463
Advisor
Advisor
0 Kudos

Hello Gabor,

Use CM repository and in Persistence Mode setting select fsdb instead of file system repository.

Sundeep Shah

Former Member
0 Kudos

Thanks, I'll look into it. The question still remains open though.

Gabor

I did look into it, and successfully created a CM repository manager with FSDB as suggested. Thanks again.

Kyle
Active Participant
0 Kudos

Did you activate the file system mount service? That's the only thing that appears to be missing from your config.

Regards,

Kyle Lawrence

Former Member
0 Kudos

Thank you Kyle for your input. I'm sorry, I missed it from my original post: yes, I have activated the file sytem mount service. Still no luck!

Gabor

Former Member
0 Kudos

Hello Gabor,

on which OS you are running your portal?

regards,

Marco

Former Member
0 Kudos

Hi Marco,

The portal, the TREX server and the machine with the shared directory are all in the same PORTAL domain, running on W2k servers. The portal is on MS SQL DB.

Gabor

HelgeSt
Participant
0 Kudos

Hi Gabor,

did you assign your user to the "KMWindows_System"?

If not: Personalize -> User mapping => <domain>\<username>

Hope it works,

Best Regards

Helge

Former Member
0 Kudos

Thank you Helge for your input.

I have setup user mapping for myself, but it's not for "KMWindows_System" but "Microsoft_Windows_KM", the alias for "KMWindows_System".

Gabor