GPL install failed

8 posts / 0 new
Last post
#1 Thu, 07/08/2010 - 06:11
Owdy

GPL install failed

Getting this error:

Configuration file `/etc/apache2/suexec/www-data', does not exist on system. Installing new config file as you request. dpkg: dependency problems prevent configuration of virtualmin-base: virtualmin-base depends on dovecot-common; however: Package dovecot-common is not configured yet. virtualmin-base depends on dovecot-imapd; however: Package dovecot-imapd is not configured yet. virtualmin-base depends on dovecot-pop3d; however: Package dovecot-pop3d is not configured yet. dpkg: error processing virtualmin-base (--configure): dependency problems - leaving unconfigured Errors were encountered while processing: dovecot-common dovecot-imapd dovecot-pop3d virtualmin-base FATAL - 2010-07-08 13:08:06 - Fatal Error Occurred: Installation failed: 0 FATAL - 2010-07-08 13:08:06 - Cannot continue installation. FATAL - 2010-07-08 13:08:06 - Attempting to remove virtualmin repository configuration, so the installation can be FATAL - 2010-07-08 13:08:06 - re-attempted after any problems have been resolved. FATAL - 2010-07-08 13:08:06 - Removing temporary directory and files. FATAL - 2010-07-08 13:08:06 - If you are unsure of what went wrong, you may wish to review the log FATAL - 2010-07-08 13:08:06 - in /root/virtualmin-install.log

What should i do?

Thu, 07/08/2010 - 08:01
Owdy

fixed

Thu, 07/08/2010 - 08:46
andreychek

Glad you got it fixed!

Any chance you could describe how you managed to get it working? Folks who run into that in the future might benefit... and it's a bug in the installer, we can improve it.

Thanks!

-Eric

Thu, 07/08/2010 - 12:44
Owdy

I just moved script to /root folder and tryed again

Thu, 07/08/2010 - 15:09
Owdy

That installation dindt work 100%, i still got some problems with mysql, php module for mysql wasnt installed, got permissionn errors etc. Now my test site is up finally, i hope there isnt anymore erros in future. Is there way to test that everything is okay with Wirtualmin?

Sat, 07/10/2010 - 11:57
Owdy

Okay, now i know why it failed. I didnt got fully qualified domain name for that server. I reinstalled whole server, then before Virtualmin install, i first added fully qualified domain name. Default was localhost. Install script asks it if you havent set that, but seems it still fails if it is localhost. Now it didnt fail.

Tutorial for debian servers for that:

Edit the /etc/hostname file using the following command: "nano /etc/hostname" (without the quotation marks) and press the Enter key. Change the current host name to the host name of your choice. Select Save.

Edit the the /etc/hosts file using the following command: "nano /etc/hosts" (without the quotation marks) and press the Enter key. Modify the current Host Name to the exact same host name you used earlier in the hostname file. Select Save.

Stop the the host name service by typing the following command at the command prompt: "/etc/init.d/hostname.sh stop" (without the quotation marks) and press the Enter key.

Restart the host name service by typing the following command at the command prompt: "/etc/init.d/hostname.sh start" (without the quotation marks) and press the Enter key.

Check to ensure that the modification is complete by typing in the command "hostname" (without the quotation marks) and pressing the Enter key.

DO THIS BEFORE VIRTUALMIN INSTALL!

Sat, 07/17/2010 - 15:39 (Reply to #6)
Joe
Joe's picture

Yes, having a fully qualified hostname is absolutely mandatory. There is no possible way installation and configuration can work on a system without one...the script does try to set it, if it detects that the system doesn't have one, but I guess it's failing somewhere. I'll look into it. I was unaware of the hostname service, I think, so maybe I need to run that when setting the hostname on Ubuntu and Debian.

Thanks for the explanation of what you did to get it working. I'll probably be able to fix it in the next release.

--

Check out the forum guidelines!

Sat, 07/10/2010 - 11:57
Owdy

Example files

/etc/hosts (server ip number is fake)

# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
91.34.34.343 host1.someservername.net
# The following lines are desirable for IPv6 capable hosts
#(added automatically by netbase upgrade)
::1     ip6-localhost ip6-loopback
feo0::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts

/etc/hostname

host1.someservername.net
Topic locked