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 -> [solved] Socket.gaierror -2

Reply to this topicStart new topicStart Poll

> [solved] Socket.gaierror -2, XQM terminates
pgs
Posted: Jan 25 2005, 09:13 PM
Quote Post


Newbie
*

Group: Members
Posts: 16
Member No.: 1382
Joined: 1-November 04



Hi,

i use XQM on my Debian server started via the Shellscript in init.d.
It always went excellent, but since the last start XQm is not runing, it terminates with the message

socket.gaierror (-2; 'Name or service not known')

Directly started, and/or in debug mode: same message.

Any idea, anyone? Ah, I forgot: I recently installed a dns forwarder (dnsmasq).

TIA + MFG, pgs
PMEmail Poster
Top
hschneider
Posted: Jan 25 2005, 11:07 PM
Quote Post


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

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



This error is indeed related to DNS resolution. It comes directly from Python's socket support and is caused by a failed resolution on OS level. Try to use fixed IP addresses in XQM's (or the Agent's) config.


--------------------
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
pgs
Posted: Jan 26 2005, 12:00 AM
Quote Post


Newbie
*

Group: Members
Posts: 16
Member No.: 1382
Joined: 1-November 04



Thx,

using IP instead hostname in /etc/xqmagent.conf solved the problem.

mfg, pgs
PMEmail Poster
Top
0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)
0 Members:
« Next Oldest | XMail Queue Manager | Next Newest »

Reply to this topicStart new topicStart Poll