can#t connect .... smtp problem ?

Hilfe zu Znuny Problemen aller Art
Locked
hoffi-
Znuny newbie
Posts: 36
Joined: 14 Sep 2007, 19:06
Znuny Version: 3.1.5
Location: berlin
Contact:

can#t connect .... smtp problem ?

Post by hoffi- »

Hallo Gemeinde;

vielleicht kann mir als Neuling einer sagen was ich falsch gemacht hab. im Board hab ich gelesen das schon einige einen ähnlchen Fehler hatten. Vielleicht hat es auch mit dem Modul Systemmonitor zu tun ? das teste ich gerade und nun hab ich ein problem beim senden:

Code: Select all

Fehler: Can't connect to 192.168.200.2: Bad file descriptor! 
 
Kommentar:  
Fehler berichten:     
Traceback: ERROR: OTRS-CGI-10 Perl: 5.8.8 OS: MSWin32 Time: Tue Nov  6 14:09:03 2007

Message: Can't connect to xxx.xxx.xxx.xxx: Bad file descriptor!

Traceback (1936): 
   Module: Kernel::System::Email::SMTP::Send (v1.14) Line: 127
   Module: Kernel::System::Email::Send (v1.31) Line: 498
   Module: Kernel::Modules::AdminEmail::Run (v1.25) Line: 107
   Module: Kernel::System::Web::InterfaceAgent::Run (v1.23) Line: 670
   Module: ModPerl::ROOT::ModPerl::Registry::C_3a_OTRS_otrs_bin_cgi_2dbin_index_2epl::handler (v) Line: 47
   Module: (eval) (v1.81) Line: 203
   Module: ModPerl::RegistryCooker::run (v1.81) Line: 203
   Module: ModPerl::RegistryCooker::default_handler (v1.81) Line: 169
   Module: ModPerl::Registry::handler (v1.99) Line: 30

der LOGFILE sieht so aus :

Code: Select all

[Tue Nov  6 14:09:03 2007][Error][Kernel::System::Email::SMTP::Send][127] Can't connect to 192.168.200.2: Bad file descriptor!
es waere schoen wenn der eine oder andere vielleicht mir weiterhelfen koennte .... alle smtp einstellungen sind richtig sowohl im "grafischen Frontend als auch im config.pm und default.pm ...

sollte ich mal systemmonitoring deinstallieren ??

besten dank im voraus fuer eure hilfe

hoffi-
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

can#t connect .... smtp problem ?

Post by jojo »

Hast Du den Server schon neu gestartet? Ist ausschliesslich ein Windows Problem..
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
hoffi-
Znuny newbie
Posts: 36
Joined: 14 Sep 2007, 19:06
Znuny Version: 3.1.5
Location: berlin
Contact:

can#t connect .... smtp problem ?

Post by hoffi- »

hallo jojo

ja ich hab den server auf dem otrs ist schon mehrmal neu gestartet. was muss ich tun ? gibt es eine lösung oder muss linux her ??

danke auf jedenfall fuer die rasche antwort

hoffi-
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

can#t connect .... smtp problem ?

Post by jojo »

Ich würde eine Neuinstallation probieren... Leider ist Windows absolut nicht mein Ding ;-)
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
MaVde
Znuny advanced
Posts: 104
Joined: 26 Jul 2007, 08:29

can#t connect .... smtp problem ?

Post by MaVde »

Scheint ein Problem mit der Version 2.2.3-0002 und spezieller Windows Konfigurationen zu sein.
Versuch einfach mal Version 2.2.2 - bei mir gehts nur so.

Siehe auch hier

http://otrs-forum.de/viewtopic.php?f=25&t=1543
OTRS:ITSM mit OTRS 2.2.3 und ITSM 1.0.3
Windows Server 2003 , APACHE 2.2
Andre Bauer
Znuny guru
Posts: 2189
Joined: 08 Dec 2005, 17:01
Znuny Version: 5.0.x
Real Name: André Bauer
Company: Magix Software GmbH
Location: Dresden
Contact:

can#t connect .... smtp problem ?

Post by Andre Bauer »

Den Windows Installer gibts inzwischen schon in Version 2.2.4!

ftp://ftp.otrs.org/pub/otrs/otrs-2.2.4-001-win32.exe
Prod: Ubuntu Server 16.04 / Zammad 1.2

DO NOT PM ME WITH OTRS RELATED QUESTIONS! ASK IN THE FORUMS!

OtterHub.org
MaVde
Znuny advanced
Posts: 104
Joined: 26 Jul 2007, 08:29

can#t connect .... smtp problem ?

Post by MaVde »

Gibt es dazu auch irgendwelche Releasenotes? Welche Bugs gefixt wurden ect?
OTRS:ITSM mit OTRS 2.2.3 und ITSM 1.0.3
Windows Server 2003 , APACHE 2.2
Andre Bauer
Znuny guru
Posts: 2189
Joined: 08 Dec 2005, 17:01
Znuny Version: 5.0.x
Real Name: André Bauer
Company: Magix Software GmbH
Location: Dresden
Contact:

can#t connect .... smtp problem ?

Post by Andre Bauer »

Prod: Ubuntu Server 16.04 / Zammad 1.2

DO NOT PM ME WITH OTRS RELATED QUESTIONS! ASK IN THE FORUMS!

OtterHub.org
MaVde
Znuny advanced
Posts: 104
Joined: 26 Jul 2007, 08:29

can#t connect .... smtp problem ?

Post by MaVde »

Das Problem ist mit 2.2.4 NICHT behoben

Code: Select all

Fehler: Can't connect to sfrexc02.max-aicher.de: Bad file descriptor! 
 
Kommentar:  
Fehler berichten:     
Traceback: ERROR: OTRS-CGI-10 Perl: 5.8.8 OS: MSWin32 Time: Wed Nov  7 14:59:23 2007

Message: Can't connect to sfrexc02.max-aicher.de: Bad file descriptor!

Traceback (7012): 
   Module: Kernel::System::Email::SMTP::Send (v1.14) Line: 127
   Module: Kernel::System::Email::Send (v1.31.2.1) Line: 498
   Module: Kernel::System::Ticket::Article::ArticleSend (v1.147) Line: 1610
   Module: Kernel::Modules::AgentTicketCompose::Run (v1.30) Line: 362
   Module: Kernel::System::Web::InterfaceAgent::Run (v1.23) Line: 670
   Module: ModPerl::ROOT::ModPerl::Registry::C_3a_OTRS_otrs_bin_cgi_2dbin_index_2epl::handler (v) Line: 47
   Module: (eval) (v1.81) Line: 203
   Module: ModPerl::RegistryCooker::run (v1.81) Line: 203
   Module: ModPerl::RegistryCooker::default_handler (v1.81) Line: 169
   Module: ModPerl::Registry::handler (v1.99) Line: 30
 
 
OTRS:ITSM mit OTRS 2.2.3 und ITSM 1.0.3
Windows Server 2003 , APACHE 2.2
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

can#t connect .... smtp problem ?

Post by jojo »

Hi,

da es bei anderen out of the box 2003er Servern problemlos funktioniert, wäre es interessant woran es bei Dir liegt. Gibt es irgendwelche Besonderheiten in Deiner Windows Installation?
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
MaVde
Znuny advanced
Posts: 104
Joined: 26 Jul 2007, 08:29

can#t connect .... smtp problem ?

Post by MaVde »

Nein, keine.

Auf unserem Managementserver auf dem auch OTRS läuft, läuft nur OTRS und unsere Filesicherung. Sonst nichts.
Am OTRS wurde seit Version 2.2.2, die Tadellos funktioniert im bezug auf Version 2.2.3 bzw 2.2.4 nichts verändert.
OTRS:ITSM mit OTRS 2.2.3 und ITSM 1.0.3
Windows Server 2003 , APACHE 2.2
Jenewein
Znuny newbie
Posts: 11
Joined: 26 Jan 2009, 11:21

can#t connect .... smtp problem ?

Post by Jenewein »

Hallo,
ist das Problem bei Ihnen jetzt behoben.
Wir setzen OTRS 2.3.2 ein und bei uns tritt dieses Problem sporadisch auf.
OTRS 2.4.7, Windows Server 2003 auf VMware
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

can#t connect .... smtp problem ?

Post by jojo »

Ist wie gesagt ein Exchange Problem
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
Jenewein
Znuny newbie
Posts: 11
Joined: 26 Jan 2009, 11:21

can#t connect .... smtp problem ?

Post by Jenewein »

Und wie kann dieses 'Exchange-Problem' gelöst werden.
Von OTRS wurde uns die Installation eines lokalen SMTP Servers empfohlen, der dann die Nachrichten von OTRS entgegennimmt und an den Exchangeserver weiterreicht.
Das Problem tritt jedoch auch mit dieser Lösung weiterhin sporadisch auf.
Kann mir hier noch jemand weiterhelfen?
OTRS 2.4.7, Windows Server 2003 auf VMware
Biohazardxxx
Znuny newbie
Posts: 50
Joined: 24 Aug 2007, 11:53

can#t connect .... smtp problem ?

Post by Biohazardxxx »

Hi,
ich weiß der Threat ist schon paar Monate alt aber wir haben das selbe Problem mit mehreren OTRS Installationen auf verschiedenen Win2003.
ERROR: OTRS-CGI-10 Perl: 5.8.8 OS: MSWin32 Time: Tue Feb 9 09:17:34 2010
Message: Can't connect to SERVER.NET: Bad file descriptor!

Traceback (4180):
Module: Kernel::System::Email::SMTP::Send (v1.21) Line: 93
Module: Kernel::System::Email::Send (v1.45) Line: 553
Module: Kernel::System::Ticket::Article::ArticleSend (v1.185) Line: 1831
Module: Kernel::Modules::AgentTicketCompose::Run (v1.44) Line: 401
Module: Kernel::System::Web::InterfaceAgent::Run (v1.34) Line: 824
Module: ModPerl::ROOT::ModPerl::Registry::C_3a_service_desk_OTRS_otrs_bin_cgi_2dbin_index_2epl::handler (unknown version) Line: 47
Module: (eval) (v1.87) Line: 203
Module: ModPerl::RegistryCooker::run (v1.87) Line: 203
Module: ModPerl::RegistryCooker::default_handler (v1.87) Line: 169
Module: ModPerl::Registry::handler (v1.99) Line: 30
Wir nutzen den hMailserver als Mail-relay da unser Exchange SSL verlangt.

Habe auch schon dies hier probiert jedoch ohne Erfolg.
http://source.otrs.org/viewvc.cgi/otrs/ ... 2=1.21.2.1

Code: Select all

# try it 3 times to connect with the SMTP server
# (M$ Exchange Server 2007 have sometimes problems on port 25)
my $SMTP;
	TRY:
	for my $Try ( 1 .. 3 ) {
		# connect to mail server
		$SMTP = Net::SMTP->new(
			$Self->{MailHost},
			Port    => $Self->{SMTPPort},
			Timeout => $Self->{SMTPTimeout},
			Debug   => $Self->{SMTPDebug},
		);
		last TRY if $SMTP;
		# sleep 0,3 seconds;
		select (undef, undef, undef, 0.3);
	}
Die genutze version ist OTRS 2.3.2.

Jemand eine Idee was es sein kann?
Liefere alle benötigten Infos auf Anfrage...
Win2003 Standart Server RC 2
OTRS 3.0.11 & ITSM 3.0.5
Biohazardxxx
Znuny newbie
Posts: 50
Joined: 24 Aug 2007, 11:53

can#t connect .... smtp problem ?

Post by Biohazardxxx »

Wie es so ist..... Habe ich gerade nachvollziehen können das dies nicht passiert wenn man den Ticketstatus auf offen belässt.
Komisch...

Gruß
-Bio
Win2003 Standart Server RC 2
OTRS 3.0.11 & ITSM 3.0.5
drdafresh
Znuny newbie
Posts: 67
Joined: 01 Dec 2008, 13:37
Znuny Version: 2.3.2 & 2.4.7

can#t connect .... smtp problem ?

Post by drdafresh »

Hallo Biohazardxxx,

Bei mir trat das problem auf wenn ich Mails direkt per SMTP an unseren Exchangeservre schicken wollte!

Auf der Firewall waren die Ports zwar frei geschalten aber der Exchange hat den dienst verweigert.

Bei mir war das Problem mit einem SMPT - Relay am Exchangeserver erledigt!

Greetz da Fresh
Produktiv:
OTRS: 2.3.2, OTRS::ITSM 1.2,
OS: CentOS Linux 5.2
Apache 2.2.3 /MySQL 5.0.45

OTRS: CICS 2.1
OS: CentOS Linux 5.2
Apache 2.2.3 /MySQL 5.0.45

OTRS: 2.4.7
OS: CentOS Linux 5.4
Apache 2.2.3 /MySQL 5.0.77

Test:
OTRS: 3.0.0 beta1
OS: CentOS Linux 5.4
Apache 2.2.3 /MySQL 5.0.77
Biohazardxxx
Znuny newbie
Posts: 50
Joined: 24 Aug 2007, 11:53

can#t connect .... smtp problem ?

Post by Biohazardxxx »

drdafresh wrote:Hallo Biohazardxxx,

Bei mir trat das problem auf wenn ich Mails direkt per SMTP an unseren Exchangeservre schicken wollte!

Auf der Firewall waren die Ports zwar frei geschalten aber der Exchange hat den dienst verweigert.

Bei mir war das Problem mit einem SMPT - Relay am Exchangeserver erledigt!

Greetz da Fresh
Hi,

danke werd ich bei Gelegenheit ausprobieren.

Gruß
Bio
Win2003 Standart Server RC 2
OTRS 3.0.11 & ITSM 3.0.5
Locked