Tag Info

Hot answers tagged

6

No. But I can tell you what you should do now. Set up monitoring. Get Nagios or Zabbix or something similar. If you only have one server, install it there but be aware it won't be able to alert you if the whole server goes down, only if certain services go down. Set up more monitoring. Get an external third-party service like Pingdom or HostTracker. ...


6

You're blocking incoming DNS responses, and apparently lighttpd (or wp) is configured to resolve IP addresses to hostnames. You should be able to fix this with something like -A INPUT -p udp -m udp --sport 53 -j ACCEPT since the UDP packets for DNS responses originate from port 53.


5

The first time you log in to the instance, enter this command: byobu-disable This will log you out and future logins will not be forced to share. You can also learn to use screen if you want to use its advanced functionality, but the above is the easy way to get back to a sane default.


5

Unfortunately, there's no good way to do this with the built-in resource types, just two not-so-good options. The 'proper' way involves defining a package resource for all of the packages you want to get rid of: package { 'apache2.2-common': ensure => purged, } package { 'apache2-utils': ensure => purged, } # etc ... And the 'improper' but ...


4

I've had similar problem on Ubuntu 12.04. I upgraded subversion to 1.7.5 using WANdisco package. This package binds svn to python2.6 and Ubuntu 12.04 has python2.7. Here is a script which solved the problem on my side: mkdir /usr/lib/python2.7/dist-packages/libsvn for f in /usr/lib/pyshared/python2.6/libsvn/*; do ln -s $f ...


3

Inside the virtual machine: defragment zero the free space with http://technet.microsoft.com/en-us/sysinternals/bb897443 sdelete Outside the virtual machine VBoxManage modifyhd Disk.vdi --compact


3

Check stat cron is running status cron cron start/running, process 1380 or ps aux | grep cron root 1380 0.0 0.0 2092 876 ? Ss Nov03 0:02 cron If it's running or not then have a look in /var/log/syslog and see if there are any relevant messages. grep CRON /var/log/syslog Nov 9 11:18:29 iain-ubuntu cron[3509]: (CRON) STARTUP ...


2

Based on this fix: https://code.launchpad.net/~jammy/+archive/upstart.fix-880049 Below steps fixed my problem in Ubuntu 11.10 today. Add this PPA to your system: add-apt-repository ppa:jammy/upstart.fix-880049 Update your system: apt-get update apt-get upgrade


2

I suspect your clock is too far out for ntpd to be able to drift it back to the correct time. NTP only works if the clock is within +/- 5 mins of the correct time. Start it with the -g flag to force an ntpdate-style one-off correction. I'm not very familiar with Ubuntu but I suspect there is a defaults/config file for ntpd in /etc somewhere where you can ...


2

Based on your update, 512MB of RAM is NOWHERE near enough for 35 simultaneous students if you've done no out of the box tuning (and it may not work out even tuned). If you have the ability to do so, raise the memory limit to 2GB. That should provide a safe pad so that the box doesn't swap so heavily that it doesn't respond. Beyond that, you can start by ...


2

If you want to know on a linux system if your mysqld is really reading this particular file I would recommend strace: strace -e trace=open mysqld This will show you all the files that get opened by the mysqld process during startup. In our case: open("/etc/ld.so.cache", O_RDONLY) = 3 open("/lib64/libpthread.so.0", O_RDONLY) = 3 ...


2

I don't know if you're still having this problem, but I had the same thing yesterday. Here's how I got around this with puppet: $graphite_version = '0.9.9' exec { 'install-carbon': command => "pip install carbon==${graphite_version}", creates => "/opt/graphite/lib/carbon-${graphite_version}-py2.6.egg-info"; 'install-graphite-web': ...


2

I have managed to install exim4 in place of postfix. I did: dpkg --force-all -r postfix apt-get purge postfix I ignored the advice to apt-get -f install as it attempted to re-install postfix. Then: aptitude install exim4-daemon-heavy sa-exim Now I can get on with configuring my test server's MTA like my production one.


1

For a server, I would definitely go for ubuntu 10.4. This is a lts: long term support version. It will receive security updates for a longer period of time: from https://wiki.ubuntu.com/LTS Apart from that it usually is more stable to start with, with a release date close to the debian stable releases.


1

First you never should prefer a non-LTS, especially one which is not the most recent. So 11.04, should not even be a serious consideration. There is exceptions, as always, but when speaking generally the recommendation holds. This recommendation is only considering a server, a PC or workstation could use the regular releases. I also would be hesitant to ...


1

It really depends on what you're doing and what you're willing to put up with. Note that 10.04 (and, recently released 12.04) are Long Term Support versions, which will ensure updates will be available for a very long time. The 11.04 and 11.10 versions, not so much. Basically, look at: https://wiki.ubuntu.com/LTS So, 11.04 will be de-supported later ...


1

I've come across the same problem (installing on OSX, not with puppet), it appears to be the same as on this discussion on the puppet-users mailing list (and this workaround on the carbon github repo). In my case the solution was to set PYTHONPATH to include /opt/graphite/lib and /opt/graphite/webapp: export ...


1

The timestamp is probably your best clue here. The @hourly jobs run on the hour so it won't be any job with that shorthand or any job in the /etc/cron.hourly/ directory. The job that is failing runs at 9 minutes past and at 39 minutes past each hour. If I remember correctly, that's when /etc/cron.d/php5 runs. Most failing cron jobs will also output an ...


1

Anything interesting in /etc/mysql/conf.d/ ? The version of Mysql 5.1 you're using should parse my.cnf then anything in /etc/mysql/conf.d/ in order of the config file names. In previous versions the order could be somewhat non deterministic. Whatever value is set last in the chain should win which might explain why your changes in my.cnf aren't updating the ...


1

You have to write net ads join -W testdomain -S win2003test -U administrator. You can then write wbinfo -u to list the AD users. It is all very documented here Dont forget you have to edit the /etc/krb5.conf first. Follow the link :)


1

As the details about the complete setup are not known, then i can suggest you to to following. Just before the Drop rule, add a rule to LOG all traffic. Then check your syslog logs for those packets which are being dropped. You will know that what type of packets are being dropped or denied, then you can create a rule based on those types of packets to be ...


1

Make sure your web server software (Apache, I assume, since you say LAMP) is running. With Ubuntu you could run pidof apache2, then depending on the output of that, you could try starting it with service apache2 start if it is not already running. If it is running, you would need to post some log output for further troubleshooting. Apache logs are ...


1

Yes it is possible. Add the following lines to your /etc/postfix/master.cf: fs_mail unix - n n - - pipe flags=F user=%YOUR_USER_NAME% argv=tee /home/%YOUR_USER_NAME%/fs_mail.dump And then add this line to your /etc/postfix/main.cf: default_transport = fs_mail Restart your Postfix server sudo /etc/init.d/postrfix ...


1

You can use the smtp-sink utility that ships with postfix: smtp-sink -u root -d %d.%H.%M.%S 192.168.1.10:25 10 smtp-sink writes out the files with a timestamp.hex Cheers P.S. You were pretty quick on the acceptance of the best answer. P.P.S. You specifically mentioned postfix so I mentioned smtp-sink but fakemail works better IMHO as it writes ...


1

Thanks to good advice here and elsewhere, I ran down a couple issues. 1) no matter what the mysql docs say, I can't seem to get "localhost" to reference the local unix socket file - it always goes to tcp. 2) I additionally noticed every failure is accompanied with "no route to host" buried down in the stack trace. 3) using a conn string like this: ...


1

The 1026TT-TF is based on an SC809 chassis (PDF manual). Checkout Appendix C for information on the backplane, you'll have the "TQ" version with SAS support and the chassis management chip, not the "T" version*. Check all of the cables running in to the backplane in each compute node and compare them with the diagram on page C-3. You should have a 4-pin ...


1

There are settings in sysctl that defines NFS port ranges available for connections. sunrpc.max_resvport = 1023 sunrpc.min_resvport = 650 These settings define the highest and lowest ports to use for making RPC connections (NFS) You can open these ports or define a different range depending on your system. You will get denies if it tries to use a port ...


1

Check your environment variables. Make a copy of the init.d script and rework it to print the output of "env" instead of starting the daemon. Compare that to what you get when you run "sudo env" from the shell. Odds are, the answer will be evident in that some required variable/value which IS in the output of "sudo env" will not be in the output of ...


1

You did not show us your complete apache configuration. I think you still have the default VH definition. You need to add the ServerName line: ServerName www.zftut.local ServerAlias zftut.local *.domain.tld The ServerAlias is optional and helps you get to the correct VH for several names. In this example, all DNS names that ends with zftut.local. Of ...


1

It seems that the preinstall script from the slapd-package calls slappasswd with the wrong arguments. This could be caused by updates which might have been applied to the tool slappasswd. Download the debian package manually and extract its content with dpkg -x <package name> Have a look at the content of /debian/preinstall and see how slappasswd ...



Only top voted, non community-wiki answers of a minimum length are eligible