I just compiled nginx v1.2.3 from source on a CentOS 6.3 server and am trying to use the ssl_prefer_server_ciphers
directive, but I am getting an error nginx: [emerg] unknown directive "ssl_prefer_serfver_cipers" in /etc/nginx/sites-enabled/application:5
I am not seeing anywhere that this directive depends on any specific versions of other libraries, or even specific versions of nginx. What could I be doing wrong here?
trobrock's questions
I have a slave db (db1) that I moved into the master position after my master db (db2) died. I brought up a new slave db (db3) from a day old snapshot of db1, my problem is trying to figure out which log file and position db3 should start replication at. Where should I look to find this info?
I am using the proxy_balancer in Apache2 to proxy requests to a Rails application to my rails server on the port the application is running on. This is how its set up...
Rails Server Mongrel running on port 8000, when accessing the url directly to http://rails_server:8000 the site loads fine
Apache Server Conf file for the site:
<VirtualHost *:80>
ServerAdmin webmaster@localhost
ServerName myserver.com
ServerAlias application.myserver.com
<Proxy balancer://application_cluster>
Allow from localhost
BalancerMember http://ip.to.server:8000 retry=10
</Proxy>
ProxyPass / balancer://application_cluster
</VirtualHost>
The problem I am having is going to http://rails_server:8000 works fine, but going to http://application.myserver.com Loads the right content, but is displaying all the HTML as text and not rendering it as html
I am trying to get my server to be able to send email from PHP. Currently it is using send mail, but whenever I try to send mail to a gmail address I get this sort of response:
--o54Mqd5s008981.1275691959/ServerName
Content-Type: message/delivery-status
Reporting-MTA: dns; ServerName
Received-From-MTA: DNS; localhost
Arrival-Date: Fri, 4 Jun 2010 22:52:38 GMT
Final-Recipient: RFC822; [email protected]
Action: failed
Status: 5.7.1
Remote-MTA: DNS; gmail-smtp-in.l.google.com
Diagnostic-Code: SMTP; 550-5.7.1 [xxx.xxx.xxx.xxx] The IP you're using to send mail is not authorized
Last-Attempt-Date: Fri, 4 Jun 2010 22:52:39 GMT
How can I set this up to relay through a google account that I own? Is sendmail the best thing to use, or should I switch to Postfix or something? This is on an Ubuntu Server 9.10
I am trying to get mongrel cluster working on my Ubuntu Server Karmic box in preparation to setup Capistrano. I've been trying to get the two to work all day and finally decided to completely remove Capistrano and see if I can just get Mongrel Cluster to work.
I ran this to install mongrel cluster:
gem install mongrel mongrel_cluster
Everything installed fine, when I change into my app's directory...
# mongrel_rails
-bash: mongrel_rails: command not found
I can run it from its install location:
# /var/lib/gems/1.8/bin/mongrel_rails
Usage: mongrel_rails <command> [options]
Available commands are:
...
It lets me build the cluster configuration file fine, but when I run the clister:start command:
# /var/lib/gems/1.8/bin/mongrel_rails cluster::start
starting port 8000
/usr/lib/ruby/1.8/rubygems/custom_require.rb:31: command not found: mongrel_rails start -d -e production -p 8000 -P tmp/pids/mongrel.8000.pid -l log/mongrel.8000.log
starting port 8001
/usr/lib/ruby/1.8/rubygems/custom_require.rb:31: command not found: mongrel_rails start -d -e production -p 8001 -P tmp/pids/mongrel.8001.pid -l log/mongrel.8001.log
starting port 8002
/usr/lib/ruby/1.8/rubygems/custom_require.rb:31: command not found: mongrel_rails start -d -e production -p 8002 -P tmp/pids/mongrel.8002.pid -l log/mongrel.8002.log
It seems it isnt calling it from the right directory after that command, what can I do to fix this? I tried setting the path previously when trying to set up Capistrano, but the path didnt stay set when Capistrano used ssh to run the commands.
I have a couple windows servers that I do not have physical access to, but I have remote log in access to. I need to pull down am image of these machine as a backup, what would be the best method of doing this?
I need to setup an NFS Server on FreeBSD, I have gone through a couple guides to try and get it running but can't quite get it going. I have the server running, but I seem to be having trouble setting up the /etc/exports file correctly. I have tried the following lines and all have given me errors saying that their is a bad line in the exports file when I try and and reload it.
/home -alldirs -network 192.168.1.106
/home machinename1
/home/user -network 192.168.1.0 -mask 255.255.255.0
What am I missing and what should I check?
I have recently taken over for another system admin on a project and am in the process of figuring out what we have on our servers before rebuilding things the way they need to be. I have one Dell server running Fedora Core 8. I am unable to connect to the network at all.
I am plugged into a known good port, I have tried dhcp and manual set IP configurations. The dhcp will not receive a lease. After both methods I am not even able to ping my gateway. I have diabled all the firewalls to make sure those are not the issue. Here is my ifconfig.
eth0 Link encap:Ethernet HWaddr 00:1C:23:E2:FC:56
UP BROADCAST MULTICAST MYU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0b) TX bytes:0 (0.0b)
Interrupt:16
This is configured with dhcp just after doing a dhclient eth0 and it returns no working leases.
What else should I check?
This is my first time trying to configure a firewall of this type, I am having trouble getting the IP addresses set to be on the current network. The firewall will be going between the outside network and the switch that current network is on. The IP range the current network is on is 139.78.8.1-128. When trying to configure the internal interface I use this set of commands:
interface Vlan 1
nameif inside
security-level 100
ip address 139.78.8.50 255.255.255.128
At the last command I receive an error saying that the ip address "139.78.8.50" is not in the dhcp pool, I do not want the firewall to deal with any of the dhcp requests. the outside network should deal with that. Where am I having problems with the config?
I have setup pptpd as my VPN server on Ubuntu Server 9.04, I am able to connect to the VPN from the client and can access the server's local network, but I am unable to connect to the external network via the VPN.
If I login to the server via SSH:
$ ping google.com
PING google.com (74.125.67.100) 56(84) bytes of data.
64 bytes from gw-in-f100.google.com (74.125.67.100): icmp_seq=1 ttl=49 time=65.9 ms
64 bytes from gw-in-f100.google.com (74.125.67.100): icmp_seq=2 ttl=49 time=63.2 ms
64 bytes from gw-in-f100.google.com (74.125.67.100): icmp_seq=3 ttl=49 time=63.9 ms
64 bytes from gw-in-f100.google.com (74.125.67.100): icmp_seq=4 ttl=49 time=66.0 ms
If I connect to the VPN and ping locally:
$ ping google.com
ping: cannot resolve google.com: Unknown host
I have a feeling it is some routing issue on the server but I am unsure.