List Info

Thread: Successes in running jabberd 2 on UltraSPARC Solaris hosts?




Successes in running jabberd 2 on UltraSPARC Solaris hosts?
country flaguser name
United States
2007-04-05 17:18:43
Hello,

I was tasked to get jabberd2 running on a SUN test
host, which is an oldish SUN Netra 120 running Solaris
10 11/06, MySQL 5.037, expat-2.0.0, cyrus-sasl-2.1.22,
openssl-0.9.8b (I know, e has been out for a while),
and initially jabberd2.0s11.

The MySQL, expat, cyrus-sasl-2.1.22, openssl-0.9.8b,
and jabberd2.0s11 were all compiled with SUN Studio 11
(patched with latest patches). The jabberd2.0s11 seemd
to run fine but after a few hours idling, any further
attempts to access the server resulted 

[error] mysql: connection to database lost

Searching the list archive, I soon realized that it's
a known bug that has been "fixed" since at least
2.0s7! But we are still experiencing it on this
Solaris host???

So, for now, we have been using a cron job to restart
the jabberd2.0s11 every three hours as a get around.

Not satisfied with just getting around, I looked into
building the latest jabberd-2.1.3.  First of all, the
sm/Makefile has the following:

sm_LDFLAGS = -Wl,-export-dynamic

The above is GNU ld specific, so it shouldn't have
been put in by the autoconf at the first place.  It
chokes /usr/ccs/bin/ld, Sun's ld.  So, the configure
script has a bug in this regard.

Getting by this one is easy, just commenting it out.

But, a successful build with the following options:
'--with-extra-include-path=/usr/local/include'
'--with-extra-library-path=/usr/local/lib:/usr/local/lib/mys
ql
didn't result a running jabberd.

c2s crashed right away.  As root, I trussed this
thing, and saw the following:
fstat(3, 0xFFBFF0E0)                            = 0
time()                                          =
1175719463
getpid()                                        =
26806 [26805]
    Incurred fault #6, FLTBOUNDS  %pc = 0xFEBB0D70
      siginfo: SIGSEGV SEGV_MAPERR addr=0x00000000
    Received signal #11, SIGSEGV [default]
      siginfo: SIGSEGV SEGV_MAPERR addr=0x00000000

Before I put this thing through the dbx, I would like
to know if anyone out there has had successes
"BUILDING AND RUNNING" jabberd-2.1.x on a similar
SUN
UltraSPARC host under Solaris 10.  If so, could you
kindly share how you got your jabberd2 up and running.
 I would like to know whether your configuration
options differ from mine, and whether you built it
using a different compiler (GCC? which version?).

Thanks in advance for any tips/hints.

--Peter
_______________________________________________
jabberd mailing list
jabberdjabberstudio.org
http:
//mail.jabber.org/mailman/listinfo/jabberd

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )