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 > Queue Manager Not Connecting |
Posted by: schapman1974 Feb 3 2005, 04:04 PM |
The Queue Manager on Windows is not Connecting to my linux XQMAgent that I started manually by typing ./xqmagent at the command prompt of /root/xqmagent I had already copied the xqmagent.conf to the /etc folder and the result was Daemonized! then it paused. then it gave me a prompt again. The contents of my conf file is this (** = real ip #'s) THREADS=25 AGENT_HOST=**.**.2.38 AGENT_PORT=8000 AGENT_DYNIP=0 TRUSTED_CIENTS=**.**.2.* CTRL_HOST=127.0.0.1 CTRL_PORT=6017 I am trying to connect from my Manager on port 8000 and it says no agent found Please Check Configuration. I have played around with different ports to no avail. So I rebooted with the above configuration and it still didnt work. My local ip ends in 2.35 so it is my understanding that the trusted clients setting should be correct.... help... thanks. Stephen |
Posted by: sergioperr Feb 3 2005, 04:47 PM |
Hi, Stephen Is *.*.2.38 your server IP? If yes, itīs OK. In my .conf I use the real IP for 'trusted client' as 192.168.1.30,127.0.0.1. The first is my "control PC". Last, for CONTROL_HOST: <your Xmail IP> ---> for Flush command If you do telnet <Xmail IP>:8000 AND the XqmAgent is listenning, you will get a perfect black screen (with no response); after typing something ridiculous like "clear" <Enter>, you'll get a strange response like a web page head: thatīs means XQM Agent is working, so the problem could be your XQM configuration. Sergio |
Posted by: schapman1974 Feb 3 2005, 04:59 PM |
I get a black Screen when I telnet to the 8000 port and when I try to type anything it gives me a thick short line and disconnects. thats all. if that is an acceptable response and yes that is my server Ip then what in the configuration could be awry. I believe I have set everything up correctly. Stephen |
Posted by: sergioperr Feb 3 2005, 05:17 PM |
You should get a response similar to: " <head> <title>Error response</title> </head> <body> <h1>Error response</h1> <p>Error code 400. <p>Message: Bad HTTP/0.9 request type ('ds'). <p>Error code explanation: 400 = Bad request syntax or unsupported method. </body> Connection to host lost. " Sergio |
Posted by: hschneider Feb 3 2005, 05:50 PM |
AGENT_HOST needs to be a real IP, no * allowed. ** is not a valid wildcard. Use * instead. |
Posted by: schapman1974 Feb 3 2005, 06:43 PM |
i know that ... re read my post... I said ** = a real Ip number... just don't want to post my ip address to my server.. |
Posted by: schapman1974 Feb 3 2005, 08:54 PM |
I tried putting the full IP address in as the trusted client and it still didnt respond I think there may be something else going on because I cannot even get the telnet to respond with anything. .. i just jumps down on me .. I cannot even type anything. Is there some other config i need to look at? Stephen |
Posted by: schapman1974 Feb 3 2005, 10:39 PM |
Welcome to XQM Agent! ©2002-2004 Harald Schneider mailto:h_schneider@marketmix.com Agent version : 1.40 Using xmaillib : 1.54 Using rpcserver : 1.12 Configurationfile : /etc/xqmagent.conf Threads : 25 Listening at : **.**.2.38:8000 CTRL access at : **.**.2.38:6017 Trusted clients : Handle dynamic IPs : No Forced MAIL_ROOT : /var/MailRoot PID : 5294 Parent PID : 5254 ------------------------------------------------------------------------ >> Press CTRL-C to quit or CTRL-Z to suspend ... that is the output from debug... |
Posted by: schapman1974 Feb 3 2005, 10:59 PM |
Okay.. now I figured out what was happening with the trusted client setting. in the help file I cut and pasted the setup to a file and put it right in. not realizing that CLIENT was spelled CIENT so.. that got fixed... now I'm just hung up trying to load from the manager.. but its further that I have gotten before... |
Posted by: hschneider Feb 4 2005, 06:50 AM |
If you get this status report, it is listening correctly on port 8000. Did you open port 8000 on your firewall on the server as well as on client side? Do a telnet server_ip 8000 on your client. Then hit return. What do you see? |
Posted by: schapman1974 Feb 4 2005, 03:41 PM |
<head> <title>Error response</title> </head> <body> <h1>Error response</h1> <p>Error code 400. <p>Message: Bad request syntax ('clear'). <p>Error code explanation: 400 = Bad request syntax or unsupported method. </body> Connection to host lost. Is what I get now. I actually got it working.. the problem of it locking up was simply that .. in order to test it I ran multiple copies of it and when I finally got the spelling of CLIENT Correct. it locked because I had multiple copies of it running. When I had multiple copies running and I did a telnet. I could connect and I could tell it was doing something but it was all invisible. Anyways Its working beautifully now. Thanks. Stephen |