cshttpd failed with SSO

I am using Solaris 10 X86 06/06 and JES 2005Q4

After setting

local.calendar.sso.amnamingurl = "http://my.domian.com:80/amserver/namingservice"

in /etc/opt/SUNWics5/config/ics.conf cshttpd unbale to start and when I try to execute directly from /opt/SUNWics5/cal/bin/cshttpd it return

Fatal error: cannot open socket on (null)

When I run netsat -a it shows cshttpd already running and listining on 3080 after kill -9 cshhtpd-pid if i run it directly from /opt/SUNWics5/cal/bin/cshttpd it return "segmentation fault" error.

And this is what i am getting from /var/opt/SUNWics5/logs/http.log

[31/Oct/2006:11:13:42 +0500] mail cshttpd[5288]: General Information: Log created (1162275222)

[31/Oct/2006:11:13:42 +0500] mail cshttpd[5288]: General Notice: Sun Java System Calendar Server 6 2005Q4 (built Jul 21 2005)

cshttpd starting up

[31/Oct/2006:11:13:42 +0500] mail cshttpd[5288]: General Notice: cshttpd attempting to open Counters Database

[31/Oct/2006:11:13:42 +0500] mail cshttpd[5288]: General Notice: cshttpd successfully opened the Counters Database

[31/Oct/2006:11:13:42 +0500] mail cshttpd[5288]: General Notice: HTTP Module is refreshing

[31/Oct/2006:11:13:42 +0500] mail cshttpd[5288]: General Notice: cshttpd is refreshing

[31/Oct/2006:11:13:42 +0500] mail cshttpd[5288]: General Notice: cshttpd is refreshed

[31/Oct/2006:11:13:42 +0500] mail cshttpd[5288]: General Notice: HTTP Module has refreshed

[31/Oct/2006:11:13:42 +0500] mail cshttpd[5288]: General Notice: cshttpd: argc=3 argv[0]=/opt/SUNWics5/cal/lib/cshttpd

[31/Oct/2006:11:13:42 +0500] mail cshttpd[5288]: General Notice: session_init: attempting to open session database for cshttpd

[31/Oct/2006:11:13:42 +0500] mail cshttpd[5288]: General Notice: session_init: session database open completed for cshttpd

[31/Oct/2006:11:13:42 +0500] mail cshttpd[5288]: General Notice: LdapCacheInit: Ldap Cache not enabled.

[31/Oct/2006:11:13:42 +0500] mail cshttpd[5288]: General Notice: cshttpd_parse_commandline: successfully bind process 5288 to

processor 0

[31/Oct/2006:11:13:42 +0500] mail cshttpd[5289]: General Notice: Sun Java System Calendar Server 6 2005Q4 (built Jul 21 2005)

cshttpd starting up

[31/Oct/2006:11:13:42 +0500] mail cshttpd[5289]: General Notice: cshttpd attempting to open Counters Database

[31/Oct/2006:11:13:42 +0500] mail cshttpd[5289]: General Notice: cshttpd successfully opened the Counters Database

[31/Oct/2006:11:13:42 +0500] mail cshttpd[5289]: General Notice: HTTP Module is refreshing

[31/Oct/2006:11:13:42 +0500] mail cshttpd[5289]: General Notice: cshttpd is refreshing

[31/Oct/2006:11:13:42 +0500] mail cshttpd[5289]: General Notice: cshttpd is refreshed

[31/Oct/2006:11:13:42 +0500] mail cshttpd[5289]: General Notice: HTTP Module has refreshed

[31/Oct/2006:11:13:42 +0500] mail cshttpd[5289]: General Notice: cshttpd: argc=8 argv[0]=/opt/SUNWics5/cal/lib/cshttpd

[31/Oct/2006:11:13:42 +0500] mail cshttpd[5289]: General Notice: cshttpd_parse_commandline: successfully bind process 5289 to

processor 1

[31/Oct/2006:11:13:42 +0500] mail cshttpd[5289]: General Error: Inherit session ID cache failed for http service [-5939]

[31/Oct/2006:11:13:42 +0500] mail cshttpd[5289]: General Notice: session_init: attempting to open session database for cshttpd

[31/Oct/2006:11:13:42 +0500] mail cshttpd[5289]: General Notice: session_init: session database open completed for cshttpd

[31/Oct/2006:11:13:42 +0500] mail cshttpd[5289]: General Notice: LdapCacheInit: Ldap Cache not enabled.

If I leave the line as default cshttpd start working again normaly.

I faced the same issue with mshttpd but after installing the latest messaging server core patch it resolved. What should I do for calendar server now.

[3935 byte] By [azfar] at [2007-11-26 11:09:06]
# 1
any one! Am I only the one whos facing this problem ?Any single host deployment guide for rhel4.
azfar at 2007-7-7 3:23:37 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Calendar Server...
# 2
here some more info.I switched to rhel and delpoy the same setup on it and no sso problem faced with mshttpd and cshttpd. And its working far better then Solaris 10X86 in term of performance.
azfar at 2007-7-7 3:23:37 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Calendar Server...
# 3
I see the same exact behavior. My mshttpd did the same thing after I configured SSO for Messaging, then I applied some patches (for messaging server and access manager) which fixed it. I assumed the access manager fix would correct my cshttpd failure, but no luck.
Kevin_Kretz at 2007-7-7 3:23:37 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Calendar Server...
# 4
In MS,there is a bug in case you set the amnaming URL,the mshttpd fails to start on linux platform.However in CS,you must be editing /opt/SUNWics5/cal/config/ics.conf to set the naming url.thanks,Ramya
ramya_ravi at 2007-7-7 3:23:37 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Calendar Server...
# 5

hi,

Stop the calendar server .

in ics.conf file

set the local.ldap.cache.enable=yes

clear the /var/opt/ldap_cache in the csdb file

The process is trying to regenerate the __db.00? and log.000* files in the csdb, cld_cache and ldap_cache directories, but files left over from previous, are still there, which causes the error message.

restart the calendar server .

The process is trying to regenerate the __db.00? and log.000* files in the csdb, cld_cache and ldap_cache directories, but files left over from previous, are still there, which causes the error message.

U can try this option, if have a backup

naren@sun at 2007-7-7 3:23:37 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Calendar Server...
# 6

Hi,

I am getting s similar problem when trying to start csadmind. I'm sure it started OK previously, but when trying to restart it after the post config of Comms Express (http://docs.sun.com/source/819-0115/configureCE.html#wp29037) I get the above error.

I have tried your suggestion (I did a find / -name __db* just to make sure I had all copies of the files deleted) and I have installed the patch noted in this thread (http://forum.java.sun.com/thread.jspa?threadID=5103751&messageID=9375972) but neither of them have worked.

I believe that I have made a mess of the config file, even though I only made the changes I was instructed to do, but I do not have another copy of it.

Any suggestions?

Thanks,

Adam

QuantumAA at 2007-7-7 3:23:37 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Calendar Server...
# 7
Can you send us your ics.conf file.Thanks,Ramya
ramya_ravi at 2007-7-7 3:23:37 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Calendar Server...
# 8
Thanks, I solved it by re-running the config program.I guess I must have made a type somewhere in the the ics.conf file
QuantumAA at 2007-7-7 3:23:37 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Calendar Server...