Switching

last person joined: 11 hours ago 

Ask questions and share experiences about EX and QFX portfolios and all switching solutions across your data center, campus, and branch locations.
  • 1.  EX3200 - Commit Warning message

    Posted 02-20-2015 09:24

    In following switch we get following warning message, what is the cause of this warning?

     

    noc@xxxx-sw-1# commit
    warning: Command exited: PID 1259, status 1, command rm
    commit complete

     

     

    Model: ex3200-48p
    Junos: 14.1X53-D15.2
    JUNOS EX  Software Suite [14.1X53-D15.2]
    JUNOS FIPS mode utilities [14.1X53-D15.2]
    JUNOS Online Documentation [14.1X53-D15.2]
    JUNOS EX 3200 Software Suite [14.1X53-D15.2]
    JUNOS Web Management Platform Package [14.1X53-D15.2]



  • 2.  RE: EX3200 - Commit Warning message

    Posted 02-21-2015 04:51

    There is a similar issue in the kb that requires deleting tmp files but nothing for this specific issue.  Likely there is some system level file that will need to be manually deleted.

     

    I would suggest you open a JTAC case as you do need to take care in these types of operations.  Alternatively, you could try to reboot the switch or reinstall or upgrade Junos to see if the issue clears.

     

    http://kb.juniper.net/InfoCenter/index?page=content&id=KB28753



  • 3.  RE: EX3200 - Commit Warning message

     
    Posted 02-21-2015 05:34

    You may try below to get some more information.

     

    # commit |display detail 

     

    /Charlie

     



  • 4.  RE: EX3200 - Commit Warning message

    Posted 02-22-2015 03:43

    noc@xxx-sw-1# commit | display detail
    2015-02-22 12:41:38 CET: updating commit revision
    2015-02-22 12:41:38 CET: start loading commit script changes
    2015-02-22 12:41:38 CET: no commit script changes
    2015-02-22 12:41:38 CET: no transient commit script changes
    2015-02-22 12:41:38 CET: finished loading commit script changes
    2015-02-22 12:41:38 CET: copying juniper.db to juniper.data+
    2015-02-22 12:41:38 CET: finished copying juniper.db to juniper.data+
    2015-02-22 12:41:38 CET: exporting juniper.conf
    2015-02-22 12:41:38 CET: expanding interface-ranges
    2015-02-22 12:41:38 CET: finished expanding interface-ranges
    2015-02-22 12:41:38 CET: expanding groups
    2015-02-22 12:41:38 CET: finished expanding groups
    2015-02-22 12:41:38 CET: setup foreign files
    2015-02-22 12:41:38 CET: update license counters
    2015-02-22 12:41:38 CET: finish license counters
    2015-02-22 12:41:38 CET: propagating foreign files
    2015-02-22 12:41:38 CET: complete foreign files
    2015-02-22 12:41:39 CET: dropping unchanged foreign files
    2015-02-22 12:41:39 CET: executing 'ffp propagate'
    2015-02-22 12:41:39 CET: daemons checking new configuration
    2015-02-22 12:41:39 CET: commit wrapup...
    2015-02-22 12:41:39 CET: start ffp activate
    2015-02-22 12:41:39 CET: executing 'ffp activate'
    2015-02-22 12:41:40 CET: activating '/var/etc/pam.conf'
    2015-02-22 12:41:40 CET: activating '/var/etc/issue'
    2015-02-22 12:41:40 CET: activating '/var/etc/certs'
    warning: Command exited: PID 4097, status 1, command rm           < here is the warning message
    2015-02-22 12:41:40 CET: executing foreign_commands
    2015-02-22 12:41:40 CET: /bin/sh /etc/rc.ui ui_setup_users (sh)
    2015-02-22 12:41:40 CET: not executing ui_commit in rc.ui
    2015-02-22 12:41:40 CET: finish ffp activate
    2015-02-22 12:41:40 CET: copying configuration to juniper.save
    2015-02-22 12:41:40 CET: db_check_constraint_ids_clear start
    2015-02-22 12:41:40 CET: db_check_constraint_ids_clear done
    2015-02-22 12:41:40 CET: db_groups_info_clear start
    2015-02-22 12:41:40 CET: db_groups_info_clear done
    2015-02-22 12:41:40 CET: activating '/var/run/db/juniper.data'
    2015-02-22 12:41:40 CET: Rotate backup configs
    2015-02-22 12:41:40 CET: notifying daemons of new configuration, asynchronously
    2015-02-22 12:41:40 CET: child notifying daemons of new configuration
    2015-02-22 12:41:40 CET: commit complete
    commit complete



  • 5.  RE: EX3200 - Commit Warning message

     
    Posted 02-22-2015 23:38

    What do you have configured under 'show system services' and 'show security'?

     

    Also, what is the output before and after commit of this shell command 'ls -l /var/etc/ssl*'?

     

    I've seen this in the past and it turned out to be a file system corruption. A reboot of the device will solve the file system inconsistency and remove the warning message as well(which is harmless).




    =====

    If this worked for you please flag my post as an "Accepted Solution" so others can benefit. A kudo would be cool if you think I earned it.



  • 6.  RE: EX3200 - Commit Warning message

    Posted 02-23-2015 04:23

    noc@xx-sw-1# show
    ssh {
        root-login deny;
        protocol-version v2;
    }
    dhcp {
        pool 1.1.1.0/24 {
            address-range low 1.1.1.100 high 1.1.1.250;
            domain-name client.se;
            name-server {
                10.1.1.20;
                213.50.29.170;
                213.50.29.180;
            }
            router {
                10.1.1.1;
            }
        }
    }

     

    No conf under section security at present.

     

    2015-02-23 13:20:48 CET: updating commit revision
    2015-02-23 13:20:48 CET: start loading commit script changes
    2015-02-23 13:20:48 CET: no commit script changes
    2015-02-23 13:20:48 CET: no transient commit script changes
    2015-02-23 13:20:48 CET: finished loading commit script changes
    2015-02-23 13:20:48 CET: copying juniper.db to juniper.data+
    2015-02-23 13:20:48 CET: finished copying juniper.db to juniper.data+
    2015-02-23 13:20:48 CET: exporting juniper.conf
    2015-02-23 13:20:48 CET: expanding interface-ranges
    2015-02-23 13:20:49 CET: finished expanding interface-ranges
    2015-02-23 13:20:49 CET: expanding groups
    2015-02-23 13:20:49 CET: finished expanding groups
    2015-02-23 13:20:49 CET: setup foreign files
    2015-02-23 13:20:49 CET: update license counters
    2015-02-23 13:20:49 CET: finish license counters
    2015-02-23 13:20:49 CET: propagating foreign files
    2015-02-23 13:20:49 CET: complete foreign files
    2015-02-23 13:20:49 CET: dropping unchanged foreign files
    2015-02-23 13:20:49 CET: executing 'ffp propagate'
    2015-02-23 13:20:49 CET: daemons checking new configuration
    2015-02-23 13:20:49 CET: commit wrapup...
    2015-02-23 13:20:49 CET: start ffp activate
    2015-02-23 13:20:49 CET: executing 'ffp activate'
    2015-02-23 13:20:50 CET: activating '/var/etc/pam.conf'
    2015-02-23 13:20:50 CET: activating '/var/etc/issue'
    2015-02-23 13:20:50 CET: activating '/var/etc/certs'
    warning: Command exited: PID 6025, status 1, command rm
    2015-02-23 13:20:50 CET: executing foreign_commands
    2015-02-23 13:20:50 CET: /bin/sh /etc/rc.ui ui_setup_users (sh)
    2015-02-23 13:20:50 CET: not executing ui_commit in rc.ui
    2015-02-23 13:20:50 CET: finish ffp activate
    2015-02-23 13:20:50 CET: copying configuration to juniper.save
    2015-02-23 13:20:50 CET: db_check_constraint_ids_clear start
    2015-02-23 13:20:50 CET: db_check_constraint_ids_clear done
    2015-02-23 13:20:50 CET: db_groups_info_clear start
    2015-02-23 13:20:50 CET: db_groups_info_clear done
    2015-02-23 13:20:50 CET: activating '/var/run/db/juniper.data'
    2015-02-23 13:20:50 CET: Rotate backup configs
    2015-02-23 13:20:50 CET: notifying daemons of new configuration, asynchronously
    2015-02-23 13:20:50 CET: child notifying daemons of new configuration
    2015-02-23 13:20:50 CET: commit complete

     

    root@xx-sw-1:RE:0% ls -l /var/etc/ssl*
    /var/etc/ssl:
    total 12
    drwxr-x---  2 root  wheel  512 Mar 13  2014 certificate-authority
    drwxr-x---  2 root  wheel  512 Mar 13  2014 local
    drwxr-x---  2 root  wheel  512 Mar 13  2014 peer

    /var/etc/ssl+:
    total 12
    drwxr-x---  2 root  wheel  512 Feb 23 13:20 certificate-authority
    drwxr-x---  2 root  wheel  512 Feb 23 13:20 local
    drwxr-x---  2 root  wheel  512 Feb 23 13:20 peer

    /var/etc/ssl-:



  • 7.  RE: EX3200 - Commit Warning message

     
    Posted 02-25-2015 02:16

    So, you can either reboot the box to get rid of the warning message or you can stay with it as it doesn't affect the operation of the device.


    =====

    If this worked for you please flag my post as an "Accepted Solution" so others can benefit. A kudo would be cool if you think I earned it.