Tag Info

Hot answers tagged

6

When you installed chrome it most likely added a file in /etc/apt/sources.list.d/ named google-chrome.list. You should remove the line you manually added, and just keep the file that is in there, which is what the chrome package uses.


6

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 ...


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

You're missing a rule to accept traffic based on existing traffic (the rule that makes iptables stateful). This should be your very first rule: -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT


4

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 ...


4

You have to make sure it allows ICMP packets to be seen/not firewalled.


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 ...


4

Pass --name=bigdata during creation.


3

Delete the default MySQL data directory is /var/lib/mysql. And finally delete the configuration directory that resides in /etc/mysql. Reinstall and you should be good to go!


3

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': ...


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 ...


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


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

PHP 5.3 can't compile with this package.


2

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 ...


2

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 ...


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

So, it turns out that I'm an idiot, and didn't read the documentation correctly. It turns out that you have to configure the server's hostname into server.domain.com format. You can do that by editing the /etc/hosts file. Happy hunting, everyone!


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.


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 see two possibilities: Your location suffered a power failure around 23:17 and power was restored around 07:41. Someone who is at your company overnight decided to unplug the computer.


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

It has reached EOL status a year ago and therefore removed from the main repositories. Update the system as soon as possible to something supported. Other than that, archives for old releases can be found here.


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 ...


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

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

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

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 ...



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