Tag Info

New answers tagged

1

I believe it's caused by this line: root /home/www-data/public-www; http://nginx.org/en/docs/http/ngx_http_core_module.html#root you can remove that, or specify somewhere else.


0

No upgrade is necessary - Microsoft themselves tell you to ignore the "Degraded integration services message for non-Windows guests".


0

The first thing I would check is that the user running chef-client has permissions to start/restart the service (usually not the problem). Next I would check that there are no other recipes running that are counteracting the logic of this recipe (sometimes the problem, but not often). What I really think is causing your issue is the way chef handles it's ...


0

In cloud init, if any of the steps fails (i.e. returns an error exit code), the rest of the steps will not be performed. My guess would be that the tee fails and as a result also the mount isn't executed. It would be helpful if you mention how exactly are you using cloud-init: is it using a cloud-config file with runcmd, or are you using a script?


3

Services are usually accessed using a hostname, which usually means that DNS is used to look up the IP address(es) linked to that hostname. For IPv4 there will be A records, and for IPv6 there will be AAAA records. All those addresses are supposed to offer the same service, independent of the protocol used. So if you send email to Gmail your mailserver will ...


1

Chances are that the module is in your configuration two places at once. So go through your configs, and search for "jk_module" or just "jk", if you see it load twice, that's most likely the issue. Just remove or comment out the first or second time it does it and it should work. Also remember to look through the configs in conf.d


0

If you want redirect all :80 visits excluding those to http://example.com: <VirtualHost _default_:80> RewriteEngine On RewriteCond %{HTTP_HOST} !^example.com$ RewriteRule /.* https://example.com/ [R] </VirtualHost> If you want to redirect even the ones that go to http://example.com, do the following: <VirtualHost ...


0

Source: https://help.ubuntu.com/community/ModMono apt-get install libapache2-mod-mono mono-apache-server2 apt-get mono-devel a2enmod mod_mono_auto /etc/init.d/apache2 restart The above commands are for ASP.NET 2.0 AutoHosting.


2

You should look at the owner of the php5-fpm.sock file by using ls -l /var/run/php5-fpm.sock I believe you'll find it set to root and your web server runs as www-data. Further, the permissions in the www.conf are 0660 which means only root will have permissions. You can uncomment the lines related to the sock user and set it to www-data and restart the ...


0

I'd recommend using the Open Manage bootable CD to run diagnostics on the machines. This will give you a detailed report on health statuses from multiple devices and sensors on the server. If your servers are under warranty/support this is probably one of the first tools Dell would recommend. The CD will boot into a CentOS environment. There should be ...


2

If I'm reading this right, it looks like you're trying to compile the Virtualbox kernel modules under an OpenVZ kernel? Due to the way that OpenVZ operates, I do not believe that this is possible.


1

I had the same error after updating my server and found the following error in /var/log/nginx/error.log:/var/run/php5-fpm.sock failed (13: Permission denied) What solved the issue was uncommenting the following lines in /etc/php5/fpm/pool.d/www.conf and restart php5-fpm listen.owner = www-data listen.group = www-data listen.mode = 0660


3

I work for dell. Yes you can use racadm to set the IP address. racadm can work over 3 different interfaces (ssh/telnet, https, IPMI). The one that will work in your situation is IPMI directly from the server to it's iDRAC. Install srvadmin-idrac7 as root run racadm config -g cfgLAnNetworking -o cfgNicSelection 2 (1 = Dedicated, 2 = LOM1, 3 = LOM2, 4 = ...


0

If you run monit as root, it should be able to access this pid file. Please check if your not running monit with another user. # ps -eaf | grep monit root XXXX 1 0 Jun20 ? 00:00:08 /usr/sbin/monit -c /etc/monit/monitrc -s /var/lib/monit/monit.state


0

Try moving nodesrg.conf to /etc/init, not /etc/init.d. Init.d is where the SYSV-style scripts go, upstart configuration belongs in the former. Use initctl list to verify that it is showing up as an upstart service after you have moved the file. If it doesn't, you can use initctl reload-configuration and try again.


1

When it comes to performance, lots of things have changed between 2012 and 2014 when it comes to Linux kernel, glibc, and all the other layers you meet between the kernel and your application. If your application is truly fine-tuned and everything below it is the true bottleneck, then upgrading to 14.04 might help you. This is very unlikely, most of the ...


4

According to the upstart cookbook/intro linked here, upstart will emit a 'filesystem' event when all mounts are completed. You should be able to "start on filesystem" the required service to achieve what you're looking for, unless you're only wanting certain (but not all) filesystems to be mounted prior to service invocation?


0

Perhaps you installed glusterfs-client from Ubuntu's repo's before you setup your PPA? Therefor, you wouldn't have the up to date version.


3

performance reasons Performance is largely dependent on the actual application you're running. If there's specific kernel improvements in the area of performance you'd like to take advantage of you can leverage the LTS Enablement Stacks for a later kernel version and associated programs security reasons Given that 12.04 is an LTS edition, any ...


0

Thanks to akash's comment, I see that I was missing ppa:ondrej/apache2 in my repositories So : add-apt-repository ppa:ondrej/apache2 apt-get update apt-get upgrade did the trick and saved my day.


0

I still don't have an elegant solution, but my hack using runcmd and Ruby (which may or may not be installed on your base image, so you may need to list it in packages) looks like this: runcmd: - - ruby - -ryaml - -rfileutils - -rzlib - -rstringio - -e - | ud=%x{curl -s http://169.254.169.254/2009-04-04/user-data} ...


0

You should add a swap area like in this tutorial https://www.digitalocean.com/community/tutorials/how-to-add-swap-on-ubuntu-12-04 But you should use 1024 instead of 256K


4

This seems to be a known issue which according to README.Ubuntu should be fixed in Ubuntu 14.04. A possible workaround for earlier Ubuntu versions could be to defer the volume mount with a custom upstart job after the GlusterFS server gets started.


0

i do not think load of 10 parallel connection is high for ssh. i assume you have passwordless access, check if there is a key issue for i in `echo MachineA MachineB MachineC` do echo testing $i ssh -v $i exit done Check /etc/hosts.deny and /etc/hosts.allow on MachineB and MachineC & see if connection from MachineA are allowed


1

This PPA now comes with an upgrade to Apache 2.4 And the config files of Apache 2.4 have significant differences, including sites-available/sites-enable filename and syntax differences. The problem you are experiencing is exactly because the config filename change.



Top 50 recent answers are included