Koozali.org: home of the SME Server

Openfire IM Server

Offline dmay

  • *
  • 450
  • +0/-0
    • http://myezserver.com
Openfire IM Server
« on: November 22, 2007, 05:50:17 PM »
I've been testing various IM servers and Windows clients. IMO the best solution I have found is the combination of Openfire and Spark:

http://www.igniterealtime.org/projects/index.jsp

I've update the wiki entry to current openfire rpm build and added some SME config entries. Give it a try:

http://wiki.contribs.org/Openfire

One of the neatest things about Openfire is all the available plugins. The IM Gateway plugin being a superb example. With this you get the benefit of secure internal IM plus access to public services like AIM, MSN, Yahoo etc.

Darrell

Offline jmbac

  • *
  • 35
  • +0/-0
Re: Openfire IM Server
« Reply #1 on: November 23, 2007, 04:03:26 AM »
Thanks DMay for the Openfire update..  This is great collaboration application

Is it possible to use SMEserver users with openfire or  integrate openfire admin services with smeserver  like

Ejabberd Jabber XMPP server for SME 7.x

 http://forums.contribs.org/index.php?topic=38739.0

« Last Edit: November 27, 2007, 10:16:50 AM by jmbac »

guest22

Re: Openfire IM Server
« Reply #2 on: November 24, 2007, 09:56:43 AM »
Thanks Darrell.

guest

Offline fixit

  • *
  • 216
  • +0/-0
    • http://www.fixitcomputers.com.au
Re: Openfire IM Server
« Reply #3 on: November 25, 2007, 03:52:42 PM »
NOTE ABOUT RPM PACKAGE OF OPENFIRE

I got this error when starting the Openfire Messaging Server

 /etc/rc.d/init.d/openfire start

Error: JAVA_HOME is not defined correctly.
       Can not sure execute /usr/java/bin/java.

also, the startup script to load openfire does not work, it has to be loaded manually each time

I had this trouble, when I first installed the rpm, thats why when I created the howto I mentioned not to install the rpm, but download the openfire_3_4_1.tar.gz version instead, which fixed this startup problem.

maybe someone out there would be able to create an rpm from source to suite sme7

Russell

« Last Edit: November 26, 2007, 05:14:32 PM by fixit »
.........

Offline william_syd

  • *****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
Re: Openfire IM Server
« Reply #4 on: November 27, 2007, 05:23:51 AM »
Does
Code: [Select]
/etc/rc.d/rc7.d/S99openfire startstart the server at the console?
Regards,
William

IF I give advise.. It's only if it was me....

Offline fixit

  • *
  • 216
  • +0/-0
    • http://www.fixitcomputers.com.au
Re: Openfire IM Server
« Reply #5 on: November 27, 2007, 05:37:16 AM »
I have tried just about every different method to load openfire into the startup script, yes, I have and can start the openfire script, but my concern is loading it automatically when sme restarts.

This was my main problem from the beginning, thats why I used the source file instead of the prm package

Has anyone tried the rpm version, then restart, then load the admin console by http://192.168.1.1:9090 without loading the openfire script manually

Russell
.........

Offline dmay

  • *
  • 450
  • +0/-0
    • http://myezserver.com
Re: Openfire IM Server
« Reply #6 on: November 27, 2007, 04:26:50 PM »
NOTE ABOUT RPM PACKAGE OF OPENFIRE

I got this error when starting the Openfire Messaging Server

 /etc/rc.d/init.d/openfire start

Error: JAVA_HOME is not defined correctly.
       Can not sure execute /usr/java/bin/java.

Looks like you have a pre-existing JAVA_HOME environment variable that is incorrect. To view enter:

# echo $JAVA_HOME

Darrell

Offline fixit

  • *
  • 216
  • +0/-0
    • http://www.fixitcomputers.com.au
Re: Openfire IM Server
« Reply #7 on: November 28, 2007, 02:28:16 AM »
Hi Darrell, yes oK, i do have a pre-existing JAVA_HOME environment variable that is incorrect, maybe for openfire, but I need the JAVA_HOME environment for clearspace.

So I decided to install on a fresh sme7 test server without any pre-existing JAVA_HOME environment variables set, and followed each step in the openfire howto.

it appears that I was impatient, it seems I have to wait at least from 1 to 2 minutes after sme restarts to access the admin webpage @ http://yourserver:9090, this gave me the impression that the openfire service did not start and therefore I assumed that I had to restart it manually.

When I installed openfire from source, I did not have this problem, I could access openfires admin webpage straight after a reboot and also have access to clearspace.

Maybe I need to change or find a way to fixup the JAVA_HOME environment in clearspace

sorry about the missunderstanding Darrell

as for the the template fragment, wouldn't it be better to point the alias to /opt/openfire/documentation/docs instead of giving access to the openfire directory, the only purpose for this is to view the docs.

# Openfire instant messaging documentation

Alias /openfire /opt/openfire/documentation/docs

<Directory /opt/openfire/documentation/docs>
     AddType application/x-httpd-php .php .php3 .phtml
     Options Indexes +Includes FollowSymLinks
     order deny,allow
     deny from all
     allow from all
</Directory>

# end of Openfire fragment

Russell


« Last Edit: November 28, 2007, 02:36:11 AM by fixit »
.........

Offline william_syd

  • *****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
Re: Openfire IM Server
« Reply #8 on: December 01, 2007, 11:19:19 AM »
So you installed Java, then Clearspace then the Openfire RPM which installs Java again.
Regards,
William

IF I give advise.. It's only if it was me....

Offline fixit

  • *
  • 216
  • +0/-0
    • http://www.fixitcomputers.com.au
Re: Openfire IM Server
« Reply #9 on: December 01, 2007, 12:13:17 PM »
So you installed Java, then Clearspace then the Openfire RPM which installs Java again.

no, I did not use the openfire rpm with clearspace , and does't the openfire rpm install it's own jre within openfire dir /opt/openfire/jre, not sure what you are trying to imply with the above comment.

Russell



.........

Offline william_syd

  • *****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
Re: Openfire IM Server
« Reply #10 on: December 01, 2007, 01:29:16 PM »
Not implying anything.

Just determining your install order to understand the difference in start-up time and JAVA_HOME variable differences.
Regards,
William

IF I give advise.. It's only if it was me....

guest22

Re: Openfire IM Server
« Reply #11 on: December 02, 2007, 12:09:17 PM »
Is it possible to use SMEserver users with openfire or  integrate openfire admin services with smeserver  like
Ejabberd Jabber XMPP server for SME 7.x

That would be great and in general logical within the SME Server concept.

SME Server provides services to it's registered users. Now contribs add services to the sock SME services, but no real mechanism to hook up these services to any authentication services.

Some contribs have 'hacked' such a authentication mechanism in place, and that's nice. But what is really needed is a 'default' way(s) for integrating users and added services. I saw some efforts to do this based on LDAP (bug report) but no final way of doing this.

The success of SME Server for SME businesses is also becoming a draw back in the sense that it's reliability, stability and ease of use tend admins and users to require more added value from SME Server by means of added services/applications. For this a good authentication module is required.

Suggestions could be:

- LAP
- PWAuth
- PAM ?
etc.

Thoughts please?

guest