You can also try searching the Jabberd 2 Mailing List Archives for questions about jabber administration, or subscribe to the Jabberd 2 Mailing List or one of the Jabber Mailing Lists to post your own question. You may also want to check out Troubleshooting Tips for Jabberd 2.
"Internal" or "library load" components that load at runtime into a jabberd 1.4 instance can be used by placing the 1.4 instance into "uplink" mode. An appropriate "linker" alias needs to be added to router.xml to support this.
Jabberd 2 does not provide XDB and logging facilities. For "internal" components, these can be provided by the enclosing jabberd 1.4 instance. For "external" components, they will need to connect to a 1.4 instance that provides these services, which in turn uplinks to the Jabberd 2 router.
authregtable because this only introduces users to the c2s component, but not to the sm component. Correct entries are required in the
activetable as well. It is best to use a Jabber client to register users. If this is not acceptable, corresponding entries can be manually created in the
activetable, or the session manager can be configured to create new users automatically the first time they log in. Uncomment the
auto-createtag in the
User optionssection of
sm.xmlto enable auto-creation of new users. (Note that enabling
auto-createdoes not enable inband registration, as only users that pass the c2s component are created.)
--with-package=pathhas been replaced with
--with-extra-library-path path. The paths searched also changed with stable 3; therefore, it may be necessary to specify a path(s) to a package that was automatically found by a previous release. See Section 3.3.
--enable-storage=packagehave been replaced with a simpler
--enable-packageoption. Thus to enable MySQL for authreg and/or storage, one would use the option
--enable-mysql. See Section 3.3. Because the configure script does not report invalid options, using an option such as
--enable-authreg=mysqlwould cause neither the configure nor the build to crash; however, the MySQL driver would not be compiled in. If you then set the XML configuration files to use MySQL, Jabberd 2 would crash.
netstat -l |grep postgres). If not, modify
tcpip_socket = trueand restart. If problems still exist, check the
pg_hba.conf fileand check if TCP/IP connections are authorized (i.e. an appropriate host record exists).
./configurescript searches several locations; however, if the script cannot find your Berkeley DB installation, you should specify the location as a parameter when running
./configure. For example, if you are running Berkeley DB version 4.2, you may need to run
select `collection-owner`, `object-sequence`, `jid`, `group` from `roster-groups`;
/tmp/mysql.sock. The default socket when installing MySQL from source is
/var/lib/mysql/mysql.sock. You will need to create a symlink to
/tmp/mysql.sockif it does not exist:
ln -s /var/lib/mysql/mysql.sock /tmp/mysql.sock
./configureto fail on Redhat is that Redhat ships with a MySQL installation that does not include the development libraries required by Jabberd 2. See the MySQL question under Building and Installation above. The second reason that
./configuremight fail is that Redhat stores the MySQL libraries and include files separately. Run
./configurewith both paths (as below) to identify both locations:
./configureis run. However, Kerberos references cause the Jabberd 2 build to crash.
There is an easy work around for this problem. Execute the command
below before running
./configurecannot find Berkeley DB, it may be because libpthreads is not linked. Run
./configureas below to fix this:
./configure [options] LDFLAGS=-lpthread
./configure. To fix this, run
./configurewith the paths to both as below (replacing "mysql" with "pgsql" for PostgreSQL installations):
|© 2003 Will Kamishlian and Robert Norris|
|This work is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike License. To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-sa/1.0/ or send a letter to Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA.|