You are not logged in.

#1 2004-10-18 23:03:10

gaah
Member
From: Sweden
Registered: 2003-09-12
Posts: 124

jabberd

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

#2 2004-10-19 11:18:32

farphel
Forum Fellow
From: New Hampshire - USA
Registered: 2003-09-18
Posts: 250
Website

Re: jabberd

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

#3 2004-10-19 12:34:44

gaah
Member
From: Sweden
Registered: 2003-09-12
Posts: 124

Re: jabberd

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

#4 2004-10-19 12:54:24

kumo
Member
From: VARESE - Italy
Registered: 2004-04-02
Posts: 49
Website

Re: jabberd

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

#5 2004-10-19 13:54:19

gaah
Member
From: Sweden
Registered: 2003-09-12
Posts: 124

Re: jabberd

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

#6 2004-10-19 18:51:46

gaah
Member
From: Sweden
Registered: 2003-09-12
Posts: 124

Re: jabberd

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

#7 2004-10-20 06:45:11

kumo
Member
From: VARESE - Italy
Registered: 2004-04-02
Posts: 49
Website

Re: jabberd

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

#8 2004-10-20 09:29:58

zeppelin
Member
From: Athens, Greece
Registered: 2004-03-05
Posts: 807
Website

Re: jabberd

jabberd sucks
try ejabberd [also gpl]

Offline

#9 2004-10-20 14:06:31

gaah
Member
From: Sweden
Registered: 2003-09-12
Posts: 124

Re: jabberd

"#/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

#10 2008-08-02 18:42:11

jarda-wien
Member
Registered: 2008-03-13
Posts: 104

Re: jabberd

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

Board footer

Powered by FluxBB