Calendar Server Error 91

HII have tried to start the calendar server running but when i do , i get the error "LDAP Error 91, Can't connect to the LDAP server". WHat is this and how do i fix itThanks
[195 byte] By [JamesSharpa] at [2007-11-26 15:20:41]
# 1

Hi,

Usual questions.

-> What version are you running (showrev -p | grep ics5)?

-> Is the LDAP server running, can you run an ldapsearch against it?

-> Are there any errors in the access/error logs for the directory server when you see the LDAP error? Specifically try grepping for 'err=91' and see if that provides any results.

-> Where do you see this error, admin log, cshttpd log, when you try to log in?

-> Has anything changed recently/around the time this error started e.g. upgraded, system crash, system reboot?

Regards,

Shane.

shane_hjortha at 2007-7-8 11:48:45 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Calendar Server...
# 2
Hi ShaneThanks for the reply. I am really new to this so please bare with me. I assume that there was a system crash as the calendar service did not work so i ran "init 5"If you could send me some commands so test, i will do itMany Thanks
JamesSharpa at 2007-7-8 11:48:45 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Calendar Server...
# 3

Looks like your LDAP(directory server) is down.You can check if its running by :

ps -ef |grep slapd (if it is JES4 that you are using)

ps -ef |grep ds (if it is JES5)

If not running start the process.

For JES4, /var/opt/mps/serverroot/slapd-<hostname>/start-slapd

For JES5, /opt/SUNWdsee/ds6/bin/dsadm start /var/opt/SUNWdsee/<dsinstance>

thanks,

Ramya

ramya_ravia at 2007-7-8 11:48:45 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Calendar Server...
# 4
HiWould i write this as a command or would i go to this direcctory?
James.Sharpa at 2007-7-8 11:48:45 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Calendar Server...
# 5
Write as a command.thanks,Ramya
ramya_ravia at 2007-7-8 11:48:45 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Calendar Server...
# 6
HiAll its says is that it cannot be found. Where do i need to do this and also, how do i find my hostname and log files?Many Thanks
james.sharpa at 2007-7-8 11:48:45 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Calendar Server...
# 7
To find the hostname ,type hostname in your box.First tell me if it is JES4 /JES5 setup?Check by going to /var/sadm/install/logs/.thanks,Ramya
ramya_ravia at 2007-7-8 11:48:45 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Calendar Server...
# 8

Hi

Many Thanks for the replay. I have gone to the requested /var/sadm/install/logs/ but there is no reference to JES4 /JES5. The main things that come up are pssetup, solaris and Sun)One_Calendar_Server_Install.

I appoligize but i am not sure what i am looking for

Could you advise

Many Thanks

james.sharpa at 2007-7-8 11:48:45 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Calendar Server...
# 9
Run : What version are you running (showrev -p | grep ics5)?If it return 116/117... something ,its JES4 .If it returns patch number as 122... something,its JES 5.Depending on the output start the LDAP as I already mentioned.Thanks,Ramya
ramya_ravia at 2007-7-8 11:48:45 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Calendar Server...
# 10
HiI have found that it is JES4 and typed in a terminal box/var/opt/mps/serverroot/slapd-cal/start-slapd but all i get it :not foundPlease advise
james.sharpa at 2007-7-8 11:48:45 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Calendar Server...
# 11
Whats is the hostname of our box?Type ps -ef |grep slapd?Whats does it return?-Ramya
ramya_ravia at 2007-7-8 11:48:45 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Calendar Server...
# 12
Hi RamyaIt returned the following ; root786 736 0 10:46:26 pts/40:00 grep slapdHope this makes sense to you
james.sharpa at 2007-7-8 11:48:45 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Calendar Server...
# 13
Find your hostname and then type /var/opt/mps/serverroot/slapd-<hostname>/start-slapd.Thanks,Ramya
ramya_ravia at 2007-7-8 11:48:45 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Calendar Server...
# 14
HiI did the requested and i got back /var/opt/mps/serverroot/slapd-: not foundPlease advise
james.sharpa at 2007-7-8 11:48:45 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Calendar Server...
# 15
I am not sure,looks like your LDAP is not in the default location.Try to find out where it is.Since its not running I cannot help you figure it out?BTW,where you able to get the hostname?-Ramya
ramya_ravia at 2007-7-21 16:24:05 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Calendar Server...
# 16
HiI typed hostname in a terminal and it came up with "cal". I have a support contract, could you give me the number and someone who i could contact regarding this issueThanks
JimSharpa at 2007-7-21 16:24:05 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Calendar Server...
# 17

Hi,

You can log a support call via the following web-page:

http://www.sun.com/service/online/

Click on 'Service Request' tab.

I would highly recommend that you attend sun system administrator training ASAP though (ask the person taking the support case whether they can point you in the right direction).

A support contract is NOT a substitute for system administration.

Regards,

Shane.

shane_hjortha at 2007-7-21 16:24:05 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Calendar Server...