amconfig script error

Hi all,

I need to install Access Manager 7.1 (in a SPARC server with Solaris 10 patched up) so:

1. I installed JES 5 Application Suite with Configure Later option.

2. Configured and start up Web Server 7.0 and Directory Server 6.0 ok

3. I then modified amsamplesilent and did amconfig -s amsamplesilent_mod and I get:

# ./amconfig -s /opt/SUNWam/bin/amsamplesilent.modified

Reading silent install file: /opt/SUNWam/bin/amsamplesilent.modified

Full install!

CLASSPATH is /opt/SUNWam/locale:/etc/opt/SUNWam/config:/opt/SUNWam/lib:/opt/SUNWam/lib/am_services.jar:/usr/share/lib/ldapjdk.jar:/usr/share/lib/mps/secv1/jss4.jar:/opt/SUNWam/lib/am_sdk.jar

ldapsearch failed with error: 87

Exiting the install script

I see the following in Directory Server access logs:

[16/Mar/2007:10:34:43 -0600] conn=7 op=-1 msgId=-1 - fd=19 slot=19 LDAP connection from 192.168.1.10:33169 to 192.168.1.10

[16/Mar/2007:10:34:43 -0600] conn=7 op=0 msgId=1 - BIND dn="cn=Directory Manager" method=128 version=3

[16/Mar/2007:10:34:43 -0600] conn=7 op=0 msgId=1 - RESULT err=0 tag=97 nentries=0 etime=0 dn="cn=directory manager"

[16/Mar/2007:10:34:43 -0600] conn=7 op=1 msgId=3 - UNBIND

[16/Mar/2007:10:34:43 -0600] conn=7 op=1 msgId=-1 - closing from 192.168.1.10:33169 - U1 - Connection closed by unbind client -

[16/Mar/2007:10:34:44 -0600] conn=7 op=-1 msgId=-1 - closed.

LDAP documentation says error 87 is "LDAP_FILTER_ERROR: an error occurred when parsing and BER-encoding a search filter specified on the command-line or in a filter file."

Can any one help me with this one? Do I need to modify or change

the LDIF templates in /etc/opt/SUNWam/config/ldif? Do I need to

load some initial LDIF into the user or service mgmt nodes?

I want to configure Different Root Suffixes for the Access Manager Information Tree and User Directory Nodes and did steps in

http://docs.sun.com/app/docs/doc/819-5899/6n7uuthbm?l=es&a=view

Thank you in advance

PS: Almost forgot: before I got a ldapsearch error 91 so I changed DS_HOST to what hostname command returned and now I get error 87.

[2265 byte] By [hj2633a] at [2007-11-26 21:55:21]
# 1

Hi,

Did you get an answer on this one?

I am getting the same error when trying to post-install Access Manager.

It started with a a ldapsearch failed with error: 91

Changed the DS_HOST and associated parameters in amsamplesclient file and I am now getting a :

ldapsearch failed with error: 87

Please let me know if you find how to resolve this.

Regards,

Vincent Gigu鑢e

vgiguerea at 2007-7-10 3:51:08 > top of Java-index,Web & Directory Servers,Directory Servers...
# 2
I did not get any response from the forums and got tied up with work and have not been able to resolve it, but will try again next week for sure, I will post any findings here.
hj2633a at 2007-7-10 3:51:08 > top of Java-index,Web & Directory Servers,Directory Servers...
# 3

CORRECTED TYPOS:

I searched amdsconfig script for the error message that I get when running amconfig script.

I put some echo lines before the first ldapsearch the script des (in function is_dit_loaded).

For variable ORG_ROOT_SUFFIX I was getting a wrong result, it only should be the actual

root suffix but I got something else before the root suffix so I checked amsamplesilent

and saw that I got the value I added in DEFAULT_ORGANIZATION, so I just left it blank

and now the script worked.

Try it and see if it solves it for you.

Message was edited by:

hj2633

hj2633a at 2007-7-10 3:51:08 > top of Java-index,Web & Directory Servers,Directory Servers...