Re: jabberd will not start on reboot, only starts manually
On Tuesday 04 December 2007 18:28:42 Daniel Bye wrote: > > Check out the manual for rcorder(8), and look at the CAPITALISED files in > /etc/rc.d. > > Essentially, LOGIN is a dummy service - it is used to control startup > of services that should start late in the boot process. The jabberd control > script told rcorder(8) that it should run *before* the LOGIN service, > but the MySQL control script tells rcorder(8) that it wants to run > *after* the LOGIN service. So although you had REQUIRE: mysql in jabberd's > script, it was still getting run before MySQL. I guess. ;-) > > You can determine what order things get run by doing > > # rcorder /etc/rc.d/* /usr/local/etc/rc.d/* > > Anyway, glad it worked. You might want to get in touch with the jabberd > maintainer and see if he is willing to make the change permanent. Thanks for the explanation. I had gone to the ##freebsd channel on Freenode for help and had been told to run # rcorder /etc/rc.d/* /usr/local/etc/rc.d/* This showed that I had succeeded in getting jabber to start after mysql, but things were still not working properly. I will email the jabberd maintainer about my experience. 8) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: jabberd will not start on reboot, only starts manually
On Tue, Dec 04, 2007 at 06:06:00PM +, Pollywog wrote: > On Tuesday 04 December 2007 15:11:32 Daniel Bye wrote: > > > > > Try removing the # BEFORE: LOGIN line from the jabberd control script. > > I haven't tested it, but from a cursory glance at the respective control > > scripts, it feels like a sane first guess... > > What exactly does this do? It worked. > > I first tried adding 'sleep 2' to the script as suggested in another reply. > I > thought that would work, but it did not. > > thanks to all who replied. Check out the manual for rcorder(8), and look at the CAPITALISED files in /etc/rc.d. Essentially, LOGIN is a dummy service - it is used to control startup of services that should start late in the boot process. The jabberd control script told rcorder(8) that it should run *before* the LOGIN service, but the MySQL control script tells rcorder(8) that it wants to run *after* the LOGIN service. So although you had REQUIRE: mysql in jabberd's script, it was still getting run before MySQL. I guess. ;-) You can determine what order things get run by doing # rcorder /etc/rc.d/* /usr/local/etc/rc.d/* Anyway, glad it worked. You might want to get in touch with the jabberd maintainer and see if he is willing to make the change permanent. Dan -- Daniel Bye _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ pgpn564oY0mJv.pgp Description: PGP signature
Re: jabberd will not start on reboot, only starts manually
On Tuesday 04 December 2007 15:11:32 Daniel Bye wrote: > > Try removing the # BEFORE: LOGIN line from the jabberd control script. > I haven't tested it, but from a cursory glance at the respective control > scripts, it feels like a sane first guess... What exactly does this do? It worked. I first tried adding 'sleep 2' to the script as suggested in another reply. I thought that would work, but it did not. thanks to all who replied. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: jabberd will not start on reboot, only starts manually
> On December 04, 2007 at 10:11AM Daniel Bye wrote: > On Mon, Dec 03, 2007 at 10:04:16PM +, Pollywog wrote: > > I am running FreeBSD 6.2 with Jabberd installed from ports: > > jabberd-2.1.18 > > > > > > When I reboot the machine, jabberd will not start, but it will start if I > > manually restart it with /usr/local/etc/rc.d/jabberd restart > > > > /var/log/messages shows: > > > > jabberd/c2s[989]: mysql: connection to database failed: Can't connect to > > local > > MySQL server through socket '/tmp/mysql.sock' (2) > > jabberd/c2s[989]: failed to initialize auth module 'mysql' > > > > I added 'mysql' to the REQUIRED line in the startup script for jabberd but > > this did not solve the problem. It still appears as though jabberd > > attempts > > to connect to mysql before mysql is ready for the connection. > > > > Can anyone assist with this problem? > > Try removing the # BEFORE: LOGIN line from the jabberd control script. > I haven't tested it, but from a cursory glance at the respective control > scripts, it feels like a sane first guess... I had a somewhat similar problem with Postfix+saslauthd+mysql awhile ago. I fixed it by putting a 'sleep 2' statement in the rc.d file of postfix even though I had a "REQUIRED" statement for 'saslauthd' in postfix. It seemed that saslauthd was not always starting up fast enough for postfix to see it. Perhaps you might try something like that with 'jabberd'. I placed the statement immediately after 'KEYWORD'. -- Gerard ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: jabberd will not start on reboot, only starts manually
On Mon, Dec 03, 2007 at 10:04:16PM +, Pollywog wrote: > I am running FreeBSD 6.2 with Jabberd installed from ports: > jabberd-2.1.18 > > > When I reboot the machine, jabberd will not start, but it will start if I > manually restart it with /usr/local/etc/rc.d/jabberd restart > > /var/log/messages shows: > > jabberd/c2s[989]: mysql: connection to database failed: Can't connect to > local > MySQL server through socket '/tmp/mysql.sock' (2) > jabberd/c2s[989]: failed to initialize auth module 'mysql' > > I added 'mysql' to the REQUIRED line in the startup script for jabberd but > this did not solve the problem. It still appears as though jabberd attempts > to connect to mysql before mysql is ready for the connection. > > Can anyone assist with this problem? Try removing the # BEFORE: LOGIN line from the jabberd control script. I haven't tested it, but from a cursory glance at the respective control scripts, it feels like a sane first guess... -- Daniel Bye _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ pgpQ83qp4MHpn.pgp Description: PGP signature
jabberd will not start on reboot, only starts manually
I am running FreeBSD 6.2 with Jabberd installed from ports: jabberd-2.1.18 When I reboot the machine, jabberd will not start, but it will start if I manually restart it with /usr/local/etc/rc.d/jabberd restart /var/log/messages shows: jabberd/c2s[989]: mysql: connection to database failed: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) jabberd/c2s[989]: failed to initialize auth module 'mysql' I added 'mysql' to the REQUIRED line in the startup script for jabberd but this did not solve the problem. It still appears as though jabberd attempts to connect to mysql before mysql is ready for the connection. Can anyone assist with this problem? thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: jabberd error, help
Hi, >> I've installed jabberd2 (#pkg_add -rv jabberd) >> and I followed the jabber_guide.pdf instructions >> but when I execute /usr/local/bin/jabberd -D, I >> get this error: >> >> # cat c2s.log >> Tue Nov 22 09:37:52 2005 [notice] starting up >> Tue Nov 22 09:37:52 2005 [info] process id is >> 3263, written to >> /var/jabberd/pid/c2s.pid >> Tue Nov 22 09:37:52 2005 [error] no such auth >> module 'mysql' >> >> The mysql libs are in /usr/local/lib/mysql. >> >> Is there a way to tell to jabberd that the >> mysql's libs are in that path? >> >> I hope that someone can help me >> Thanks... >I think the package was build without support for mysql. >This option is off by default. >Try to build the port yourself: >% cd /usr/ports/net-im/jabberd >% make -DWITH_MYSQL install clean I did it but it shows me now this error: # make -DWITH_MYSQL install clean Dependency warning: used OpenSSL version contains known vulnerabilities Please update or define either WITH_OPENSSL_BASE or WITH_OPENSSL_PORT *** Error code 1 Stop in /usr/ports/net/jabberd. I've made a #make clean, #make -DWITH_MYSQL -DWITH_OPENSSL_PORT install clean #make -DWITH_MYSQL -DWITH_OPENSSL_BASE install clean Without results... What is happening now? These are the packages on my system (OS: freebsd6.0 -i386): --- # pkg_info apache-1.3.33_1 The extremely popular Apache http server. Very fast, very expat-1.95.8XML 1.0 parser written in C gettext-0.14.5 GNU gettext package libiconv-1.9.2_1A character set conversion library libidn-0.5.18 Internationalized Domain Names command line tool libtool-1.5.18 Generic shared library support script (1.5) libxml2-2.6.18 XML parser library for GNOME linux_base-8-8.0_6 Base set of packages needed in Linux mode (only for i386) lsof-4.74.2 Lists information about open files (similar to fstat(1)) mgetty-1.1.31 Handle external logins, send and receive faxes mysql-client-5.0.9_1 Multithreaded SQL database (client) mysql-server-5.0.9_1 Multithreaded SQL database (server) perl-5.8.6_2Practical Extraction and Report Language php5-5.0.3_2PHP Scripting Language (Apache Module and CLI) pkgconfig-0.15.0_1 A utility used to retrieve information about installed libr squid-2.5.9_3 The successful WWW proxy cache and accelerator Thanks for your time Efren Bravo. __ Renovamos el Correo Yahoo! Nuevos servicios, más seguridad http://correo.yahoo.es ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: jabberd error, help
Efren Bravo <[EMAIL PROTECTED]> writes: > I've installed jabberd2 (#pkg_add -rv jabberd) > and I followed the jabber_guide.pdf instructions > but when I execute /usr/local/bin/jabberd -D, I > get this error: > > # cat c2s.log > Tue Nov 22 09:37:52 2005 [notice] starting up > Tue Nov 22 09:37:52 2005 [info] process id is > 3263, written to > /var/jabberd/pid/c2s.pid > Tue Nov 22 09:37:52 2005 [error] no such auth > module 'mysql' > > The mysql libs are in /usr/local/lib/mysql. > > Is there a way to tell to jabberd that the > mysql's libs are in that path? Sounds like you are trying to use some kind of authentication that you didn't configure the port with. What kind of authentication are you using, and what does the port config ("make showconfig") look like? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
jabberd error, help
Hi, I've installed jabberd2 (#pkg_add -rv jabberd) and I followed the jabber_guide.pdf instructions but when I execute /usr/local/bin/jabberd -D, I get this error: # cat c2s.log Tue Nov 22 09:37:52 2005 [notice] starting up Tue Nov 22 09:37:52 2005 [info] process id is 3263, written to /var/jabberd/pid/c2s.pid Tue Nov 22 09:37:52 2005 [error] no such auth module 'mysql' The mysql libs are in /usr/local/lib/mysql. Is there a way to tell to jabberd that the mysql's libs are in that path? I hope that someone can help me Thanks... Efren Bravo. __ Renovamos el Correo Yahoo! Nuevos servicios, más seguridad http://correo.yahoo.es ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
jabberd
Has anyone succeeded in making mu-conference work with jabberd v2 on FreeBSD 5.x? I can get jabberd working fine but it never seems to route anything to mu-conference. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
install jabberd error
my freebsd installed openssl 0.9.7d now installing jabberd 2.0.2 : cd /usr/ports/net/jabbdrd/ make -DWITHOUT_DEBUG -DWITH_MYSQL install . checking for OpenSSL in /usr/local... no configure: error: Could not find OpenSSL 0.9.6.2 (or higher) ===> Script "configure" failed unexpectedly. Please report the problem to http://mail.walla.com/ts.cgi?tsscript=compose&[EMAIL PROTECTED]">[EMAIL PROTECTED] [maintainer] and attach the "/usr/ports/net/jabberd/work/jabberd-2.0s2/config.log" including the output of the failure of your make command. Also, it might be a good idea to provide an overview of all packages installed on your system (e.g. an `ls /var/db/pkg`). *** Error code 1 so I try edit Makefile: CONFIGURE_ARGS= --localstatedir=/var \ --with-libiconv-prefix=${LOCALBASE} \ --with-openssl \ --enable-storage='${STORAGE}' \ --enable-authreg='${AUTHREG}' But : checking for OpenSSL in /usr/local/openssl... no checking for OpenSSL in /usr/local/ssl... no checking for OpenSSL in /sw... no configure: error: Could not find OpenSSL 0.9.6.2 (or higher) ===> Script "configure" failed unexpectedly. Please report the problem to http://mail.walla.com/ts.cgi?tsscript=compose&[EMAIL PROTECTED]">[EMAIL PROTECTED] [maintainer] and attach the "/usr/ports/net/jabberd/work/jabberd-2.0s2/config.log" including the output of the failure of your make command. Also, it might be a good idea to provide an overview of all packages installed on your system (e.g. an `ls /var/db/pkg`). *** Error code 1 what can i do??? thanks!!! Walla! Mail - http://www.walla.com"; style="color:blue">get your free 1G mail today ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Jabberd Instructions
At 2004-03-01T15:21:57Z, Warner Joseph <[EMAIL PROTECTED]> writes: > Yeah see, I wasn't even sure if I was supposed to > install /usr/ports/net/jabber or /usr/ports/net/jabberd net/jabber is a port of jabberd 1.4. net/jabberd2 is a port of jabberd 2. Read about the differences at: http://jabberd.jabberstudio.org/ On my servers, jabberd 1.4 is currently more stable (2.x crashes occasionally), but 2.x is the way of the future. If you need excellent stability *today* and can handle a migration later, go with 1.4. If you can live with the rare crash and don't want to have to migrate your database, then start with 2.x. -- Kirk Strauser "94 outdated ports on the box, 94 outdated ports. Portupgrade one, an hour 'til done, 82 outdated ports on the box." pgp0.pgp Description: PGP signature
RE: Jabberd Instructions
Yeah see, I wasn't even sure if I was supposed to install /usr/ports/net/jabber or /usr/ports/net/jabberd I'll give it a shot, thanks for the quick response. -Joe -Original Message- From: Dirk-Willem van Gulik [mailto:[EMAIL PROTECTED] Sent: Monday, March 01, 2004 7:46 AM To: Warner Joseph Cc: '[EMAIL PROTECTED]' Subject: Re: Jabberd Instructions On Mar 1, 2004, at 3:34 PM, Warner Joseph wrote: > > instructions for setting up jabberd on FreeBSD? > cd /usr/ports/et/jabberd sudo make all install then goto /usr/local/etc - check the jabberd.xml file - edit where needed and start from rc.d. Most defaults are fine for you esp. if you do not do any confernencing. Dw. --- This message and any included attachments are from Siemens Medical Solutions USA, Inc. and are intended only for the addressee(s). The information contained herein may include trade secrets or privileged or otherwise confidential information. Unauthorized review, forwarding, printing, copying, distributing, or using such information is strictly prohibited and may be unlawful. If you received this message in error, or have reason to believe you are not authorized to receive it, please promptly delete this message and notify the sender by e-mail with a copy to [EMAIL PROTECTED] Thank you ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Jabberd Instructions
On Mar 1, 2004, at 3:34 PM, Warner Joseph wrote: instructions for setting up jabberd on FreeBSD? cd /usr/ports/et/jabberd sudo make all install then goto /usr/local/etc - check the jabberd.xml file - edit where needed and start from rc.d. Most defaults are fine for you esp. if you do not do any confernencing. Dw.
Jabberd Instructions
Hi all, Does anyone know of any good step-by-step instructions for setting up jabberd on FreeBSD? There are some instructions at jabber.org but I'm looking for instructions specific to FreeBSD. Thanks Joe --- This message and any included attachments are from Siemens Medical Solutions USA, Inc. and are intended only for the addressee(s). The information contained herein may include trade secrets or privileged or otherwise confidential information. Unauthorized review, forwarding, printing, copying, distributing, or using such information is strictly prohibited and may be unlawful. If you received this message in error, or have reason to believe you are not authorized to receive it, please promptly delete this message and notify the sender by e-mail with a copy to [EMAIL PROTECTED] Thank you ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"