28.06.2014 Views

Discussion

Discussion

Discussion

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

1.8 Debugging a Failed Commit<br />

Problem<br />

You are trying to activate a configuration and the commit command continues to fail.<br />

Solution<br />

Watch each step of the commit operation:<br />

[edit]<br />

aviva@router1# commit | display detail<br />

2005-02-24 11:49:49 PST: exporting juniper.conf<br />

2005-02-24 11:49:49 PST: expanding groups<br />

2005-02-24 11:49:49 PST: finished expanding groups<br />

2005-02-24 11:49:49 PST: setup foreign files<br />

2005-02-24 11:49:49 PST: propagating foreign files<br />

2005-02-24 11:49:49 PST: complete foreign files<br />

2005-02-24 11:49:50 PST: dropping unchanged foreign files<br />

2005-02-24 11:49:50 PST: daemons checking new configuration<br />

2005-02-24 11:49:50 PST: commit wrapup...<br />

2005-02-24 11:49:50 PST: updating '/var/etc/filters/filter-define.conf'<br />

2005-02-24 11:49:50 PST: activating '/var/etc/keyadmin.conf'<br />

2005-02-24 11:49:50 PST: activating '/var/etc/gtpcd.conf'<br />

2005-02-24 11:49:50 PST: activating '/var/etc/certs'<br />

2005-02-24 11:49:50 PST: executing foreign_commands<br />

2005-02-24 11:49:50 PST: /bin/sh /etc/rc.ui ui_setup_users (sh)<br />

2005-02-24 11:49:50 PST: executing ui_commit in rc.ui<br />

2005-02-24 11:49:51 PST: copying configuration to juniper.save<br />

2005-02-24 11:49:51 PST: activating '/var/run/db/juniper.data'<br />

2005-02-24 11:49:51 PST: notifying daemons of new configuration<br />

2005-02-24 11:49:51 PST: signaling 'Routing protocol daemon', pid 2884, signal 1,<br />

status 0 with notification errors enabled<br />

commit complete<br />

<strong>Discussion</strong><br />

The previous output shows the results of a successful commit operation. If the configuration<br />

contains a mistake, the output indicates where the mistake is:<br />

[edit]<br />

aviva@router1# commit | display detail<br />

2005-02-24 13:46:03 PST: exporting juniper.conf<br />

2005-02-24 13:46:03 PST: expanding groups<br />

2005-02-24 13:46:03 PST: finished expanding groups<br />

2005-02-24 13:46:03 PST: setup foreign files<br />

2005-02-24 13:46:03 PST: propagating foreign files<br />

2005-02-24 13:46:03 PST: complete foreign files<br />

2005-02-24 13:46:03 PST: dropping unchanged foreign files<br />

2005-02-24 13:46:03 PST: daemons checking new configuration<br />

[edit protocols rip group alpha-rip-group]<br />

'neighbor fe-0/0/0.0'<br />

Failed to configure neighbor fe-0/0/0.0: already in group alpha-rip-group<br />

error: configuration check-out failed<br />

24 | Chapter 1: Router Configuration and File Management<br />

This is the Title of the Book, eMatter Edition<br />

Copyright © 2008 O’Reilly & Associates, Inc. All rights reserved.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!