XMailforum is a readonly knowledge archive now.

Registering as a new user or answering posts is not possible anymore.

Might the force be with you, to find here what you are looking for.

2019-09-20 - hschneider, Admin

Cookie Disclaimer: This forum uses only essential, anonymous session cookies (xmailforum*), nothing to be scared of.

XMail Forum -> socket.error (99, 'Cannot assign requested address

Closed TopicStart new topicStart Poll

> socket.error (99, 'Cannot assign requested address
waichoi
Posted: Oct 3 2003, 05:37 AM
Quote Post


Member
***

Group: Members
Posts: 62
Member No.: 362
Joined: 20-November 02



I am using XQM Agent 1.30 under Red Hat 9 with xmail1.17

1. After I copy and the xqmagent.conf to /etc/

2. and create the symbolic link to
ln -s /lib/libssl.so.0.9.7a /lib/libssl.so.0.9.6
ln -s /lib/libcrypto.so.0.9.7a /lib/libcrypto.so.0.9.6

3. when I try to run, I got this error. any idea? Thanks

[root@gyan /homedir/xqmagent]$ ./xqmagent

ERROR:
socket.error (99, 'Cannot assign requested address')


I have export MailRoot too

newbie.gif
PMEmail Poster
Top
atomant
Posted: Oct 3 2003, 06:47 AM
Quote Post


No - I'm not an answering script ...
Group Icon

Group: Admin
Posts: 1776
Member No.: 427
Joined: 18-January 03



Did you enetr a non occupied port in xqmagent.conf?


--------------------
Bye,
Sasa



-------------------------------------------------------------------

All electric machines work on smoke...when the smoke escape from machines, they don't work anymore
Windows: "Where do you want to go today?"
Linux: "Where do you want to go tomorrow?"
FreeBSD: "Are you guys coming or what?"
PMEmail PosterUsers WebsiteICQ
Top
waichoi
Posted: Oct 3 2003, 06:55 AM
Quote Post


Member
***

Group: Members
Posts: 62
Member No.: 362
Joined: 20-November 02



Sorry that what you mean by "non-occupied Port"?? I cannot find this in my xqmagent.conf


Here is the original xqmagent.conf


# This file goes to /etc/xqmagent.conf
#

# How many threads should scan the queue in parallel ?
# THREADS can range between 1 and 25. Since each thread consumes
# system resources and many threads can cause an overhead on startup,
# a value between 2 and 8 is recommened on slow or low-memory machines.
# Remember to restart XQM Agent, when changing this value.
#
THREADS=25

# Control which MailRoot?
# This overwrites any MAIL_ROOT environment setting.
FORCE_MAILROOT = /var/MailRoot

# Listen to which IP?
# Use IP or hostname for AGENT_HOST
AGENT_HOST = 192.168.0.111


# Listen to which port?
AGENT_PORT = 8001

# Put the path of your XMail startup script here:
STARTSCRIPT = /etc/rc.d/init.d/xmail

# Set this to 1 , if you manage your host over the internet
# by using an dynamic IP address or a dynamic name service.
# If set to 1, port 80 has to be accessible from the agent's
# machine.
AGENT_DYNIP = 0

# List of trusted client machines,
# seperated by commas, no spaces allowed.
# Valid entries are IP numbers, subnets (e.g. 192.168.0.*)
# and hostnames.
#
TRUSTED_CLIENTS = 127.0.0.1,tbird,192.168.0.*

# IP address (or hostname) and port for CTRL protocol access.
# This is needed for the Queue.flush() function. The first
# account found in ctrlaccounts.tab is used for authentication.
# Make sure that
# - this IP is enabled in ctrl.ipmap.tab,
# - the port is active
# - and that there is at least one valid account
# in your ctrlaccounts.tab
#
CTRL_HOST = 127.0.0.1
CTRL_PORT = 6017
PMEmail Poster
Top
atomant
Posted: Oct 3 2003, 06:58 AM
Quote Post


No - I'm not an answering script ...
Group Icon

Group: Admin
Posts: 1776
Member No.: 427
Joined: 18-January 03



What is says when you run ./xqmagent -debug?


--------------------
Bye,
Sasa



-------------------------------------------------------------------

All electric machines work on smoke...when the smoke escape from machines, they don't work anymore
Windows: "Where do you want to go today?"
Linux: "Where do you want to go tomorrow?"
FreeBSD: "Are you guys coming or what?"
PMEmail PosterUsers WebsiteICQ
Top
waichoi
Posted: Oct 3 2003, 06:59 AM
Quote Post


Member
***

Group: Members
Posts: 62
Member No.: 362
Joined: 20-November 02



[root@gyan /homedir/xqmagent]$ ./xqmagent --debug

ERROR:
socket.error (99, 'Cannot assign requested address')
PMEmail Poster
Top
atomant
Posted: Oct 3 2003, 07:04 AM
Quote Post


No - I'm not an answering script ...
Group Icon

Group: Admin
Posts: 1776
Member No.: 427
Joined: 18-January 03



Are you sure about your AGENT_HOST ipaddress and port?
Maybe there is a problem.


--------------------
Bye,
Sasa



-------------------------------------------------------------------

All electric machines work on smoke...when the smoke escape from machines, they don't work anymore
Windows: "Where do you want to go today?"
Linux: "Where do you want to go tomorrow?"
FreeBSD: "Are you guys coming or what?"
PMEmail PosterUsers WebsiteICQ
Top
waichoi
Posted: Oct 3 2003, 07:06 AM
Quote Post


Member
***

Group: Members
Posts: 62
Member No.: 362
Joined: 20-November 02



I throught the Port 8001 is default (like 6017 for xmail which I dont need to change.) What you recommend for this port?

But I think the problem is I cannot start the xqmagent. Not the conflic issue?
PMEmail Poster
Top
atomant
Posted: Oct 3 2003, 07:08 AM
Quote Post


No - I'm not an answering script ...
Group Icon

Group: Admin
Posts: 1776
Member No.: 427
Joined: 18-January 03



It doesn't matter the port as long as no other service is using it. What about IP number of AGENT_HOST ?


--------------------
Bye,
Sasa



-------------------------------------------------------------------

All electric machines work on smoke...when the smoke escape from machines, they don't work anymore
Windows: "Where do you want to go today?"
Linux: "Where do you want to go tomorrow?"
FreeBSD: "Are you guys coming or what?"
PMEmail PosterUsers WebsiteICQ
Top
waichoi
Posted: Oct 3 2003, 07:11 AM
Quote Post


Member
***

Group: Members
Posts: 62
Member No.: 362
Joined: 20-November 02



the one I am curetnly use to sufer internet.


Sicne the xmailserver in in Datacenter which is away from me

# Listen to which IP?
# Use IP or hostname for AGENT_HOST
AGENT_HOST = 202.146.98.179
PMEmail Poster
Top
atomant
Posted: Oct 3 2003, 07:18 AM
Quote Post


No - I'm not an answering script ...
Group Icon

Group: Admin
Posts: 1776
Member No.: 427
Joined: 18-January 03



Where do you have xqmagent istalled on? Is it on the same machine as xmail server?


--------------------
Bye,
Sasa



-------------------------------------------------------------------

All electric machines work on smoke...when the smoke escape from machines, they don't work anymore
Windows: "Where do you want to go today?"
Linux: "Where do you want to go tomorrow?"
FreeBSD: "Are you guys coming or what?"
PMEmail PosterUsers WebsiteICQ
Top
waichoi
Posted: Oct 3 2003, 07:19 AM
Quote Post


Member
***

Group: Members
Posts: 62
Member No.: 362
Joined: 20-November 02



YES


I install agent in the same machine with xmailserver.

I install manager in the PC that I am currently using
PMEmail Poster
Top
atomant
Posted: Oct 3 2003, 07:23 AM
Quote Post


No - I'm not an answering script ...
Group Icon

Group: Admin
Posts: 1776
Member No.: 427
Joined: 18-January 03



Ok, so how many NIC's has your xmail server?
Check also if you have enabled CtrlClnt ip and port on Xmail (telnet ipnumber 6017).


--------------------
Bye,
Sasa



-------------------------------------------------------------------

All electric machines work on smoke...when the smoke escape from machines, they don't work anymore
Windows: "Where do you want to go today?"
Linux: "Where do you want to go tomorrow?"
FreeBSD: "Are you guys coming or what?"
PMEmail PosterUsers WebsiteICQ
Top
hschneider
Posted: Oct 3 2003, 07:23 AM
Quote Post


No - I'm not an answering script ...
Group Icon

Group: Admin
Posts: 6631
Member No.: 195
Joined: 19-June 02



192.168.0.111 and port 8001 are just example addresses. You need to enter your machine's IP there. Also make sure that you edit TRUSTED_CLIENTS for your needs.



--------------------
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
PMEmail PosterUsers Website
Top
waichoi
Posted: Oct 3 2003, 07:28 AM
Quote Post


Member
***

Group: Members
Posts: 62
Member No.: 362
Joined: 20-November 02



I have put the CLIENT (The computer I am using now. NOT xmail server) IP as follow.

# Listen to which IP?
# Use IP or hostname for AGENT_HOST
AGENT_HOST = 202.146.98.179



Also, which port I should use? I thought thats like a default port just like 6107 in xmail. Please recommend. Thanks

# Listen to which port?
AGENT_PORT = 8001
PMEmail Poster
Top
atomant
Posted: Oct 3 2003, 07:30 AM
Quote Post


No - I'm not an answering script ...
Group Icon

Group: Admin
Posts: 1776
Member No.: 427
Joined: 18-January 03



Not client nono.gif IP, you need to enter IP from the machine you have installed xqmagent on and in your case this is xmail server.


--------------------
Bye,
Sasa



-------------------------------------------------------------------

All electric machines work on smoke...when the smoke escape from machines, they don't work anymore
Windows: "Where do you want to go today?"
Linux: "Where do you want to go tomorrow?"
FreeBSD: "Are you guys coming or what?"
PMEmail PosterUsers WebsiteICQ
Top
0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)
0 Members:
« Next Oldest | XMail Queue Manager | Next Newest »

Closed TopicStart new topicStart Poll