You are not logged in.
Pages: 1
I tried to install my own jabber server but something went wrong... I followed these instructions:
http://jabberd.jabberstudio.org/2/docs/ … guide.html
with some modifications. this is what I did, which I can't imagine why it wouldn't work!
download and install server:
#pacman -Sy jabberd
create a group and user for the jabber server:
#groupadd jabber
#useradd -g jabber jabber
create jabberd folders and set ownership:
#mkdir -p /usr/local/jabberd/pid/
#chown -R jabber:jabber /usr/local/jabberd/pid/
#mkdir -p /usr/local/jabberd/log/
#chown -R jabber:jabber /usr/local/jabberd/log/
#chown -R root:jabber /etc/jabberd/*
#chmod -R 640 /etc/jabberd/*
#mkdir -p /usr/local/jabberd/db
#chown -R jabber:jabber /usr/local/jabberd/db
configuration:
#vim /etc/jabberd/sm.xml
localhost should be replaced by the answer of #localhost
... (ca line 120)
<!-- Berkeley DB driver configuration -->
<db>
<!-- Directory to store database files under -->
<path>/usr/local/jabberd/db</path>
#vim /etc/jabberd/c2s.xml
localhost should be replaced by the answer of #localhost, ca line 63
... (ca line 289)
<!-- Berkeley DB module configuration -->
<db>
<!-- Directory to store database files under -->
<path>/usr/local/jabberd/db</path>
test server:
$su
#su jabber
#cd /usr/bin
#./jabberd
and here it told me c2s crashed or something... need help! are there any arch wiki for this that I didn't find? or any other helpful information?
Offline
I don't have access to an Arch system at the moment, or I'd double check this. But I think the jabberd package does most of the configuration for you (such as creating the user/group, and directory layout). If I'm correct,them the directory layout is probably "embedded" in the package, so when you specify things like /usr/local, you're just causing problems.
Try removing the stuff you have (including the jabber user/group) and then just install the jabberd package. At the very least, it will create the jabber user/group for you.
Follow the link below, sign up, and accept one promotional offer. If I can get five suckers (err... friends) to do this, I'll get a free iPod. Then you too can try to get a free iPod. Thanks! http://www.freeiPods.com/?r=11363142
Offline
okay, I remvoed jabberd with
#pacman -Rsn jabberd
and installed again with
#pacman -Sy jabberd
and you're right, it created the user and group by it self! but when I try running #jabberd it still fails.
"ERROR: s2s died. Shutting down server."
removed it and installed it again and I got this error instead:
"ERROR: resolver died. Shutting down server."
so what to do now?
Offline
The best thing to do would be to check what errors messages there are in the /var/log directory, because they might provide more insight into your problem.
Offline
I looked arround in the log files, found nothing special about jabber errors in there... But maybe I just don't know what to look for! hehe
Offline
Now on some website I found out I can't run jabberd as root, because of some accessing stuff or something!? Shouldn't root be able to access everything?
Anyway, I runned it as my regular user and got this error instead:
readline() on closed filehandle CFG at /usr/bin/jabberd line 98.
ERROR: No jobs to launch.
I'm not sure that this is any better... Please help! :-)
Offline
Rather than trying to run jabberd directly you should be able to launch it using the rc.d script (as root):
# /etc/rc.d/jabberd start
Offline
Offline
"#/etc/rc.d/jabberd start" just got me this: "ERROR: sm died. Shutting down server."
And what's wrong with jabberd? I read that it was one of the biggest jabber servers, and one of the most liked! But I'll try to read some of ejabberd too...
Offline
I have the same problem:
sudo /etc/rc.d/jabberd start
:: Starting Jabber daemon [BUSY]
ERROR: c2s died. Shutting down server. [DONE]
Is using ejabberd the solution?
Offline
Pages: 1