312 reputation
616
bio website andrewhavens.com
location Portland, OR
age 29
visits member for 5 years, 1 month
seen May 14 at 18:39

1d
awarded  Popular Question
Jul
2
awarded  Curious
Apr
29
asked How to test installation of Chef Server using ChefSpec?
Jan
2
comment Steps to troubleshoot new Nginx installation
Well...I got it to work. I think I failed to enable my vhost. I thought I symlinked correctly from sites available, but when I looked, it was not there. Once I fixed the symlink, it started logging to the default nginx logs in /var/log/nginx/*
Jan
2
accepted Steps to troubleshoot new Nginx installation
Dec
10
comment Steps to troubleshoot new Nginx installation
Good idea, but that's not it because enabling the default vhost works fine. It must be something with my specific vhost config.
Dec
5
revised Steps to troubleshoot new Nginx installation
some rewording
Dec
5
comment How to add SSH known host in a bash script?
I want a non-interactive way of accepting the GitHub host key (since this will happen in a bash script).
Dec
5
comment How to add SSH known host in a bash script?
Can you elaborate on the "manage known_hosts file"? I think that's what I want to do, but when I viewed the file, it's contents looked like some sort of hash/key and didn't look like something that was intended to be managed manually.
Dec
5
asked How to add SSH known host in a bash script?
Dec
3
comment Steps to troubleshoot new Nginx installation
FYI: I just re-enabled the default vhost and it works, so there's something wrong in my vhost configuration.
Dec
3
comment Steps to troubleshoot new Nginx installation
@etagenklo Yes, there is no output in either access.log or error.log. Adding the IP to the listen directive did not have any effect.
Dec
2
comment Steps to troubleshoot new Nginx installation
@etagenklo netstat only shows sshd. Running top, I see nginx pop up occasionally, plus service nginx status shows that it's running. The vhost file states that it should be listening on port 80.
Dec
2
comment Steps to troubleshoot new Nginx installation
The output of wget is nearly identical: Connecting to [example IP]...failed: Connection refused.
Dec
2
asked Steps to troubleshoot new Nginx installation
Nov
11
accepted Why is cron using a different Ruby than my user and how to fix it?
Nov
8
awarded  Popular Question
Nov
7
comment Why is cron using a different Ruby than my user and how to fix it?
I created a new symlink to the right Ruby and it's working, but I'd like to know why cron was caching this sort of thing (if you have an answer).
Nov
7
comment Why is cron using a different Ruby than my user and how to fix it?
I realized that /usr/bin/ruby was a symlink to the old Ruby version so I removed it. Now I'm getting errors: /bin/bash: ruby: command not found
Nov
7
comment Why is cron using a different Ruby than my user and how to fix it?
I tried both of those suggestions and unfortunately neither of them worked. Any more ideas?