Skip to content
 

Webmin

If you work with Webmin on Debian, you may have some problems when you download a module which is not available in a package (i.e, Amavis).

When you try to access to it, it may fail and give back an error message like :
Undefined subroutine &main::init_config called at /usr/local/share/webmin/<your_module>/…

This is just because the module was made to work in a Linux environnement like Red Hat derived distros.

Debian uses some particular paths, so you have to :

$ mv /usr/local/share/webmin/squidguard/ /usr/share/webmin/
$ cd /usr/local/share/
$ rmdir webmin
$ ln -s /usr/share/webmin

Related posts:

  1. Hostname issue with Postfix Webmin module
  2. Getting colors in the terminal

One Comment

  1. Aidan says:

    Thanks man, fixed same problem i was having.

    Can’t wait till some legends start packaging webmin for debian again, seems crazy its not in Etch.

Leave a Reply