I am having some issues trying to setup a jabber server on ubuntu 10.04

Any advise would help

root@li240-199:/home/ioudas/jabberd14-1.6.1.1# apt-get install jabber
Reading package lists... Done
Building dependency tree
Reading state information... Done
jabber is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 81 not upgraded.
2 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up jabberd14 (1.6.1.1-5) ...
chown: cannot access `/etc/jabber/jabber.xml': No such file or directory
dpkg: error processing jabberd14 (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of jabber:
 jabber depends on jabberd14; however:
  Package jabberd14 is not configured yet.
No apport report written because the error message indicates its a followup error from a previous failure.
                                                                                                          dpkg: error processing jabber (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 jabberd14
 jabber
E: Sub-process /usr/bin/dpkg returned an error code (1)
link|improve this question

feedback

migrated from stackoverflow.com Nov 14 '10 at 2:24

This question came from our site for professional and enthusiast programmers.

1 Answer

up vote 0 down vote accepted

It would appear you have configured apt-get not to ask for configuration data. Try running sudo dpkg --configure jabberd14 to configure jabberd14.

Alternatively, you could try dpkg-reconfigure jabberd14 to do the configuration.

Try running dpkg-reconfigure debconf to see if you have set the interface to noninteractive which will turn of prompts for required configuration data when installing new packages.

link|improve this answer
root@li240-199:/home/ioudas# dpkg-reconfigure jabberd14 * Stopping Jabber/XMPP server jabberd14 [ OK ] * Starting Jabber/XMPP server jabberd14 Configuration parsing using /etc/jabber/jabber.xml failed: syntax error at line 1 and column 0 root@li240-199:/home/ioudas# dpkg --configure jabberd14 dpkg: error processing jabberd14 (--configure): package jabberd14 is already installed and configured Errors were encountered while processing: jabberd14 Appears to be set to interactive – Ioudas Nov 14 '10 at 18:45
It looks like the jabber.xml file is corrupt or empty. Try editing it. Check /usr/share/doc/jabberd14 for configuration information, and possibly a sample configuration. dpkg-reconfigure might correct the configuration file. – BillThor Nov 15 '10 at 15:38
Manged to copy the default jabber xml conf back and get the service up.. When connecting i now get. 1 account was disabled because you signed on from another location: – Ioudas Nov 16 '10 at 14:31
Update /etc/default/jabberd to have your hostname. Stop and start jabberd – BillThor Nov 16 '10 at 20:19
Check the documentation at jabberd.org for the installation guide and configuration hints. You will need to edit jabber.xml for it to be useful. – BillThor Nov 16 '10 at 20:44
show 8 more comments
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.