≡ Menu

Troubleshooting Unix / Linux Servers

Troubleshooting tips about Linux, *BSD, UNIX, Apple OS X, programming and MS-Windows servers and desktop systems ( rss feed ).

How can I find out information about a Linux container (LXC) such as CPU usage and memory usage from the command prompt? Is there is top command like a tool for lxc to monitor memory and cpu usage?
[click to continue…]

I'm a new FreeBSD Unix system user. How can I find out the process/programs names listing on a certain port on a FreeBSD Unix systems using command line? How do I lookup the process which is currently bound to the given network port on a FreeBSD server?
[click to continue…]

My OpenSSH server listening on TCP port number 2222. How can I use ssh-copy-id with an sshd server with listening on a different port on a Linux or Unix-like systems?
[click to continue…]

I need to tunnel X Window securely over SSH bases session so that I run X program on my remote Linux/Unix server/workstation and get back display to my Apple Macbook pro laptop. I tried the ssh -X user@server1 and ssh -Y user@server2 commands on both OS X Mountain Lion and Apple OS X Mavericks/Yosemite. But, I am unable to use the ssh command with X11.

How do I fix this problem on OS X and enable X11 forwarding with ssh command? How do I install XQuartz (X11.app) server on Apple OS X Mountain Lion or Mavericks or Yosemite?
[click to continue…]

I'm installing FreeBSD 10 Xorg and xfce4 desktop. But, getting the following error:

(EE) Failed to load module "fbdev" (module does not exist, 0)

How do I fix this problem on FreeBSD 10 amd64 based system?
[click to continue…]

I am trying to set cronjob on a Unix systems by running the crontab -e command. But, I'm getting the following error:

crontab: no crontab for veryv - using an empty one
crontab: "/usr/bin/vi" exited with status 1

How do I fix this issue on a Linux or Unix-like systems?
[click to continue…]

I am a new Linux server user. I need to tunnel X over ssh. I type the following command on a CentOS/RHEL based remote host to get display on a local desktop:

ssh -X user@server1.cyberciti.biz
xeyes &
firefox &

But, I am getting an error that read as follows:

**error**: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for ORBit, or you have stale NFS locks due to a system crash. See http://projects.gnome.org/gconf/ for information. (Details - 1: Failed to get connection to session: /bin/dbus-launch terminated abnormally without any error message)

How do I fix this error on a newly formatted/installed RHEL or CentOS Linux 6.x server?
[click to continue…]