Had an issue this morning re-enabling security on Portal where Portal appears to start successfully but when you try and access WebSphere Portal via the browser, you receive a "404 Error Initialization of one or more services failed" error.
The SystemOut.log showed the following errors:
Caused by: com.ibm.wps.um.exceptions.impl.PumaSystemExceptionImpl: com.ibm.wps.util.DataBackendException: EJPSG0015E: Data Backend Problem com.ibm.websphere.wim.security.authz.AccessException: CWWIM2008E The principal 'AnonymousUser' is not authorized to perform the operation
'GET PersonAccount' on 'uid=wpsadmin,o=defaultWIMFileBasedRealm'
[datetime] 00000015 PortalCollect E com.ibm.hrl.portlets.WsPse.PortalCollectionsService PortalCollectionsService EJPJO0119E: Failed to initialize portal collections services. java.lang.NoClassDefFoundError: com.ibm.wps.ac.impl.AccessControlDataManagement (initialization failure)
...............
Cause
Administrative security is disabled, but I had just enabled security on the Deployment Manager and used it to login via the admin console, with a little more digging around I noticed that in this particular scenario, the deployment manager did not sync with the node correctly and therefore didn't update the sercirty.xml file at cell level.
Resolving the problem
Enabled security in the security.xml and doubled checked the dmgr security.xml and restarted everything, and all worked and I was now able to login to Portal again as normal.