Support Support Downloads Knowledge Base Case Manager My Juniper Community

Knowledge Base

Search our Knowledge Base sites to find answers to your questions.

Ask All Knowledge Base Sites All Knowledge Base Sites JunosE Defect (KA)Knowledge BaseSecurity AdvisoriesTechnical BulletinsTechnotes Sign in to display secure content and recently viewed articles

How to check the CentOS version on a NSM appliance



Article ID: KB25365 KB Last Updated: 01 Mar 2018Version: 3.0

This article provides information on how to check the CentOS version before upgrading NSM.

  • cat /etc/redhat-release does not indicate the CentOS version, instead shows the NSM Juniper OS version.
    [root@NSMXpress /]# cat /etc/redhat-release
    Juniper NSMXPress OS build 16.242681
    NSM 2012.1R3

Run the following commands to verify the CentOS build and version the NSM appliance is running:

rpm -qa | grep centos

Look for  'centosN.N' within each package name/version  (where N.N is the version number).

Example of CentOS 4 (partial output):
[root@NSMXpress /]# rpm -qa | grep centos

uname -a
CentOS 4 Example:
Linux 2.6.9-67.0.20.ELsmp #1 SMP Fri Jun 1 05:23:45 PDT 2012 i686 i686 i386 GNU/Linux

CentOS 5 Example:
Linux 2.6.18-274.el5PAE #1 SMP Fri Jul 22 05:34:36 EDT 2011 i686 i686 i386 GNU/Linux

CentOS 6 Example:
Linux 2.6.32-642.11.1.SCLC6_5.R3.10.1.el6.i686 #1 SMP Thu Nov 24 03:43:17 IST 2016 i686 i686 i386 GNU/Linux ‚Äč

Notice the difference:

CentOS 4: ELsmp #1
CentOS 5: el5PAE #1
CentOS 6: el6.i686 #1

Modification History:
2018-02-28: Added CentOS 6 example.
Comment on this article > Affected Products Browse the Knowledge Base for more articles related to these product categories. Select a category to begin.

Getting Up and Running with Junos

Getting Up and Running with Junos Security Alerts and Vulnerabilities Product Alerts and Software Release Notices Problem Report (PR) Search Tool EOL Notices and Bulletins JTAC User Guide Customer Care User Guide Pathfinder SRX High Availability Configurator SRX VPN Configurator Training Courses and Videos End User Licence Agreement Global Search