Uninstalled Proftpd and destroyed my user interface

Please help! I had Virtualmin and Webmin installed and working perfectly. I attempted to change the machines hostname and when the system rebooted, MySql and Proftpd were both not connecting. MySql eventually came on but Proftpd would not. I changed the hostname back to the original name and still no luck with Proftpd. After searching for a solution i uninstalled Proftpd with the intention on reinstalling it via Webmin. When I returned to Webmin i was greeted with a very 'old-school' menu system and no Virtualmin to speak of. What do I do? did I lose all my virtual domains and information? I cannot get any of my domains to resolve anymore. Please Help.

Status: 
Closed (fixed)

Comments

The proftpd package is a dependency of Virtualmin. So, in removing ProFTPd, it's possible you inadvertently removed Virtualmin as well.

What output do you see if you type this on the command line:

dpkg -l 'webmin-virtual-server*'

That should show whether Virtualmin is currently installed. If it's not installed, you may need to reinstall it, along with any other packages that had been uninstalled. You can see the full dpkg/apt log (which will show what was installed and removed) in /var/log/dpkg.log.

Here is the output:

"Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Installed/Config-f/Unpacked/Failed-cfg/Half-inst/t-aWait/T-pend |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad) ||/ Name Version Description +++-==============-==============-============================================ ii webmin-virtual 3.78.gpl Webmin module for 'Virtualmin Virtual Server ii webmin-virtual 2.3 Webmin theme 'Virtualmin Mobile Theme' pn webmin-virtual (no description available)"

What do I do now?

The good news is that Virtualmin is installed. However, it appears as if your theme may not be.

Try typing this:

apt-get install webmin-virtual-server-theme

And then, if things still don't look right -- in Virtualmin, make sure you're setup to use the Virtualmin Framed theme. You can do that in Webmin -> Webmin -> Webmin Configuration -> Webmin Themes. You'll want to make sure that "Current theme" is set to "Virtualmin Framed Theme".

For future reference though, the Support tracker here is generally for Pro customers, or for bug reports.

If you have a general support request, you'll want to use the forums :-)

Thanks!

Thank you for the assistance. I didn't know I was in the wrong place. The Virtualmin Framed theme was not in the list of options. If you can no longer help me, please let me know where to go.

Thanks again

Were you able to run the "apt-get install webmin-virtual-server-theme" command? Did you get an error of any sort when you tried that?

:~# apt-get install webmin-virtual-server-theme Reading package lists... Done Building dependency tree
Reading state information... Done The following packages were automatically installed and are no longer required: bind9 libdns36 libisccc30 liblwres30 libbind9-30 libisccfg30 libisc35 Use 'apt-get autoremove' to remove them. The following NEW packages will be installed: webmin-virtual-server-theme 0 upgraded, 1 newly installed, 0 to remove and 3 not upgraded. 1 not fully installed or removed. Need to get 0B/2242kB of archives. After this operation, 1686MB of additional disk space will be used. WARNING: The following packages cannot be authenticated! webmin-virtual-server-theme Install these packages without verification [y/N]? y E: Some packages could not be authenticated

this was the message.

And low and behold Proftpd still doesnt work:

  • Starting ftp server proftpd
    • warning: unable to determine IP address of '****.****.com'
    • error: no valid servers configured
    • Fatal: error processing configuration file '/etc/proftpd/proftpd.conf' ...fail!

Andrey,

Would these problems go away if i was using the pro version?

The problem with ProFTP is because your hostname needs to resolve in order for it to start up.

You can fix that by editing /etc/hosts, and making sure your hostname appears next to your IP address. Once you do that, ProFTP should fire right up.

The error you saw here:

warning: unable to determine IP address of '****.****.com'

The hostname mentioned in that error -- that's the one that needs to be in your /etc/hosts file.

Would these problems go away if i was using the pro version

Nope! :-) One was related to your hostname not being in the hosts file, the other appears related to a package or packages no longer being on your server... those issues aren't related to the specific Virtualmin version in use -- so you'd have the same trouble even if you were using Virtualmin Pro.

Thanks for the help Andre,

I corrected the host file and Proftpd works fine now. I installed the package again and it did install, however it did not change the menu. I still do not see Virtualmin at the top to the left of Webmin like before. i have to go into servers and then Virtualmin before i am presented with an older looking interface for Virtualmin controls. The results when i click on System Info is also different now. it no longer shows the drop downs at the bottom of the page. It now stops at package updates. Webmin is now treating Virtualmin like just another module as opposed to the synergy they had before. Im not sure where to go from here.

Thanks again for following through with your help. I know you didnt have to and I really appreciate it.

Thanks for the help Andre,

I corrected the host file and Proftpd works fine now. I installed the package again and it did install, however it did not change the menu. I still do not see Virtualmin at the top to the left of Webmin like before. i have to go into servers and then Virtualmin before i am presented with an older looking interface for Virtualmin controls. The results when i click on System Info is also different now. it no longer shows the drop downs at the bottom of the page. It now stops at package updates. Webmin is now treating Virtualmin like just another module as opposed to the synergy they had before. Im not sure where to go from here.

Thanks again for following through with your help. I know you didnt have to and I really appreciate it.

When you go into Webmin Configuration -> Webmin Themes, what theme does it show you using now?

It says im using Virtualmin Framed Theme, but i still have to go to Servers and then Virtualmin to get the info to show up in the right side of the screen. The menu on the left at no point changes to Virtualmin options as it did before.

Hmm, is there any chance you could show us a screenshot of what you see when you log into Virtualmin as the "root" user?

I have attached files for you review. Thx.

Okay, a few thoughts --

I see that in Webmin -> Webmin -> Webmin Configuration -> Webmin Themes, that the Virtualmin Framed Theme is correctly selected.

If you go into Webmin -> Change Language and Theme, what is selected there?

By default, it's typically set to "Global theme (Virtualmin Framed Theme)".

If that doesn't help, I'd be curious what happens if you go back into Webmin -> Webmin -> Webmin Configuration -> Webmin Themes, change the theme to something like "Old Webmin Theme", save, then change it back to "Virtualmin Framed Theme".

That was it! It wasn't set to the default, it was set to webmin blue. Changed it back to default and everything returned to normal. Thanks a million!

Great, I'm glad it's working, thanks for the update!

Automatically closed -- issue fixed for 2 weeks with no activity.