Direkt zum Hauptbereich

Posts

How to install a module into perl

Totally new at perl I installed strawberry perl and tried to connect ot a database with an example script, but I got this: Can't locate Win32/ODBC.pm in @INC (@INC contains: C:/strawberry/perl/site/lib C:/strawberry/perl/vendor/lib C:/strawberry/perl/lib .) at db.pl line 13. BEGIN failed--compilation aborted at db.pl line 13. Finding me very clever I search this ODBC.pm in my perl installation and found it under C:\strawberry\perl\vendor\lib\DBD and copied it to C:\strawberry\perl\vendor\lib\Win32. Then I got this: Can't locate object method "new" via package "Win32::ODBC" (perhaps you forgot to load "Win32::ODBC"?) at db.pl line 2. I googled some more and learned that I have to install the correct module for Win32 like this: perl -MCPAN -e shell install Win32::ODBC Since I am inside an intranet I have to use a proxy: Windows XP Open the Control Panel and click the System icon. The System Properties dialog is displayed....

GSK_KEYRING_OPEN_ERROR-Keyring file did not open

2011-01-18-10:06:22.760+01:00I----- 0x389D0389 webseald WARNING wca revpwd revpwdchk_gskit_sock.c 130 0x0403ab90 DPWCA0905W   Function call, gsk_environment_init, failed error: 000000ca GSK_KEYRING_OPEN_ERROR-Keyring file did not open. 2011-01-18-10:06:22.760+01:00I----- 0x13212064 webseald WARNING ias general pdauthn.cpp 1740 0x0403ab90 HPDIA0100E   An internal error has occurred. Function call, func, failed error: error code error text. Explanation: The specified GSKit function failed while setting up for SSL connections to junctions or from browsers. Or perhaps the initial handshake failed due to invalid certificates or the browser simply closed the connection abruptly. Action: Examine the error text for details. Typical problems might be that the PKCS#11 library is incorrectly specified, or the PKCS#11 token or token password is incorrect, or the PKCS#11 token is not set up. Name: revpwd_s_ssl_status_function_ failed Number: 0x389d0389 (949814...

HPDAZ0602E Corrupted file: Insufficient information to contact a Policy Server.

Problem [root@srv1234 PolicyDirector]# java com.tivoli.pd.jcfg.SvrSslCfg -action config -admin_id sec_master -admin_pwd ******** -appsvr_id tim2tam -appsvr_pwd secret -host srv1234 -mode remote -port 999 -policysvr srv1235.mycompany.com:7135:1 -authzsvr srv1235.mycompany.com:7136:1 -cfg_file /opt/PolicyDirector/conf/srv1235.conf -key_file /opt/PolicyDirector/conf/keystore_srv1235.ks -domain Default -cfg_action create Exception in thread "main" [java.lang.IllegalStateException: HPDAZ0602E   Corrupted file: Insufficient information to contact a Policy Server. ] Wrappered Exception: java.lang.IllegalStateException: HPDAZ0602E   Corrupted file: Insufficient information to contact a Policy Server.         at com.tivoli.pd.jadmin.PDAppSvrConfig.configureAppSvr(PDAppSvrConfig.java:195)         at com.tivoli.pd.jcfg.SvrSslCfg.config(SvrSslCfg.java:179)         ...

com.tivoli.pd.jcfg.SvrSslCfg

[root@srvapp sbin]# java com.tivoli.pd.jcfg.SvrSslCfg -action config -admin_id sec_master -admin_pwd ********* -appsvr_id tim2tam -appsvr_pwd ******** -host srvapp -mode remote -port 999 -policysvr srvtam.mycompany.com:7135:1 -authzsvr srvtam.mycompany.com:7136:1 -cfg_file /opt/PolicyDirector/conf/srvtam.conf -key_file /opt/PolicyDirector/conf/keystore_srvtam.ks -cfg_action create Problem : Exception in thread "main" [java.io.IOException: No such file or directory ] Wrappered Exception: java.io.IOException: No such file or directory at com.tivoli.pd.jadmin.PDAppSvrConfig.configureAppSvr(PDAppSvrConfig.java:528) at com.tivoli.pd.jcfg.SvrSslCfg.config(SvrSslCfg.java:335) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:615) at com.tivo...

removing my old ACLs from an obsolete WebSphere Portal Server's external authorization

Problem I want to delete the old WPS... ACLs from the old WebSphere Portal Server external authorization, which are not needed anymore. (Note: It was no problem to delete the object /WPS.) But I cannot modify/delete or even show the ACLs in pdadmin or WPM. In pdadmin I cannot see any ACL Entry on the object or on the ACL, but in a pdacld_dump I can see ACL entries for Groups and Users (Principals). I'm getting always: Could not perform the administration request Error: HPDAC1050E Operation is not authorized. (status 0x1005b41a) pdadmin sec_master> acl show WPS_PORTLET_DEFINITION_MCO-directory-Search_3_0_1O9-User ACL Name: WPS_PORTLET_DEFINITION_MCO-directory-Search_3_0_1O9-User Description: ACL for WP rolePORTLET_DEFINITION/MCO directory Search/3_0_1O9@User Entries: ---------> no ACLEntry can be seen I did a pdacld_dump on the PD from the PolicyDirector/db/master_authzn.db: /opt/PolicyDirector/sbin/pdacld_dump -f /var/PolicyDirector/db/master_authzn.db > /opt/install/...