I have a hosting server with installed OS Debian 6 “squeeze” AMD64. There was about 100 virtual-servers.
Worked fine about 2 years. Most of hosted sites are nonprofit and because of it I can’t buy a Pro license and use a GPL one.
Some days ago I wanted to upgrade OS to version 7, thinking of better MySQL, Apache and kernel performance. Something went wrong and server was injured…
After this upgrade, panel displayed an write-error to file: “/etc/webmin/virtual-server/config”. I created it manually and rechecked server configuration from Virtualmin.
Now panel does not see any virtual-server, just display: “No virtual servers have been created yet”. But all sites work, same for DNS, FTP, mail, etc (after some fixes in Apache and PHP configuration files).
Is possible somehow to repopulate virtual-server list? Can anyone help me?
Hrm, it’s surprising to see write errors regarding that file. It should be possible to upgrade to Debian 7, that upgrade process has been testing and shouldn’t cause any problems of that sort.
In fact, the Virtualmin version remains the same between Debian 6 and 7, it’s just the other packages that are different.
Do you happen to have the exact error that you received?
Do you happen to have the exact error that you received?
<<After upgrade panel said that can’t access for writing file “/etc/webmin/virtual-server/config”, and does not content anything on “Virtualmin” tab.
I created this file manually, after that panel opens, asked me for update information about OS, asked for a configuration check, but displayed “No virtual servers have been created yet”.
I checked some backups from October till now, but no one have /etc/webmin/virtual-server/ directory.
Backups were made with “Filesystem Backup” utility from Webmin.
I configured backup of directories /etc /var and /opt.
I remembered…
There was Virtualmin 4.04 installed, and I updated it to 4.05 before OS upgrade.
When I sow that update failed and does not display virtual-servers, I restored files from archive.
Also tried reinstall Virtualmin by script.
grep webmin-virtual-server /var/log/dpkg.log 2014-02-13 09:16:02 upgrade webmin-virtual-server 4.04.gpl 4.05.gpl
2014-02-13 09:16:02 status half-configured webmin-virtual-server 4.04.gpl
2014-02-13 09:16:03 status unpacked webmin-virtual-server 4.04.gpl
2014-02-13 09:16:03 status half-installed webmin-virtual-server 4.04.gpl
2014-02-13 09:16:04 status half-installed webmin-virtual-server 4.04.gpl
2014-02-13 09:16:04 status unpacked webmin-virtual-server 4.05.gpl
2014-02-13 09:16:04 status unpacked webmin-virtual-server 4.05.gpl
2014-02-13 09:16:04 configure webmin-virtual-server 4.05.gpl 4.05.gpl
2014-02-13 09:16:04 status unpacked webmin-virtual-server 4.05.gpl
2014-02-13 09:16:04 status half-configured webmin-virtual-server 4.05.gpl
2014-02-13 09:16:48 status installed webmin-virtual-server 4.05.gpl
2014-02-13 15:48:47 status installed webmin-virtual-server-mobile 2.6
2014-02-13 15:48:47 remove webmin-virtual-server-mobile 2.6 2.6
2014-02-13 15:48:47 status half-configured webmin-virtual-server-mobile 2.6
2014-02-13 15:48:47 status half-installed webmin-virtual-server-mobile 2.6
2014-02-13 15:48:47 status config-files webmin-virtual-server-mobile 2.6
2014-02-13 15:48:47 status config-files webmin-virtual-server-mobile 2.6
2014-02-13 15:48:47 status config-files webmin-virtual-server-mobile 2.6
2014-02-13 15:48:47 status not-installed webmin-virtual-server-mobile
2014-02-13 15:48:47 status installed webmin-virtual-server-theme 8.7
2014-02-13 15:48:47 remove webmin-virtual-server-theme 8.7 8.7
2014-02-13 15:48:47 status half-configured webmin-virtual-server-theme 8.7
2014-02-13 15:48:52 status half-installed webmin-virtual-server-theme 8.7
2014-02-13 15:48:52 status config-files webmin-virtual-server-theme 8.7
2014-02-13 15:48:52 status config-files webmin-virtual-server-theme 8.7
2014-02-13 15:48:52 status config-files webmin-virtual-server-theme 8.7
2014-02-13 15:48:52 status not-installed webmin-virtual-server-theme
2014-02-13 15:48:53 status installed webmin-virtual-server 4.05.gpl
2014-02-13 15:48:53 remove webmin-virtual-server 4.05.gpl 4.05.gpl
2014-02-13 15:48:53 status half-configured webmin-virtual-server 4.05.gpl
2014-02-13 15:48:53 status half-installed webmin-virtual-server 4.05.gpl
2014-02-13 15:48:53 status config-files webmin-virtual-server 4.05.gpl
2014-02-13 15:48:53 status config-files webmin-virtual-server 4.05.gpl
2014-02-13 15:48:53 status config-files webmin-virtual-server 4.05.gpl
2014-02-13 15:48:53 status not-installed webmin-virtual-server
2014-02-13 16:42:31 install webmin-virtual-server:all 4.05.gpl
2014-02-13 16:42:31 status half-installed webmin-virtual-server:all 4.05.gpl
2014-02-13 16:42:31 status not-installed webmin-virtual-server:all
2014-02-13 16:42:31 install webmin-virtual-server-theme:all 8.7
2014-02-13 16:42:31 status half-installed webmin-virtual-server-theme:all 8.7
2014-02-13 16:42:31 status not-installed webmin-virtual-server-theme:all
2014-02-13 17:07:13 install webmin-virtual-server:all 4.05.gpl
2014-02-13 17:07:13 status half-installed webmin-virtual-server:all 4.05.gpl
2014-02-13 17:07:14 status unpacked webmin-virtual-server:all 4.05.gpl
2014-02-13 17:07:14 status unpacked webmin-virtual-server:all 4.05.gpl
2014-02-13 17:07:14 install webmin-virtual-server-theme:all 8.7
2014-02-13 17:07:14 status half-installed webmin-virtual-server-theme:all 8.7
2014-02-13 17:07:15 status unpacked webmin-virtual-server-theme:all 8.7
2014-02-13 17:07:15 status unpacked webmin-virtual-server-theme:all 8.7
2014-02-13 17:07:38 configure webmin-virtual-server:all 4.05.gpl
2014-02-13 17:07:38 status unpacked webmin-virtual-server:all 4.05.gpl
2014-02-13 17:07:38 status half-configured webmin-virtual-server:all 4.05.gpl
2014-02-13 17:07:51 status installed webmin-virtual-server:all 4.05.gpl
2014-02-13 17:07:52 configure webmin-virtual-server-theme:all 8.7
2014-02-13 17:07:52 status unpacked webmin-virtual-server-theme:all 8.7
2014-02-13 17:07:52 status half-configured webmin-virtual-server-theme:all 8.7
2014-02-13 17:07:52 status installed webmin-virtual-server-theme:all 8.7
2014-02-13 18:17:08 install webmin-virtual-server-mobile:all 2.6
2014-02-13 18:17:08 status half-installed webmin-virtual-server-mobile:all 2.6
2014-02-13 18:17:09 status unpacked webmin-virtual-server-mobile:all 2.6
2014-02-13 18:17:09 status unpacked webmin-virtual-server-mobile:all 2.6
2014-02-13 18:17:10 configure webmin-virtual-server-mobile:all 2.6
2014-02-13 18:17:10 status unpacked webmin-virtual-server-mobile:all 2.6
2014-02-13 18:17:11 status half-configured webmin-virtual-server-mobile:all 2.6
2014-02-13 18:17:12 status installed webmin-virtual-server-mobile:all 2.6
2014-02-13 20:50:00 upgrade webmin-virtual-server:all 4.05.gpl 4.04.gpl
2014-02-13 20:50:00 status half-configured webmin-virtual-server:all 4.05.gpl
2014-02-13 20:50:03 status unpacked webmin-virtual-server:all 4.05.gpl
2014-02-13 20:50:04 status half-installed webmin-virtual-server:all 4.05.gpl
2014-02-13 20:50:06 status half-installed webmin-virtual-server:all 4.05.gpl
2014-02-13 20:50:07 status unpacked webmin-virtual-server:all 4.04.gpl
2014-02-13 20:50:07 status unpacked webmin-virtual-server:all 4.04.gpl
2014-02-13 20:50:07 configure webmin-virtual-server:all 4.04.gpl 4.04.gpl
2014-02-13 20:50:07 status unpacked webmin-virtual-server:all 4.04.gpl
2014-02-13 20:50:07 status half-configured webmin-virtual-server:all 4.04.gpl
2014-02-13 20:50:29 status installed webmin-virtual-server:all 4.04.gpl
2014-02-17 12:53:55 upgrade webmin-virtual-server:all 4.04.gpl 4.05.gpl
2014-02-17 12:53:55 status half-configured webmin-virtual-server:all 4.04.gpl
2014-02-17 12:53:55 status unpacked webmin-virtual-server:all 4.04.gpl
2014-02-17 12:53:55 status half-installed webmin-virtual-server:all 4.04.gpl
2014-02-17 12:53:57 status half-installed webmin-virtual-server:all 4.04.gpl
2014-02-17 12:53:57 status unpacked webmin-virtual-server:all 4.05.gpl
2014-02-17 12:53:57 status unpacked webmin-virtual-server:all 4.05.gpl
2014-02-17 12:53:57 configure webmin-virtual-server:all 4.05.gpl
2014-02-17 12:53:57 status unpacked webmin-virtual-server:all 4.05.gpl
2014-02-17 12:53:58 status half-configured webmin-virtual-server:all 4.05.gpl
2014-02-17 12:54:16 status installed webmin-virtual-server:all 4.05.gpl
Ah, I think the issue is that somewhere in there, Virtualmin itself was removed, which deleted the Virtualmin config files.
You may want to look into restoring the /etc/webmin/virtual-server directory from a backup (after making a backup of what you have now).
Though, I’m a bit concerned about that too unfortunately, as it almost sounds like your backup may not contain all the files you need. However, I’d give it a try – restore that directory (and all the subdirectories), restart the Webmin process, and see if that resolves your issue.