Disable rate-limiting in rsyslog v5 | Linux | RHEL | CentOS | Ubuntu

Hello,

First of all extremely sorry for not being active as I was busy with some work, Now back to the blogging.

This article will show you how to disable rsyslog rate-limiting, But You can also use rate-limiting according to your requirement.

How to use rate limiting in rsyslog?

This article is tested with rsyslog 5.7.1 on Fedora 13. It will not work with version of rsyslog prior to 5.7.1.

In rsyslog 5.7.1 we introduced rate limiting. This is a option for the Unix Socket Input module called imuxsock. In short, this option limits the amount of messages written into logfiles by a process, if the process tries to write huge amounts of messages in a short period of time.

To Read more Visit : http://www.rsyslog.com/tag/rate-limiting/

Rsyslog
Rsyslog

If you are receiving error messages like below in /var/log/messages

imuxsock begins to drop messages from pid 5923 due to rate-limiting 

Please following below method to stop / disable rate-limiting in rsyslog in version 5.

Note: rsyslog version 7 has this disabled by default but rsyslog version 5 has this enabled.

To disable it, add following parameters to your /etc/rsyslog.conf , You need to add with root user or root equivalent user.

$SystemLogRateLimitInterval 0
$SystemLogRateLimitBurst 0

Execute following command to restart rsyslog services

service rsyslog restart

Download Fedora 22 Final CD / DVD / ISO / 32-Bit / x86_64

Hello,

Fedora 22 released few days back and now available for download, Sorry for delay in posting of download links, You can download using following Links.

Note: Fedora 22 will be using now DNF instead of YUMYUM IS DEAD !

Fedora 22 Download
Fedora 22 Download

Download Fedora 22 Workstation 64-Bit Live Image (x86_64): http://download.fedoraproject.org/pub/fedora/linux/releases/22/Workstation/x86_64/iso/Fedora-Live-Workstation-x86_64-22-3.iso

Download Fedora 22 Workstation 32-Bit Live Image (i386): http://download.fedoraproject.org/pub/fedora/linux/releases/22/Workstation/i386/iso/Fedora-Live-Workstation-i686-22-3.iso

Download Fedora 22 Server 64-Bit Installation Image (x86_64): http://download.fedoraproject.org/pub/fedora/linux/releases/22/Server/x86_64/iso/Fedora-Server-DVD-x86_64-22.iso

Download Fedora 22 Server 32-Bit Installation Image (x86_64): http://download.fedoraproject.org/pub/fedora/linux/releases/22/Server/i386/iso/Fedora-Server-DVD-i386-22.iso

Download Fedora 22 Cloud Images : https://getfedora.org/en/cloud/download/

SAR GUI: Export sar / sysstat reports as PDF using kSar

Hello,

If you are Linux Administrator you must know what SAR is, sar is a very useful utility for Linux Administrators to get the report of CPU Usage and You can monitor I/O, CPU Usage, Idle system state using sar utility. This article will help you to read / export sar reports in Graphical mode.

In this HowTo, I will show you how you can export sar reports as PDF / JPG / PNG using kSar tool.

ksar - PDF
ksar – PDF

In RHEL / CentOS you will find sar reports under /var/log/sa

In Ubuntu / Debian based Linux you will find sar reports under /var/log/sysstat

Perform following steps to export sar report:

1. Make Sure Java is installed on your system to open kSar Utility.

2. Download kSar Utility from below URL

http://sourceforge.net/projects/ksar/

3. Extract / Unzip Downloaded ksar-x-x-x.zip file

root@tejas-barot-linux-ahmedabad:~/Downloads# unzip kSar-5.0.6.zip

4. Give Executable permission to kSar.jar

root@tejas-barot-linux-ahmedabad:~/Downloads/kSar-5.0.6# chmod +x kSar.jar

5. Execute below command to open java file (kSar.jar):

root@tejas-barot-linux-ahmedabad:~/Downloads/kSar-5.0.6# java -jar kSar.jar

6. Now Click on Data -> Load from Text file…

7. Provide Path of sar reports path:

For RHEL: /var/log/sa/sarXX
For Debian/Ubuntu: /var/log/sysstat/sarXX

8. Select “Export to PDF / JPG / PNG” from Data  To Export sar report as PDF / JPG / PNG

Enjoy Sysstat Monitoring 🙂 Enjoy GUI Reports 🙂 Enjoy Linux 🙂 Enjoy Open Source 🙂

This is how you can export sar reports in Graphical format.

If you like this then Please Click Google +1 Button and Show Your Support. Your Support will encourage me to write more articles.

Please Keep in Touch with Social Networking :-

Facebook Page :- https://www.facebook.com/AllLinuxUsersBlog

What Is The Relationship Between CentOS, RHEL, and Fedora?

Hello All,

Thanks a Lot to Nicky Helmkamp from InterWorx for contribution to All Linux User’s Blog.

This article submitted by Nicky Helmkamp using http://www.tejasbarot.com/submit-an-article/ . 

While there are a large number of RPM-based distributions available, three are more prominent than the others and are more likely to be considered for server operating systems: CentOS, Red Hat Enterprise Linux, and Fedora. Each of these operating systems is related to the others and they are in many ways similar, but the differences between them are worth understanding if you want to choose the most reliable and secure option for your web server.
We’re going to have a quick look at how each of these distributions came into being, what their intended use cases are, and whether they are a good choice for a server operating system.

Linux Logos
Linux Logos

Fedora

Fedora is a community-supported distribution owned by Red Hat, one of the most successful of the enterprise-focused open source software companies.
Fedora is important because it is the upstream distribution for both CentOS and Red Hat Enterprise Linux. However, Fedora is significantly different from both of its downstream offspring, because, while it is a fully functional operating system and certainly can be used as either a server or a desktop system, one of its major purposes is as a testbed for future versions of Red Hat Enterprise Linux.
For server operating systems, stability and predictability are important. Because Fedora includes cutting-edge largely untested software and because it has a very short development and support cycle, it tends to change significantly and frequently. Fedora usually has a new major update every 6 months and each release is supported for a maximum of 18 months. It is a great desktop operating system, because users get the newest software versions soon after they are released, but its volatility causes it to be less suitable for enterprise applications and servers. For those developing enterprise applications, Fedora’s constantly shifting APIs and short lifespan make it less than ideal.

Red Hat Enterprise Linux

RHEL is Red Hat’s official distribution, and all of the Red Hat support services, service level agreements, and certification programs are based on it. RHEL is intended to be an enterprise-grade, stable, and secure OS. It is much less subject to change than Fedora, with major versions having a normal support cycle length of 7 years with an option to extend that to 10 years.
Although Red Hat Enterprise Linux is open source, and all of the source code is made available by Red Hat, it is not free to use because the main reason a company would choose RHEL for their servers is because of the support services offered by Red Hat. As you might imagine, those support services are not free and cost anything from a few hundred dollars to many thousands of dollars.
If you are looking for a stable enterprise-grade server distribution with an excellent support package and service-level agreement, RHEL is an excellent choice, but if you have prefer to buy support from a different vendor or use in-house support, CentOS is the better option.

CentOS

CentOS is a binary compatible community-developed “clone” of RHEL. It’s basically Red Hat Enterprise Linux without the support services and branding and with some very minor configuration differences. CentOS is more or less a free drop-in replacement for RHEL.
CentOS also comes with the same long support lifecycles as RHEL, with the most recent version, CentOS 6, being supported up until the end of 2020.
CentOS does tend to lag a little behind RHEL with releases: for minor releases that may be hours or days and for major releases it can be several months, but for companies that think in terms of multiple year lifespans for their servers and software, the difference is trivial.
Which Should You Choose?
If you don’t care about long-term support and stability, Fedora is a perfectly fine option. If that is an issue and you also want to use Red Hat’s support services, then RHEL is your best bet. If you need an enterprise-grade platform that will be supported for many years without the cost of Red Hat’s support packages, then CentOS is the best option.

You can also submit your articles like Nicky Helmkamp.

All Linux User’s Blog Mobile Applications :- http://www.tejasbarot.com/download-mobile-apps/

Please Keep in Touch with Social Networking :- 

Facebook Page :- https://www.facebook.com/AllLinuxUsersBlog

Enjoy Linux 🙂 Enjoy Open Source 🙂

Youtube-dl: Download Youtube Videos in Ubuntu using Command Line

Hello All,

We all Know How Youtube is popular for Videos. We also know that, There are many other ways to download Videos from Youtube and it is easy too.

I was searching a Utility to Download Youtube video in Ubuntu ( 11.10,12.04,12.10,13.04 ) @ Ubuntu Software Center. I got a very nice utility called, youtube-dl.

I am not sure whether the same utility is available on Fedora too, But It might be possible youtube-dl rpm is available on Fedora/RHEL/CentOS, Procedure will be same whether it’s Fedora/CentOS/RHEL or Ubuntu.

Youtube-dl is very easy to use and Download videos from youtube.com.

Just Showing example one or two commands that How you can download Videos from YouTube using Command line.

Step 1 :- To Install Youtube-dl on Ubuntu :-

tejas-barot@linux-ubuntu-youtube-dl:~$ sudo apt-get install youtube-dl

Step 2 :- To Download Video from YouTube, Have a Look at Picture for Output of this command :-

tejas-barot@linux-ubuntu-youtube-dl:~$ youtube-dl http://www.youtube.com/watch?v=nUo-oATZ8BI
YoutTube_dl
YoutTube_dl

Step 3 :- To Download Low Quality Video, Execute Following Command :- 

tejas-barot@linux-ubuntu-youtube-dl:~$ youtube-dl -f worst http://www.youtube.com/watch?v=nUo-oATZ8BI

That’s it. By Following this Method You can Download Youtube video using command line on Linux.

Hope this will helps you all, If you face any issue regarding the same or its not working for you some how then please raise your questions / issues at http://linuxforums.tejasbarot.com

If you like this then Please Click Google +1 Button and Show Your Support. Your Support will encourage me to write more articles.

All Linux User’s Blog Mobile Applications :- http://www.tejasbarot.com/download-mobile-apps/

Please Keep in Touch with Social Networking :- 

Facebook Page :- https://www.facebook.com/AllLinuxUsersBlog

Enjoy Videos 🙂 Enjoy YouTube 🙂 Enjoy Ubuntu 🙂 Enjoy Linux 🙂 Enjoy Open Source 🙂

Skype Released: Install Skype 4.2.0.11 on Debian / Ubuntu / Fedora / Linux

Hello,

Skype 4.2.0.11 is now released Finally for Linux, So Today Sharing HowTo to Install Skype 4.2 on Linux / Debian / Ubuntu / Fedora.

Skype 4.2 released for 32-Bit Versions But You can try following HowTos for 64-Bit to it might work, I have only tried on 32-Bit Systems and it worked. Let me know wit your Feedback that it is working for 64-Bits or Not.

Skype New Version is Released with Minor Improvements and Bug Fixes.

Skype 4.2
Skype 4.2

Perform Following Steps to Install Skype on Debian / Ubuntu :-

Step 1:- Remove the Skype if you previously installed with Ubuntu Repository :-

tejas-barot@linux-support-ahmedabad:~$ sudo apt-get remove skype skype-bin

Step 2:- Download the Skype for Your Distribution from Below Link :-

http://www.skype.com/en/download-skype/skype-for-linux/

Step 3 :- To Install Skype Execute Following command :-

tejas-barot@linux-support-ahmedabad:~$ sudo dpkg -i skype*.deb

Step 4 :- Once it is done, It is possible that you won’t find Skype Indicator / Icon So Solve the same, Install Following Packages :-

tejas-barot@linux-support-ahmedabad:~$ sudo apt-get install sni-qt sni-qt:i386

Step 5 :- If you are Facing Audio Issues, Install Following Package :-

tejas-barot@linux-support-ahmedabad:~$ sudo apt-get install libsound2-plugins:i386

Perform Following to Install Skype on Fedora :-

Step 1 :- Download Skype for Fedora from Below Link :-

http://www.skype.com/en/download-skype/skype-for-linux/

Or To Download from Command Linke

[root@tejas-barot-linux-support-ahmedabad ~] # wget http://download.skype.com/linux/skype-4.2.0.11-fedora.i586.rpm

Step 2:- Install Dependencies for Skype :-

[root@tejas-barot-linux-support-ahmedabad ~] # yum install pulseaudio-libs.i686 qt.i686 qt-x11.i686 libXv.i686 pulseaudio-libs-glib2.i686 alsa-plugins-pulseaudio.i686 libXScrnSaver.i686 qtwebkit.i686 alsa-lib.i686

Step 3 :- Install the Downloaded RPM by Executing Following command :-

[root@tejas-barot-linux-support-ahmedabad ~] # rpm -ivh skype-4.2.0.11-fedora.i586.rpm

That’s It 

Hope this will helps you all, If you face any issue regarding the same or its not working for you some how then please raise your questions / issues then comment down below.

If you like this then Please Click Google +1 Button and Show Your Support. Your Support will encourage me to write more articles.

All Linux User’s Blog Mobile Applications :- http://www.tejasbarot.com/download-mobile-apps/

Please Keep in Touch with Social Networking :- 

Facebook Page :- https://www.facebook.com/AllLinuxUsersBlog

Enjoy Skype 4.2.0.11 :) Enjoy Linux :) Enjoy Open Source :)

 

Send SMTP email from Command Line Linux / SSMTP / GMAIL

Dear All,

It is not possible that on every Single System there is mail server available.

There is no mail server configured on your System and You want to send e-mail using SMTP Authentication then you can send mail by ssmtp utility.

You can use the Same Method for RHEL / CentOS / Fedora / Ubuntu.

So In this Article, I will show you that How can can send e-mail using Gmail Authentication using SMTP.

SMTP Mail
SMTP Mail

In this Article, We will use utility called SSMTP.

SSMTP RPM / DEB / Package Must be installed to Use this utility.

To Perform this HowTo :-

Step 1. You have to be root to Install and Perform this Howto.

Step 2. Open the ssmtp.conf in /etc/ssmtp/ssmtp.conf and Add the Following lines as per your requirement.

[root@linux-support-tejas-barot-ahmedabad ~]# vim /etc/ssmtp/ssmtp.conf 

Add the Following Configurations to /etc/ssmtp/ssmtp.conf and SAVE and EXIT 

root=smtpauth@gmail.com
mailhub=smtp.gmail.com:587
AuthUser=smtpauth@gmail.com
AuthPass=P@ssw0rd
UseSTARTTLS=yes

Step 3. Now Let’s say Now You want to send a Particular message. Like :-

Subject will be “Check the Server Health” and Body will be your “Cannot Access Server“.

So For the same Create a File called /root/message.txt and Add Following content to file :-

[root@linux-support-tejas-barot-ahmedabad ~]# vim /root/message.txt
Subject: Check the Server Health
Cannot Access Server

Step 4. Now to Send an e-mail Execute Following command :-

Syntax is ssmtp -vvvv recipientmail@domain.com < <message-file>

[root@linux-support-tejas-barot-ahmedabad ~]# ssmtp -vvvv recipient@domain.com < message.txt

That’s IT

Hope this will helps you all, If you face any issue regarding the same or its not working for your some how then please raise your questions / issues then comment down below.

If you like this then Please Click Google +1 Button and Show Your Support. Your Support will encourage me to write more articles.

All Linux User’s Blog Mobile Applications :- http://www.tejasbarot.com/download-mobile-apps/

Please Keep in Touch with Social Networking :- 

Facebook Page :- https://www.facebook.com/AllLinuxUsersBlog

Enjoy SMTP 🙂 Enjoy SSMTP 🙂 Enjoy Open Source 🙂