• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

[gelöst] kein Kontakt zu localhost

luwa

Member
Moin
fetchmail soll meine Mails abholen. Nach der Zwangstrennung meldet das Log vom fetch SMTP Fehler kein Kontakt zum localhost. Das Prob besteht seit meinem Vesuch den WLAN-Stick zum laufen zu bringen. Den habe ich nun aus der Config rausgeschmissen. In /etc/hosts ist der Server eingetragen als localhost auf dem lo als 127.0.0.1 und als linux11 mit 192.168.11.10. Named läuft. Mit nslookup localhost wird der Nameserver 192.168.11.10 und der localhost 127.0.0.1 ausgegeben. Ping von den Clients wird auch aufgelöst.
Weder ein #>rcfetchmail restart noch ein #>rcnamed restart helfen dem Prob ab. Im Moment hilft nur ein reeboot.
OS Suse 11.1
Dienste DHCPD; Named; fetchmail; Postfix; Apache2; Hylafax; Samba; SMPPPD
Interessanter Weise kann ich im YAST Network-Device im Register DNS den DNS-Server nicht mehr ändern, der ist eingetragen und angegraut.
Habt Ihr eine Ahnung was der Kiste da passiert?

Gruß luwa
 

spoensche

Moderator
Teammitglied
Der Kiste ist nichts passiert. Du hast DNS- Server so konfiguriert, dass er auch auf 127.0.0.1 auf Anfragen wartet, was unsinnig ist, weil es die IP für den localhost ist, das der Schnittstelle lo zugeordnet ist und als Loopback bezeichnet wird.
 
OP
L

luwa

Member
Sorry, das verstehe ich nicht. Das loopback steht Standardmäßig mit 127.0.0.1 localhost und :::1 localhost in der hosts. Der Named hat von Haus aus die localhost.zone respektive in.addr.arpa.zone
Nach einem reboot komme ich mit telnet localhost 25 auf den SMTP, nach der Wiedereinwahl nicht mehr. netstat -plant|grep 25 liefert aber ein
0.0.0.0:25 blah blah 4537/master
:::1:25 irgendwas /master
Der fetchmail pollt POP3 und will dann an den Postfix (der ja auf dem localhost ist) übergeben. Kann er aber nicht da nach der Wiedereinwahl auch telnet keine Verbindung bekommt. Dazu habe ich im Netz auch schon was gefunden nur ohne Lösung. Pings von den Clients werden nach drinnen und draußen sauber aufglöst. Der fetchmail kann aber nicht zum localhost verbinden. Irgendwie scheint das kein DNS Prob zu sein. Nur ein postfix neustart bringt halt auch nix der ja am Port 25 das Ohr haben soll. System Mail wird aber zugestellt.
HILFE ich vertehs nich
 

spoensche

Moderator
Teammitglied
Was den für eine Wiedereinwahl???? Wenn du einen Router hast, musst du dich nirgends einwählen. Das bind eine Zonen Datei für den localhost hat ist normal. Das er aber auf Anfragen auf der localhost Schnittstelle wartet ist Schwachsinn. Hast du für dien internes Netzwerk eine Zonendatei angelegt? Wenn du nur diesen Rechner im Netz hast ist der Betrieb eines Nameservers unsinnig.

Was sagen den die Logfiles?
 
OP
L

luwa

Member
Ich habe halt nur ein DSL-Modem. Der Server wählt also selber und trennt auch per Script. Hat alles funktioniert bis zum Test mit dem WLAN Stick. fetchmail log sagt SMTP error ... SMTP connect to localhost failed. In den Mail-logs ist nichts, in der messages ist nichts, in firewall ist nichts, in warn ist nichts.

Habe aus der forwarders.conf den externen (ISP) DNS rausgenommen. Im Moment gibt es keine Fehler. Beobachten!

Mit telnet localhost 25 stelle ich eine Verbindung zum postfix her und nicht zum named. In der named.conf gibt es sehr wohl eine listen und allow-query directive in der der localhost aufgeführt ist. hosts.conf lautet auch order hosts, bind; also erst in die hosts schauen dann den named fragen wenn hosts keine Auskunft gibt.
Ja Zonen für internes Netz sind deklariert ohne dyndns-update vom dhcp da dort hardware address.

Mal sehen ob ich mit der Änderung in der forwarders.conf jetzt weiter komme
 

spoensche

Moderator
Teammitglied
Interessant sind die Logfiles, wie viele Netzwerkschnittstellen hat dein Rechner? Auf welchem Rechner läuft der DHCP- Server?

Wie sehen die Konfigurationen aus?

Wenn du nicht mal langsam mit mehr Informationen rüber kommst, damit man dir helfen kann, sperre ich den Thread.
 
OP
L

luwa

Member
eth0 mit 192.168.11.10 ins interne Netz
eth1 mit 192.168.33.10 --> dsl0
DNS ist 192.168.11.10 serchlist domain.tld
DHCPD _interface eth0

fetchmail.log
Code:
fetchmail: 1 message for name@domain.net at pop3.domain.net (14061 octets).
fetchmail: reading message name@domain.net@mx.domain.de:1 of 1 (14061 octets) flushed
fetchmail: Server certificate verification error: self signed certificate in certificate chain
fetchmail: Server certificate verification error: certificate has expired
fetchmail: 1 message for name@domain3.de at mail.domain3.de (445574 octets).
fetchmail: reading message name@domain3.de@apollo.domain3.de:1 of 1 (445574 octets) flushed
fetchmail: sleeping at Mon Nov 29 01:20:39 2009 for 300 seconds //snip//
//snap//
fetchmail: awakened at Mon Nov 29 04:35:07 2009
fetchmail: Server certificate verification error: self signed certificate in certificate chain
fetchmail: Server certificate verification error: certificate has expired
fetchmail: sleeping at Mon Nov 29 04:35:08 2009 for 300 seconds
fetchmail: awakened at Mon Nov 29 04:40:08 2009
fetchmail: 1 message for name@domain2.de at mail.domain2.de (6869 octets).
fetchmail: reading message name@domain2.de@mail.domain2.de:1 of 1 (6869 octets) (log message incomplete)fetchmail: SMTP connect to localhost failed
fetchmail: SMTP transaction error while fetching from name@domain2.de@mail.domain2.de and delivering to SMTP host localhost
fetchmail: Query status=10 (SMTP)
fetchmail: Server certificate verification error: self signed certificate in certificate chain
fetchmail: Server certificate verification error: certificate has expired
fetchmail: sleeping at Mon Nov 29 04:40:13 2009 for 300 seconds

messages
Code:
Nov 29 04:36:01 linux11 /usr/sbin/cron[29987]: (root) CMD (/usr/local/sbin/re-new-appache)
Nov 29 04:37:01 linux11 /usr/sbin/cron[29994]: (root) CMD (/usr/local/sbin/re-dial)
Nov 29 04:37:02 linux11 pppd[4082]: Hangup (SIGHUP)
Nov 29 04:37:02 linux11 pppd[4082]: Connect time 599.9 minutes.
Nov 29 04:37:02 linux11 pppd[4082]: Sent 7538853 bytes, received 280838393 bytes.
Nov 29 04:37:02 linux11 pppd[4082]: Connection terminated.
Nov 29 04:37:02 linux11 SuSEfirewall2: Setting up rules from /etc/sysconfig/SuSEfirewall2 ...
Nov 29 04:37:02 linux11 ip-down: SuSEfirewall2: Warning: no default firewall zone defined, assuming 'ext'
Nov 29 04:37:02 linux11 SuSEfirewall2: Warning: no default firewall zone defined, assuming 'ext'
Nov 29 04:37:02 linux11 SuSEfirewall2: batch committing...
Nov 29 04:37:02 linux11 SuSEfirewall2: Firewall rules successfully set
Nov 29 04:37:02 linux11 pppd[4082]: Script /etc/ppp/ip-down finished (pid 29996), status = 0x0
Nov 29 04:37:04 linux11 pppd[4082]: Terminating on signal 15
Nov 29 04:37:04 linux11 pppd[4082]: Exit.
Nov 29 04:37:14 linux11 pppd[30325]: Plugin rp-pppoe.so loaded.
Nov 29 04:37:14 linux11 pppd[30325]: RP-PPPoE plugin version 3.8p compiled against pppd 2.4.5
Nov 29 04:37:14 linux11 pppd[30325]: Plugin passwordfd.so loaded.
Nov 29 04:37:14 linux11 pppd[30325]: pppd 2.4.5 started by root, uid 0
Nov 29 04:37:14 linux11 kernel: ppp0 renamed to dsl0 by pppd [30325]
Nov 29 04:37:14 linux11 pppd[30325]: Renamed interface ppp0 to dsl0
Nov 29 04:37:14 linux11 pppd[30325]: Using interface dsl0
Nov 29 04:37:14 linux11 pppd[30325]: local  IP address xxx.xxx.64.64
Nov 29 04:37:14 linux11 pppd[30325]: remote IP address xxx.xxx.112.112
Nov 29 04:37:23 linux11 pppd[30325]: Starting link
Nov 29 04:37:23 linux11 pppd[30325]: PPP session is 6550
Nov 29 04:37:23 linux11 pppd[30325]: Connected to 00:90:1a:40:df:10 via interface eth1
Nov 29 04:37:23 linux11 pppd[30325]: Connect: dsl0 <--> eth1
Nov 29 04:37:23 linux11 pppd[30325]: PAP authentication succeeded
Nov 29 04:37:23 linux11 pppd[30325]: peer from calling number 00:90:1A:40:DF:10 authorized
Nov 29 04:37:23 linux11 pppd[30325]: Local IP address changed to xxx.xxx.73.33
Nov 29 04:37:23 linux11 pppd[30325]: Remote IP address changed to xxx.xxx.64.34
Nov 29 04:37:24 linux11 SuSEfirewall2: Setting up rules from /etc/sysconfig/SuSEfirewall2 ...
Nov 29 04:37:24 linux11 SuSEfirewall2: Warning: no default firewall zone defined, assuming 'ext'
Nov 29 04:37:24 linux11 ip-up: SuSEfirewall2: Warning: no default firewall zone defined, assuming 'ext'
Nov 29 04:37:24 linux11 SuSEfirewall2: batch committing...
Nov 29 04:37:24 linux11 SuSEfirewall2: Firewall rules successfully set
Nov 29 04:37:24 linux11 pppd[30325]: Script /etc/ppp/ip-up finished (pid 30421), status = 0x0
Nov 29 04:37:30 linux11 master[30677]: about to exec /usr/lib/cyrus/bin/ctl_cyrusdb
Nov 29 04:37:30 linux11 master[30678]: about to exec /usr/lib/cyrus/bin/squatter
Nov 29 04:37:30 linux11 ctl_cyrusdb[30677]: checkpointing cyrus databases
Nov 29 04:37:30 linux11 ctl_cyrusdb[30677]: archiving log file: /var/lib/imap/db/log.0000000001
Nov 29 04:37:30 linux11 squatter[30678]: indexing mailboxes
Nov 29 04:37:30 linux11 squatter[30678]: indexing mailbox user.name 
Nov 29 04:37:30 linux11 squatter[30678]: indexing mailbox user.name.Drafts... 
Nov 29 04:37:30 linux11 squatter[30678]: indexing mailbox user.name.Junk... 
Nov 29 04:37:30 linux11 ctl_cyrusdb[30677]: archiving log file: /var/lib/imap/db/log.0000000001
Nov 29 04:37:30 linux11 ctl_cyrusdb[30677]: archiving database file: /var/lib/imap/annotations.db
Nov 29 04:37:30 linux11 ctl_cyrusdb[30677]: archiving database file: /var/lib/imap/mailboxes.db
Nov 29 04:37:30 linux11 ctl_cyrusdb[30677]: archiving log file: /var/lib/imap/db/log.0000000001
Nov 29 04:37:30 linux11 squatter[30678]: indexing mailbox user.name.Sent... 
Nov 29 04:37:30 linux11 ctl_cyrusdb[30677]: done checkpointing cyrus databases
Nov 29 04:37:30 linux11 master[4627]: process 30677 exited, status 0
Nov 29 04:37:30 linux11 squatter[30678]: indexing mailbox user.name.Templates... 
Nov 29 04:37:30 linux11 squatter[30678]: indexing mailbox user.name.Trash... 
Nov 29 04:37:30 linux11 squatter[30678]: indexing mailbox user.name3 
Nov 29 04:37:30 linux11 squatter[30678]: indexing mailbox user.name3.Drafts... 
Nov 29 04:37:30 linux11 squatter[30678]: indexing mailbox user.name3.Junk... 
Nov 29 04:37:30 linux11 squatter[30678]: indexing mailbox user.name3.Sent... 
Nov 29 04:37:30 linux11 squatter[30678]: indexing mailbox user.name3.Templates... 
Nov 29 04:37:30 linux11 squatter[30678]: indexing mailbox user.name3.Trash... 
Nov 29 04:37:30 linux11 squatter[30678]: indexing mailbox user.root... 
Nov 29 04:37:30 linux11 squatter[30678]: indexing mailbox user.name2
Nov 29 04:37:30 linux11 squatter[30678]: done indexing mailboxes
Nov 29 04:37:30 linux11 master[4627]: process 30678 exited, status 0
Nov 29 04:37:34 linux11 smartd[4790]: Device: /dev/sda [SAT], SMART Usage Attribute: 199 UDMA_CRC_Error_Count changed from 174 to 142
Nov 29 04:37:34 linux11 smartd[4790]: Device: /dev/sdb [SAT], SMART Prefailure Attribute: 1 Raw_Read_Error_Rate changed from 102 to 111
Nov 29 04:37:34 linux11 smartd[4790]: Device: /dev/sdb [SAT], SMART Usage Attribute: 195 Hardware_ECC_Recovered changed from 59 to 58
Nov 29 04:40:01 linux11 /usr/sbin/cron[30881]: (root) CMD (/usr/local/sbin/if-connect)
Nov 29 04:41:01 linux11 /usr/sbin/cron[30894]: (root) CMD (/usr/local/sbin/re-new-appache)
Nov 29 04:41:36 linux11 master[31008]: about to exec /usr/lib/cyrus/bin/lmtpd
Nov 29 04:41:36 linux11 lmtpunix[31008]: executed
Nov 29 04:41:36 linux11 lmtpunix[31008]: accepted connection
Nov 29 04:41:36 linux11 lmtpunix[31008]: lmtp connection preauth'd as postman
Nov 29 04:41:36 linux11 lmtpunix[31008]: IOERROR: fstating sieve script /var/lib/sieve/l/name/defaultbc: No such file or directory
Nov 29 04:41:36 linux11 lmtpunix[31008]: duplicate_check: <20091129034135.227AD4898E@linux11.lumicron.de> user.name           0
Nov 29 04:41:36 linux11 lmtpunix[31008]: duplicate_check: <20091129034135.227AD4898E@linux11.lumicron.de> user.name            0
Nov 29 04:41:36 linux11 lmtpunix[31008]: Delivered: <20091129034135.227AD4898E@linux11.domain.tld> to mailbox: user.name
Nov 29 04:41:36 linux11 lmtpunix[31008]: mystore: starting txn 2147483683
Nov 29 04:41:36 linux11 lmtpunix[31008]: mystore: committing txn 2147483683
Nov 29 04:41:36 linux11 lmtpunix[31008]: duplicate_mark: <20091129034135.227AD4898E@linux11.domain.tld> user.name            1259466096 658
Nov 29 04:41:36 linux11 lmtpunix[31008]: accepted connection
Nov 29 04:41:36 linux11 lmtpunix[31008]: lmtp connection preauth'd as postman
Nov 29 04:41:36 linux11 lmtpunix[31008]: IOERROR: fstating sieve script /var/lib/sieve/r/root/defaultbc: No such file or directory

mail
Code:
Nov 29 04:29:45 linux11 clamd[3560]: SelfCheck: Database status OK.
Nov 29 04:37:23 linux11 freshclam[3374]: Received signal: wake up
Nov 29 04:37:23 linux11 freshclam[3374]: ClamAV update process started at Sun Nov 29 04:37:23 2009
Nov 29 04:37:24 linux11 freshclam[3374]: main.cvd is up to date (version: 51, sigs: 545035, f-level: 42, builder: sven)
Nov 29 04:37:24 linux11 freshclam[3374]: Trying host database.clamav.net (130.133.110.67)...
Nov 29 04:37:25 linux11 freshclam[3374]: Downloading daily-10092.cdiff [100%]
Nov 29 04:37:25 linux11 freshclam[3374]: daily.cld updated (version: 10092, sigs: 115845, f-level: 44, builder: guitar)
Nov 29 04:37:25 linux11 freshclam[3374]: Database updated (660880 signatures) from database.clamav.net (IP: 130.133.110.67)
Nov 29 04:37:25 linux11 freshclam[3374]: Clamd successfully notified about the update.
Nov 29 04:37:25 linux11 freshclam[3374]: --------------------------------------
Nov 29 04:37:25 linux11 clamd[3560]: Reading databases from /var/lib/clamav
Nov 29 04:37:30 linux11 clamd[3560]: Database correctly reloaded (660183 signatures)
Nov 29 04:41:35 linux11 postfix/pickup[29981]: 227AD4898E: uid=0 from=<root>
Nov 29 04:41:35 linux11 postfix/cleanup[30977]: 227AD4898E: message-id=<20091129034135.227AD4898E@linux11.domain.tld>
Nov 29 04:41:35 linux11 postfix/qmgr[4757]: 227AD4898E: from=<root@linux11.domain.tld>, size=601, nrcpt=1 (queue active)
Nov 29 04:41:35 linux11 clamd[3560]: SelfCheck: Database status OK.
Nov 29 04:41:35 linux11 postfix/smtpd[30991]: connect from localhost[127.0.0.1]
Nov 29 04:41:35 linux11 postfix/smtpd[30991]: BECAE48936: client=localhost[127.0.0.1]
Nov 29 04:41:35 linux11 postfix/cleanup[30977]: BECAE48936: message-id=<20091129034135.227AD4898E@linux11.domain.tld>
Nov 29 04:41:35 linux11 postfix/smtpd[30991]: disconnect from localhost[127.0.0.1]
Nov 29 04:41:35 linux11 postfix/qmgr[4757]: BECAE48936: from=<root@linux11.domain.tld>, size=1043, nrcpt=1 (queue active)
Nov 29 04:41:35 linux11 amavis[13630]: (13630-02) Passed CLEAN, <root@linux11.lumicron.de> -> <root@linux11.domain.tld>, Message-ID: <20091129034135.227AD4898E@linux11.domain.tld>, mail_id: kZuSx3mH-T2R, Hits: -2.409, size: 601, queued_as: BECAE48936, 653 ms

mail.info
Code:
Nov 29 04:29:45 linux11 clamd[3560]: SelfCheck: Database status OK.
Nov 29 04:37:23 linux11 freshclam[3374]: Received signal: wake up
Nov 29 04:37:23 linux11 freshclam[3374]: ClamAV update process started at Sun Nov 29 04:37:23 2009
Nov 29 04:37:24 linux11 freshclam[3374]: main.cvd is up to date (version: 51, sigs: 545035, f-level: 42, builder: sven)
Nov 29 04:37:24 linux11 freshclam[3374]: Trying host database.clamav.net (130.133.110.67)...
Nov 29 04:37:25 linux11 freshclam[3374]: Downloading daily-10092.cdiff [100%]
Nov 29 04:37:25 linux11 freshclam[3374]: daily.cld updated (version: 10092, sigs: 115845, f-level: 44, builder: guitar)
Nov 29 04:37:25 linux11 freshclam[3374]: Database updated (660880 signatures) from database.clamav.net (IP: 130.133.110.67)
Nov 29 04:37:25 linux11 freshclam[3374]: Clamd successfully notified about the update.
Nov 29 04:37:25 linux11 freshclam[3374]: --------------------------------------
Nov 29 04:37:25 linux11 clamd[3560]: Reading databases from /var/lib/clamav
Nov 29 04:37:30 linux11 clamd[3560]: Database correctly reloaded (660183 signatures)
Nov 29 04:41:35 linux11 postfix/pickup[29981]: 227AD4898E: uid=0 from=<root>
Nov 29 04:41:35 linux11 postfix/cleanup[30977]: 227AD4898E: message-id=<20091129034135.227AD4898E@linux11.domain.tld>
Nov 29 04:41:35 linux11 postfix/qmgr[4757]: 227AD4898E: from=<root@linux11.domain.tld>, size=601, nrcpt=1 (queue active)
Nov 29 04:41:35 linux11 clamd[3560]: SelfCheck: Database status OK.
Nov 29 04:41:35 linux11 postfix/smtpd[30991]: connect from localhost[127.0.0.1]
Nov 29 04:41:35 linux11 postfix/smtpd[30991]: BECAE48936: client=localhost[127.0.0.1]
Nov 29 04:41:35 linux11 postfix/cleanup[30977]: BECAE48936: message-id=<20091129034135.227AD4898E@linux11.lumicron.de>
Nov 29 04:41:35 linux11 postfix/smtpd[30991]: disconnect from localhost[127.0.0.1]
Nov 29 04:41:35 linux11 postfix/qmgr[4757]: BECAE48936: from=<root@linux11.domain.tld>, size=1043, nrcpt=1 (queue active)
Nov 29 04:41:35 linux11 postfix/smtp[30985]: 227AD4898E: to=<root@linux11.domain.tld>, orig_to=<root>, relay=127.0.0.1[127.0.0.1]:10024, delay=3.8, delays=3.1/0.04/0.01/0.66, dsn=2.0.0, status=sent (250 2.0.0 Ok, id=13630-02, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as BECAE48936)
Nov 29 04:41:35 linux11 postfix/qmgr[4757]: 227AD4898E: removed
Nov 29 04:41:36 linux11 postfix/pipe[31003]: BECAE48936: to=<name@linux11.domain.tld>, orig_to=<root@linux11.domain.tld>, relay=cyrus, delay=0.44, delays=0.16/0.05/0/0.22, dsn=2.0.0, status=sent (delivered via cyrus service)
Nov 29 04:41:36 linux11 postfix/pipe[31003]: BECAE48936: to=<root@linux11.domain.tld>, relay=cyrus, delay=0.61, delays=0.16/0.05/0/0.39, dsn=2.0.0, status=sent (delivered via cyrus service)
Nov 29 04:41:36 linux11 postfix/qmgr[4757]: BECAE48936: removed

Wenn Du mehr brauchst sage mir bitte welche logs
Ich hoffe die Auszüge sind lang genug
 
OP
L

luwa

Member
oh sorry die configs vom Netzwerk

ifcfg-eth0
Code:
BOOTPROTO='static'
BROADCAST=''
ETHTOOL_OPTIONS=''
IPADDR='192.168.11.10/24'
MTU=''
NAME='DGE-528T Gigabit Ethernet Adapter'
NETMASK=''
NETWORK=''
REMOTE_IPADDR=''
STARTMODE='auto'
USERCONTROL='no'
PREFIXLEN='24'
ifcfg-eth1
Code:
BOOTPROTO='static'
BROADCAST=''
ETHTOOL_OPTIONS=''
IPADDR='192.168.33.10/24'
MTU=''
NAME='RTL-8139/8139C/8139C+'
NETWORK=''
REMOTE_IPADDR=''
STARTMODE='auto'
USERCONTROL='no'
PREFIXLEN='24'
/etc/sysconfig/network/config
Code:
## Path:	Network/General
DEFAULT_BROADCAST="+"
GLOBAL_POST_UP_EXEC="yes"
GLOBAL_PRE_DOWN_EXEC="yes"
CHECK_DUPLICATE_IP="no"
DEBUG="no"
USE_SYSLOG="yes"
CONNECTION_SHOW_WHEN_IFSTATUS="no"
CONNECTION_CHECK_BEFORE_IFDOWN="no"
CONNECTION_CLOSE_BEFORE_IFDOWN="no"
CONNECTION_UMOUNT_NFS_BEFORE_IFDOWN="no"
CONNECTION_SEND_KILL_SIGNAL="no"
MANDATORY_DEVICES=""
WAIT_FOR_INTERFACES="30"
FIREWALL="yes"
LINKLOCAL_INTERFACES="eth*[0-9]|tr*[0-9]|wlan[0-9]|ath[0-9]"
IFPLUGD_OPTIONS="-f -I -b"
NETWORKMANAGER="no"
NM_ONLINE_TIMEOUT="0"
NETCONFIG_MODULES_ORDER="dns-resolver dns-bind dns-dnsmasq nis ntp-runtime"
NETCONFIG_DNS_POLICY=""
NETCONFIG_DNS_FORWARDER=""
NETCONFIG_DNS_STATIC_SEARCHLIST="domain.tld"
NETCONFIG_DNS_STATIC_SERVERS="192.168.11.10"
NETCONFIG_NTP_POLICY="auto"
NETCONFIG_NTP_STATIC_SERVERS="ptbtime2.ptb.de"
NETCONFIG_NIS_POLICY="auto"
NETCONFIG_NIS_SETDOMAINNAME="yes"
NETCONFIG_NIS_STATIC_DOMAIN=""
NETCONFIG_NIS_STATIC_SERVERS=""
ifcfg-lo
Code:
IPADDR=127.0.0.1
NETMASK=255.0.0.0
NETWORK=127.0.0.0
BROADCAST=127.255.255.255
STARTMODE=onboot
USERCONTROL=no
FIREWALL=no
dhcpd
Code:
## Path: 	Network/DHCP/DHCP server
DHCPD_INTERFACE="eth0"
DHCPD_RUN_CHROOTED="yes"
DHCPD_CONF_INCLUDE_FILES=""
DHCPD_RUN_AS="dhcpd"
DHCPD_OTHER_ARGS=""
DHCPD_BINARY=""
named
Code:
## Path: Network/DNS/Name Server
NAMED_RUN_CHROOTED="yes"
NAMED_ARGS=""
NAMED_CONF_INCLUDE_FILES=""
NAMED_INITIALIZE_SCRIPTS="createNamedConfInclude"
hosts
Code:
::1             localhost ipv6-localhost ipv6-loopback
127.0.0.1       localhost
192.168.11.10    linux11.domain.tld linux11
named.conf
Code:
options {
	dump-file "/var/log/named_dump.db";
	statistics-file "/var/log/named.stats";
	listen-on-v6 { any; };
	allow-query { 127.0/16; 192.168.11/24; };
	notify no;
	include "/etc/named.d/forwarders.conf";
};

zone "." in {
	type hint;
	file "root.hint";
};

zone "localhost" in {
	type master;
	file "localhost.zone";
};

zone "0.0.127.in-addr.arpa" in {
	type master;
	file "127.0.0.zone";
};

zone "domain.tld" in {
	type master;
	file "./master/reverse.zone";
};

zone "11.168.192.in-addr.arpa" in {
	type master;
	file "./master/mynet.zone";
};
Ja mein Internet ist quälend langsam. Wie an der Config zu sehen habe ich nun keinen externen DNS mehr.
reverse.zone
Code:
; location /var/lib/named/master/
$TTL 1W
@		IN SOA	linux11.domain.tld.   root.linux11.domain.tld. (
				46		; serial (20090811)
				2D		; refresh
				4H		; retry
				6W		; expiry
				1W )		; minimum

		IN NS		linux11
		IN MX	10	linux11

linux11		IN A		192.168.11.10
www2		IN CNAME	linux11
mail		IN CNAME	linux11
fax		IN CNAME	linux11

mobile-2	IN A		192.168.11.13
mobile-wlan	IN A		192.168.11.14
media		IN A		192.168.11.15
work		IN A		192.168.11.16
test-pc		IN A		192.168.11.17
mobile-eth	IN A		192.168.11.18
mynet.zone
Code:
; location /var/lib/named/master/
$TTL 1W
@		IN SOA		linux11.domain.tld.   root.linux11.domain.tld. (
				45		; serial (20090811)
				2D		; refresh
				4H		; retry
				6W		; expiry
				1W )		; minimum

		IN NS		linux11.domain.tld.

10		IN PTR		linux11.domain.tld.
13		IN PTR		mobile-2.domain.tld.
14		IN PTR		mobile-wlan.domain.tld.
15		IN PTR		media.domain.tld.
16		IN PTR		work.domain.tld.
17		IN PTR		test-pc.domain.tld.
18		IN PTR		mobile-eth.domain.tld.
dhcpd.conf
Code:
option domain-name "domain.tld";
option subnet-mask 255.255.255.0;
option domain-name-servers 192.168.11.10;
option routers 192.168.11.10;
ddns-update-style none;
default-lease-time 14400;
host mobile-wlan {
  hardware ethernet 0a:2c:fb:5f:e4:6c;
  fixed-address 192.168.11.14;
}
host mobile-eth {
  hardware ethernet f0:10:33:2d:b3:c4;
  fixed-address 192.168.11.18;
}
subnet 192.168.11.0 netmask 255.255.255.0 {
  range 192.168.11.20 192.168.11.22;
  default-lease-time 1440;
  max-lease-time 8640;
}
Ich hoffe ich habe nicht zuviel reingepackt. Einfach löschen wenns die Datenbank belastet.
 

spoensche

Moderator
Teammitglied
Das erste, was mir auffällt ist

Code:
fetchmail: Server certificate verification error: self signed certificate in certificate chain
fetchmail: Server certificate verification error: certificate has expired

Deshalb bricht fetchmail auch ab. Überprüfe das mal und behebe den Fehler.
Wenn du das Zertifikatsproblem behoben hast, dann testest du, ob es wieder funktioniert wie es soll.


Folgendes hat zwar nichts mit dem eigentlichen Problem zu tun.

Code:
Nov 29 04:37:34 linux11 smartd[4790]: Device: /dev/sda [SAT], SMART Usage Attribute: 199 UDMA_CRC_Error_Count changed from 174 to 142
Nov 29 04:37:34 linux11 smartd[4790]: Device: /dev/sdb [SAT], SMART Prefailure Attribute: 1 Raw_Read_Error_Rate changed from 102 to 111
Nov 29 04:37:34 linux11 smartd[4790]: Device: /dev/sdb [SAT], SMART Usage Attribute: 195 Hardware_ECC_Recovered changed from 59 to 58

Vorsichtshalber solltest du dir mal mit smartctl -a die Informationen der Platten anzeigen lassen.
 
OP
L

luwa

Member
Das abgelaufene Zertifikat war es nicht. Hatte ich jetzt in der fetchmailrc auskommentiert. Auch noch mal alte fetchmail.log.gz angesehen. 3 MB wo das Zertifikat angemeckert wurde aber alles funktionierte.

Ich mach jetzt ne Neuinstallation mit Suse 11.2 und wenn alles läuft sichere ich mir die Configs.
Danke für die Mühe
 

spoensche

Moderator
Teammitglied
luwa schrieb:
Das abgelaufene Zertifikat war es nicht. Hatte ich jetzt in der fetchmailrc auskommentiert. Auch noch mal alte fetchmail.log.gz angesehen. 3 MB wo das Zertifikat angemeckert wurde aber alles funktionierte.

Du sollst dann nicht in alten Logfiles nachsehen, sondern in dem aktuellen und den Inhalt posten.

luwa schrieb:
Ich mach jetzt ne Neuinstallation mit Suse 11.2 und wenn alles läuft sichere ich mir die Configs.

Linux ist nicht Windows. Eine Neuinstallation ist unnötig, der Wille das Problem zu lösen dagegen ist unerlässlich.
 
OP
L

luwa

Member
Du sollst dann nicht in alten Logfiles nachsehen, sondern in dem aktuellen und den Inhalt posten.
Doch! Soll ich! Ich will nämlich das Problem lösen. Das heist halt auch herausfinden ob die Meldungen, welche Du für die Ursache hälst, in früheren Fällen zu einem Fehler geführt haben. Und wenn der Kram trotz abgelaufener Zertifikate drei Monate läuft, wird es schwierig zu erklären warum es bei gleicher Meldung plötzlich nicht mehr funzt.
Linux ist nicht Windows......das Problem zu lösen...
Richtig, keine kryptischen Schlüssel, keine unverständlichen Werte. Feine Klartext configs und kaum notwendige Neustarts. Wenn ich das Gefühl hätte mich dem Problem zu nähern würde ich gern auf die Neuinstallation verzichten (ich würde dann auch was lernen). Aber in vermutlich 5-6 Stunden habe ich das Teil neu gemacht. Ich brüte aber schon 10-15 Stunden an dem Problem.

BITTE nicht nur überfliegen
Ich glaube das Problem ist hier falsch, es gehört wohl eher zu Postfix???? Keine Ahnung.
Solange der fetchmail meldete SMTP connect to localhost failed bekam ich mit telnet localhost 25 keine Verbindung. Nachdem ich den externen DNS aus der forwarders.conf herausgenommen habe bekomme ich eine Verbindung (Postfix mit amavisd-new und spamassassin). Auch zum Port 10025 aber nicht mehr zum Port 10024. Der Postfix nimmt ja an 25 die Mail entgegen reicht sie über 10024 an den amavis weiter und bekommt sie dann an 10025 zurück um sie auszuliefern. Was ich nicht verstehe ist wie dieses Verhalten mit der forwarders.conf zusammenhängt bzw. mit der Einrichtung des WLAN-Sticks.

Sitze gerade am Win-Client. mail-log liefere ich nach
SuSEconfig habe ich laufen lassen nach dem ich in den configs rumeditiert habe. Muss noch mal nachschauen ob ich den postfix aus der SuSEconfig herausgenommen hatte.
Danke für Deine Geduld
 
OP
L

luwa

Member
So, die Befürchtung liegt nahe das es die hosts war. die IPv6 adresse sollte nicht als erstes stehen. Erstaunlich das Port 10025 aufgelöst werden konnte und 10024 nicht. Die 127.0.0.1 an erste Stelle gesetzt und 10024 funzt und 25 sowie 10025 nicht. amavis und postfix neu gestartet, alles läuft.
Beobachten!

[EDIT]
Abschluß:
Es war die /etc/hosts. Anscheinend kann der Postfix mit IPv6 und der amavisd kann es nicht. Auf jeden Fall werde ich bei späteren Änderungen im System konsequent dokumentieren was ich tue. Die hosts habe ich mir beim basteln wohl selber zerschossen. Hätte ich in der hosts.conf das order hosts, bind auf order bind, hosts geändert wäre das Problem wohl schnell gelöst gewesen (reine Hypothese).

@spoensche
Danke für das treten. Ohne Dich hätte ich die Kiste einfach nur neu gemacht.
 
Oben