• This forum has a zero tolerance policy regarding spam. If you register here to publish advertising, your user account will be deleted without further questions.

Probleme mit Webmin install

tkmc

Registered User
Hallo zusammen, ich versuche mir grade zu Hause einen Webserver aufzusetzen. Ich habe Debian 3.1 ohne extras installiert und wollte grad über die Console webmin installieren.

mit apt-get install webmin startet er auch die Installation. Er sagt mir aber dann folgendes:
miniserv.pem: Datei oder Verzeichnis nicht gefunden
hostname: Unknown host
dpkg: Fehler beim Bearbeiten von webmin (--configure):
Unterprozess post-installation script gab den Fehlerwert 1 zurück
Fehler traten auf beim Bearbeiten von:
webmin
E: Sub-process /usr/bin/dpkg returned an error code
Was kann oder muss ich tun?


2. Frage:
Wie änder ich die Netzwerkkonfiguration des Servers? Der bekommt noch eine dynamische ip vom Router zugewiesen z.B. 192.168.2.101 ...er soll aber fest die 192.168.2.10 bekommen.
 
Last edited by a moderator:
update:
Trotz des aufgetretenen Fehlers kann ich die Webminseite über das Netzwerk erreichen.
Wenn ich jetzt Module installieren möchte sagt er:

Downloading apache.wbm.gz ..
Downloading http://download.webmin.com/download/modules/apache.wbm.gz (342821 bytes) ..
Received 1024 bytes (0 %)
Received 34816 bytes (10 %)
Received 68608 bytes (20 %)
Received 103424 bytes (30 %)
Received 137216 bytes (40 %)
Received 172032 bytes (50 %)
Received 205824 bytes (60 %)
Received 240640 bytes (70 %)
Received 274432 bytes (80 %)
Received 309248 bytes (90 %)
Received 342821 bytes (100 %)
.. Download complete.

Failed to install standard module : Module apache requires Webmin version 1.270 or above


Wie kann ich Webmin updaten??

Wenn ich auf "upgrade webmin" gehe fehlt dort das Modul proc.

proc kann ich nicht installieren weil das auch die 1.270 benötigt.
 
Wie trage ich Webmin so ein das es automatisch beim booten gestartet wird?
Momentan muss es von Hand gestartet werden.
 
Lad dir die aktuelle Webmin Version von hier herunter:
http://prdownloads.sourceforge.net/webadmin/webmin-1.270.tar.gz

Die Beste Methode für Webmin ist ihn im inetd laufen zu lassen:
http://www.webmin.com/faq.html => Frage 21:

http://www.webmin.com/faq.html said:
Can Webmin be run from inetd?

Yes, with some small changes to the config files. The steps you need to follow are :

* Stop webmin with the command /etc/webmin/stop
* Add the line inetd=1 to /etc/webmin/miniserv.conf
* Remove the line session=1 from /etc/webmin/miniserv.conf
* Edit /etc/services and add a line like :
webmin 10000/tcp
* Edit /etc/inetd.conf and add a line like :
webmin stream tcp nowait root /usr/libexec/webmin/miniserv.pl miniserv.pl /etc/webmin/miniserv.conf
If you have installed webmin somewhere else, you will have to change the /usr/libexec/webmin part of the path above.
* Restart inetd to make the changes take effect. You should now be able to access webmin on port 10000 as normal.
* Using the Bootup and Shutdown module, make sure that inetd is configured to start at boot time, and that webmin is not.

If you are using xinetd instead of inetd, follow these steps instead :

* Stop webmin with the command /etc/webmin/stop
* Add the line inetd=1 to /etc/webmin/miniserv.conf
* Remove the line session=1 from /etc/webmin/miniserv.conf
* Edit /etc/xinetd.conf and add a section like :

service webmin
{
user = root
env = LANG=
port = 10000
socket_type = stream
protocol = tcp
wait = no
disable = no
type = UNLISTED
server = /usr/libexec/webmin/miniserv.pl
server_args = /etc/webmin/miniserv.conf
}

If you have installed webmin somewhere else, you will have to change the /usr/libexec/webmin part of the path above.
* Restart xinetd to make the changes take effect. You should now be able to access webmin on port 10000 as normal.
* Using the Bootup and Shutdown module make sure that xinetd is configured to start at boot time, and that webmin is not.

To run Usermin from inetd or xinetd, follow the exact same steps but replace /etc/webmin with /etc/usermin and change the port to 20000.
 
Davon abgesehen kann man WEbmin über den Webmin Hauptknopf auch updaten, bzw. sogar ein automatisches Update einrichten.

per apt-get gehts in der Tat nicht so toll, die händische Installation dauert auch nicht viel länger und funktioniert besser. Ausserdem macht man so gleich die aktuellste Version drauf.

Grüße,
Thunda
 
Yep, ich würde dir auch raten, apt-get remove webmin

und dann dann lade die das tar.gz runter.

Ich verschiebe das ganze dann immer nach /usr/local dann entpacken

gunzip web [tab] tar xvf web [tab] dann gehst du ins verzeichniss

webmin[version] rufts dort ./setup.sh auf

Im prinzip kannst du alles mit ja beantworten.

Passwort auswählen und ich würde auch nicht den vorgeschlagen port 10000 nehmen.

Use ssl yes

Bootime start yes

fertig.

Hat bei mir auf den unterschiedlichsten distributionen und version immer funktioniert.

Gruessle

Oliver
 
Back
Top