Skip to content

Instantly share code, notes, and snippets.

@blissdev
Created August 21, 2008 20:54
Show Gist options
  • Save blissdev/6641 to your computer and use it in GitHub Desktop.
Save blissdev/6641 to your computer and use it in GitHub Desktop.
set :user, 'root'
set :password, ''
ssh_options[:keys] = ["#{ENV['HOME']}/.ssh/id_rsa-lingfling-keypair"]
role :app, 'ec2-67-202-52-210.compute-1.amazonaws.com', :primary => true
--> Checking if passenger is already installed for roles: app
--> Verifying passenger...
--> Installing passenger for roles: app
*** [err :: ec2-67-202-52-210.compute-1.amazonaws.com] rm -rf Utils.o Bucket.o Logging.o System.o Configuration.o Hooks.o mod_passenger.o mod_passenger.so ApplicationPoolServerExecutable
*** [err :: ec2-67-202-52-210.compute-1.amazonaws.com]
*** [err :: ec2-67-202-52-210.compute-1.amazonaws.com] make clean
*** [err :: ec2-67-202-52-210.compute-1.amazonaws.com]
*** [err :: ec2-67-202-52-210.compute-1.amazonaws.com] rm -f Makefile
*** [err :: ec2-67-202-52-210.compute-1.amazonaws.com]
*** [err :: ec2-67-202-52-210.compute-1.amazonaws.com] rm -f libboost_thread.a *.o
*** [err :: ec2-67-202-52-210.compute-1.amazonaws.com]
*** [err :: ec2-67-202-52-210.compute-1.amazonaws.com] rm -f Apache2ModuleTests *.o
*** [err :: ec2-67-202-52-210.compute-1.amazonaws.com]
*** [err :: ec2-67-202-52-210.compute-1.amazonaws.com] rm -f DummyRequestHandler ApplicationPool
*** [err :: ec2-67-202-52-210.compute-1.amazonaws.com]
*** [err :: ec2-67-202-52-210.compute-1.amazonaws.com] g++ -g -DPASSENGER_DEBUG -fPIC -I../.. -D_REENTRANT -DNDEBUG -c *.cpp
*** [err :: ec2-67-202-52-210.compute-1.amazonaws.com]
*** [err :: ec2-67-202-52-210.compute-1.amazonaws.com] g++ -g -DPASSENGER_DEBUG -fPIC -I../.. -D_REENTRANT -DNDEBUG -c pthread/exceptions.cpp
*** [err :: ec2-67-202-52-210.compute-1.amazonaws.com]
*** [err :: ec2-67-202-52-210.compute-1.amazonaws.com] g++ -g -DPASSENGER_DEBUG -fPIC -I../.. -D_REENTRANT -DNDEBUG -c pthread/once.cpp
*** [err :: ec2-67-202-52-210.compute-1.amazonaws.com]
*** [err :: ec2-67-202-52-210.compute-1.amazonaws.com] g++ -g -DPASSENGER_DEBUG -fPIC -I../.. -D_REENTRANT -DNDEBUG -c pthread/thread.cpp
*** [err :: ec2-67-202-52-210.compute-1.amazonaws.com]
*** [err :: ec2-67-202-52-210.compute-1.amazonaws.com] ar cru libboost_thread.a *.o
*** [err :: ec2-67-202-52-210.compute-1.amazonaws.com] ranlib libboost_thread.a
*** [err :: ec2-67-202-52-210.compute-1.amazonaws.com] g++ -I.. -fPIC -g -DPASSENGER_DEBUG -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/usr/include/apr-1.0 -DLINUX=2 -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -D_REENTRANT -I/usr/include/apr-1.0 -I/usr/include/openssl -I/usr/include/postgresql -I/usr/include/xmltok -pthread -I/usr/include/apache2 -D_REENTRANT -g -DPASSENGER_DEBUG -Wall -I/usr/local/include -c mod_passenger.c
*** [err :: ec2-67-202-52-210.compute-1.amazonaws.com] g++ -I.. -fPIC -g -DPASSENGER_DEBUG -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/usr/include/apr-1.0 -DLINUX=2 -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -D_REENTRANT -I/usr/include/apr-1.0 -I/usr/include/openssl -I/usr/include/postgresql -I/usr/include/xmltok -pthread -I/usr/include/apache2 -D_REENTRANT -g -DPASSENGER_DEBUG -Wall -I/usr/local/include -c Utils.cpp
*** [err :: ec2-67-202-52-210.compute-1.amazonaws.com] g++ -I.. -fPIC -g -DPASSENGER_DEBUG -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/usr/include/apr-1.0 -DLINUX=2 -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -D_REENTRANT -I/usr/include/apr-1.0 -I/usr/include/openssl -I/usr/include/postgresql -I/usr/include/xmltok -pthread -I/usr/include/apache2 -D_REENTRANT -g -DPASSENGER_DEBUG -Wall -I/usr/local/include -c Bucket.cpp
*** [err :: ec2-67-202-52-210.compute-1.amazonaws.com] g++ -I.. -fPIC -g -DPASSENGER_DEBUG -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/usr/include/apr-1.0 -DLINUX=2 -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -D_REENTRANT -I/usr/include/apr-1.0 -I/usr/include/openssl -I/usr/include/postgresql -I/usr/include/xmltok -pthread -I/usr/include/apache2 -D_REENTRANT -g -DPASSENGER_DEBUG -Wall -I/usr/local/include -c Logging.cpp
*** [err :: ec2-67-202-52-210.compute-1.amazonaws.com] g++ -I.. -fPIC -g -DPASSENGER_DEBUG -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/usr/include/apr-1.0 -DLINUX=2 -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -D_REENTRANT -I/usr/include/apr-1.0 -I/usr/include/openssl -I/usr/include/postgresql -I/usr/include/xmltok -pthread -I/usr/include/apache2 -D_REENTRANT -g -DPASSENGER_DEBUG -Wall -I/usr/local/include -c System.cpp
*** [err :: ec2-67-202-52-210.compute-1.amazonaws.com] g++ -I.. -fPIC -g -DPASSENGER_DEBUG -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/usr/include/apr-1.0 -DLINUX=2 -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -D_REENTRANT -I/usr/include/apr-1.0 -I/usr/include/openssl -I/usr/include/postgresql -I/usr/include/xmltok -pthread -I/usr/include/apache2 -D_REENTRANT -g -DPASSENGER_DEBUG -Wall -I/usr/local/include -c Configuration.cpp
*** [err :: ec2-67-202-52-210.compute-1.amazonaws.com] g++ -I.. -fPIC -g -DPASSENGER_DEBUG -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/usr/include/apr-1.0 -DLINUX=2 -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -D_REENTRANT -I/usr/include/apr-1.0 -I/usr/include/openssl -I/usr/include/postgresql -I/usr/include/xmltok -pthread -I/usr/include/apache2 -D_REENTRANT -g -DPASSENGER_DEBUG -Wall -I/usr/local/include -c Hooks.cpp
*** [err :: ec2-67-202-52-210.compute-1.amazonaws.com] g++ -shared Utils.o Bucket.o Logging.o System.o Configuration.o Hooks.o mod_passenger.o -fPIC -o mod_passenger.so -lstdc++ -lpthread ../boost/src/libboost_thread.a -L/usr/lib -lapr-1
*** [err :: ec2-67-202-52-210.compute-1.amazonaws.com] g++ ApplicationPoolServerExecutable.cpp System.o Utils.o Logging.o -o ApplicationPoolServerExecutable -I.. -D_REENTRANT -g -DPASSENGER_DEBUG -Wall -I/usr/local/include -DPASSENGER_DEBUG ../boost/src/libboost_thread.a -lpthread
*** [err :: ec2-67-202-52-210.compute-1.amazonaws.com] /usr/bin/ruby1.8 extconf.rb
*** [err :: ec2-67-202-52-210.compute-1.amazonaws.com]
*** [err :: ec2-67-202-52-210.compute-1.amazonaws.com] make
*** [err :: ec2-67-202-52-210.compute-1.amazonaws.com]
*** [err :: ec2-67-202-52-210.compute-1.amazonaws.com] mkdir:
*** [err :: ec2-67-202-52-210.compute-1.amazonaws.com] cannot create directory `/etc/apache2/extras'
*** [err :: ec2-67-202-52-210.compute-1.amazonaws.com] : File exists
*** [err :: ec2-67-202-52-210.compute-1.amazonaws.com]
/Library/Ruby/Gems/1.8/gems/capistrano-2.4.3/lib/capistrano/command.rb:48:in `process!': command "sudo -p 'sudo password: ' mkdir /etc/apache2/extras" failed on ec2-67-202-52-210.compute-1.amazonaws.com (Capistrano::CommandError)
from /Library/Ruby/Gems/1.8/gems/capistrano-2.4.3/lib/capistrano/command.rb:14:in `process'
from /Library/Ruby/Gems/1.8/gems/capistrano-2.4.3/lib/capistrano/configuration/actions/invocation.rb:59:in `run'
from /Library/Ruby/Gems/1.8/gems/capistrano-2.4.3/lib/capistrano/configuration/connections.rb:159:in `execute_on_servers'
from /Library/Ruby/Gems/1.8/gems/sprinkle-0.1.5/lib/sprinkle/verify.rb:39:in `each_slice'
from /Library/Ruby/Gems/1.8/gems/capistrano-2.4.3/lib/capistrano/configuration/connections.rb:147:in `each'
from /Library/Ruby/Gems/1.8/gems/capistrano-2.4.3/lib/capistrano/configuration/connections.rb:147:in `each_slice'
from /Library/Ruby/Gems/1.8/gems/capistrano-2.4.3/lib/capistrano/configuration/connections.rb:147:in `execute_on_servers'
from /Library/Ruby/Gems/1.8/gems/capistrano-2.4.3/lib/capistrano/configuration/actions/invocation.rb:57:in `run'
... 24 levels...
from /Library/Ruby/Gems/1.8/gems/sprinkle-0.1.5/lib/sprinkle/script.rb:6:in `sprinkle'
from /Library/Ruby/Gems/1.8/gems/sprinkle-0.1.5/bin/sprinkle:86
from /usr/bin/sprinkle:19:in `load'
from /usr/bin/sprinkle:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment