Tag Info

Hot answers tagged

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

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

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

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


5

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


5

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


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.


4

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


4

Pass --name=bigdata during creation.


3

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


3

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.


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

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


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

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

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

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

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

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

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

I found out: in the config-file etckeeper/etckeeper.conf You have to set VCS="git" #VCS="bzr" then again: etckeeper init etckeeper commit "Initial version" Then everything works on git: cd /etc git status


2

I hit the same issue on 14.04, however it was a bit more annoying as the package was initializing etckeeper using bazaar automatically on apt-get install. Switching to git in the config file as mentioned above wasn't enough; I first had to undo the bazaar setup which was done at install time, like this: etckeeper uninit The steps above then worked fine.


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

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

There's nothing in that log to indicate why it rebooted. At Jul 15 23:17:01 it was running, at Jul 16 07:41:43 it was restarted. You'll need to look into resource utilization logs, application logs, network logs etc etc.


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



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