ejabberd - Comments for "S. O. S.! I don&amp;#039;t know how to make JMC run!" https://www.ejabberd.im/node/725 en Jmc Pid file https://www.ejabberd.im/node/725#comment-1582 <p>Have you check that the user who run jmc have write access to /var/run/jabber/ ?</p> Thu, 20 Apr 2006 15:14:09 +0000 pyros comment 1582 at https://www.ejabberd.im Almost done https://www.ejabberd.im/node/725#comment-1546 <p>Now I know what the problem was, I had Python 2.3 installed as rpm, and I installed Python 2.4, but there wasn't an rpm for RHEL AS 4, so I did it from sources. That makes an incompatibility when compiling or executing an application with Python and its libraries. Now I have done it all again and there's no problem with that, but when I run JMC, this message is displayed:</p> <p>Traceback (most recent call last):<br /> File "/usr/local/jmc-0.2/jmc.py", line 87, in ?<br /> main(sys.argv[file_num], debug_level)<br /> File "/usr/local/jmc-0.2/jmc.py", line 50, in main<br /> pidfile = open(config.get_content("config/pidfile"), "w")<br /> IOError: [Errno 2] No such file or directory: '/var/run/jabber/jmc.pid'</p> <p>What could I do in this case? I would thank anyone who could answer me!</p> <p>Note: I'm using ejabberd!</p> Thu, 06 Apr 2006 16:58:10 +0000 alexreyflores comment 1546 at https://www.ejabberd.im I don't think I can help you https://www.ejabberd.im/node/725#comment-1538 <p>I don't think I can help you anymore. :-( It might be a bug in JMC with your Python version. I think it is best to contact the JMC author and point him to this thread (there is a link to his website in the tutorial, and there you can find his contact details I guess)</p> <p>--<br /> sander</p> Tue, 04 Apr 2006 17:23:16 +0000 sander comment 1538 at https://www.ejabberd.im I do have installed the packages, but the problem is still there https://www.ejabberd.im/node/725#comment-1536 <p>Thanks a lot for your answer! I do have installed libxml2-python and libxml2-devel packages. In order for you to have a more clear vision of the problem, I will post the message displayed when I try to execute "python jmc-0.2/jmc.py -c jmc-0.2/jmc.xml -D":</p> <p>Traceback (most recent call last):<br /> File "jmc-0.2/jmc.py", line 30, in ?<br /> from jabber.component import MailComponent, ComponentFatalError<br /> File "/root/jmc-0.2/jabber/component.py", line 37, in ?<br /> from x import *<br /> File "/root/jmc-0.2/jabber/x.py", line 24, in ?<br /> from pyxmpp.stanza import common_doc<br /> File "/usr/local/lib/python2.4/site-packages/pyxmpp/stanza.py", line 27, in ? import libxml2</p> <p>I don´t know why if I have installed the packages.</p> Tue, 04 Apr 2006 13:22:21 +0000 alexreyflores comment 1536 at https://www.ejabberd.im Re: One problem solved! Another one appeared! https://www.ejabberd.im/node/725#comment-1535 <div class="quote-msg"> <div class="quote-author"><em>alexreyflores</em> wrote:</div> <p>JMC doesn´t run because it doesn´t recognize libxml2, although I installed it. It says there´s no library named libxml2.</p></div> <p>Do you have installed the development files of libxml2? And do you have installed the libxml2 extension of Python? (these packages are named under Debian "python2.4-libxml2" and "libxml2-dev")</p> <div class="quote-msg"> <div class="quote-author"><em>alexreyflores</em> wrote:</div> <p>Is there a recommended ubication for the JMC folder inside the equipment´s archive system? Because the steps posted here for its installation are not quite clear about that subject. It´s urgent!!!!! </p></div> <p>The location where you install JMC is not important. But in most operating systems it is common to put it in /usr/local/jmc/</p> Tue, 04 Apr 2006 10:54:01 +0000 sander comment 1535 at https://www.ejabberd.im One problem solved! Another one appeared! https://www.ejabberd.im/node/725#comment-1528 <p>I already found the problem. It was that I had Phyton version 2.3 installed in the computer. I just installed version 2.4, and that was all. It is because version 2.3 doesn´t support POP3 over SSL, and version 2.4 does, so the las one does bring all the stuff necessary in the libraries for this. But now I have a new problem. JMC doesn´t run because it doesn´t recognize libxml2, although I installed it. It says there´s no library named libxml2. Is there a recommended ubication for the JMC folder inside the equipment´s archive system? Because the steps posted here for its installation are not quite clear about that subject. It´s urgent!!!!!</p> Mon, 03 Apr 2006 15:43:24 +0000 alexreyflores comment 1528 at https://www.ejabberd.im