Koozali.org: home of the SME Server

Deployment Internal Chat with SME Server 7.4

Offline veebr0

  • **
  • 61
  • +0/-0
Deployment Internal Chat with SME Server 7.4
« on: January 27, 2009, 11:07:34 PM »
Hi to all, could be my question have a simple answer but to be honest I'm not an expert in SME server, I had migrated my Windows 2000 Server to SME server, but I really want to add another benefit as a Internal chat program, for more details check details bellow:

.- I have for (4) IBM machine with Windows XP Professional SP3
.- One (1) IBM System X 3200 M2 working as a Only File server. (This work very well)


Question: Some one know if exist some free chat program that have the possibility to install in the Windows XP machine but in the same time get the address book used by the email SME server only to chat internally into my LAN.

Thanks in advance

Eviny

Offline imcintyre

  • *
  • 609
  • +0/-0
Re: Deployment Internal Chat with SME Server 7.4
« Reply #1 on: January 28, 2009, 02:36:08 AM »
This sounds like what you want so you may want to look here;

Quote
http://wiki.contribs.org/Ejabberd


I've not used before, so I cannot comment any further. Hope this helps.

Offline Teviot

  • *
  • 610
  • +0/-0
Re: Deployment Internal Chat with SME Server 7.4
« Reply #2 on: January 28, 2009, 02:52:17 AM »
I just installed using the given command to install.

DIDN'T WORK
Regards
M0GLJ
......................................................
I am new to SAIL SME Server v8b6 and have been using SME for many years.
I have already done some research and only ask questions if I still can't work it out.

Offline Normando

  • *
  • 841
  • +2/-1
    • Unixlan
Re: Deployment Internal Chat with SME Server 7.4
« Reply #3 on: January 28, 2009, 04:39:18 AM »
Use Openfire, it is superb. The only thing is you must create the users manually, or make a hack to add it automatically when a new user is created in the SME Server.

Openfire is really fast and stable. You also can use the MSN or Yahoo gateway as openfire plugins. It has a lot of customizations.

http://wiki.contribs.org/Openfire

Offline Stefano

  • *
  • 10,839
  • +2/-0
Re: Deployment Internal Chat with SME Server 7.4
« Reply #4 on: January 28, 2009, 11:26:17 AM »
I just installed using the given command to install.

DIDN'T WORK

ok..

what did not work? any errors? did you searched the logs file?
have you opened a bug?

ciao
Stefano

Offline Tib

  • *
  • 571
  • +0/-0
    • http://www.tibors.net
Re: Deployment Internal Chat with SME Server 7.4
« Reply #5 on: January 28, 2009, 11:51:10 AM »
I used Ejabberd at the last place I worked for ... worked perfectly ... and installed without problems.

You may have to double check the instructions.

Regards,

Tib

Offline veebr0

  • **
  • 61
  • +0/-0
Re: Deployment Internal Chat with SME Server 7.4
« Reply #6 on: January 28, 2009, 04:59:10 PM »
Many Thanks friends for your excellent advises and support,  appear Ejabberd is the best option in my case but this mean that after install Ejabberd into my SME server, need to go to the computer (XP) to configure MSM messenger to connect directly to SME server.

Some one know how configure MSM messenger to connect directly to my Ejabberd server?

I really appreciate your comments.
 
Thanks in advance,

Eviny
« Last Edit: January 28, 2009, 08:15:14 PM by veebr0 »

Offline Tib

  • *
  • 571
  • +0/-0
    • http://www.tibors.net
Re: Deployment Internal Chat with SME Server 7.4
« Reply #7 on: January 29, 2009, 03:52:38 AM »
I never modified MSN to work with ejabberd ... don't even know if you can.

I would install a different client so you can run them side by side if required.

I can't remember what one I used but I'm sure there are a lot better ones out now.

Look at the link and see some of the supported free clients for ejabberd.


http://www.ejabberd.im/client-suggestions

All 3 of the suggested ones look good ... I guess it depends on what your requirements are.

Regards,

Tib

Offline Tib

  • *
  • 571
  • +0/-0
    • http://www.tibors.net
Re: Deployment Internal Chat with SME Server 7.4
« Reply #8 on: January 29, 2009, 04:15:22 AM »
ok ... I found the client I was using at work.

http://www.pandion.be/

Not a particularly feature rich client but very stable and did the job we required.

I even had external clients connected to us using pandion ... I think you can also connect to other services with this one eg: MSN Yahoo etc.

Regards,

Tib

Offline timol

  • 4
  • +0/-0
Re: Jabber win32 client
« Reply #9 on: January 30, 2009, 01:03:49 AM »
Hi

Great win32 client is QIP Infium   http://qip.ru/en
Not QIP(icq only client), but QIP Infium
current release is 9022
download from here http://qip.ru/ru/pages/download_infium_ru/ because english download page is broken.
supported languages: en, ru
supported protocols: jabber, icq, GoogleTalk etc

(+) compact, fast, useful, no ads
(-) need first to register account on qip.ru ( quick & free)
(-) broken pages on english part of site

I use it on many PCs with ICQ (internet) & OpenFire (intranet) many months
« Last Edit: January 30, 2009, 01:11:34 AM by timol »

Offline Normando

  • *
  • 841
  • +2/-1
    • Unixlan
Re: Deployment Internal Chat with SME Server 7.4
« Reply #10 on: January 30, 2009, 03:56:14 AM »
I use it on many PCs with ICQ (internet) & OpenFire (intranet) many months

If you have IM Gateway openfire plugin you can integrate MSN-YAHOO-IRC-GTALK-ICQ and more in the same client, like Spark

Offline veebr0

  • **
  • 61
  • +0/-0
Re: Deployment Internal Chat with SME Server 7.4
« Reply #11 on: February 02, 2009, 09:10:29 PM »
 :mad: Dear all I have more that 12 hours trying to resolve the post installation EJabber problem, but I have to recognized that I'm not an expert in SME, however I just check some pages in internet doing all that the expert recommended. I just follow-up all steps described in the http://wiki.contribs.org/Ejabberd installation step but when I try to access the EJabber web console I just received the following error:

ERROR
The requested URL could not be retrieved

While trying to retrieve the URL: ibsme.local:5280

The following error was encountered:

Access Denied.
Access control configuration prevents your request from being allowed at this time. Please contact your service provider if you feel this is incorrect.

Your cache administrator is admin@ibsme.local.

Generated Mon, 02 Feb 2009 15:29:44 GMT by homesme.ibsme.local (squid/2.5.STABLE14)

I really appreciate your recommendation or advices.

Thanks in advance,
Eviny
« Last Edit: February 02, 2009, 09:15:27 PM by veebr0 »

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: Deployment Internal Chat with SME Server 7.4
« Reply #12 on: February 02, 2009, 10:13:54 PM »
Have a look in /var/log/messages and /var/log/httpd/error_log and /var/log/httd/access_log around the time you tried and see if there are any clues in there. If you can not understand them try to post the relevant sections here, please do not post the files completely as they contain to much information. Try to isolate the time you experience(d) the error.

We do not have a USB or LAN powered crystal ball, you know? ;-)
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline magwm

  • *
  • 157
  • +0/-0
  • SmeLover
    • Gadis Tourist Service Italia SRL
Re: Deployment Internal Chat with SME Server 7.4
« Reply #13 on: May 14, 2009, 06:33:59 PM »
Hello, I tried to install smeserver-ejabberd today.

as the packages were all in the repo's, I installed like
yum --enablerepo=smetest --enablerepo=smecontribs smeserver-ejabbed

it installed a few dependencies (erlang, ejabberd, and some I don't remember)

and it only complained about the absence of a user ejabberd.

Then I went to the server-manager and configured the contrib.

but then I tried to register the user admin using Pidging, and it didn't work. I suspect the service is not even active.

What can I do?

ciao from Italy
Michel
MagWm

Offline Stefano

  • *
  • 10,839
  • +2/-0
Re: Deployment Internal Chat with SME Server 7.4
« Reply #14 on: May 14, 2009, 07:32:23 PM »
Hello, I tried to install smeserver-ejabberd today.

as the packages were all in the repo's, I installed like
yum --enablerepo=smetest --enablerepo=smecontribs smeserver-ejabbed

I guess you follow this guide..

do you know you are using a beta version?

Quote
it installed a few dependencies (erlang, ejabberd, and some I don't remember)

and it only complained about the absence of a user ejabberd.

does this user exist now?
what's the output of
Code: [Select]
grep jabber /etc/passwd
?

Quote
Then I went to the server-manager and configured the contrib.
but then I tried to register the user admin using Pidging, and it didn't work. I suspect the service is not even active.
What can I do?

Code: [Select]
ps aux
will tell you if it's running

Code: [Select]
netstat -napt

if it's listening for connections

anyway, you should have a fine in /etc/rc7.d/ to start/stop the service
Code: [Select]
ls -la *jabber* /etc/rc7.d/

try, of course
Code: [Select]
service ejabberd start

Quote
ciao from Italy
Michel

vieni anche nel forum in italiano

Ciao
Stefano

Offline magwm

  • *
  • 157
  • +0/-0
  • SmeLover
    • Gadis Tourist Service Italia SRL
Re: Deployment Internal Chat with SME Server 7.4
« Reply #15 on: May 18, 2009, 09:59:41 AM »
Hello Stefano, english is somewhat easier for me but i'll drop by.. with the same question..
And yes I know this is beta, well I hope just the smeserver part is beta, the jabberserver is ok isnt it?  I am trying this on a box that does just do proxying/dansguardian for our company.. just hope it won't interfere.

anyway:  ps aux |egrep jab   gives this

Code: [Select]
root      2425  0.0  0.0    20   20 ?        Ss   May14   3:17 runsv ejabberd
smelog    2463  0.1  0.1  1864  320 ?        S    May14   6:07 /usr/local/bin/multilog t s5000000 /var/log/ejabberd.run
ejabberd  3933  0.0  0.0  2580  160 ?        S    May14   0:00 /usr/lib/erlang/erts-5.5.2/bin/epmd -daemon
ejabberd 10604  0.0  4.3 24940 11060 ?       Sl   09:46   0:00 /usr/lib/erlang/erts-5.5.2/bin/beam -K false -P 250000 -- -root /usr/lib/erlang -progname erl -- -home /var/lib/ejabberd -pa /usr/lib/ejabberd/ebin -noshell -noinput -smp auto -sname ejabberd -mnesia dir "/var/lib/ejabberd/spool" -kernel inetrc "//etc/ejabberd/inetrc" -s ejabberd -ejabberd config "/etc/ejabberd/ejabberd.cfg" log_path "/var/log/ejabberd/ejabberd.log" -sasl sasl_error_logger {file,"/var/log/ejabberd/sasl.log"}
root     10623  0.0  0.2  4876  616 pts/0    R+   09:46   0:00 egrep jab

then the user has been created (I did it with the user manager):
Code: [Select]
ejabberd:x:5046:5046:erling jabberdaemon:/home/e-smith/files/users/ejabberd:/usr/bin/rssh
then netstat gives
Code: [Select]
[root@mailtampone ~]# netstat -napt
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address               Foreign Address             State       PID/Program name
tcp        0      0 0.0.0.0:993                 0.0.0.0:*                   LISTEN      3542/tcpsvd
tcp        0      0 0.0.0.0:515                 0.0.0.0:*                   LISTEN      3618/lpd
tcp        0      0 0.0.0.0:995                 0.0.0.0:*                   LISTEN      3584/tcpsvd
tcp        0      0 0.0.0.0:548                 0.0.0.0:*                   LISTEN      4198/afpd
tcp        0      0 0.0.0.0:389                 0.0.0.0:*                   LISTEN      3694/slapd
tcp        0      0 0.0.0.0:3306                0.0.0.0:*                   LISTEN      4493/mysqld
tcp        0      0 0.0.0.0:139                 0.0.0.0:*                   LISTEN      4013/smbd
tcp        0      0 0.0.0.0:110                 0.0.0.0:*                   LISTEN      3566/tcpsvd
tcp        0      0 0.0.0.0:143                 0.0.0.0:*                   LISTEN      3527/tcpsvd
tcp        0      0 127.0.0.1:783               0.0.0.0:*                   LISTEN      2780/perl
tcp        0      0 0.0.0.0:80                  0.0.0.0:*                   LISTEN      2811/httpd
tcp        0      0 0.0.0.0:4369                0.0.0.0:*                   LISTEN      3933/epmd
tcp        0      0 0.0.0.0:465                 0.0.0.0:*                   LISTEN      3809/tcpsvd
tcp        0      0 127.0.0.1:980               0.0.0.0:*                   LISTEN      3798/httpd-admin
tcp        0      0 0.0.0.0:21                  0.0.0.0:*                   LISTEN      3770/tcpsvd
tcp        0      0 127.0.0.2:53                0.0.0.0:*                   LISTEN      3536/dnscache
tcp        0      0 192.168.0.80:53             0.0.0.0:*                   LISTEN      3508/dnscache
tcp        0      0 192.168.0.80:22             0.0.0.0:*                   LISTEN      3826/sshd
tcp        0      0 127.0.0.1:3128              0.0.0.0:*                   LISTEN      13056/squid
tcp        0      0 192.168.0.80:3128           0.0.0.0:*                   LISTEN      13056/squid
tcp        0      0 0.0.0.0:25                  0.0.0.0:*                   LISTEN      3789/perl
tcp        0      0 127.0.0.1:26                0.0.0.0:*                   LISTEN      2465/perl
tcp        0      0 0.0.0.0:443                 0.0.0.0:*                   LISTEN      2811/httpd
tcp        0      0 127.0.0.1:4700              0.0.0.0:*                   LISTEN      4190/cnid_metad
tcp        0      0 192.168.0.80:3128           192.168.0.49:1196           ESTABLISHED 13056/squid
tcp        0      0 192.168.0.80:37786          216.239.59.104:80           ESTABLISHED 13056/squid
tcp        0      0 192.168.0.80:3128           192.168.0.49:1194           ESTABLISHED 13056/squid
tcp        0      0 127.0.0.1:37336             127.0.0.1:37337             ESTABLISHED 13057/(squidGuard)
tcp        0      0 192.168.0.80:37787          194.183.88.60:80            ESTABLISHED 13056/squid
tcp        0      0 127.0.0.1:37337             127.0.0.1:37336             ESTABLISHED 13056/squid
tcp        0      0 127.0.0.1:37338             127.0.0.1:37339             ESTABLISHED 13058/(squidGuard)
tcp        0      0 192.168.0.80:37784          216.239.59.101:80           ESTABLISHED 13056/squid
tcp        0      0 127.0.0.1:37339             127.0.0.1:37338             ESTABLISHED 13056/squid
tcp        0      0 127.0.0.1:37340             127.0.0.1:37341             ESTABLISHED 13059/(squidGuard)
tcp        0      0 127.0.0.1:37341             127.0.0.1:37340             ESTABLISHED 13056/squid
tcp        0      0 127.0.0.1:37342             127.0.0.1:37343             ESTABLISHED 13060/(squidGuard)
tcp        0      0 127.0.0.1:37343             127.0.0.1:37342             ESTABLISHED 13056/squid
tcp        0      0 127.0.0.1:37344             127.0.0.1:37345             ESTABLISHED 13061/(squidGuard)
tcp        0      0 127.0.0.1:37345             127.0.0.1:37344             ESTABLISHED 13056/squid
tcp        0    200 192.168.0.80:22             192.168.0.246:1314          ESTABLISHED 32715/0
tcp        0      0 192.168.0.80:37785          216.239.59.113:80           ESTABLISHED 13056/squid

in /etc/rc7.d there  is
Code: [Select]
S90ejabberd -> /etc/rc.d/init.d/e-smith-service
Code: [Select]
[root@mailtampone ~]# service ejabberd restart
Restarting ejabberd                                        [  OK  ]

and pidgin continues to say 'connection refused'. (I am trying to register the admin user with pidgin.)

any hint would be most welcome..
ciao ciao, Michel
MagWm

Offline Stefano

  • *
  • 10,839
  • +2/-0
Re: Deployment Internal Chat with SME Server 7.4
« Reply #16 on: May 18, 2009, 01:25:40 PM »
and pidgin continues to say 'connection refused'. (I am trying to register the admin user with pidgin.)

any hint would be most welcome..
ciao ciao, Michel


hi

everything seems ok to me..

I'd check /var/log/ejabberd/* log files

Ciao
Stefano

Offline magwm

  • *
  • 157
  • +0/-0
  • SmeLover
    • Gadis Tourist Service Italia SRL
Re: Deployment Internal Chat with SME Server 7.4
« Reply #17 on: May 18, 2009, 01:50:23 PM »
Quote
I'd check /var/log/ejabberd/* log files

yeah, i did..
there are no log files there..
MagWm

Offline Stefano

  • *
  • 10,839
  • +2/-0
Re: Deployment Internal Chat with SME Server 7.4
« Reply #18 on: May 18, 2009, 02:07:10 PM »
yeah, i did..
there are no log files there..

so, please raise a bug as they should be there...

Ciao
Stefano

p.s. once done, please report here the number for future reference, thank you

Offline magwm

  • *
  • 157
  • +0/-0
  • SmeLover
    • Gadis Tourist Service Italia SRL
Re: Deployment Internal Chat with SME Server 7.4
« Reply #19 on: May 18, 2009, 02:56:05 PM »
MagWm

Offline magwm

  • *
  • 157
  • +0/-0
  • SmeLover
    • Gadis Tourist Service Italia SRL
Re: Deployment Internal Chat with SME Server 7.4
« Reply #20 on: May 21, 2009, 03:54:31 PM »
I have made some progressions:

according to the log in /var/log/ejabberd.run , ejabberd was crashing continuously. probably because of permission problems?

I have made a user ejabberd with the user panel
I have made /var/log/ejabberd/* writable by all (chmod -r 775)

I have REMOVED the ejabberd package (yum remove ejabberd )
I have ADDED the smeserver-ejabberd package ( yum --enablerepo=smetest --enablerepo=smecontribs install smeserver-ejabberd )

Still, I could not connect to the server with pidgin, so I have made the first user by hand ( ejabberdctl register admin@server password)

then I could log in to the user page

I have created a new user with the user page.

now, the server seems to be running, but I still cannot connect to it..

M
MagWm

Offline magwm

  • *
  • 157
  • +0/-0
  • SmeLover
    • Gadis Tourist Service Italia SRL
Re: Deployment Internal Chat with SME Server 7.4
« Reply #21 on: May 21, 2009, 04:23:14 PM »
now that was quite stupid.
When compiling a new account in pidgin,
you must insert the hostname of the ejabber server in the secont tab in the field "connection server" (between port and proxy)

IT WORKS!!
MagWm