Sentora Support Forums

Full Version: install failed
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
this is a fresh ubuntu 12 server install
Code:
root@10.0.0.20:~# wget sentora.org/install --2015-05-11 21:30:09-- http://sentora.org/install Resolving sentora.org (sentora.org)... 5.196.10.149 Connecting to sentora.org (sentora.org)|5.196.10.149|:80... connected. HTTP request sent, awaiting response... 302 Found Location: https://raw.githubusercontent.com/sentora/sentora-installers/1.0.1/sentora_install.sh [following] --2015-05-11 21:30:10-- https://raw.githubusercontent.com/sentora/sentora-installers/1.0.1/sentora_install.sh Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 199.27.78.133 Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|199.27.78.133|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 45932 (45K) [text/plain] Saving to: `install' 100%[======================================>] 45,932 --.-K/s in 0.02s 2015-05-11 21:30:10 (1.75 MB/s) - `install' saved [45932/45932] root@10.0.0.20:~# chmod +x install root@10.0.0.20:~# ./install ############################################################ # Welcome to the Official Sentora Installer 1.0.1 # ############################################################ Checking that minimal requirements are ok Detected : Ubuntu 12.04 i686 Ok. -- Installing wget and dns utils required to manage inputs W: Failed to fetch bzip2:/var/lib/apt/lists/partial/us.archive.ubuntu.com_ubuntu_dists_precise_main_source_Sources Hash Sum mismatch W: Failed to fetch bzip2:/var/lib/apt/lists/partial/us.archive.ubuntu.com_ubuntu_dists_precise_restricted_source_Sources Hash Sum mismatch W: Failed to fetch bzip2:/var/lib/apt/lists/partial/us.archive.ubuntu.com_ubuntu_dists_precise_universe_source_Sources Hash Sum mismatch W: Failed to fetch bzip2:/var/lib/apt/lists/partial/us.archive.ubuntu.com_ubuntu_dists_precise_multiverse_source_Sources Hash Sum mismatch W: Failed to fetch bzip2:/var/lib/apt/lists/partial/us.archive.ubuntu.com_ubuntu_dists_precise_main_binary-i386_Packages Hash Sum mismatch W: Failed to fetch bzip2:/var/lib/apt/lists/partial/us.archive.ubuntu.com_ubuntu_dists_precise_restricted_binary-i386_Packages Hash Sum mismatch W: Failed to fetch bzip2:/var/lib/apt/lists/partial/us.archive.ubuntu.com_ubuntu_dists_precise_universe_binary-i386_Packages Hash Sum mismatch W: Failed to fetch bzip2:/var/lib/apt/lists/partial/us.archive.ubuntu.com_ubuntu_dists_precise_multiverse_binary-i386_Packages Hash Sum mismatch E: Some index files failed to download. They have been ignored, or old ones used instead. E: Could not get lock /var/cache/apt/archives/lock - open (11: Resource temporarily unavailable) E: Unable to lock directory /var/cache/apt/archives/ E: Could not get lock /var/cache/apt/archives/lock - open (11: Resource temporarily unavailable) E: Unable to lock directory /var/cache/apt/archives/ Preparing to select timezone, please wait a few seconds... E: Could not get lock /var/cache/apt/archives/lock - open (11: Resource temporarily unavailable) E: Unable to lock directory /var/cache/apt/archives/ Current default time zone: 'America/Chicago' Local time is now: Mon May 11 21:31:35 CDT 2015. Universal Time is now: Tue May 12 02:31:35 UTC 2015. === Informations required to build your server === The installer requires 2 pieces of information: 1) the sub-domain that you want to use to access Sentora panel, - do not use your main domain (like domain.com) - use a sub-domain, e.g panel.domain.com - or use the server hostname, e.g server1.domain.com - DNS must already be configured and pointing to the server IP for this sub-domain 2) The public IP of the server. Enter the sub-domain you want to access Sentora panel: **.***-***.** The public IP of the server is **.***.***.200. Its local IP is 10.0.0.12 For a production server, the PUBLIC IP must be used. Enter (or confirm) the public IP for this server: **.***.***.200 OK: DNS successfully resolves **.***-***.** to **.***.***.200 All is ok. Do you want to install Sentora now (y/n)? y Installer version 1.0.1 Sentora core version 1.0.0 Sentora preconf version 1.0.0 Installing Sentora 1.0.0 at http://**.***-***.** and ip **.***.***.200 on server under: Ubuntu 12.04 i686 Linux ***-*** 3.13.0-32-generic #57~precise1-Ubuntu SMP Tue Jul 15 03:50:54 UTC 2014 i686 i686 i386 GNU/Linux -- Disabling and removing AppArmor, please wait... AppArmor has been removed. -- Updating repositories and packages sources Updating Aptitude Repos: -- Listing of all packages installed: accountsservice install acpid install adduser install apparmor install apport install apport-symptoms install apt install apt-transport-https install apt-utils install apt-xapian-index install aptitude install at install base-files install base-passwd install bash install bash-completion install bc install bind9-host install bsdmainutils install bsdutils install busybox-initramfs install busybox-static install byobu install bzip2 install ca-certificates install command-not-found install command-not-found-data install console-setup install coreutils install cpio install cron install curl install dash install dbus install debconf install debconf-i18n install debianutils install diffutils install dmidecode install dmsetup install dnsutils install dosfstools install dpkg install e2fslibs install e2fsprogs install ed install eject install file install findutils install fonts-ubuntu-font-family-console install friendly-recovery install ftp install fuse install gcc-4.6-base install geoip-database install gettext-base install gir1.2-glib-2.0 install gnupg install gpgv install grep install groff-base install grub-common install grub-gfxpayload-lists install grub-pc install grub-pc-bin install grub2-common install gzip install hdparm install hostname install ifupdown install info install initramfs-tools install initramfs-tools-bin install initscripts install insserv install install-info install installation-report install iproute install iptables install iputils-ping install iputils-tracepath install irqbalance install isc-dhcp-client install isc-dhcp-common install iso-codes install kbd install keyboard-configuration install klibc-utils install krb5-locales install landscape-common install language-pack-en install language-pack-en-base install language-selector-common install laptop-detect install less install libaccountsservice0 install libacl1 install libapt-inst1.4 install libapt-pkg4.12 install libasn1-8-heimdal install libattr1 install libbind9-80 install libblkid1 install libboost-iostreams1.46.1 install libbsd0 install libbz2-1.0 install libc-bin install libc6 install libcap-ng0 install libclass-accessor-perl install libclass-isa-perl install libcomerr2 install libcurl3 install libcurl3-gnutls install libcwidget3 install libdb5.1 install libdbus-1-3 install libdbus-glib-1-2 install libdevmapper1.02.1 install libdns81 install libdrm-intel1 install libdrm-nouveau1a install libdrm-radeon1 install libdrm2 install libedit2 install libelf1 install libept1.4.12 install libevent-2.0-5 install libexpat1 install libffi6 install libfreetype6 install libfribidi0 install libfuse2 install libgc1c2 install libgcc1 install libgcrypt11 install libgdbm3 install libgeoip1 install libgirepository-1.0-1 install libglib2.0-0 install libgmp10 install libgnutls26 install libgpg-error0 install libgpm2 install libgssapi-krb5-2 install libgssapi3-heimdal install libhcrypto4-heimdal install libheimbase1-heimdal install libheimntlm0-heimdal install libhx509-5-heimdal install libidn11 install libio-string-perl install libisc83 install libisccc80 install libisccfg82 install libiw30 install libjs-jquery install libk5crypto3 install libkeyutils1 install libklibc install libkrb5-26-heimdal install libkrb5-3 install libkrb5support0 install libldap-2.4-2 install liblocale-gettext-perl install liblockfile-bin install liblockfile1 install liblwres80 install liblzma5 install libmagic1 install libmount1 install libncurses5 install libncursesw5 install libnewt0.52 install libnfnetlink0 install libnih-dbus1 install libnih1 install libnl-3-200 install libnl-genl-3-200 install libp11-kit0 install libpam-modules install libpam-modules-bin install libpam-runtime install libpam0g install libparse-debianchangelog-perl install libparted0debian1 install libpcap0.8 install libpci3 install libpciaccess0 install libpcre3 install libpcsclite1 install libpipeline1 install libplymouth2 install libpng12-0 install libpolkit-gobject-1-0 install libpopt0 install libpython2.7 install libreadline6 install libroken18-heimdal install librtmp0 install libsasl2-2 install libsasl2-modules install libselinux1 install libsigc++-2.0-0c2a install libslang2 install libsqlite3-0 install libss2 install libssl1.0.0 install libstdc++6 install libsub-name-perl install libswitch-perl install libtasn1-3 install libtext-charwidth-perl install libtext-iconv-perl install libtext-wrapi18n-perl install libtimedate-perl install libtinfo5 install libudev0 install libusb-0.1-4 install libusb-1.0-0 install libuuid1 install libwind0-heimdal install libwrap0 install libx11-6 install libx11-data install libxapian22 install libxau6 install libxcb1 install libxdmcp6 install libxext6 install libxml2 install libxmuu1 install linux-firmware install linux-generic-lts-trusty install linux-headers-3.13.0-32 install linux-headers-3.13.0-32-generic install linux-headers-generic-lts-trusty install linux-image-3.13.0-32-generic install linux-image-generic-lts-trusty install locales install lockfile-progs install login install logrotate install lsb-base install lsb-release install lshw install lsof install ltrace install makedev install man-db install manpages install mawk install memtest86+ install mime-support install mlocate install module-init-tools install mount install mountall install mtr-tiny install multiarch-support install nano install ncurses-base install ncurses-bin install net-tools install netbase install netcat-openbsd install ntfs-3g install ntpdate install openssh-client install openssh-server install openssl install os-prober install parted install passwd install patch install pciutils install perl install perl-base install perl-modules install plymouth install plymouth-theme-ubuntu-text install popularity-contest install powermgmt-base install ppp install pppconfig install pppoeconf install procps install psmisc install python install python-apport install python-apt install python-apt-common install python-chardet install python-crypto install python-dbus install python-dbus-dev install python-debian install python-gdbm install python-gi install python-gnupginterface install python-httplib2 install python-keyring install python-launchpadlib install python-lazr.restfulclient install python-lazr.uri install python-minimal install python-newt install python-oauth install python-openssl install python-pam install python-pkg-resources install python-problem-report install python-serial install python-simplejson install python-twisted-bin install python-twisted-core install python-wadllib install python-xapian install python-zope.interface install python2.7 install python2.7-minimal install readline-common install resolvconf install rsync install rsyslog install screen install sed install sensible-utils install sgml-base install ssh-import-id install strace install sudo install sysv-rc install sysvinit-utils install tar install tasksel install tasksel-data install tcpd install tcpdump install telnet install time install tmux install tzdata install ubuntu-keyring install ubuntu-minimal install ubuntu-standard install ucf install udev install ufw install update-manager-core install update-notifier-common install upstart install ureadahead install usbutils install util-linux install uuid-runtime install vim install vim-common install vim-runtime install vim-tiny install w3m install wget install whiptail install whoopsie install wireless-tools install wpasupplicant install xauth install xkb-data install xml-core install xz-lzma install xz-utils install zlib1g install -- Updating+upgrading system, it may take some time... E: Could not get lock /var/cache/apt/archives/lock - open (11: Resource temporarily unavailable) E: Unable to lock directory /var/cache/apt/archives/ -- Downloading and installing required tools... E: Could not get lock /var/cache/apt/archives/lock - open (11: Resource temporarily unavailable) E: Unable to lock directory /var/cache/apt/archives/ -- Downloading Sentora, Please wait, this may take several minutes, the installer will continue after this is complete! 2015-05-11 21:34:16 URL:https://codeload.github.com/sentora/sentora-core/zip/1.0.0 [21498409] -> "sentora_core.zip" [1] ./install: line 481: unzip: command not found mv: cannot stat `/etc/sentora/sentora-core-1.0.0': No such file or directory rm: cannot remove `/etc/sentora/panel/LICENSE.md': No such file or directory rm: cannot remove `/etc/sentora/panel/README.md': No such file or directory rm: cannot remove `/etc/sentora/panel/.gitignore': No such file or directory chmod: cannot access `/etc/sentora/panel/bin/zppy': No such file or directory chmod: cannot access `/etc/sentora/panel/bin/setso': No such file or directory chmod: cannot access `/etc/sentora/panel/bin/setzadmin': No such file or directory 2015-05-11 21:34:18 URL:https://codeload.github.com/sentora/sentora-installers/zip/1.0.0 [108207] -> "sentora_preconfig.zip" [1] ./install: line 528: unzip: command not found cp: cannot stat `sentora-installers-1.0.0/preconf/*': No such file or directory ./install: line 534: cc: command not found chown: cannot access `/etc/sentora/panel/bin/zsudo': No such file or directory chmod: cannot access `/etc/sentora/panel/bin/zsudo': No such file or directory chattr: Operation not supported while reading flags on /etc/resolv.conf -- Installing MySQL E: Could not get lock /var/cache/apt/archives/lock - open (11: Resource temporarily unavailable) E: Unable to lock directory /var/cache/apt/archives/ E: Could not get lock /var/cache/apt/archives/lock - open (11: Resource temporarily unavailable) E: Unable to lock directory /var/cache/apt/archives/ E: Could not get lock /var/cache/apt/archives/lock - open (11: Resource temporarily unavailable) E: Unable to lock directory /var/cache/apt/archives/ mysql: unrecognized service ./install: line 605: mysqladmin: command not found ./install: line 608: mysql: command not found ./install: line 609: mysql: command not found ./install: line 610: mysql: command not found ./install: line 613: mysql: command not found sed: can't read /etc/mysql/my.cnf: No such file or directory sed: can't read /etc/sentora/panel/cnf/db.php: No such file or directory ./install: line 620: /etc/sentora/configs/sentora-install/sql/sentora_core.sql: No such file or directory -- Installing Postfix E: Could not get lock /var/cache/apt/archives/lock - open (11: Resource temporarily unavailable) E: Unable to lock directory /var/cache/apt/archives/ ./install: line 643: /etc/sentora/configs/sentora-install/sql/sentora_postfix.sql: No such file or directory ./install: line 644: mysql: command not found ln: failed to create symbolic link `/etc/postfix/master.cf': No such file or directory ln: failed to create symbolic link `/etc/postfix/main.cf': No such file or directory sed: can't read /etc/sentora/configs/postfix/*.cf: No such file or directory sed: can't read /etc/sentora/configs/postfix/vacation.conf: No such file or directory sed: can't read /etc/sentora/configs/postfix/main.cf: No such file or directory sed: can't read /etc/sentora/configs/postfix/master.cf: No such file or directory sed: can't read /etc/sentora/configs/postfix/main.cf: No such file or directory sed: can't read /etc/sentora/configs/postfix/main.cf: No such file or directory sed: can't read /etc/sentora/configs/postfix/main.cf: No such file or directory sed: can't read /etc/sentora/configs/postfix/main.cf: No such file or directory sed: can't read /etc/sentora/configs/postfix/main.cf: No such file or directory sed: can't read /etc/sentora/configs/postfix/master.cf: No such file or directory -- Installing Dovecot E: Could not get lock /var/cache/apt/archives/lock - open (11: Resource temporarily unavailable) E: Unable to lock directory /var/cache/apt/archives/ sed: can't read /etc/sentora/configs/dovecot2/dovecot.conf: No such file or directory ln: failed to create symbolic link `/etc/dovecot/dovecot.conf': No such file or directory sed: can't read /etc/sentora/configs/dovecot2/dovecot.conf: No such file or directory sed: can't read /etc/sentora/configs/dovecot2/dovecot-dict-quota.conf: No such file or directory sed: can't read /etc/sentora/configs/dovecot2/dovecot-mysql.conf: No such file or directory sed: can't read /etc/sentora/configs/dovecot2/dovecot-mysql.conf: No such file or directory sed: can't read /etc/sentora/configs/dovecot2/dovecot-mysql.conf: No such file or directory -- Installing and configuring Apache E: Could not get lock /var/cache/apt/archives/lock - open (11: Resource temporarily unavailable) E: Unable to lock directory /var/cache/apt/archives/ E: Could not get lock /var/cache/apt/archives/lock - open (11: Resource temporarily unavailable) E: Unable to lock directory /var/cache/apt/archives/ ./install: line 762: a2enmod: command not found grep: /etc/apache2/apache2.conf: No such file or directory ./install: line 766: /etc/apache2/apache2.conf: No such file or directory ./install: line 779: mysql: command not found ./install: line 780: mysql: command not found sed: can't read /etc/apache2/apache2.conf: No such file or directory grep: /etc/apache2/envvars: No such file or directory ./install: line 787: /etc/apache2/envvars: No such file or directory sed: can't read /etc/apache2/apache2.conf: No such file or directory sed: can't read /etc/apache2/apache2.conf: No such file or directory -- Installing and configuring PHP E: Could not get lock /var/cache/apt/archives/lock - open (11: Resource temporarily unavailable) E: Unable to lock directory /var/cache/apt/archives/ E: Could not get lock /var/cache/apt/archives/lock - open (11: Resource temporarily unavailable) E: Unable to lock directory /var/cache/apt/archives/ sed: can't read /etc/php5/apache2/php.ini: No such file or directory sed: can't read /etc/php5/apache2/php.ini: No such file or directory ./install: line 868: /etc/php5/apache2/php.ini: No such file or directory sed: can't read /etc/php5/apache2/php.ini: No such file or directory sed: can't read /etc/php5/apache2/php.ini: No such file or directory sed: can't read /etc/php5/apache2/php.ini: No such file or directory -- Installing ProFTPD E: Could not get lock /var/cache/apt/archives/lock - open (11: Resource temporarily unavailable) E: Unable to lock directory /var/cache/apt/archives/ ./install: line 925: /etc/sentora/configs/sentora-install/sql/sentora_proftpd.sql: No such file or directory sed: can't read /etc/sentora/configs/proftpd/proftpd-mysql.conf: No such file or directory ./install: line 930: mysql: command not found ./install: line 935: mysql: command not found ./install: line 936: mysql: command not found sed: can't read /etc/sentora/configs/proftpd/proftpd-mysql.conf: No such file or directory ln: failed to create symbolic link `/etc/proftpd/proftpd.conf': No such file or directory -- Installing and configuring Bind E: Could not get lock /var/cache/apt/archives/lock - open (11: Resource temporarily unavailable) E: Unable to lock directory /var/cache/apt/archives/ ./install: line 978: mysql: command not found ./install: line 980: mysql: command not found ./install: line 981: mysql: command not found chmod: cannot access `/etc/sentora/configs/bind/zones/': No such file or directory chown: invalid user: `bind' chown: invalid user: `bind:bind' chmod: cannot access `/etc/sentora/configs/bind/etc': No such file or directory chown: cannot access `/etc/bind/rndc.key': No such file or directory chmod: cannot access `/etc/bind/rndc.key': No such file or directory sed: can't read /etc/sentora/configs/bind/named.conf: No such file or directory ./install: line 1013: rndc-confgen: command not found ./install: line 1014: /etc/bind/named.conf: No such file or directory ./install: line 1015: /etc/bind/rndc.conf: No such file or directory -- Installing and configuring cron tasks sed: can't read /etc/sentora/configs/cron/zdaemon: No such file or directory cp: cannot stat `/etc/sentora/configs/cron/zdaemon': No such file or directory chmod: cannot access `/etc/cron.d/zdaemon': No such file or directory ./install: line 1051: mysql: command not found ./install: line 1052: mysql: command not found ./install: line 1053: mysql: command not found -- Configuring phpMyAdmin chmod: cannot access `/etc/sentora/configs/phpmyadmin/config.inc.php': No such file or directory sed: can't read /etc/sentora/configs/phpmyadmin/config.inc.php: No such file or directory ln: failed to create symbolic link `/etc/sentora/panel/etc/apps/phpmyadmin/config.inc.php': No such file or directory -- Configuring Roundcube ./install: line 1094: /etc/sentora/configs/sentora-install/sql/sentora_roundcube.sql: No such file or directory sed: can't read /etc/sentora/configs/roundcube/roundcube_config.inc.php: No such file or directory ./install: line 1099: mysql: command not found sed: can't read /etc/sentora/configs/roundcube/roundcube_config.inc.php: No such file or directory chown: cannot access `/etc/sentora/panel/etc/apps/webmail/temp': No such file or directory ln: failed to create symbolic link `/etc/sentora/panel/etc/apps/webmail/config/config.inc.php': No such file or directory ln: failed to create symbolic link `/etc/sentora/panel/etc/apps/webmail/plugins/managesieve/config.inc.php': No such file or directory -- Configuring Webalizer E: Could not get lock /var/cache/apt/archives/lock - open (11: Resource temporarily unavailable) E: Unable to lock directory /var/cache/apt/archives/ -- Configuring Sentora ./install: line 1128: setzadmin: command not found ./install: line 1129: /etc/sentora/panel/bin/setso: No such file or directory ./install: line 1130: /etc/sentora/panel/bin/setso: No such file or directory ./install: line 1138: /etc/sentora/panel/bin/setso: No such file or directory ./install: line 1139: php: command not found chattr: Operation not supported while reading flags on /etc/resolv.conf mysql: unrecognized service apache2: unrecognized service postfix: unrecognized service dovecot: unrecognized service cron stop/waiting cron start/running, process 3148 bind9: unrecognized service proftpd: unrecognized service atd stop/waiting atd start/running, process 3160 ######################################################## Congratulations Sentora has now been installed on your server. Please review the log file left in /root/ for any errors encountered during installation. Login to Sentora at http://**.***-***.** Sentora Username : zadmin Sentora Password : qgKjT2hwyOeF6JRk MySQL Root Password : CmNoOPl8AbqccJDD MySQL Postfix Password : momdXYUbp37AbOby MySQL ProFTPd Password : QgFSwPINHeG01edu MySQL Roundcube Password : oc2UI9KcucsbWTdR (theses passwords are saved in /root/passwords.txt) ######################################################## Restart your server now to complete the install (y/n)?

Any ideas?
@[BartManX], welcome to the Sentora Forums,

Have you done apt-get update before running the Sentora Install?

Try this (add sudo if needed):
Code:
rm -fR /var/lib/apt/lists/* apt-get clean apt-get autoremove apt-get update

EDIT: Fixed command typo, this is the correct one: rm -fR /var/lib/apt/lists/*
I think this is more related to VPS image not so minimal.

I see a lot of lock issues for installer/apt-get. Also I see a lot of packages for a minimal fresh install!

Who is your VPS provider?