2019-09-20 - hschneider, Admin
Cookie Disclaimer: This forum uses only essential, anonymous session cookies (xmailforum*), nothing to be scared of.
Printable Version of Topic
Click here to view this topic in its original format |
XMail Forum > XMail Queue Manager > Xqm Agent 1.01 For Linux |
Posted by: atomant Feb 28 2003, 07:19 PM |
Hi! I ahve installed XQM agent on my linux box where I have also Xmail 1.12. I have setup Samba for sharing the MailRoot to Windows where I have installed XQM 1.08. I have setup xqmagent.conf and started xqmagent on linux (I didn't get any errors). But when I run XQM it tells me that it can not find Agent bla...bla. I have setup in the XQM also the port where xqmagent listens. I have tried to telnet to that port but there is no response. Please help! |
Posted by: hschneider Mar 3 2003, 07:54 AM |
Hi, type ps -A|grep xqmagent on the Linux box. If nothing is displayed, then the agent isn't running. In that case restart it from your shell command prompt with ./xqmagent to see if it outputs any errors. |
Posted by: atomant Mar 3 2003, 09:40 AM |
Nope, the agent is not running and when I restart I get no error. Any idea ? |
Posted by: hschneider Mar 3 2003, 11:29 AM |
Maybe a missing system lib. Please download XQM Command Line version and start the executable. If a system lib is missing, it will output an error message. |
Posted by: atomant Mar 3 2003, 11:39 AM |
Which system lib you are talking about? You mean XQM command line for windows? |
Posted by: hschneider Mar 3 2003, 11:45 AM |
NOPe ... XQM/CMD for Linux. Maybe a system lib for Linux is missing. There is a known issue with RedHat, when e.g. libssl.so.0.9.6 is missing. On my SUSE Linux this lib is located at /usr/lib/libssl.so.0.9.6 When starting XQM/CMD on your Linux box it will tell you any missing libs. |
Posted by: atomant Mar 3 2003, 11:47 AM |
I have RH8 but I have upgraded openssl from 0.9.6 to 0.9.7 . Is it needed to be ver 0.9.6 ? |
Posted by: hschneider Mar 3 2003, 02:33 PM |
I think so ... can you install 0.9.6 beside the new lib ? Please try XQM/CMD if it reports it as the missing lib, before changing anything. |
Posted by: atomant Mar 4 2003, 08:00 AM |
OK, I have tried with command line XQM and I get these output: ------------------ Traceback (most recent call last): File "<string>", line 39, in ? File "<string>", line 35, in __init__ File "/root/work/lib/xmaillib.py", line 136, in __init__ File "/root/work/lib/xmaillib.py", line 111, in get_rootpath NO_MAIL_ROOT ------------------ I have also check if xqmagent is running but no...I have restarted it and there were no errors but it is still not running. Any idea? |
Posted by: hschneider Mar 4 2003, 08:20 AM |
Did you run it on your Linux box ? It says that there is no MAIL_ROOT environment variable. MAIL_ROOT has to be global. Maybe you have no "export" statement in your XMail Server startup script? Without a valid MAIL_ROOT variable, also the agent won't run. |
Posted by: atomant Mar 4 2003, 08:52 AM |
I have attached my xmail startup script. Can you check it ? |
Posted by: atomant Mar 4 2003, 08:55 AM |
OK, I have manually make export MAIL_ROOT=/var/MailRoot and now the agent is working, Anyway I would like you to check my startup script for errors. This one came with the RPM distribution. I have just added command line settings. |
Posted by: hschneider Mar 4 2003, 09:09 AM |
The script looks OK -- sure that you started XMail Server with that script ? |
Posted by: atomant Mar 4 2003, 09:22 AM |
yes, this is script which is executed when I startup my linux box. I have added in rc.local to make MAIL_ROOT env so it is fine now. |
Posted by: hschneider Mar 4 2003, 09:44 AM |
OK -- have fun :-) BTW: There will be an update of XQM + Agent in the next few days. Remote access will be faster then. |