Posted by boztek on December 30, 2010 at 2:22pm
If you want to try out the latest pantheon on a linode server but are having trouble with its awesomely rapid development (i.e. bleeding edge) you should have better luck with my linode branch on github. I plan to keep it up to date with new changes in pantheon trunk but this branch should always be in a state that installs on a fresh lucid linode server.
Read the instructions in the README but basically:
- Install fresh 64 bit 10.04 lucid on linode
- ssh in as root
- run instructions in README (https://github.com/boztek/mercury/tree/linode)
- setup ssh tunnel to server for hudson access
- execute pantheon_config build from hudson
- execute install_site build (use 'pantheon' as project and profile)
- run drupal install.php from browser to install
- DONE!
Easy squeazy. Hope that helps those having trouble.

Comments
Fantastic!
@borg000,
I ran your script and it did complete, which is great! (I see you fixed the error where Linode expects xvda instead of sda1)
However, I'm not sure exactly how to setup the SSH tunnel to the Hudson server. I assume this hasn't run because I don't see any Pressflow source in /var/www.
What am I missing?
You should probably
You should probably investigate the specifics of ssh tunnels yourself but something like this:
ssh -f root@<linode.server.ip> -L 8999:localhost:8090 -Nwill let you access the hudson panel from localhost:8999 in your browser after entering the ssh password.
Then you can complete the instructions above ... it's the second of the hudson builds I mention (install_site) that actually downloads the pantheon pressflow site code.
could you be a bit more
could you be a bit more specific? Im sorry, but I am stuck on that part. I get a not found error when trying to run that...
www.thecenterofthenet.com
http://cn.linkedin.com/in/roberpteatonjr
http://www.facebook.com/robertp.eaton
http://www.alamy.com/stock-photography/6A42F1A1-E40A-48FD-8C7F-FF258A401...
Using PuTTy
Thanks for the reply. I also reviewed the thread here: http://groups.drupal.org/node/109934
Until that thread, I didn't catch the significance of the "new" Hudson approach. In the Pantheon 1.1 instructions, Hudson was not bound to localhost, so simply pointing to "http://my.linode.IP:8081" was all that was necessary to access Hudson.
For the benefit of others testing this, who may not understand the significance of the ssh tunnel, let me attempt to explain this in more detail, as I've been studying ssh tunneling for the past few days. (coincidentally) Borg000, please correct my explanation below if I get it wrong!
1) For security reasons, the Hudson server is now bound to localhost in version 1.2, so in order to access it, admins need to create a ssh tunnel to localhost on the Linode server that is hosting the Mercury install.
2) If accessing the Linode server from another Linux system, the admins should use something like the following command:
ssh -f root@<linode.server.ip> -L 8999:localhost:8090 -N
3) Once the tunnel is active, the admin can point to "http://localhost:8999" in a browser to see the Hudson server.
4) In my case, I use PuTTy to access my Linode server, so PuTTy users need to add the tunnel to their PuTTy configuration. To do this, go to the PuTTy config under "Connection/SSH/Tunnels" and add the tunnel there:
Source port: 8999
Destination: localhost:8090, then click add. Reload the PuTTy terminal to your Linode and the tunnel should be active. Then point to "http://localhost:8999" and the Hudson server should appear. (It does in my case. Yay!) Then complete the two scripts mentioned above. (wow, there are a lot of new scripts in 1.2)
Obviously, some of us experimenters are relative noobs with Linux administration, so we need a bit more hand holding than others. :-)
Awesome putty guide!!!!!!
Awesome putty guide!!!!!!
www.thecenterofthenet.com
http://cn.linkedin.com/in/roberpteatonjr
http://www.facebook.com/robertp.eaton
http://www.alamy.com/stock-photography/6A42F1A1-E40A-48FD-8C7F-FF258A401...
Thank you for explaining
Thank you for explaining that, but how would you go about debugging when http://localhost:8999 just gives an "Unable to connect" screen?
---------------
Update: Feeling like an idiot never felt so good. In case anyone is as sleep deprived as I and had this problem, be smart and open a new tab in terminal and tunnel in, instead of trying to create the tunnel on the server that you're already ssh'ed into.
-------------------
I followed (the already simple) instructions exactly. After failing miserably, I tried closing my ssh session, then ssh'ed back into my linode server, and entered the line that creates the tunnel, and this was returned:
bind: Address already in usechannel_setup_fwd_listener: cannot listen to port: 8999
Could not request local forwarding.
ps auxshows:hudson 23104 0.0 0.0 16880 376 ? Ss 03:10 0:00 /usr/bin/daemon --nahudson 23105 1.1 10.5 1125640 107172 ? Sl 03:10 0:23 /usr/bin/java -jar /
This is all very mysterious to me.
The instructions work well
The instructions work well for a linux box. I was unable to connect with OSX, although i'm sure there's probably a way, i didn't bother looking because i already had a linux vm handy. If you need a linux vm try this http://drupal.org/project/quickstart
You create the tunnel on your linux box to the linode, then open your browser on your linux box to http://localhost:8999. Worked perfectly for me the first time...
TravisC
So just to be clear, yes you
So just to be clear, yes you want to open the tunnel from your local machine.
on project install site I can
on project install site I can enter project and profile, then when I click on build, it refreshes and empties the values without building...
www.thecenterofthenet.com
http://cn.linkedin.com/in/roberpteatonjr
http://www.facebook.com/robertp.eaton
http://www.alamy.com/stock-photography/6A42F1A1-E40A-48FD-8C7F-FF258A401...
Try putting something in task id
Just put a 1 in the task id field as well as putting pantheon in project and profile fields.
Final note
For PuTTy users, keep in mind that the tunnel only remains active while the PuTTy terminal is open. If a script reboots the server, the original PuTTy session will end and the tunnel will terminate. Simply reload PuTTy to reactivate the tunnel and make Hudson accessible again.
Ive tried with three
Ive tried with three different browsers and a fresh linode node each time, ans cant get it run the "Project Install Site"
in firefox the form doenst completrely render.
In chrome I get two blanks for project and profile, and then project id text and nothing more....
I cant get that to guild. Sooo close....
www.thecenterofthenet.com
http://cn.linkedin.com/in/roberpteatonjr
http://www.facebook.com/robertp.eaton
http://www.alamy.com/stock-photography/6A42F1A1-E40A-48FD-8C7F-FF258A401...
I ran Hudson in Firefox
I'm assuming you are using Windows with PuTTy. My build seems to have completed successfully. Just make sure your PuTTy session remains active during the Hudson build.
Wait a second, Im in China,
Wait a second, Im in China, and when using a proxy to access It did completely render the form. I guess there is something being blocked by the great firewall of China?
www.thecenterofthenet.com
http://cn.linkedin.com/in/roberpteatonjr
http://www.facebook.com/robertp.eaton
http://www.alamy.com/stock-photography/6A42F1A1-E40A-48FD-8C7F-FF258A401...
My biggest question... how
My biggest question... how can we use the sites stored in the test and dev folders? So interesting!
www.thecenterofthenet.com
http://cn.linkedin.com/in/roberpteatonjr
http://www.facebook.com/robertp.eaton
http://www.alamy.com/stock-photography/6A42F1A1-E40A-48FD-8C7F-FF258A401...
Database question... I have
Database question... I have mydatabase.sql backed up from my old server, I had planned on just dropping the pantheon database, and making new database named pantheon empty, and then just importing my old database into it. Right now I am putting my old database in the root directory...
But I see there are three verstions,,, site, dev and live... I am assuming there are now three databases? can you tell me what is the name of each database, and if I want to use the dev version, how can I use the dev version, what is the name of he dev version database to drop and recreate/ import too?
Thanks for any help. I am so excited.
www.thecenterofthenet.com
http://cn.linkedin.com/in/roberpteatonjr
http://www.facebook.com/robertp.eaton
http://www.alamy.com/stock-photography/6A42F1A1-E40A-48FD-8C7F-FF258A401...
WOw this was great. Thanks a
WOw this was great. Thanks a ton, After trying on my local and virtual machines for a few days I was able to run mercury just now on a linode.. pretty exciting. I just wanted to +1 on the question above about the dev test live sites and how to manage them and the workflow we should take.. thanks a lot
How to run drush ?
Also I can't run drush on the linode in /var/www/pantheon/live .. I get some errors:
drush dl admin_menuNo database selected [warning]
query: SHOW TABLES LIKE 'access' database.mysqli.inc:148
Cannot modify header information - headers already sent by (output started at [warning]
/opt/drush/includes/drush.inc:820) install.inc:618
Cannot modify header information - headers already sent by (output started at [warning]
/opt/drush/includes/drush.inc:820) install.inc:619
Drush command could not be completed. [error]
How about other drush
How about other drush commands? Try running
drush st --debug- it may point towards the problem.I vaguely recall having this issue and messing with Pressflow's cookie_cache_bypass module, but that could well be a stab in the dark. I'll re-post if I can remember how that one went...
Thanks sammyng, here'e what I
Thanks sammyng, here'e what I get from drush st --debug: I can't figure out what the problem is though!
drush st --debugFound command: core-status (commandfile=core) [0.05 sec, 4.74 MB] [bootstrap]
Initializing drush commandfile: drush_make [0.05 sec, 4.75 MB] [bootstrap]
Initializing drush commandfile: drush_make_d_o [0.05 sec, 4.75 MB] [bootstrap]
Drush bootstrap phase : _drush_bootstrap_drupal_root() [0.05 sec, 4.77 MB] [bootstrap]
Initialized Drupal 6.20 root directory at /var/www/pantheon/live [0.06 sec, 5.8 MB] [notice]
Drush bootstrap phase : _drush_bootstrap_drupal_site() [0.06 sec, 5.81 MB] [bootstrap]
Initialized Drupal site default at sites/default [0.06 sec, 5.86 MB] [notice]
Drush bootstrap phase : _drush_bootstrap_drupal_configuration() [0.06 sec, 5.86 MB] [bootstrap]
Undefined index: db_username pantheon.settings.php:3 [0.06 sec, 5.89 MB] [notice]
Undefined index: db_password pantheon.settings.php:3 [0.06 sec, 5.89 MB] [notice]
Undefined index: db_name pantheon.settings.php:3 [0.06 sec, 5.89 MB] [notice]
Undefined index: solr_path pantheon.settings.php:13 [0.06 sec, 5.89 MB] [notice]
Undefined index: memcache_prefix pantheon.settings.php:23 [0.06 sec, 5.9 MB] [notice]
Undefined index: user environment.inc:700 [0.06 sec, 5.88 MB] [notice]
Drush bootstrap phase : _drush_bootstrap_drupal_database() [0.06 sec, 5.88 MB] [bootstrap]
Successfully connected to the Drupal database. [0.06 sec, 5.88 MB] [bootstrap]
Undefined index: user database.mysqli.inc:66 [0.07 sec, 6.39 MB] [notice]
No database selected [warning]
query: SHOW TABLES LIKE 'access' database.mysqli.inc:148 [0.07 sec, 6.42 MB]
Cannot modify header information - headers already sent by (output started at [warning]
/opt/drush/includes/drush.inc:820) install.inc:618 [0.07 sec, 6.63 MB]
Cannot modify header information - headers already sent by (output started at [warning]
/opt/drush/includes/drush.inc:820) install.inc:619 [0.07 sec, 6.63 MB]
Drush command could not be completed. [0.07 sec, 6.63 MB] [error]
Hmm. To be totally honest, me
Hmm. To be totally honest, me neither, but here goes...
I take it the site at /var/www/pantheon/live is working happily, or not? If not, you may want to troubleshoot that first ;-)
It looks like drush can't find DB info for the live site. You could try
drush vget db_usernameetc. to see if those 'Undefined index:' variables have been set, though I wouldn't know why they hadn't been set.That's all I can think of for now.
Thanks a lot.. the live
Thanks a lot.. the live install actually works fine.. I was just trying to install some modules through drush without luck :(
I looked into it and it seems that the way pantheon is setup, the db variables are not hard coded into the settings.php file, they are in fact in the pantheon.settings.php file which is attached at the bottom of the settings.php file with an
include 'pantheon.settings.php';, and then inside pantheon.settings.php I have a line that reads:So I am guessing that drush is looking for a hard coded versoion of the db variables and can't get the $_SERVER variables, or there is nothing there to be found.. I say this because I just did a
php -r 'print_r ($_SERVER);from the command line, and this is what I get. There is no [db_username] or [db_password] etc... (I just took out my ip address for security reasons...)root@li231-34:/var/www/pantheon/live# php -r 'print_r ($SERVER);'
Array
(
[TERM] => xterm-color
[SHELL] => /bin/bash
[SSH_CLIENT] => xxxxxxxxxxxxxx
[SSH_TTY] => /dev/pts/0
[USER] => root
[MAIL] => /var/mail/root
[PATH] => /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
[PWD] => /var/www/pantheon/live
[SHLVL] => 1
[HOME] => /root
[LOGNAME] => root
[SSH_CONNECTION] => xxxxxxxxxxxxxxxxxxxxx
[LESSOPEN] => | /usr/bin/lesspipe %s
[LESSCLOSE] => /usr/bin/lesspipe %s %s
[] => /usr/bin/php
[OLDPWD] => /opt/pantheon
[PHP_SELF] => -
[SCRIPT_NAME] => -
[SCRIPT_FILENAME] =>
[PATH_TRANSLATED] =>
[DOCUMENT_ROOT] =>
[REQUEST_TIME] => 1293755938
[argv] => Array
(
[0] => -
)
[argc] => 1
)
So I guess my question is, with panthoen being setup on this manner, how SHOULD the db_variable sbe passsed to drush? and if it can't be passed this way, can I just go ahead and hard code this into settings.php?
That's odd, because includes
That's odd, because includes have been known to work with drush (http://groups.drupal.org/node/47336#comment-122894). I've not had a chance to try pantheon 1.2 yet and didn't realise things were done this way.
The db_username and other variables won't be in $SERVER (I don't think). Did you try
drush vget db_username?You could try specifying the live site explicitly using
--urior-l(so,drush st --uri=example.com).To use drush...
You can use drush in Pantheon by using aliases that are setup during the site_install process:
For example to get status:
drush @pantheon_live status
There are also aliases for dev/test environments (@pantheon_dev, @pantheon_test)
There is a known issue with the "updatedb" command where drush will fail (we're looking into possible solutions).
if there is anyone here that
if there is anyone here that knows where the multi-site doccumentation is of this build to get the dev/test/live site working, and which / what are the names of the database for each site I would really appreciate the info . Thanks!
www.thecenterofthenet.com
http://cn.linkedin.com/in/roberpteatonjr
http://www.facebook.com/robertp.eaton
http://www.alamy.com/stock-photography/6A42F1A1-E40A-48FD-8C7F-FF258A401...
Lots to learn
It's interesting that the db variables, passwords, and memcache prefixes are stored in the virtual host files in etc/apache2/sites-available (& of course, sites-enabled)
That's an interesting way to handle these variables so that the settings files don't have to be tweaked so much. I haven't thought through all the ramifications yet, but this looks like a strong basis for setting up multiple sites with virtual hosting.
ok great! I see that the
ok great! I see that the variables are located in the etc/apache2/sites-available (& of course, sites-enabled) as mentioned by zoon_unit....
The question is how to activate/select the versiont of the site to be displayed? I have tried www.myhost.com/dev or www.myhost.com/test with no luck...
www.thecenterofthenet.com
http://cn.linkedin.com/in/roberpteatonjr
http://www.facebook.com/robertp.eaton
http://www.alamy.com/stock-photography/6A42F1A1-E40A-48FD-8C7F-FF258A401...
re: ok great! I see that the
Once you change the domain setting in the vhosts file to match your domain, you should be able to use myhost.com (live), test.myhost.com and dev.myhost.com.
Greg
--
Greg Coit
Systems Administrator
http://www.chapterthree.com
I'm still completely lost on
I'm still completely lost on how to set up the vhosts for this install of Mercury. After installing, and pointing example.com (my primary domain) to my ip, I am thankfully taken to my live site automatically. But I would like to be able to access the dev and test sites, and also to have exmpl.com (my secondary domain) send me to example.com without a 301.
I tried editing /etc/apache2/sites-enabled/000_pantheon_live:
From
<VirtualHost * :8080>ServerAdmin webmaster@localhost
ServerName live
ServerAlias live. * .gotpantheon.com
# those spaces around * aren't present in my actual code
To
<VirtualHost *:8080>ServerAdmin webmaster@localhost
ServerName example.com
ServerAlias www.example.com
ServerAlias exmpl.com
ServerAlias www.exmpl.com
But after restarting my server, there is no difference. Which makes sense to me, since I never had to visit live.example.gotpantheon.com to visit my live site in the first place. So do these files not get used? Which file would I need to edit to do this?
did you setup your DNS
did you setup your DNS entries for test and dev?
Once you set up your vhost files correctly you also need to add test and dev for the ip as well.
TravisC
Thanks for the info. In my
Thanks for the info. In my DNS manager I have example.com pointing to ns1.linode.com, ns2... etc. Do you mean I need to add the live, dev, & test subdomains to that DNS entry? Does my secondary domain (exmpl.com) also need it's own DNS entry?
Are
/etc/apache2/sites-enabled/000_pantheon_live/etc/apache2/sites-enabled/pantheon_dev
/etc/apache2/sites-enabled/pantheon_test
Add the subdomains to your A
Add the subdomains to your A name records.
Sorry i should be more specific
A/AAAA Records
Hostname IP Address TTL Options
dev 173.xxx.xxx.xxx Default Edit | Remove
test 173.xxx.xxx.xxx Default Edit | Remove
www 173.xxx.xxx.xxx Default Edit | Remove
TravisC
Awesome that you put that
great work putting that together, thanks
www.thecenterofthenet.com
http://cn.linkedin.com/in/roberpteatonjr
http://www.facebook.com/robertp.eaton
http://www.alamy.com/stock-photography/6A42F1A1-E40A-48FD-8C7F-FF258A401...
great thread, i'll point people this direction
great work, everything works flawlessly, the future of drupal development is here today...
TravisC
Borg000, you are responsible
Borg000, you are responsible for making my dreams come true. If I ever make money off of my project, expect a hefty donation. Thank you.
What are all the variables to
What are all the variables to allow pantheon to make full use of all my memory available on linode? I have the 1536 package, and am trying to get a monster resource eating site to behave so I can just delete thousands of old nodes and get everything running smooth again, I want to give it the most memory possible in off line mode to get everything stableized so I can bring everything down to earth a trouble shoot the resource hog issue. I have 650 users I cant affor to lose or their work..
Can you tell me all the places I an set the max php memory limit to unlimited? thanks!
www.thecenterofthenet.com
http://cn.linkedin.com/in/roberpteatonjr
http://www.facebook.com/robertp.eaton
http://www.alamy.com/stock-photography/6A42F1A1-E40A-48FD-8C7F-FF258A401...
Question/ updaating site from
Question/ updaating site from an old core dev version of 6.19 to the newer bversion of 6.20 included with pantheon, should we set the =TRUE in settings.php and run update as we did on non pantheon installs in a normal drupal setup to get the core updated correctly?
What variables do I need to change where before running update.php ? thanks!
www.thecenterofthenet.com
http://cn.linkedin.com/in/roberpteatonjr
http://www.facebook.com/robertp.eaton
http://www.alamy.com/stock-photography/6A42F1A1-E40A-48FD-8C7F-FF258A401...
Updating
Keep in mind I haven't looked at updating already provisioned servers so beware of that - I'll look into it but at the moment I'm only aiming to provide a "stable" snapshot that will always be installable on linode without making changes and I'm also regularly merging pantheon 1.2 updates and while I don't plan on doing anything evil like a commit history rewrite of the linode branch I can't promise.
I Agree you have a great
I Agree you have a great base! But I have hundreds of hours in an old drupal site I need to trnsfer and update to the core version you have provided. I really appreciate your hard work!
Here is my update plan---
1) Install everything on a fresh node per your instructions
2) Tar and upload all my site files and stuff to a test dir right next to the pantheon folder created by hudson
3) Extract the old site/all/modules files to the pantheon directories
4) do the same thing wihth the misc files/ stuff
5) extract the olddatabase.sql and import
6) how to update the core version from the backed up 6.19 dev to the newer 6.20 included core module files?
I guess just throw away old sit .htaccess file.
If anyone has any other ideas about something I have to do with hudson let me know... I have only used hudson for the install and dont know if there is something else that needed in hudson.
www.thecenterofthenet.com
http://cn.linkedin.com/in/roberpteatonjr
http://www.facebook.com/robertp.eaton
http://www.alamy.com/stock-photography/6A42F1A1-E40A-48FD-8C7F-FF258A401...
Im having a problem getting
Im having a problem getting 500 errors after trying to update modules with update.php on a site whcich the database has been imported into without any problems. If you have any ideas I am all ears....
www.thecenterofthenet.com
http://cn.linkedin.com/in/roberpteatonjr
http://www.facebook.com/robertp.eaton
http://www.alamy.com/stock-photography/6A42F1A1-E40A-48FD-8C7F-FF258A401...
well I went through and
well I went through and started to use drush my first time and was able to see and disable the modules that were making the problems durring the update attempts. Now, I had a problem using drush to update to dev versions a little bit... but I will save that for later.
Drush looks awesome. Just getting my feet wet with it. Drupal is just getting to another level for me.
www.thecenterofthenet.com
http://cn.linkedin.com/in/roberpteatonjr
http://www.facebook.com/robertp.eaton
http://www.alamy.com/stock-photography/6A42F1A1-E40A-48FD-8C7F-FF258A401...
@Borg000, how do you go about
@Borg000, how do you go about backing up your entire Mercury server (running a live site) @ Linode? Is the backup service that Linode offers comprehensive enough?
I would like to have something like a zipped file of the entire environment that I could restore to any 64 bit Ubuntu 10.04 server. Or is that not really possible?
(Sorry!, I hate to contribute to this thread being one big technical support request)
if a daily backup fits the
if a daily backup fits the requirements you can just use linodes services, alternately you could also create a script that runs a daily backup http://library.linode.com/beginners-guide/#how_can_i_download_a_backup_o... but this transfer would also go against your over all bandwidth cap.
TravisC
This is off topic for this
Sorry, the answer above is correct but yes can we keep such off topic questions off this thread please.
I think the back up service
I think the back up service is great. I shut down my linode though before making a snapshot. I have not tried a live back up recovery......
www.thecenterofthenet.com
http://cn.linkedin.com/in/roberpteatonjr
http://www.facebook.com/robertp.eaton
http://www.alamy.com/stock-photography/6A42F1A1-E40A-48FD-8C7F-FF258A401...
Anyone get the gd libraries working?
Folowing the stick install instructions, I dont want to replace the debian files, I think its too dangerous...
www.thecenterofthenet.com
http://cn.linkedin.com/in/roberpteatonjr
http://www.facebook.com/robertp.eaton
http://www.alamy.com/stock-photography/6A42F1A1-E40A-48FD-8C7F-FF258A401...
I may be confused, but after
I may be confused, but after installing on my linode, I can access the Hudson and ran the install_site, which created the 3 sites, test, live, dev in the /var/www/pantheon/ directory. When I tried to add another site, by running install_site again, it failed. Is this not the proper workflow for adding sites? Is the interface shown in the vimeo demo only a chapter 3 thing? I am seriously considering this as my dev platform if it can create sites and manage simular to Aegir, which I currently run a Barracuda version of.
Thanks.
If you want to manage
If you want to manage multiple different projects/platforms, Aegir is still the way to go. You could use Pantheon as your servers, along with your Aegir host. But from what i understand Pantheon is intended to just be provisioned for one site production site, with a dev and test install hosted on the same server.
TravisC
receiving error while trying
receiving error while trying to install, running pantheon config script:
Running probe key_buffer_size
Probe key_buffer_size has result:
8
Server failure: The read operation timed out
Failed to download configuration from Bcfg2
Fatal error: local() encountered an error (return code 2) while executing '/usr/sbin/bcfg2 -vqed'
Aborting.
[pantheon@localhost] Executing task 'configure'
[localhost] run: apt-get -y update
[localhost] run: apt-get -y dist-upgrade
[localhost] run: git pull origin master
[localhost] run: /usr/sbin/bcfg2 -vqed
Recording test results
Performing Post build task...
Match found for : : True
Logical operation result is TRUE
Running script : python /opt/pantheon/fab/atlas_postback.py
[workspace] $ /bin/sh -xe /tmp/hudson6089203865237820780.sh
+ python /opt/pantheon/fab/atlas_postback.py
WARNING: No build parameters found.
Traceback (most recent call last):
File "/opt/pantheon/fab/atlas_postback.py", line 40, in
main()
File "/opt/pantheon/fab/atlas_postback.py", line 11, in main
postback_atlas(options.check_changed_status)
File "/opt/pantheon/fab/atlas_postback.py", line 35, in postback_atlas
postback.postback(response)
File "/opt/pantheon/fab/pantheon/postback.py", line 30, in postback
'response_to': {'task_id': task_id}})
File "/opt/pantheon/fab/pantheon/postback.py", line 189, in _send_response
headers)
File "/usr/lib/python2.6/httplib.py", line 910, in request
self._send_request(method, url, body, headers)
File "/usr/lib/python2.6/httplib.py", line 947, in _send_request
self.endheaders()
File "/usr/lib/python2.6/httplib.py", line 904, in endheaders
self._send_output()
File "/usr/lib/python2.6/httplib.py", line 776, in _send_output
self.send(msg)
File "/usr/lib/python2.6/httplib.py", line 735, in send
self.connect()
File "/usr/lib/python2.6/httplib.py", line 1112, in connect
self.sock = ssl.wrap_socket(sock, self.key_file, self.cert_file)
File "/usr/lib/python2.6/ssl.py", line 350, in wrap_socket
suppress_ragged_eofs=suppress_ragged_eofs)
File "/usr/lib/python2.6/ssl.py", line 113, in init
cert_reqs, ssl_version, ca_certs)
ssl.SSLError: [Errno 336265218] _ssl.c:337: error:140B0002:SSL routines:SSL_CTX_use_PrivateKey_file:system lib
POST BUILD TASK : FAILURE
END OF POST BUILD TASK : 0
Finished: FAILURE
www.thecenterofthenet.com
http://cn.linkedin.com/in/roberpteatonjr
http://www.facebook.com/robertp.eaton
http://www.alamy.com/stock-photography/6A42F1A1-E40A-48FD-8C7F-FF258A401...
I have tried wiping and
I have tried wiping and installign frmo a clean linode 5 times, and it fails... any ideas???????
www.thecenterofthenet.com
http://cn.linkedin.com/in/roberpteatonjr
http://www.facebook.com/robertp.eaton
http://www.alamy.com/stock-photography/6A42F1A1-E40A-48FD-8C7F-FF258A401...
fails again, this time in
fails again, this time in install site on hudson with
tarted by user anonymous
[workspace] $ /bin/sh -xe /tmp/hudson6449290817480469279.sh
+ cd /opt/pantheon/fab
+ /usr/bin/sudo -E /usr/bin/fab clean_workspace
[pantheon@localhost] Executing task 'clean_workspace'
[localhost] run: rm -f /var/lib/hudson/jobs/install_site/workspace/*
Done.
+ /usr/bin/sudo -E /usr/bin/fab install_site:project=pantheon,profile=pantheon
Fatal error: local() encountered an error (return code 128) while executing 'git clone --mirror git://gitorious.org/pantheon/6.git /var/git/projects/pantheon'
Aborting.
[pantheon@localhost] Executing task 'install_site'
[localhost] run: git clone --mirror git://gitorious.org/pantheon/6.git /var/git/projects/pantheon
Recording test results
Performing Post build task...
Match found for : : True
Logical operation result is TRUE
Running script : python /opt/pantheon/fab/atlas_postback.py
[workspace] $ /bin/sh -xe /tmp/hudson264958303879390870.sh
+ python /opt/pantheon/fab/atlas_postback.py
POST BUILD TASK : SUCCESS
END OF POST BUILD TASK : 0
Match found for : : True
Logical operation result is TRUE
Running script : curl -X POST http://localhost:8090/safeRestart
[workspace] $ /bin/sh -xe /tmp/hudson6569732945725523256.sh
+ curl -X POST http://localhost:8090/safeRestart
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
POST BUILD TASK : SUCCESS
END OF POST BUILD TASK : 1
Finished: FAILURE
www.thecenterofthenet.com
http://cn.linkedin.com/in/roberpteatonjr
http://www.facebook.com/robertp.eaton
http://www.alamy.com/stock-photography/6A42F1A1-E40A-48FD-8C7F-FF258A401...
in thus setup, whats the best
in thus setup, whats the best setting?
By default, Pantheon compresses the pages it caches in order to save bandwidth and improve download times. This option should be disabled when using a webserver that performs compression.
Do we enable or disable this feature in site-performace? Setting up with a clean install following instructions in this thread..?
www.thecenterofthenet.com
http://cn.linkedin.com/in/roberpteatonjr
http://www.facebook.com/robertp.eaton
http://www.alamy.com/stock-photography/6A42F1A1-E40A-48FD-8C7F-FF258A401...
Leave it disabled
After installing 'Page compression' is disabled. This is correct, leave it alone as compression is done by web server with pantheon.
should we run the bcfg2
should we run the bcfg2 script thats is in hudson? i have a problem that everything is working great except it is causing a 503 after trying to register a new user and that part is really killing me. I have been trying everything. I cant see any reason in my server logs for the 503....
www.thecenterofthenet.com
http://cn.linkedin.com/in/roberpteatonjr
http://www.facebook.com/robertp.eaton
http://www.alamy.com/stock-photography/6A42F1A1-E40A-48FD-8C7F-FF258A401...
Install fresh Ubuntu 10.04
Can you tell me whats
Can you tell me whats different between the adress you have gaven and this address : https://github.com/boztek/mercury/tree/linode which is better/newr/more configured for linode?
I received an error on configure pantheon, so I am going to use Bozteks again. It works smoothly.
Also, I tried installing the updates first and setting the server nam, which in the end gave an error on configure pantheon. The instructions at the beginning of this thread work great on a fresh linode, for those who are trying this.
www.thecenterofthenet.com
http://cn.linkedin.com/in/roberpteatonjr
http://www.facebook.com/robertp.eaton
http://www.alamy.com/stock-photography/6A42F1A1-E40A-48FD-8C7F-FF258A401...
What if you instaleed already
What if you instaleed already and did not do these steps:
find "sda1" in initialization.py and change "sda1" to "xvda"
cd /opt/pantheon
is that a big problem? Should I back up my stuff, and reinstall pantheon for that specific step? What about the bcfg2 stuff... she would worry about that? I see it in pantheon, and I saw it on the 1.1 setup, however on 1.2 setup I sont seet it being used on linode. In fact I do not even know what it is.
www.thecenterofthenet.com
http://cn.linkedin.com/in/roberpteatonjr
http://www.facebook.com/robertp.eaton
http://www.alamy.com/stock-photography/6A42F1A1-E40A-48FD-8C7F-FF258A401...
i know its above and beyond,
i know its above and beyond, but to make this even a better guide would you be able to provie a server tuneables upp to date configuration for 1.2 and linode? I know its a lot of extra work. If you did it though I know it would be really useful for everyone.
Thanks if you can!
www.thecenterofthenet.com
http://cn.linkedin.com/in/roberpteatonjr
http://www.facebook.com/robertp.eaton
http://www.alamy.com/stock-photography/6A42F1A1-E40A-48FD-8C7F-FF258A401...
HI, Im seeing this error
HI, Im seeing this error :
line 21: SSL_CTX_use_certificate_chain_file "/etc/pantheon/system.pem" failed - aborted
error:02001002:system library:fopen:No such file or directory
on the default setup found here. Any ideas why this can be?
I view this error through the systemn terminal through the Linode website.....Thanks for any info
www.thecenterofthenet.com
http://cn.linkedin.com/in/roberpteatonjr
http://www.facebook.com/robertp.eaton
http://www.alamy.com/stock-photography/6A42F1A1-E40A-48FD-8C7F-FF258A401...
404 error when building the pantheon_config
Hi,
I've tried vedat.kamer approach, and got a:
" Traceback (most recent call last):
File "/opt/pantheon/fab/configure.py", line 25, in configure
_configure_certificates()
File "/opt/pantheon/fab/configure.py", line 102, in _configure_certificates
host_info = json.loads(urllib2.urlopen('%s/info' % pki_server).read())
File "/usr/lib/python2.6/urllib2.py", line 126, in urlopen
return _opener.open(url, data, timeout)
File "/usr/lib/python2.6/urllib2.py", line 397, in open
response = meth(req, response)
File "/usr/lib/python2.6/urllib2.py", line 510, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python2.6/urllib2.py", line 435, in error
return self._call_chain(*args)
File "/usr/lib/python2.6/urllib2.py", line 369, in _call_chain
result = func(*args)
File "/usr/lib/python2.6/urllib2.py", line 518, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 404: Not Found"
Any clue/help welcomed,
Thanks,
Denis
Have you tried the
Have you tried the instructions in the first post of this thread?
receiving this error: Server
receiving this error:
Server failure: _ssl.c:465: The handshake operation timed out
It stops at 'Upstart', 'YUMng', 'Chkconfig', 'Encap', 'MacPorts', 'POSIX', 'SYSV', 'YUM24'], 'interactive': False}
And the strange thing is, it stoped at the exact same loation when trying to install a fresh version of 1.2 on linode, and it stops when usign an existing pantheon version which has been running perfectly for a week... All I did was try to change the apache2.conf, but I undid my changes on the existing pantheon 1.2 week long site...
Is there any reason why /usr/sbin/bcfg2 -vqed could be failing on a running site, and on a fresh installation on linode.. I mean a reason that is not because of my server?
I even tried a backed up snapshot that runs great with the same problem...
Googling the issue comes to another drupal user : http://permalink.gmane.org/gmane.comp.sysutils.bcfg2.devel/3762
But I cant understand...
www.thecenterofthenet.com
http://cn.linkedin.com/in/roberpteatonjr
http://www.facebook.com/robertp.eaton
http://www.alamy.com/stock-photography/6A42F1A1-E40A-48FD-8C7F-FF258A401...
Pantheon Linode
When I try to install Boztek's Pantheon on Linode I keep getting this error.
[localhost] run: drush dl apachesolr
[localhost] run: cp apachesolr/schema.xml /opt/pantheon/fab/templates/solr/conf
[localhost] run: cp apachesolr/solrconfig.xml /opt/pantheon/fab/templates/solr/conf
[localhost] run: chown -R tomcat6:root /var/solr/
[localhost] run: rm -rf /tmp/tmpbo3_8S
[localhost] run: touch /etc/sudoers.d/003_pantheon_extra
[localhost] run: chmod 0440 /etc/sudoers.d/003_pantheon_extra
[localhost] run: usermod -aG ssl-cert hudson
Fatal error: local() encountered an error (return code 6) while executing 'usermod -aG ssl-cert hudson'
Aborting.
Any suggestions on what I might be doing wrong?
Thanks,
D
Im not sure... I have
-----END CERTIFICATE-----
[localhost] local: echo "pantheon.crt" | sudo tee -a /etc/ca-certificates.conf
pantheon.crt
[localhost] local: sudo update-ca-certificates
Updating certificates in /etc/ssl/certs... WARNING: Skipping duplicate certifica
1 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d....done.
[localhost] local: cp apt.pantheon.list /etc/apt/sources.list.d/pantheon.list
cp: cannot stat `apt.pantheon.list': No such file or directory
Fatal error: local() encountered an error (return code 1) while executing 'cp ap
IF ANYONE KNOWS HOW TO FIX THIS THAT WOULD BE GREAT!
www.thecenterofthenet.com
http://cn.linkedin.com/in/roberpteatonjr
http://www.facebook.com/robertp.eaton
http://www.alamy.com/stock-photography/6A42F1A1-E40A-48FD-8C7F-FF258A401...
'usermod -aG ssl-cert hudson'
I'm getting this same exact error... Not sure what to do...
Steve Oliver
Actually, the sad thing is
Actually, the sad thing is right after posting that I cant get pantheon to run anymore... Server failure: Protocol Error: 500 Internal Server Error
Failed to download probes from bcfg2
Server Failure
I hope that is not a bad error I have been working 48 hours straight non this.. actuall more than 70 this week. Just when I though I was majking progress.
www.thecenterofthenet.com
http://cn.linkedin.com/in/roberpteatonjr
http://www.facebook.com/robertp.eaton
http://www.alamy.com/stock-photography/6A42F1A1-E40A-48FD-8C7F-FF258A401...
Are there any instructions for a build on a local machine?
I want to test this on my local machine using a vbox and the Ubuntu 10.04 server Lucid Lynx. What is the best way to go?
@ boztek, Will your linode setup work?
@zoon_unit have you been trying this at several sites (rackspace, linode, amazon...) ?
Thanks guys for your guidance and posts here.