how to Moniter cpu status using chef? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for … Read more

Why wont my server start

I’m having real difficulty with a server on our load balance cluster and cant understand why. In the catalina log the following appears. It had been another site before and I removed it to see if that was the problem but now its a different site. 12-Nov-2015 16:52:13.839 INFO [secure.enterprisecreditunion.org-startStop-1] org.apache.catalina.core.ApplicationContext.log INFO: using a shared … Read more

How BCC works in Postfix

I’m trying to use postfix feature content_filter like: my_script unix – n n – 10 pipe flags=Rq user=filter argv=/usr/local/bin/my_script.py -f ${sender} — ${recipient} And my question is, how I can check BCC recipient in my script? My script is only reinjecting e-mail back to the postfix. I don’t want to change anything with it, and … Read more

shift a localhost site from webrick localhost:3000 to apache2 passenger localhost/redmine or redmine.localhost [closed]

It’s difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 9 years ago. I have installed application called REDMINE on my … Read more

How do I SSH through a jump server into a Rails console?

I’d like to have a one-liner for this. When I use the following command: ssh -o ProxyCommand=’ssh -W %h:%p user@<jump server>’ -t user@<rails server> ‘sudo su another_user ; cd /some/dir ; RAILS_ENV=production bundle exec rails console’ I end up on the rails server, but I’m not in the rails console: $(rails server) I then try … Read more

Passenger ‘premature end of script headers’ error

I really need help debugging an error I’m getting with Passenger on Apache. I’ve just made a fresh install of Ubuntu 10.4 and have Apache, Ruby and Passenger installed. I’m trying to run a simple rack app but keep getting this error in my Apache error.log [Tue Sep 28 05:54:41 2010] [error] [client 86.171.2.82] Premature … Read more

Install ruby by rvm

I try to install ruby 2.1.1 by RVM and I receive following error: vmamaev@vmamaev:~$ rvm install ruby-2.1.1 ruby-2.1.1 – #removing src. Searching for binary rubies, this might take some time. No binary rubies available for: debian/7/i386/ruby-2.1.1. Continuing with compilation. Please read ‘rvm help mount’ to get more information on binary rubies. Checking requirements for debian. … Read more