by Ramesh Natarajan
on December 21, 2010
Question: When I execute check_nrpe command with some arguments, I get the message “CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error messages.”. How do I fix this issue?
Answer: The issue is very straight forward. check_nrpe doesn’t take any arguments by default. You should enable the command line arguments for check_nrpe as shown below.
[continue reading…]
by SathiyaMoorthy
on December 20, 2010
notify-send command sends notification to the desktop. It is non intrusive. It does not ask user to press ok, and it does not take any control away from the user.
This article explains how to send various types of desktop notifications using notify-send program.
[continue reading…]
by SathiyaMoorthy
on December 14, 2010
Question: I would like to execute ftp from inside a shell script. I would also like to provide the username and password required for the FTP file download inside the shell script itself. Can you explain me how to perform this bath ftp from a shell script?
Answer: For downloading / uploading files using ftp in batch mode, you can either user FTP scripting using HERE document from command line, or call FTP from a shell script as explained below.
[continue reading…]
by Ramesh Natarajan
on December 14, 2010
Question: On my DELL PowerEdge server, the front LCD displays “E1810 HDD 1 fault” error message. How do I fix this issue?
Answer: The message itself is self explanatory as it says “HDD 1 fault” indicating that the hard drive #1 failed. Following are my recommendations on what you can do to fix this.
[continue reading…]
by SathiyaMoorthy
on December 13, 2010
Question: I know how to execute a Unix command in the foreground. Can you please explain me how I can execute a Linux command in the background?
Answer: You can use one of the 5 methods explained in this article to execute a Linux command, or shell script in the background.
[continue reading…]
by Balakrishnan Mariyappan
on December 7, 2010
Linux mv command is used to move files and directories from one location to another. Apart from moving the files, it can also rename a file or directory.
[continue reading…]
by Sasikala
on December 7, 2010
Question: How do I check whether my Linux operating system is running on 32-bit or 64-bit?
Answer: If you’ve installed it, you should know, as the installation CD (or ISO image) for a 32-bit Linux OS and 64-bit Linux OS are different. Let us assume that your sysadmin installed the OS, and you didn’t know whether he used a 32-bit or 64-bit Linux.
[continue reading…]
by Ramesh Natarajan
on December 6, 2010
All open source applications use MySQL database.
With the introduction of stored procedures in MySQL 5, it is getting widely adopted by Oracle developers and commercial organizations.
If you are sysadmin, DBA, or developer, or someone who manages IT development, you should have good knowledge on MySQL database.
[continue reading…]