Frische Installation nach Anleitung / Mailkonfiguration nicht möglich

Hilfe zu Znuny Problemen aller Art
Post Reply
Petrick
Znuny newbie
Posts: 3
Joined: 28 Apr 2023, 13:51
Znuny Version: 7.0
Real Name: Petrick

Frische Installation nach Anleitung / Mailkonfiguration nicht möglich

Post by Petrick »

Sehr geehrte Community,

ich arbeite seit mehr als sechs Jahren mit einem über acht Jahre alten otrs-Server, welchen ich gerne durch einen neuen znuny ersetzen möchte.

Die Probleme drehen sich auschließlich um die Mail-Konfiguration (senden geht nicht bzw. kommt nichts an)

ich habe das System samt Ubuntu nun schon einige Male neu aufgesetzt (immer nach der Installationsanleitung für znuny 7 unter Debian/Ubuntu) und es hakt immer an der gleichen Stelle "Allgemeine Einstellungen und E-Mail-Einstellungen" es geht um Standard Mailservereinstellungen wie in jedem Mailprogramm und egal ob ich smtp smtps oder tls auswähle ich bekomme immer die Fehlermeldung:

Znuny hat mögliche Netzwerkprobleme entdeckt. Sie können entweder versuchen die Seite manuell erneut zu laden oder Sie warten bis ihr Browser die Verbindung wiederhergestellt hat.

Nur bei Sendmail bekomme ich die Meldung:

Fehler in der Mail-Konfiguration. Bitte korrigieren und nochmals probieren.

Der einzige Weg die Installation abzuschließen ist den Schritt zu überspringen. Im Anschluss funktioniert dann alles (mail fetching, Ticketerstellung, autoantworten usw.) nur das keine Mails rausgehen.

Ich denke es sollte doch möglich sein die Installation irgendwie ordentlich abzuschließen, wenn ich auschließlich nach Anleitung gehe..

Die Mailadresse ist bei 1und1 gehostet. Hilfe!

Mit besten Grüßen
root
Administrator
Posts: 4250
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: Frische Installation nach Anleitung / Mailkonfiguration nicht möglich

Post by root »

Hi,

als der erste Fehler deutet auf eine fehlerhafte Konfiguration des Webservers hin. Nutzt das das scripts/apache2-httpd.include.conf im Original und unverändert?

Beim der zweiten Fehler lohnt evtl. ein Blick in error_log des Webserves. Steht das was drin?

- Roy
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO

Use a test system - always.

Do you need professional services? Check out https://www.znuny.com/

Do you want to contribute or want to know where it goes ?
Petrick
Znuny newbie
Posts: 3
Joined: 28 Apr 2023, 13:51
Znuny Version: 7.0
Real Name: Petrick

Re: Frische Installation nach Anleitung / Mailkonfiguration nicht möglich

Post by Petrick »

Hi Roy,

ja Original und unverändert. Wie in der Installationsanleitung.

Ich habe mal Anfang und Ende des error_log vom Webserver zusammengefasst (zwischendurch wiederholt sich einiges aufgrund der wiederholten Konfigurationsprüfung):


[Thu Jun 13 12:16:26.321127 2024] [mpm_event:notice] [pid 39883:tid 127301467678592] AH00489: Apache/2.4.52 (Ubuntu) configured -- resuming normal operations
[Thu Jun 13 12:16:26.321263 2024] [core:notice] [pid 39883:tid 127301467678592] AH00094: Command line: '/usr/sbin/apache2'
[Thu Jun 13 12:25:43.051573 2024] [mpm_event:notice] [pid 39883:tid 127301467678592] AH00492: caught SIGWINCH, shutting down gracefully
[Thu Jun 13 12:25:43.178172 2024] [mpm_event:notice] [pid 42522:tid 137239502034816] AH00489: Apache/2.4.52 (Ubuntu) mod_perl/2.0.12 Perl/v5.34.0 configured -- resuming normal operations
[Thu Jun 13 12:25:43.178326 2024] [core:notice] [pid 42522:tid 137239502034816] AH00094: Command line: '/usr/sbin/apache2'
[Thu Jun 13 12:28:38.652458 2024] [mpm_event:notice] [pid 42522:tid 137239502034816] AH00493: SIGUSR1 received. Doing graceful restart
AH00534: apache2: Configuration error: The MPM cannot be changed during restart.
[Thu Jun 13 12:28:47.600025 2024] [core:warn] [pid 42956] AH00098: pid file /var/run/apache2/apache2.pid overwritten -- Unclean shutdown of previous Apache run?
[Thu Jun 13 12:28:47.605118 2024] [mpm_prefork:notice] [pid 42956] AH00163: Apache/2.4.52 (Ubuntu) mod_perl/2.0.12 Perl/v5.34.0 configured -- resuming normal operations
[Thu Jun 13 12:28:47.605146 2024] [core:notice] [pid 42956] AH00094: Command line: '/usr/sbin/apache2'
[Thu Jun 13 12:29:54.758492 2024] [mpm_prefork:notice] [pid 42956] AH00170: caught SIGWINCH, shutting down gracefully
[Thu Jun 13 12:29:55.652963 2024] [mpm_prefork:notice] [pid 43095] AH00163: Apache/2.4.52 (Ubuntu) mod_perl/2.0.12 Perl/v5.34.0 configured -- resuming normal operations
[Thu Jun 13 12:29:55.653117 2024] [core:notice] [pid 43095] AH00094: Command line: '/usr/sbin/apache2'
ERROR: Znuny-CGI-10 Perl: 5.34.0 OS: linux Time: Thu Jun 13 10:31:50 2024

Message: Need Data!

RemoteAddress: 192.168.19.135
RequestURI: /znuny/installer.pl

Traceback (43098):
Module: Kernel::System::JSON::Encode Line: 74
Module: Kernel::Output::HTML::Layout::Popup::AddPopupProfiles Line: 77
Module: Kernel::Output::HTML::Layout::Header Line: 1296
Module: Kernel::Modules::Installer::Run Line: 169
Module: Kernel::System::Web::InterfaceInstaller::Run Line: 129
Module: ModPerl::ROOT::ModPerl::Registry::opt_znuny_bin_cgi_2dbin_installer_2epl::handler Line: 38
Module: (eval) (v1.99) Line: 207
Module: ModPerl::RegistryCooker::run (v1.99) Line: 207
Module: ModPerl::RegistryCooker::default_handler (v1.99) Line: 173
Module: ModPerl::Registry::handler (v1.99) Line: 32


[Thu Jun 13 12:31:50 2024] -e: Use of uninitialized value $JSONPopupProfile in concatenation (.) or string at /opt/znuny/Kernel/Output/HTML/Layout/Popup.pm line 81.
[Thu Jun 13 12:31:50 2024] -e: DBI connect('database=znuny;host=127.0.0.1;','znuny',...) failed: Access denied for user 'znuny'@'localhost' (using password: YES) at /opt/znuny/Kernel/System/DB.pm line 209.
ERROR: Znuny-CGI-10 Perl: 5.34.0 OS: linux Time: Thu Jun 13 10:31:50 2024

Message: Access denied for user 'znuny'@'localhost' (using password: YES)

RemoteAddress: 192.168.19.135
RequestURI: /znuny/installer.pl

Traceback (43098):
Module: Kernel::System::DB::Prepare Line: 709
Module: Kernel::System::Priority::PriorityList Line: 107
Module: Kernel::Output::CSS::Priority::CreateCSS Line: 46
Module: Kernel::Output::HTML::Layout::CSS::CreateDynamicCSS Line: 72
Module: Kernel::Output::HTML::Layout::Loader::LoaderCreateDynamicCSS Line: 984
Module: Kernel::Output::HTML::Layout::Header Line: 1301
Module: Kernel::Modules::Installer::Run Line: 169
Module: Kernel::System::Web::InterfaceInstaller::Run Line: 129
Module: ModPerl::ROOT::ModPerl::Registry::opt_znuny_bin_cgi_2dbin_installer_2epl::handler Line: 38
Module: (eval) (v1.99) Line: 207
Module: ModPerl::RegistryCooker::run (v1.99) Line: 207
Module: ModPerl::RegistryCooker::default_handler (v1.99) Line: 173
Module: ModPerl::Registry::handler (v1.99) Line: 32

[Thu Jun 13 12:31:50 2024] -e: DBI connect('database=znuny;host=127.0.0.1;','znuny',...) failed: Access denied for user 'znuny'@'localhost' (using password: YES) at /opt/znuny/Kernel/System/DB.pm line 209.
ERROR: Znuny-CGI-10 Perl: 5.34.0 OS: linux Time: Thu Jun 13 10:31:50 2024



[Thu Jun 13 12:55:04 2024] -e: Use of uninitialized value $JSONPopupProfile in concatenation (.) or string at /opt/znuny/Kernel/Output/HTML/Layout/Popup.pm line 81.
ERROR: Znuny-CGI-10 Perl: 5.34.0 OS: linux Time: Thu Jun 13 10:55:04 2024

Message: Need Data!

RemoteAddress: 192.168.19.135
RequestURI: /znuny/installer.pl

Traceback (43347):
Module: Kernel::System::JSON::Encode Line: 74
Module: Kernel::Output::HTML::Layout::Popup::AddPopupProfiles Line: 77
Module: Kernel::Output::HTML::Layout::Header Line: 1296
Module: Kernel::Modules::Installer::Run Line: 876
Module: Kernel::System::Web::InterfaceInstaller::Run Line: 129
Module: ModPerl::ROOT::ModPerl::Registry::opt_znuny_bin_cgi_2dbin_installer_2epl::handler Line: 38
Module: (eval) (v1.99) Line: 207
Module: ModPerl::RegistryCooker::run (v1.99) Line: 207
Module: ModPerl::RegistryCooker::default_handler (v1.99) Line: 173
Module: ModPerl::Registry::handler (v1.99) Line: 32

[Thu Jun 13 12:55:04 2024] -e: Use of uninitialized value $JSONPopupProfile in concatenation (.) or string at /opt/znuny/Kernel/Output/HTML/Layout/Popup.pm line 81.


Wenn ich es richtig sehe klappt kein Sendevorgang weil znuny@localhost die Rechte fehlen..
Was man ja mit Schritt 6 der Anleitung eigentlich festlegt.. dachte ich..
root
Administrator
Posts: 4250
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: Frische Installation nach Anleitung / Mailkonfiguration nicht möglich

Post by root »

Hallo,

Petrick wrote: 14 Jun 2024, 13:33 [Thu Jun 13 12:25:43.051573 2024] [mpm_event:notice] [pid 39883:tid 127301467678592] AH00492: caught SIGWINCH, shutting down gracefully
Das mpm_event Module ist falsch. Siehe https://doc.znuny.org/znuny/releases/in ... figuration
Petrick wrote: 14 Jun 2024, 13:33 [Thu Jun 13 12:31:50 2024] -e: DBI connect('database=znuny;host=127.0.0.1;','znuny',...) failed: Access denied for user 'znuny'@'localhost' (using password: YES) at /opt/znuny/Kernel/System/DB.pm line 209.
ERROR: Znuny-CGI-10 Perl: 5.34.0 OS: linux Time: Thu Jun 13 10:31:50 2024

Message: Access denied for user 'znuny'@'localhost' (using password: YES)

Wenn ich es richtig sehe klappt kein Sendevorgang weil znuny@localhost die Rechte fehlen..
Was man ja mit Schritt 6 der Anleitung eigentlich festlegt.. dachte ich..
Das ist eine Meldung das die Datenbankberechtgung fü den DB Uuer znuny auf die DB znuny auf dem Server localhost (znuny@localhos) nicht passt.

- Roy
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO

Use a test system - always.

Do you need professional services? Check out https://www.znuny.com/

Do you want to contribute or want to know where it goes ?
Petrick
Znuny newbie
Posts: 3
Joined: 28 Apr 2023, 13:51
Znuny Version: 7.0
Real Name: Petrick

Re: Frische Installation nach Anleitung / Mailkonfiguration nicht möglich

Post by Petrick »

Was heißt "Das mpm_event Module ist falsch." ?
In Schritt 7 (a2dismod mpm_event) wird es deaktiviert und mehr mache ich doch damit nicht oder?

Und in Schritt 3 und 6 erfolgt die Rechtevergabe bzw. Festlegung für Passwort usw.
Und die Verbindung zur Datenbank funktioniert ja beim Test.

Hab jetzt mehr als 15x neu installiert samt ubuntu und folge nur den Schritten. Ich bezweifle, dass ich jedes mal einen Fehler bei copy and paste mache..
Kennt jemand einen Lösungsansatz oder hat ne Idee?
Post Reply