CAO Mietdatenbank Linux Upgrade auf Mint18 stunnel4 Fehler

Probleme oder Fragen zur Installation, Update und Netzwerkanbindung

Re: CAO Mietdatenbank Linux Upgrade auf Mint18 stunnel4 Fehl

Ubuntu 14.04
Broadcom BCM43142

Ist aber auch nicht so wichtig ( Kundin ) hat noch 2 Rechner , alle Ubuntu !!
Grüsse Detlef
______________________________________________________
CAO 1.5.0.41K
OsCommerce 2.3.1 aber nur als Katalog
10.1.37-MariaDB
Server Ubuntu Linux 16.04
Clienten 2 Ubuntu 16.04 Desktop mit Wine 4.0

Re: CAO Mietdatenbank Linux Upgrade auf Mint18 stunnel4 Fehl

War ein Kernel Problem !
Der 3.13 kann nicht , aber der 3.16 kann es wieder :lol:
Grüsse Detlef
______________________________________________________
CAO 1.5.0.41K
OsCommerce 2.3.1 aber nur als Katalog
10.1.37-MariaDB
Server Ubuntu Linux 16.04
Clienten 2 Ubuntu 16.04 Desktop mit Wine 4.0

Re: CAO Mietdatenbank Linux Upgrade auf Mint18 stunnel4 Fehl

Das https://wiki.ubuntuusers.de/WLAN/Karten/Broadcom/ hast du schon abgearbeitet. Hat bei Schleppi meines Sohnes geholfen.

Xante

P.S. Sorry zu langsam

Re: CAO Mietdatenbank Linux Upgrade auf Mint18 stunnel4 Fehl

Zurück zum stunnel.
Wahrscheinlich werde ich wohl wieder die Windows Variante mit wine nutzen.
Die hatte erstaunlicher Weise keine Probleme.

Dann werkeln 2 Programme in wine.

Es fühlt sich halt nicht gut an, wenn es was nativ in Linux gibt Windows zu nutzen.

Xante

Re: CAO Mietdatenbank Linux Upgrade auf Mint18 stunnel4 Fehl

Bei uns läuft auch noch Elster unter Wine
Grüsse Detlef
______________________________________________________
CAO 1.5.0.41K
OsCommerce 2.3.1 aber nur als Katalog
10.1.37-MariaDB
Server Ubuntu Linux 16.04
Clienten 2 Ubuntu 16.04 Desktop mit Wine 4.0

Re: CAO Mietdatenbank Linux Upgrade auf Mint18 stunnel4 Fehl

Elster brauch ich zum Glück nicht. Aber ich erhoffe mir eine bessere Skylake Unterstützung von Mint18.
Wenn der Test mit dem Netbook erfolgreich war, werde ich an den Arbeitsrechner in meinem Büro gehen.

Xante


Re: CAO Mietdatenbank Linux Upgrade auf Mint18 stunnel4 Fehl

Hallo Xante,

mir ist noch dieses hier aufgefallen !
Insecure file permissions on /etc/stunnel/tsedv.pem (Unsichere Dateiberechtigungen für /etc/stunnel/tsedv.pem)

Machmal das " sudo chmod 600 /etc/stunnel/tsedv.pem "


Im Log steht bei mir dann das :
2016.08.02 10:08:35 LOG7[6997:140219841939264]: Dispatching signals from the signal pipe
2016.08.02 10:08:35 LOG7[6997:140219841939264]: Processing SIGNAL_TERMINATE
2016.08.02 10:08:35 LOG5[6997:140219841939264]: Terminated
2016.08.02 10:08:35 LOG7[6997:140219841939264]: Service [mysql] closed (FD=12)
2016.08.02 10:08:35 LOG7[6997:140219841939264]: str_stats: 18 block(s), 1150 data byte(s), 1044 control byte(s)
2016.08.02 10:08:35 LOG7[6997:140219841939264]: removing pid file /stunnel.pid
2016.08.02 10:08:40 LOG7[7279:140158991877952]: Clients allowed=500
2016.08.02 10:08:40 LOG5[7279:140158991877952]: stunnel 4.53 on x86_64-pc-linux-gnu platform
2016.08.02 10:08:40 LOG5[7279:140158991877952]: Compiled with OpenSSL 1.0.1e 11 Feb 2013
2016.08.02 10:08:40 LOG5[7279:140158991877952]: Running with OpenSSL 1.0.1f 6 Jan 2014
2016.08.02 10:08:40 LOG5[7279:140158991877952]: Update OpenSSL shared libraries or rebuild stunnel
2016.08.02 10:08:40 LOG5[7279:140158991877952]: Threading:PTHREAD SSL:+ENGINE+OCSP Auth:LIBWRAP Sockets:POLL+IPv6
2016.08.02 10:08:40 LOG5[7279:140158991877952]: Reading configuration from file /etc/stunnel/stunnel.conf
2016.08.02 10:08:40 LOG7[7279:140158991877952]: Compression not enabled
2016.08.02 10:08:40 LOG7[7279:140158991877952]: Snagged 64 random bytes from /dev/urandom
2016.08.02 10:08:40 LOG7[7279:140158991877952]: PRNG seeded successfully
2016.08.02 10:08:40 LOG6[7279:140158991877952]: Initializing service section [mysql]
2016.08.02 10:08:40 LOG7[7279:140158991877952]: Certificate: /etc/stunnel/stunnel.pem
2016.08.02 10:08:40 LOG7[7279:140158991877952]: Certificate loaded
2016.08.02 10:08:40 LOG7[7279:140158991877952]: Key file: /etc/stunnel/stunnel.pem
2016.08.02 10:08:40 LOG7[7279:140158991877952]: Private key loaded
2016.08.02 10:08:40 LOG7[7279:140158991877952]: SSL options set: 0x00000004
2016.08.02 10:08:40 LOG5[7279:140158991877952]: Configuration successful
2016.08.02 10:08:40 LOG7[7279:140158991877952]: Service [mysql] (FD=12) bound to 0.0.0.0:3306
2016.08.02 10:08:40 LOG7[7285:140158991877952]: Created pid file /stunnel.pid
Grüsse Detlef
______________________________________________________
CAO 1.5.0.41K
OsCommerce 2.3.1 aber nur als Katalog
10.1.37-MariaDB
Server Ubuntu Linux 16.04
Clienten 2 Ubuntu 16.04 Desktop mit Wine 4.0

Re: CAO Mietdatenbank Linux Upgrade auf Mint18 stunnel4 Fehl

Hallo Xante ,

sehe gerade Du benutzt eine Version 5. statt 4.53 , in anderen Foren sprechen viele über Probleme mit der 5er Version !!

Im Terminal mal " stunnel -v " eingeben !

Ausgabe Bitte Posten .
Grüsse Detlef
______________________________________________________
CAO 1.5.0.41K
OsCommerce 2.3.1 aber nur als Katalog
10.1.37-MariaDB
Server Ubuntu Linux 16.04
Clienten 2 Ubuntu 16.04 Desktop mit Wine 4.0

Re: CAO Mietdatenbank Linux Upgrade auf Mint18 stunnel4 Fehl

Danke das du dir weiter Gedanken um mein Problem machst.
"stunnel -v"

Code: Alles auswählen

[ ] Clients allowed=500
[.] stunnel 5.30 on x86_64-pc-linux-gnu platform
[.] Compiled with OpenSSL 1.0.2e 3 Dec 2015
[.] Running  with OpenSSL 1.0.2g-fips  1 Mar 2016
[ ] Cron thread initialized
[.] Update OpenSSL shared libraries or rebuild stunnel
[.] Threading:PTHREAD Sockets:POLL,IPv6,SYSTEMD TLS:ENGINE,FIPS,OCSP,PSK,SNI Auth:LIBWRAP
[ ] errno: (*__errno_location ())
[!] Invalid configuration file name "-v"
[!] realpath: No such file or directory (2)
Gruß Xante

Re: CAO Mietdatenbank Linux Upgrade auf Mint18 stunnel4 Fehl

So der Urlaub ist fertig. Heut den ersten Tag müde fertig gebracht.

Gibts ne neue Idee für STunnel mit Mint 18 ?

Xante

Re: CAO Mietdatenbank Linux Upgrade auf Mint18 stunnel4 Fehl

Hallo Xante ,

mal " openssl version " im Terminal eingeben !
Grüsse Detlef
______________________________________________________
CAO 1.5.0.41K
OsCommerce 2.3.1 aber nur als Katalog
10.1.37-MariaDB
Server Ubuntu Linux 16.04
Clienten 2 Ubuntu 16.04 Desktop mit Wine 4.0

Re: CAO Mietdatenbank Linux Upgrade auf Mint18 stunnel4 Fehl

Hi Detlef,

" OpenSSL 1.0.2g-fips 1 Mar 2016 "

Xante

Re: CAO Mietdatenbank Linux Upgrade auf Mint18 stunnel4 Fehl

Hallo,
darf ich das Thema nochmal aufgreifen?
Leider habe ich immer noch keinen Weg gefunden mit stunnel unter Linux auf die Miet DB zu zugreifen.

Vielleicht kann mit etwas Zeitabstand heute jemand helfen?

Code: Alles auswählen

gerd@gerd-AO722 ~ $ stunnel
[ ] Clients allowed=500
[.] stunnel 5.30 on x86_64-pc-linux-gnu platform
[.] Compiled with OpenSSL 1.0.2e 3 Dec 2015
[.] Running  with OpenSSL 1.0.2g  1 Mar 2016
[.] Update OpenSSL shared libraries or rebuild stunnel
[.] Threading:PTHREAD Sockets:POLL,IPv6,SYSTEMD TLS:ENGINE,FIPS,OCSP,PSK,SNI Auth:LIBWRAP
[ ] errno: (*__errno_location ())
[.] Reading configuration from file /etc/stunnel/stunnel.conf
[.] UTF-8 byte order mark not detected
[.] FIPS mode disabled
[ ] Compression disabled
[ ] PRNG seeded successfully
[ ] Initializing service [CAO-DB-MySQL]
[ ] Loading certificate from file: /etc/stunnel/tsedv.pem
[ ] Certificate loaded from file: /etc/stunnel/tsedv.pem
[ ] Loading private key from file: /etc/stunnel/tsedv.pem
[:] Insecure file permissions on /etc/stunnel/tsedv.pem
[ ] Private key loaded from file: /etc/stunnel/tsedv.pem
[ ] Private key check succeeded
[:] Service [CAO-DB-MySQL] needs authentication to prevent MITM attacks
[ ] SSL options: 0x03000004 (+0x03000000, -0x00000000)
[.] Configuration successful
[ ] Listening file descriptor created (FD=7)
[!] bind: Address already in use (98)
[!] Error binding service [CAO-DB-MySQL] to 127.0.0.1:3xxx
[ ] Closing service [CAO-DB-MySQL]
[ ] Service [CAO-DB-MySQL] closed
Das ist meine aktuelle Konsolenausgabe bei "stunnel"

Ich würde mich sehr freuen, da etwas weiter zu kommen.

Danke Gruß Xante

Re: CAO Mietdatenbank Linux Upgrade auf Mint18 stunnel4 Fehl

Hi, ein paar Updates weiter habe ich leider immer noch keinen Erfolg.
Hat denn niemand stunnel erfolgreich am laufen mit Mint18?

Gruß Xante

Re: CAO Mietdatenbank Linux Upgrade auf Mint18 stunnel4 Fehl

Ich würde erst mal dafür sorgen, dass die Adresse bzw. Port frei ist.
bind: Address already in use (98)
Gruß Chris
"Derjenige, der sagt: "Es geht nicht", soll den nicht stören, der's gerade tut."

Re: CAO Mietdatenbank Linux Upgrade auf Mint18 stunnel4 Fehl

Hmm, wie kann die auf einmal besetzt sein?
Es wird ja nur die Mietdatenbank von CAO benutzt.
Ich hab auch sonst nichts geändert. Zumindest nicht bewusst.

Danke für den Denkanstoß
Gruß Xante

Re: CAO Mietdatenbank Linux Upgrade auf Mint18 stunnel4 Fehl

So hab ich es in Mint 18 installiert. An sich genau wie bei Mint 17.3 wo es ja funktioniert.

Code: Alles auswählen

Stunnel4 unter Ubuntu, Mint für CAO Mietdatenbank installieren.

Folgende Konsolenbefehle:

1. sudo apt-get install libwrap0 libwrap0-dev

2. sudo apt-get install libssl-dev

3. sudo apt-get install stunnel4

4. sudo nano /etc/stunnel/stunnel.conf

# Folgende Zeilen hinein kopieren.

cert = /etc/stunnel/tsedv.pem
CAfile = /etc/stunnel/tsedv.pem

chroot = /var/lib/stunnel4
setuid = stunnel4
setgid = stunnel4
pid = /stunnel.pid
debug = 7
output = /stunnel.log
client = yes

socket = l:TCP_NODELAY=1
socket = r:TCP_NODELAY=1

[CAO-DB-MySQL]
accept = 127.0.0.1:3xxx
connect = 87.118.87.30:3xxx

; connect = cao.dbtsedv.de:3xxx # hat bei mir nicht funktioniert

sslVersion = all

# Mit STRG+O speichern und mit STRG+X beenden.

5. sudo sed -i -e 's/^ENABLED=0/ENABLED=1/' /etc/default/stunnel4

6. sudo service stunnel4 start
Irgendwo steckt der Wurm. Wäre gut wenn Ihr mir helft den zu finden.
Ich würde dann meinen Hauptrechner auf Mint18 upgraden können.

Danke Gruß Xante