Installation fehlerhaft
Installation fehlerhaft
Installation ist abgebrochen. Fehler-Log ist im Anhang. Ich werde da nicht schlau draus,
bin aber auch etwas übermüdet.
Vielleicht findet ihr ja was?
J
- Attachments
-
- install_log.txt
- (154.6 KiB) Downloaded 241 times
Re: Installation fehlerhaft
Re: Installation fehlerhaft
https://community.keyhelp.de/viewto ... &start=15
Re: Installation fehlerhaft
Die Installation könntest du dann leicht im Anschluss noch korrigieren, in dem du im Log nach "ERROR DETECTED" suchst.
Dann schaust du in die Zeile, die den Fehler ausgelöst hat, in dem Fall:
Code: Select all
exec | su - amavis -s /bin/bash -c 'pyzor discover'
Code: Select all
su - amavis -s /bin/bash -c 'pyzor discover'
Code: Select all
[SKIPPED DUE PREVIOUS ERRORS] exec | usermod -aG amavis clamav
[SKIPPED DUE PREVIOUS ERRORS] exec | chmod 0600 /etc/amavis/conf.d/50-user
[SKIPPED DUE PREVIOUS ERRORS] exec | service clamav-daemon restart
[SKIPPED DUE PREVIOUS ERRORS] exec | service amavis restart
[SKIPPED DUE PREVIOUS ERRORS] exec | service spamassassin restart
[SKIPPED DUE PREVIOUS ERRORS] exec | systemctl enable spamassassin
Somit kann man kleine Installationsfehler selbst korrigieren, ohne das man gleich neu Installieren muss.
Alexander Mahr
**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
Re: Installation fehlerhaft
danke für eure Antworten. Auch Bezug nehmend auf diesen Beitrag:
Ich habe nun mal geschaut:
Code: Select all
root@web ~ # repquota /
repquota: Mountpoint (or device) / not found or has no quota enabled.
repquota: Not all specified mountpoints are using quota.
root@web ~ # cat /etc/hostname
web
root@web ~ # hostname -f
web.jacboy.com
root@web ~ #
Code: Select all
root@web ~ # cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda1 during installation
UUID=52f500d5-d584-4945-bba4-7f7defd162e5 / ext4 discard,errors=remount-ro 0 1
/dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0
Code: Select all
root@web ~ # fdisk -l
Disk /dev/sda: 19.1 GiB, 20480786432 bytes, 40001536 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x873f3d47
Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 40001502 39999455 19.1G 83 Linux
root@web ~ # df -h
Filesystem Size Used Avail Use% Mounted on
udev 967M 0 967M 0% /dev
tmpfs 196M 3.1M 193M 2% /run
/dev/sda1 19G 1.6G 17G 9% /
tmpfs 977M 0 977M 0% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 977M 0 977M 0% /sys/fs/cgroup
tmpfs 196M 0 196M 0% /run/user/0
Sobald das korrigiert ist, werde ich die Installation erneut versuchen.
Beste Grüße,
Jay
Re: Installation fehlerhaft
sofern es sich um ein Minimalsystem handelt und die fstab wie angezeigt aussieht, so ergänzt die KeyHelp Installation "usrquota,grpquota" als Parameter selbstständig.
Die Installation sollte entsprechend ohne Fehler durchlaufen.
Martin
Re: Installation fehlerhaft
in Ordnung. Dann wollen wir mal.
Ich melde mcih noch mal

J
Re: Installation fehlerhaft
die Installation lief nun durch. Wieder am gleichen Schritt der Fehler wie heute Nacht, siehe Logfile. Ich habe es also erneut von Hand versucht.
Code: Select all
root@web ~ # su - amavis -s /bin/bash -c 'pyzor discover'
downloading servers from http://pyzor.sourceforge.net/cgi-bin/inform-servers-0-3-x
Traceback (most recent call last):
File "/usr/bin/pyzor", line 8, in <module>
pyzor.client.run()
File "/usr/lib/python2.7/dist-packages/pyzor/client.py", line 1022, in run
ExecCall().run()
File "/usr/lib/python2.7/dist-packages/pyzor/client.py", line 186, in run
download(config.get('client', 'DiscoverServersURL'), servers_fn)
File "/usr/lib/python2.7/dist-packages/pyzor/client.py", line 1031, in download
open(outfile, "wb").write(urllib2.urlopen(url).read())
File "/usr/lib/python2.7/urllib2.py", line 154, in urlopen
return opener.open(url, data, timeout)
File "/usr/lib/python2.7/urllib2.py", line 429, in open
response = self._open(req, data)
File "/usr/lib/python2.7/urllib2.py", line 447, in _open
'_open', req)
File "/usr/lib/python2.7/urllib2.py", line 407, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/urllib2.py", line 1228, in http_open
return self.do_open(httplib.HTTPConnection, req)
File "/usr/lib/python2.7/urllib2.py", line 1198, in do_open
raise URLError(err)
urllib2.URLError: <urlopen error [Errno 111] Connection refused>
Code: Select all
root@web ~ # usermod -aG amavis clamav
root@web ~ # chmod 0600 /etc/amavis/conf.d/50-user
root@web ~ # service clamav-daemon restart
root@web ~ # service amavis restart
root@web ~ # service spamassassin restart
root@web ~ #
root@web ~ # systemctl enable spamassassin
Synchronizing state of spamassassin.service with SysV init with /lib/systemd/systemd-sysv-install...
Executing /lib/systemd/systemd-sysv-install enable spamassassin
Eine Idee?
Mein fstab sieht jetzt so aus:
Code: Select all
root@web ~ # cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda1 during installation
UUID=52f500d5-d584-4945-bba4-7f7defd162e5 / ext4 discard,errors=remount-ro,usrquota,grpquota 0 1
/dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0
Beste Grüße,
J
- Attachments
-
- installlog.txt
- (153.24 KiB) Downloaded 241 times
Re: Installation fehlerhaft
das Problem mit Pyzor konnte ich soweit nachvollziehen, hier scheint aktuell der Server für die Pyzor Dateien nicht korrekt zu antworten.
Hier sollten ggf. die von Alex geposteten Schritte Abhilfe schaffen.
Nachtrag:
Aktuell schlägt in der Tat die Verbindung für den pyzor "discover" fehl, dies kann zunächst auch weggelassen werden und später nachgeholt werden.
Zur Korrektur müssen lediglich die von Alex genannten Befehle einmal noch manuell ausgeführt werden.
Martin
Re: Installation fehlerhaft
genau das habe ich schon erledigt. Ich werde morgen versuchen, den fehlgeschlagenen Befehl erneut auszuführen und werde dann noch einmal die Befehle darunter hinterher schieben. Das wird schon wieder online kommen.
Was genau tut Amavis / Pyzor denn, was nun temporär nicht tut?
Beste Grüße,
J
Re: Installation fehlerhaft
Re: Installation fehlerhaft
genauer ist Pyzor einer der Dienste den Amavis für die Spambewertung heranzieht, prinzipiell funktioniert die Spamerkennung aber auch ohne diesen Dienst.
Martin
Re: Installation fehlerhaft
der Mirror ist leider immer noch tut. Es wäre hier vielleicht sinnvoll,
darüber nachzudenken, mit der nächsten Version von KH, die ihr ja bald pushen wollt,
selbst einen Mirror zu betreiben oder diesen zu wechseln. Alternativ könnte man auch das Install-Script anpassen,
dass sowas ein Warning wirft (und das auch im Install-Screen so abgebildet wird), aber nicht gleich die Installation und die darauf folgenden Befehle abblockt.
Beste Grüße,
J
Re: Installation fehlerhaft
nun scheint es funktioniert zu haben. Wie kann ich das ggf. überprüfen?
Code: Select all
root@web ~ # su - amavis -s /bin/bash -c 'pyzor discover'
downloading servers from http://pyzor.sourceforge.net/cgi-bin/inform-servers-0-3-x
root@web ~ # usermod -aG amavis clamav
root@web ~ # chmod 0600 /etc/amavis/conf.d/50-user
root@web ~ # service clamav-daemon restart
root@web ~ # service amavis restart
root@web ~ # service spamassassin restart
root@web ~ # systemctl enable spamassassin
Synchronizing state of spamassassin.service with SysV init with /lib/systemd/systemd-sysv-install...
Executing /lib/systemd/systemd-sysv-install enable spamassassin
Beste Grüße,
Jay
Re: Installation fehlerhaft
https://de.m.wikipedia.org/wiki/EICAR-Testdatei
und
https://de.m.wikipedia.org/wiki/GTUBE
Tobi
-----------------------------
wewoco.de
Das Forum für Reseller, Digital-Agenturen, Bildschirmarbeiter und Mäuseschubser