Skip to content

Instantly share code, notes, and snippets.

root@hygieia:/var/www/agdunn.net/projects/public# /etc/init.d/apache2 restart
* Restarting web server apache2 * We failed to correctly shutdown apache, so we're now killing all running apache processes. This is almost certainly suboptimal, so please make sure your system is working as you'd expect now!
... waiting ..........apache2: Syntax error on line 204 of /etc/apache2/apache2.conf: Syntax error on line 1 of /etc/apache2/mods-enabled/passenger.load: Cannot load /usr/lib/apache2/modules/mod_passenger.so into server: /usr/lib/apache2/modules/mod_passenger.so: cannot open shared object file: No such file or directory
<IfModule mod_passenger.c>
LoadModule passenger_module /var/lib/gems/1.8/gems/passenger-3.0.2/ext/apache2/mod_passenger.so
PassengerRoot /var/lib/gems/1.8/gems/passenger-3.0.2
PassengerRuby /usr/bin/ruby1.8
PassengerDefaultUser www-data
</IfModule>
root@hygieia:/var/www/agdunn.net/projects/public# /etc/init.d/apache2 restart
* Restarting web server apache2 apache2: Syntax error on line 204 of /etc/apache2/apache2.conf: Syntax error on line 1 of /etc/apache2/mods-enabled/passenger.load: Cannot load /usr/lib/apache2/modules/mod_passenger.so into server: /usr/lib/apache2/modules/mod_passenger.so: cannot open shared object file: No such file or directory
root@hygieia:/var/www/agdunn.net/projects/public# /etc/init.d/apache2 restart
* Restarting web server apache2 apache2: Syntax error on line 204 of /etc/apache2/apache2.conf: Syntax error on line 1 of /etc/apache2/mods-enabled/passenger.load: Cannot load /usr/lib/apache2/modules/mod_passenger.so into server: /usr/lib/apache2/modules/mod_passenger.so: cannot open shared object file: No such file or directory
<VirtualHost *:80>
DocumentRoot "/var/www/agdunn.net/projects/public"
ServerName projects.agdunn.net
ServerAdmin root@agdunn.net
<Directory "/var/www/agdunn.net/projects/public">
Options Indexes FollowSymLinks Multiviews
AllowOverride all
Options -MultiViews
Order allow,deny
allow from all
[Thu Jan 20 13:10:44 2011] [alert] [client 72.14.186.110] /var/www/agdunn.net/projects/public/.htaccess: Invalid command 'RewriteEngine', perhaps misspelled or defined by a module not included in the server configuration
[Thu Jan 20 13:10:45 2011] [alert] [client 72.14.186.110] /var/www/agdunn.net/projects/public/.htaccess: Invalid command 'RewriteEngine', perhaps misspelled or defined by a module not included in the server configuration
[Thu Jan 20 13:10:45 2011] [alert] [client 72.14.186.110] /var/www/agdunn.net/projects/public/.htaccess: Invalid command 'RewriteEngine', perhaps misspelled or defined by a module not included in the server configuration
[Thu Jan 20 13:10:45 2011] [alert] [client 72.14.186.110] /var/www/agdunn.net/projects/public/.htaccess: Invalid command 'RewriteEngine', perhaps misspelled or defined by a module not included in the server configuration
[Thu Jan 20 13:10:45 2011] [alert] [client 72.14.186.110] /var/www/agdunn.net/projects/public/.htaccess: Invalid command 'RewriteEngine', pe
<VirtualHost *:80>
DocumentRoot "/var/www/agdunn.net/projects"
ServerName projects.agdunn.net
<Directory "/var/www/agdunn.net/projects">
allow from all
Options None
</Directory>
</VirtualHost>
agd@hygieia:/var/www/agdunn.net/projects$ sudo gem install mysql
Building native extensions. This could take a while...
ERROR: Error installing mysql:
ERROR: Failed to build gem native extension.
/usr/bin/ruby1.8 extconf.rb
checking for mysql_ssl_set()... no
checking for rb_str_set_len()... no
checking for rb_thread_start_timer()... no
checking for mysql.h... no
agd@hygieia:/var/www/agdunn.net/projects$ sudo gem install mysql
Building native extensions. This could take a while...
ERROR: Error installing mysql:
ERROR: Failed to build gem native extension.
/usr/bin/ruby1.8 extconf.rb
checking for mysql_query() in -lmysqlclient... no
checking for main() in -lm... no
checking for mysql_query() in -lmysqlclient... no
checking for main() in -lz... no
default:
delivery_method: :smtp
smtp_settings:
tls: true
address: "smtp.gmail.com"
port: '587'
domain: "smtp.gmail.com"
authentication: :plain
user_name: "USERNAME"
password: "PASSWORD"