Koozali.org: home of the SME Server

Openfire (SOLVED)

Offline malv

  • 4
  • +0/-0
Openfire (SOLVED)
« on: April 20, 2015, 10:32:55 PM »
Has anyone had success with openfire IM, I can install, create the database, all with no passwords, following what in "http://wiki.contribs.org/Openfire", but at the end I can not initiate the openfire service, when i try to start it, it just says, openfire starting, and then nothing..no error, no OK... 

Am I doing something wrong? I have dont this in sme server 8 and it just works, but now I'm trying to use sme 9.

Thanks in advance, if u need something else, please don't hesitate to ask..

Lazo
« Last Edit: April 21, 2015, 11:12:17 PM by malv »

Offline DanB35

  • ****
  • 764
  • +0/-0
    • http://www.familybrown.org
Re: Openfire
« Reply #1 on: April 20, 2015, 11:01:41 PM »
That page was last edited almost 5 years ago, so it's safe to say that it hasn't been updated for SME 9.
......

Offline malv

  • 4
  • +0/-0
Re: Openfire
« Reply #2 on: April 20, 2015, 11:22:15 PM »
Thanks for taking the time to answer...I was just wondering, because I have install openfire in several distro, PCLinuxOS 2015, Centos 6 and 7, and SME 8.0, and I just have to install the RPM file (from Ignite Realtime Website, and mysql of course), and the openfire service is there, and it works fine, but I want to do the same in SME Server 9, but even the installation goes fine, openfire is not there...so I was wondering if someone had any success in sme 9, if not, well..going back to sme 8   :(

---Edited---

All of the above was made using 64 bits distros.

Just a follow up, I repeat the same steps but using SME Server 9 the 32 bits version, and now openfire works...too bad that the 64 bits for me is not working. If someone know how to, please let me know..I want to use sme 64 bits. Now I will use SME 9 - 32 bits with PAE enabled kernel...
« Last Edit: April 20, 2015, 11:47:51 PM by malv »

Offline DanB35

  • ****
  • 764
  • +0/-0
    • http://www.familybrown.org
Re: Openfire
« Reply #3 on: April 20, 2015, 11:51:46 PM »
Well, I tried installing it, following the instructions on the wiki, and think I'm having the same issue you are.  It doesn't give any error messages when trying to start, but it doesn't actually start.  The only log I'm finding is in /opt/openfire/logs/nohup.out, and the only contents of that file are
Code: [Select]
nohup: failed to run command `/opt/openfire/jre/bin/java': No such file or directory
However, /opt/openfire/jre/bin/java does exist and is a binary, but it doesn't appear to execute:
Code: [Select]
[root@e-smith bin]# file java
java: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.9, not stripped
[root@e-smith bin]# ./java
-bash: ./java: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory

This makes it look like, for whatever reason, the JRE packaged with the RPM doesn't want to run on SME 9 (i.e., CentOS 6.5).  Installing a compatible JRE should take care of this issue, but I'm not sure what others might be raised.  I may look at this further when I have some time.
......

Offline DanB35

  • ****
  • 764
  • +0/-0
    • http://www.familybrown.org
Re: Openfire
« Reply #4 on: April 21, 2015, 02:42:23 AM »
Try 'yum install glibc.i686', then try starting it again.
......

Offline DanB35

  • ****
  • 764
  • +0/-0
    • http://www.familybrown.org
Re: Openfire
« Reply #5 on: April 21, 2015, 02:53:44 PM »
OK, I've had a little more time to play with a test VM with SME 9 64-bit.  Following the wiki's instructions with two changes, I'm able to install the openfire server and run through the config wizard.  I haven't tested it further, though.  The two changes:  First, 'yum install glibc.i686' before installing the openfire RPM.  Second, don't bother with the sql edit, as it doesn't seem to be necessary.

I haven't tested it any further, such as trying to connect using a client app or anything.  Give it a try and see how it goes.
......

Offline malv

  • 4
  • +0/-0
Re: Openfire
« Reply #6 on: April 21, 2015, 03:43:43 PM »
Wow, thanks...i'll give this a try, I was happy because it was working with the i386 version, but I really want it with the 64 bit. I really appreciate that you took part of your time to give this a try.

Thanks in advance.


Offline DanB35

  • ****
  • 764
  • +0/-0
    • http://www.familybrown.org
Re: Openfire
« Reply #7 on: April 21, 2015, 05:09:08 PM »
Not a problem--check back in here to let us know how it works.  If it works reliably with those changes, I can update the wiki to reflect those changes.
......

Offline malv

  • 4
  • +0/-0
Re: Openfire
« Reply #8 on: April 21, 2015, 10:36:38 PM »
I just did what u recommended, with the 2 extra steps (First, 'yum install glibc.i686' before installing the openfire RPM.  Second, don't bother with the sql edit). I follow the other instructions, instlling openfire rpm, creating the database, starting the openfire service, then configure openfire with localhost:9090, testing with pidgin, and success. I can connecto to my IM server, I can see in sessions that I am connected.. It looks like everything is running fine (adding plugins, extra settings in the server, etc.). I was throwing the towel with sme 64 bits, but then u showed me about the glibc.i686 package. All I can say is thanks, I really appreciate that you help me with my problem. Now I'm just will try to set up fetchmail contrib and all be ready to setup my server that will replace my ageing windows server, and I was to replace sme with zenytal, but I'm not ready to replace sme (being using it since version 4.0, e-smith server).


Thanks
 :-) :-) :P :P :P

Manuel Lazo

P.D.: do I have to set the subject with the word (Solved) ?

Offline DanB35

  • ****
  • 764
  • +0/-0
    • http://www.familybrown.org
Re: Openfire
« Reply #9 on: April 21, 2015, 10:51:11 PM »
OK, I've made the edits to the wiki.  Yes, it's helpful to change the subject to mark it [SOLVED].  You can do this by editing the first post.
......