Hi guys,
On a new debian linode vps Barracuda Head fails on install.

Webmin works. hostmaster is installed but does'nt resolve.
Accessing chive or hostmaster over the web fails.
Chive shows up, but on login gives this error
"Internal Server Error

include(PDO.php): failed to open stream: No such file or directory"

I am attaching the logs.

I have tried installing with php5.2 and 5.3 same result.

Thanks
Bob

Comments

omega8cc’s picture

Component: Code » Miscellaneous
Category: bug » support
Priority: Critical » Normal
Status: Active » Closed (cannot reproduce)

All those issues have been fixed a few days ago. Please always use freshly downloaded Barracuda script to install HEAD version.

BManuel’s picture

Status: Closed (cannot reproduce) » Active

Same thing with file I downloaded from the link you gave me. Now it just points to chive from all the URL and when I attempt to login get the same PDO error.
Would this problem have anything to do with the fact that I am using subdomain.domain.com as the hostname of this particular server. I pointed the subdomain to the server IP but the main domain itseft is pointed to another server. Does barracuda work with subdomain as host?
thanks

smoothify’s picture

I also experienced trouble with HEAD today and yesterday, with a freshly downloaded script. I tried it on both lucid and oneiric linodes, and today on a oneiric dedicated.

I don't have the install log handy, but I did have the same sort of problem where the aegir instance wouldn't open, but the collect graphs would.

Aegir didn't seem to be installed at all and there weren't any vhosts for it. There was also an error when copying the hostmaster alias - it didn't exist.

omega8cc’s picture

@BManuel - no, it just works and we have tested it on a fresh Squeeze at Linode many times. However, we didn't test 32bit, only 64bit version, but it shouldn't make any difference.

@smoothify - it is highly possible, as we don't test all distros with every change, only Squeeze. When it works fine or is fixed, then we will proceed with testing other distros, so they may be broken temporarily.

smoothify’s picture

@omega8cc Thanks for the follow up, i will probaly give Squeeze a try on head then.

omega8cc’s picture

@smoothify It is still under heavy development right now, so I can't guarantee it will work all the time, but Squeeze has now significant advantage over Ubuntu - it takes only 8-12 minutes to install Barracuda from scratch: http://twitter.com/omega8cc/status/191743916138168321

BManuel’s picture

Ok will try 64 bit now

omega8cc’s picture

Title: Head fails on fresh installs » Head fails on fresh installs on Squeeze 32bit and Ubuntu
Component: Miscellaneous » Code
Category: support » bug
Priority: Normal » Critical
Status: Active » Needs work

Just tried it on Squeeze 32bit and it does fail :/

smoothify’s picture

I've just tried squeeze 64bit (dedicated), but had some errors.

First, the MariaDB didn't work, it wasn't active at the end, and said error configuring it.

Percona did work instead, however i get this at the end of the install:

Barracuda [Fri Apr 20 20:33:15 CEST 2012] ==> INFO: Installing Aegir Master Instance, please wait...
Barracuda [Fri Apr 20 20:33:27 CEST 2012] ==> INFO: Running hosting-dispatch (1/3), please wait...
Barracuda [Fri Apr 20 20:33:33 CEST 2012] ==> INFO: Running hosting-dispatch (2/3), please wait...
Barracuda [Fri Apr 20 20:33:39 CEST 2012] ==> INFO: Running hosting-dispatch (3/3), please wait...
cat: /var/aegir/.drush/hostmaster.alias.drushrc.php: No such file or directory
Barracuda [Fri Apr 20 20:33:39 CEST 2012] ==> FATAL ERROR: Something went wrong, Aegir Master Instance not installed - exit now
Barracuda [Fri Apr 20 20:33:39 CEST 2012] ==> FATAL ERROR: Please check /var/aegir/install.log for more information on errors occured
==> Installing drush in /var/aegir
aegir-head-install.sh.txt: line 138: /usr/local/bin/php: No such file or directory
==> Drush is broken (/usr/local/bin/php /var/aegir/drush/drush.php help failed)
omega8cc’s picture

Title: Head fails on fresh installs on Squeeze 32bit and Ubuntu » HEAD install fails on Debian Squeeze 32bit

@smoothify

We are testing this with some set of config options while rewriting parts of the installer to make it more modular soon, so it is possible that we managed to break options we don't use in our tests, hence any report is useful only with all required config/logs attached. Please attach your install/config files, if possible. Thanks!

smoothify’s picture

Title: HEAD install fails on Debian Squeeze 32bit » Head fails on fresh installs on Squeeze 32bit and Ubuntu

Those last errors were due to _PHP_MODERN_ONLY being set to NO. PHP 5.2 didn't compile.

Installing PHP-FPM 5.2.17 part 2/3

sh ./configure --quiet --enable-fpm --enable-fastcgi --with-mysql --with-mysqli --enable-force-cgi-redirect --enable-discard-path --with-zlib --with-curl --with-curlwrappers --with-gd --enable-gd-native-ttf --with-jpeg-dir=/usr --with-png-dir=/usr --with-freetype-dir=/usr --with-t1lib=/usr --with-pear --with-imap --with-imap-ssl --with-openssl --with-pdo-mysql --enable-exif --enable-soap --enable-ftp --enable-zip --enable-mbstring --enable-pcntl --enable-bcmath --enable-calendar --with-kerberos --with-xsl --with-mcrypt --with-xmlrpc --with-ldap --with-gmp failed.  Error (if any): 0
 
Displaying the last 15 lines of /opt/tmp/aegir-install.log to help troubleshoot this problem.

When I check /opt/tmp/aegir-install.log it was empty, does that happen when you run the script again? If so, sorry my first instinct is to try and get a working system rather than hassling you with the report, are the logs archived any where?

Update: Switching _PHP_MODERN_ONLY to YES, fixed my problem, and now I have a working setup.

BManuel’s picture

64bit works for me, but martplug profile did not verify.
"The directory /data/disk/o1/distro/001/martplug-7.x-1.x-dev-7.12 does not contain a valid Drupal installation
Drupal sites directory /data/disk/o1/distro/001/martplug-7.x-1.x-dev-7.12/sites is not writable by the provisioning script"

Will retry with newer script later this evening or tomorrow and report back status. Thanks dev team for all your effort and wonderful timely support.
Bob

omega8cc’s picture

Title: Head fails on fresh installs on Squeeze 32bit and Ubuntu » HEAD install fails on Debian Squeeze 32bit
omega8cc’s picture

Status: Needs work » Fixed

All those 32bit and MariaDB related issues have been fixed.

Thanks for your help!

BTW: for martplug please see #1541920: All download links are broken - 404

Status: Fixed » Closed (fixed)

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