Author Topic: installation error in ubuntu VPS  (Read 4872 times)

dhruvpandit

  • Zen Apprentice
  • *
  • Posts: 10
  • Karma: +0/-0
    • View Profile
Re: installation error in ubuntu VPS
« Reply #15 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.

FarquahrWindsor

  • Guest
Re: installation error in ubuntu VPS
« Reply #16 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?

« Last Edit: October 04, 2012, 12:24:39 pm by FarquahrWindsor »

Marcus

  • Forum Moderator
  • Zen Samurai
  • *****
  • Posts: 395
  • Karma: +12/-0
    • View Profile
    • Professional IT Service
Re: installation error in ubuntu VPS
« Reply #17 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

FarquahrWindsor

  • Guest
Re: installation error in ubuntu VPS
« Reply #18 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.

zmd

  • Zen Warrior
  • ***
  • Posts: 240
  • Karma: +10/-2
    • View Profile
Re: installation error in ubuntu VPS
« Reply #19 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..

dhruvpandit

  • Zen Apprentice
  • *
  • Posts: 10
  • Karma: +0/-0
    • View Profile
Re: installation error in ubuntu VPS
« Reply #20 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 ?

FarquahrWindsor

  • Guest
Re: installation error in ubuntu VPS
« Reply #21 on: October 04, 2012, 02:26:43 pm »
sudo user of install

dhruvpandit

  • Zen Apprentice
  • *
  • Posts: 10
  • Karma: +0/-0
    • View Profile
Re: installation error in ubuntu VPS
« Reply #22 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 )