Zentyal Forum, Linux Small Business Server

Zentyal Server => Installation and Upgrades => Topic started by: dhruvpandit on September 24, 2012, 08:34:10 pm

Title: installation error in ubuntu VPS
Post by: dhruvpandit on September 24, 2012, 08:34:10 pm
i am trying to install zentyal on ubuntu 12.

by installing via
Code: [Select]
sudo apt-get install zentyal,
it asks me for sql password & port. i entered it but installation stops at
Code: [Select]
Setting up zentyal-core (3.0.1) ...
status: Unable to connect to system bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
dpkg: error processing zentyal-core (--configure):
 subprocess installed post-installation script returned error exit status 1
No apport report written because MaxReports is reached already
                                                              dpkg: dependency problems prevent configuration of zentyal-software:
 zentyal-software depends on zentyal-core (>= 3.0); however:
  Package zentyal-core is not configured yet.
 zentyal-software depends on zentyal-core (<< 3.0.100); however:
  Package zentyal-core is not configured yet.
dpkg: error processing zentyal-software (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of zentyal:
 zentyal depends on zentyal-core; however:
  Package zentyal-core is not configured yet.
 zentyal depends on zentyal-software; however:
  Package zentyal-software is not configured yet.
dpkg: error processing zentyal (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
                                                              No apport report written because MaxReports is reached already
                                                                                                                            Errors were encountered while processing:
 zentyal-core
 zentyal-software
 zentyal
E: Sub-process /usr/bin/dpkg returned an error code (1)
Title: Re: installation error in ubuntu VPS
Post by: dhruvpandit on October 04, 2012, 08:34:25 am
i am still getting the same error .
tried to install it on new server, but same error comes

please someone give me solution for this
Title: Re: installation error in ubuntu VPS
Post by: zmd on October 04, 2012, 09:15:00 am
i am still getting the same error .
tried to install it on new server, but same error comes

please someone give me solution for this

Easy
sudo apt-get install dbus
sudo dpkg --configure -a
:)
Title: Re: installation error in ubuntu VPS
Post by: dhruvpandit on October 04, 2012, 10:35:04 am
i am still getting the same error .
tried to install it on new server, but same error comes

please someone give me solution for this

Easy
sudo apt-get install dbus
sudo dpkg --configure -a
:)

when i tries
Code: [Select]
sudo apt-get install dbus it tries to install zentyal-core, and same error comes.  >:(


here is  the matter
Code: [Select]
~# sudo apt-get install dbus
Reading package lists... Done
Building dependency tree... Done
Suggested packages:
  dbus-x11
The following NEW packages will be installed:
  dbus
0 upgraded, 1 newly installed, 0 to remove and 62 not upgraded.
3 not fully installed or removed.
Need to get 368 kB of archives.
After this operation, 1001 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu/ precise-updates/main dbus i386 1.4.18-1ubuntu1.1 [368 kB]
Fetched 368 kB in 3s (99.0 kB/s)
Selecting previously unselected package dbus.
(Reading database ... 29928 files and directories currently installed.)
Unpacking dbus (from .../dbus_1.4.18-1ubuntu1.1_i386.deb) ...
Processing triggers for man-db ...
Setting up zentyal-core (3.0.3) ...
status: Unable to connect to system bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
dpkg: error processing zentyal-core (--configure):
 subprocess installed post-installation script returned error exit status 1
No apport report written because MaxReports is reached already
                                                              dpkg: dependency problems prevent configuration of zentyal-software:
 zentyal-software depends on zentyal-core (>= 3.0); however:
  Package zentyal-core is not configured yet.
 zentyal-software depends on zentyal-core (<< 3.0.100); however:
  Package zentyal-core is not configured yet.
dpkg: error processing zentyal-software (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of zentyal:
 zentyal depends on zentyal-core; however:
  Package zentyal-core is not configured yet.
 zentyal depends on zentyal-software; however:
  Package zentyal-software is not configured yet.
dpkg: error processing zentyal (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
                                                              No apport report written because MaxReports is reached already
                                            Setting up dbus (1.4.18-1ubuntu1.1) ...
dbus start/running, process 10337
Errors were encountered while processing:
 zentyal-core
 zentyal-software
 zentyal
E: Sub-process /usr/bin/dpkg returned an error code (1)
Title: Re: installation error in ubuntu VPS
Post by: zmd on October 04, 2012, 11:20:22 am
now sudo dpkg --configure -a
Title: Re: installation error in ubuntu VPS
Post by: zmd on October 04, 2012, 11:24:43 am
i am trying to install zentyal on ubuntu 12.

 server edition?
Title: Re: installation error in ubuntu VPS
Post by: dhruvpandit on October 04, 2012, 11:27:47 am
i am trying to install zentyal on ubuntu 12.

 server edition?

actually i don't know.
the SolusVM panel has stated ubuntu 12.04 only.
will it support in ubuntu 10? i have that image also.
Title: Re: installation error in ubuntu VPS
Post by: dhruvpandit on October 04, 2012, 11:29:06 am
now sudo dpkg --configure -a


it stops here  :-
Code: [Select]
sudo dpkg --configure -a
Setting up zentyal-core (3.0.3) ...
dpkg: error processing zentyal-core (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of zentyal-software:
 zentyal-software depends on zentyal-core (>= 3.0); however:
  Package zentyal-core is not configured yet.
 zentyal-software depends on zentyal-core (<< 3.0.100); however:
  Package zentyal-core is not configured yet.
dpkg: error processing zentyal-software (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 zentyal-core
 zentyal-software
Title: Re: installation error in ubuntu VPS
Post by: zmd on October 04, 2012, 11:33:25 am
i am trying to install zentyal on ubuntu 12.

 server edition?

actually i don't know.
the SolusVM panel has stated ubuntu 12.04 only.
will it support in ubuntu 10? i have that image also.

And you can use the standard image Zentyal 3.0?
http://www.zentyal.org/downloads/


I'll try to simulate your situation.
I downloaded this image http://releases.ubuntu.com/12.04.1/ubuntu-12.04.1-server-i386.iso.torrent/
Install in the minimum configuration.
Add repository using sudo apt-get install-y python-software-properties && sudo add-apt-repository ppa: zentyal/3.0 && sudo apt-get update

and try sudo apt-get update sudo apt-get install zentyal.
About result after 30 minutes
Title: Re: installation error in ubuntu VPS
Post by: FarquahrWindsor on October 04, 2012, 11:49:20 am
I would say its sounds like a VPS install.

Firstly you need to check what repo's are enabled.

sudo nano /etc/apt/sources.list

also have a look in /etc/apt/sourcesd (or something very close)

deb http://gb.archive.ubuntu.com/ubuntu/ precise universe
deb-src http://gb.archive.ubuntu.com/ubuntu/ precise universe
deb http://gb.archive.ubuntu.com/ubuntu/ precise-updates universe
deb-src http://gb.archive.ubuntu.com/ubuntu/ precise-updates universe
deb http://gb.archive.ubuntu.com/ubuntu/ precise multiverse
deb-src http://gb.archive.ubuntu.com/ubuntu/ precise multiverse
deb http://gb.archive.ubuntu.com/ubuntu/ precise-updates multiverse
deb-src http://gb.archive.ubuntu.com/ubuntu/ precise-updates multiverse
deb http://security.ubuntu.com/ubuntu precise-security universe
deb-src http://security.ubuntu.com/ubuntu precise-security universe
deb http://security.ubuntu.com/ubuntu precise-security multiverse
deb-src http://security.ubuntu.com/ubuntu precise-security multiverse
deb http://archive.zentyal.org/zentyal 3.0 main extra
deb http://ppa.launchpad.net/zentyal/3.0/ubuntu precise main
deb-src http://ppa.launchpad.net/zentyal/3.0/ubuntu precise main

It all depends on what your host will allow but anyway

http://trac.zentyal.org/wiki/Documentation/Community/Installation/InstallationGuide (http://trac.zentyal.org/wiki/Documentation/Community/Installation/InstallationGuide)
Tells you how to add the zentyal repo's
These will eventually all be in ubuntu but a few items still remain.

You might have a minimal system and I wish the was a single command to give ubuntu-standard install.

sudo apt-get install ubuntu-standard does add items
still nano aint there so sudo apt-get install nano
ssh is always good to have sudo apt-get install ssh
sudo apt-get update
sudo apt-get upgrade
sudo reboot
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install zentyal-core
sudo apt-get install zentyal-software
Title: Re: installation error in ubuntu VPS
Post by: dhruvpandit on October 04, 2012, 11:50:57 am
i am trying to install zentyal on ubuntu 12.

 server edition?

actually i don't know.
the SolusVM panel has stated ubuntu 12.04 only.
will it support in ubuntu 10? i have that image also.

And you can use the standard image Zentyal 3.0?
http://www.zentyal.org/downloads/
it will not be added in my VPS panel. so i can't install it.
Title: Re: installation error in ubuntu VPS
Post by: dhruvpandit on October 04, 2012, 11:51:46 am
I would say its sounds like a VPS install.

Firstly you need to check what repo's are enabled.

sudo nano /etc/apt/sources.list

also have a look in /etc/apt/sourcesd (or something very close)

deb http://gb.archive.ubuntu.com/ubuntu/ precise universe
deb-src http://gb.archive.ubuntu.com/ubuntu/ precise universe
deb http://gb.archive.ubuntu.com/ubuntu/ precise-updates universe
deb-src http://gb.archive.ubuntu.com/ubuntu/ precise-updates universe
deb http://gb.archive.ubuntu.com/ubuntu/ precise multiverse
deb-src http://gb.archive.ubuntu.com/ubuntu/ precise multiverse
deb http://gb.archive.ubuntu.com/ubuntu/ precise-updates multiverse
deb-src http://gb.archive.ubuntu.com/ubuntu/ precise-updates multiverse
deb http://security.ubuntu.com/ubuntu precise-security universe
deb-src http://security.ubuntu.com/ubuntu precise-security universe
deb http://security.ubuntu.com/ubuntu precise-security multiverse
deb-src http://security.ubuntu.com/ubuntu precise-security multiverse
deb http://archive.zentyal.org/zentyal 3.0 main extra
deb http://ppa.launchpad.net/zentyal/3.0/ubuntu precise main
deb-src http://ppa.launchpad.net/zentyal/3.0/ubuntu precise main

It all depends on what your host will allow but anyway

http://trac.zentyal.org/wiki/Documentation/Community/Installation/InstallationGuide (http://trac.zentyal.org/wiki/Documentation/Community/Installation/InstallationGuide)
Tells you how to add the zentyal repo's
These will eventually all be in ubuntu but a few items still remain.

You might have a minimal system and I wish the was a single command to give ubuntu-standard install.

sudo apt-get ubuntu-standard does add items
still nano aint there so sudo apt-get install nano
ssh is always good to have sudo apt-get install ssh
sudo apt-get update
sudo apt-get upgrade
sudo reboot
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install zentyal-core
sudo apt-get install zentyal-spftware

thanks for guidance, but ubuntu installation is done.
there is some error in installing zentyal.
Title: Re: installation error in ubuntu VPS
Post by: FarquahrWindsor on October 04, 2012, 11:58:04 am
You might of had some of the initial repo's and dependencies missing.

I have hosted zentyal myself. If possible just reinialise the vps if possible.

Make sure everything is in place as version 2 is 10.04 lts version 3 is 12.04 lts so it should work.

You never know with hosts though some do restrict items and you can get into what I call dependancy hell.
Title: Re: installation error in ubuntu VPS
Post by: zmd on October 04, 2012, 12:04:31 pm
I think that the problem started after the installation of a password for mysql.
Try reinstall zentyal and do not enter a password mysql leave blank

sudo apt-get purge zentyal
sudo apt-get autoremove
sudo apt-get install zentyal

Title: Re: installation error in ubuntu VPS
Post by: FarquahrWindsor on October 04, 2012, 12:06:56 pm
Yeah well spotted someone should ask why you can't add a password on install.

It does screw things if you do.

Zentyal?

Its easy enough to do after install but why?
Title: Re: installation error in ubuntu VPS
Post by: dhruvpandit on October 04, 2012, 12:16:07 pm
I think that the problem started after the installation of a password for mysql.
Try reinstall zentyal and do not enter a password mysql leave blank

sudo apt-get purge zentyal
sudo apt-get autoremove
sudo apt-get install zentyal

same error see here
Code: [Select]
# sudo apt-get purge zentyal
Reading package lists... Done
Building dependency tree... Done
Package zentyal is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up zentyal-core (3.0.3) ...
dpkg: error processing zentyal-core (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of zentyal-software:
 zentyal-software depends on zentyal-core (>= 3.0); however:
  Package zentyal-core is not configured yet.
 zentyal-software depends on zentyal-core (<< 3.0.100); however:
  Package zentyal-core is not configured yet.
dpkg: error processing zentyal-software (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
                                                              No apport report written because MaxReports is reached already
                                            Errors were encountered while processing:
 zentyal-core
 zentyal-software
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@xyz:~# sudo apt-get autoremove
Reading package lists... Done
Building dependency tree... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up zentyal-core (3.0.3) ...
dpkg: error processing zentyal-core (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of zentyal-software:
 zentyal-software depends on zentyal-core (>= 3.0); however:
  Package zentyal-core is not configured yet.
 zentyal-software depends on zentyal-core (<< 3.0.100); however:
  Package zentyal-core is not configured yet.
dpkg: error processing zentyal-software (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                          Errors were encountered while processing:
 zentyal-core
 zentyal-software
E: Sub-process /usr/bin/dpkg returned an error code (1)

i had not put any password in mySQL setup.
i had already skipped it as blank when installing.
Title: Re: installation error in ubuntu VPS
Post by: FarquahrWindsor on October 04, 2012, 12:19:33 pm
Can you just reinitialise your vps hopefully its blank as for me dependancy hell is always problematic.

go with making sure all repos's are installed
gpg keys all sorted
ubuntu-standard installed
http://forum.zentyal.org/index.php/topic,12244.msg50661.html#msg50661

then try zentyal

marcus what does ubuntu install if you just hit guided?
sometimes vps and other sources just provide a minimum and I have never worked out what is included
I know nano is there in a guided install but is there anything else as its more than ubuntu-standard unless its that and nano?

Title: Re: installation error in ubuntu VPS
Post by: Marcus on October 04, 2012, 01:15:02 pm
Hello FarquahrWindsor,

Quote
marcus what does ubuntu install if you just hit guided?
It will only set up the disk partitions (/boot, swap & /).  You'll still have to install at least the OpenSSH server from the Tasksel menu (optionnal but recommended).

Once everything is done, you may "sudo apt-get update && sudo apt-get upgrade" your installation prior of installing Zentyal (or anything else).

Regarding the S*lusVM part
S*lusVM comes in 4 flavors: OpenVZ, KVM and both Xen environnements.  I would recommend to make sure that it is a fully virtualized environment (like KVM).

Also, depending on your service provider, chances are that your Ubuntu install comes from:
a) S*lusVM Template Network
a1) Minimal (nano won't be there)
a2) Complete (like if you were installing Ubuntu from an official ISO)
b) Regular Ubuntu ISO

On a side note regarding service providers;
They are generaly using there local Ubuntu repo list in order to have faster updates and save bandwidth.

Best,

Marcus
Title: Re: installation error in ubuntu VPS
Post by: FarquahrWindsor on October 04, 2012, 01:27:53 pm
Hello FarquahrWindsor,

Quote
marcus what does ubuntu install if you just hit guided?
Once everything is done, you may "sudo apt-get update && sudo apt-get upgrade" your installation prior of installing Zentyal (or anything else).
a1) Minimal (nano won't be there)
a2) Complete (like if you were installing Ubuntu from an official ISO)

Marcus do you know what is installed in the complete as I have never worked it out?
ubuntu-standard is one item but there are more and I often wonder what is needed on top of minimal to make it the same.
Title: Re: installation error in ubuntu VPS
Post by: zmd on October 04, 2012, 01:50:46 pm
i am trying to install zentyal on ubuntu 12.

 server edition?

actually i don't know.
the SolusVM panel has stated ubuntu 12.04 only.
will it support in ubuntu 10? i have that image also.

And you can use the standard image Zentyal 3.0?
http://www.zentyal.org/downloads/


I'll try to simulate your situation.
I downloaded this image http://releases.ubuntu.com/12.04.1/ubuntu-12.04.1-server-i386.iso.torrent/
Install in the minimum configuration.
Add repository using sudo apt-get install-y python-software-properties && sudo add-apt-repository ppa: zentyal/3.0 && sudo apt-get update

and try sudo apt-get update sudo apt-get install zentyal.
About result after 30 minutes

As described zentyal installed on virtualbox. Password mysql is not installed. No problem during installation..
Title: Re: installation error in ubuntu VPS
Post by: dhruvpandit on October 04, 2012, 02:25:28 pm
thanks all for help.
i think the problem was OS.
the template of my VPS is not server edition AFAIK.

i got another VPS and installed server edition, and surprisingly everything goes smoothly :)

zentyal login page is opening , but what should be user name / password ?
Title: Re: installation error in ubuntu VPS
Post by: FarquahrWindsor on October 04, 2012, 02:26:43 pm
sudo user of install
Title: Re: installation error in ubuntu VPS
Post by: dhruvpandit on October 04, 2012, 02:41:22 pm
got it.
added user and created admin group by
Code: [Select]
https://help.ubuntu.com/community/AddUsersHowto
thanks everyone to helping me.
now i am installing openvpn addon in it.
will ask if have anytype of problem (hope no problem comes )