2019-09-20 - hschneider, Admin
Cookie Disclaimer: This forum uses only essential, anonymous session cookies (xmailforum*), nothing to be scared of.
XMail Forum · Newbies read here ! All about SMTP,MX-Records,DNS etc. | Help Search Members Calendar |
Welcome Guest ( Log In | Register ) | Resend Validation Email |
schapman1974 |
Posted: Feb 3 2005, 04:04 PM
|
Newbie Group: Members Posts: 7 Member No.: 1463 Joined: 12-January 05 |
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 |
sergioperr |
Posted: Feb 3 2005, 04:47 PM
|
Newbie Group: Members Posts: 22 Member No.: 1375 Joined: 26-October 04 |
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 |
schapman1974 |
Posted: Feb 3 2005, 04:59 PM
|
Newbie Group: Members Posts: 7 Member No.: 1463 Joined: 12-January 05 |
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 |
sergioperr |
Posted: Feb 3 2005, 05:17 PM
|
Newbie Group: Members Posts: 22 Member No.: 1375 Joined: 26-October 04 |
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 |
hschneider |
Posted: Feb 3 2005, 05:50 PM
|
No - I'm not an answering script ... Group: Admin Posts: 6631 Member No.: 195 Joined: 19-June 02 |
AGENT_HOST needs to be a real IP, no * allowed.
** is not a valid wildcard. Use * instead. -------------------- Bye,
Harald -- Download XMail Queue Manager 1.46 NOW: XMail Server Tools -- Cross platform remote queue management! -- Message analyzing on the fly! -- Builtin diagnostics knowledge base! -- Manages multiple mail queues! Sponsored by CD-Produktion und DVD-Produktion and Homestaging Saarland - Immobilien schneller verkaufen in der Region Saarland, Rheinland-Pfalz und Luxembourg |
schapman1974 |
Posted: Feb 3 2005, 06:43 PM
|
Newbie Group: Members Posts: 7 Member No.: 1463 Joined: 12-January 05 |
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.. |
schapman1974 |
Posted: Feb 3 2005, 08:54 PM
|
Newbie Group: Members Posts: 7 Member No.: 1463 Joined: 12-January 05 |
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 |
schapman1974 |
Posted: Feb 3 2005, 10:39 PM
|
Newbie Group: Members Posts: 7 Member No.: 1463 Joined: 12-January 05 |
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... |
schapman1974 |
Posted: Feb 3 2005, 10:59 PM
|
Newbie Group: Members Posts: 7 Member No.: 1463 Joined: 12-January 05 |
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... |
hschneider |
Posted: Feb 4 2005, 06:50 AM
|
No - I'm not an answering script ... Group: Admin Posts: 6631 Member No.: 195 Joined: 19-June 02 |
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? -------------------- Bye,
Harald -- Download XMail Queue Manager 1.46 NOW: XMail Server Tools -- Cross platform remote queue management! -- Message analyzing on the fly! -- Builtin diagnostics knowledge base! -- Manages multiple mail queues! Sponsored by CD-Produktion und DVD-Produktion and Homestaging Saarland - Immobilien schneller verkaufen in der Region Saarland, Rheinland-Pfalz und Luxembourg |
schapman1974 |
Posted: Feb 4 2005, 03:41 PM
|
Newbie Group: Members Posts: 7 Member No.: 1463 Joined: 12-January 05 |
<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 |