Month: April 2014
-
Debian 7 (Wheezy) – no smbpasswd command
If you have installed samba/cifs-utils/etc. and are trying to set your users up on a Debian 7 system, you might be surprised to find that the smbpasswd command seems to be missing. It’s actually part of the samba-common-bin package, which you can install via: sudo apt-get install samba-common-bin …and you should have…
-
Proxmox 3.2: Finding the container CTID from the command line
If you are in a terminal and want to find the container IDs (CTID) quickly without opening up a browser, run the following: vzlist It should return a list of the container IDs, the VM state, their IP addresses and hostnames like so: CTID NPROC STATUS IP_ADDR HOSTNAME 100 25…
-
Proxmox 3.2: Enabling NFS on a container (CT) VM
If you’re trying to figure out why you are getting NFS errors despite having NFS set up properly on the host machine and client VM, this may be the answer. With the VM powered off, run at the Proxmox terminal: vzctl set [VM ID] –features “nfs:on” –save The next time the VM…
-
How to find the user id – uid – for a user in Linux
This one is straight-forward for CentOS, Ubuntu and others distros: id -u [username] e.g. id -u bob That will give a numeric result like 500 or 1001.
-
Rsync error when connecting to CentOS: rsync error: error in rsync protocol data stream (code 12) at io.c(600) [sender=3.0.6]
We helped rebuild a backup VM which receives data over rsync today; the first rsync attempt failed with the vague error message: rsync error: error in rsync protocol data stream (code 12) at io.c(600) [sender=3.0.6] The problem ended up being that the rsync package was not installed. A simple: yum install…