This was on an Ubuntu 14.04 VM:
vagrant@vagrant-ubuntu-trusty-64:~$ sudo -u mongodb mongod --repair --dbpath /var/lib/mongodb
This was on an Ubuntu 14.04 VM:
vagrant@vagrant-ubuntu-trusty-64:~$ sudo -u mongodb mongod --repair --dbpath /var/lib/mongodb
DTrace4Linux is an attempt (from UK developer Paul Fox, also known for his CRiSP editor) to bring the power of DTrace to Linux. It’s a kernel module (No kernel recompilation required! Yay!) and userland tools.
I did a bit of hacking around with Vagrant and Puppet and VirtualBox to make it dead easy to try.
sudo dtrace -l
.vmwarem
vm that should be importable into VMware PlayerVagrantfile
— for VagrantI wanted to draw attention to the excellent work that Paul Fox has been doing in porting DTrace to Linux. And he recently created a GitHub repo for it, so it’s that much easier to contribute now.
If you have Linux kernel knowledge, I’d encourage you to get involved!
As promised and after a nudge from Bruce, here’s how I was able to get the Dropbox Linux CLI software running on a DreamHost VPS server. This isn’t super hard but it wasn’t a trivial install, because the Dropbox software is closed-source and it contains binaries compiled against glibc 2.4, whereas my VPS server is using glibc 2.3.
You have to be a little careful using the du
command to compare output across systems. For example, a few weeks ago I backed up a bunch of files from our MacBook Pro to our NAS and then was running du
commands to verify that directories on the systems had the same amount of data. There is a pitfall here, though…
The previously mentioned Ubuntu repository problem seems to have resolved itself. I am finally able to upgrade my Samba packages.
This has been happening all day every time I attempt to do apt-get dist-upgrade
:
The following packages will be upgraded: libsmbclient samba samba-common smbclient smbfs 5 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 11.0MB of archives. After unpacking 4096B will be used. Do you want to continue? [Y/n/?] Writing extended state information... Done Err http://security.ubuntu.com feisty-security/main smbfs 3.0.24-2ubuntu1.3 403 Forbidden Err http://security.ubuntu.com feisty-security/main smbclient 3.0.24-2ubuntu1.3 403 Forbidden Err http://security.ubuntu.com feisty-security/main samba 3.0.24-2ubuntu1.3 403 Forbidden Err http://security.ubuntu.com feisty-security/main samba-common 3.0.24-2ubuntu1.3 403 Forbidden Err http://security.ubuntu.com feisty-security/main libsmbclient 3.0.24-2ubuntu1.3 403 Forbidden E: Failed to fetch
http://security.ubuntu.com/ubuntu/pool/main/s/samba/smbfs_3.0.24-2ubuntu1.3_i386.deb:
403 Forbidden