Junos OS

 View Only
last person joined: 23 hours ago 

Ask questions and share experiences about Junos OS.
  • 1.  Commit server not working

    This message was posted by a user wishing to remain anonymous
    Posted 12-21-2024 13:05
    This message was posted by a user wishing to remain anonymous

    Hi

    I setup a commit server on MX80 (Junos: 21.2R3-S3.5) with the following settings:

    > show configuration system commit server
    maximum-aggregate-pool 4;
    maximum-entries 10;
    commit-interval 300;
    days-to-keep-error-logs 30;
    traceoptions {
        file commit-server size 5m files 3;
        flag all;
    }

    And try start commit server, but nothing happened:

    > request system commit server start

    >
    > show system commit server status
     
    >
    In log :
    Dec 21 19:53:22 Did not get a schedule DOP
    Dec 21 19:53:22 maximum-aggregate-pool = 4
    Dec 21 19:53:22 maximum-entries= 10
    Dec 21 19:53:22 asynchronous-prompt = no
    Dec 21 19:53:22 commit-interval = 300
    Dec 21 19:53:22 retry-attempts = 5
    Dec 21 19:53:22 retry-interval = 20
    Dec 21 19:53:22 days-to-keep-error-logs = 30
    Dec 21 19:53:22 argv[0] = /usr/sbin/commitd
    Dec 21 19:53:22 argv[1] = -X
    Dec 21 19:53:22 argv[2] = -jserver-start
    Dec 21 19:53:22 No need to pause
    Dec 21 19:53:23 Commit server status=running
    Dec 21 19:53:23 No need to pause
    Dec 21 19:53:23 Commit server status=not running
    Dec 21 19:53:23 Commit server jobs=
    Dec 21 19:53:23 Done working on queue
    What's the matter? Why won't it start?
    Also in configuration mode:
    # top edit batch
                                            ^
    syntax error, expecting <statement> or <identifier>.
     
    [edit]
    What am I doing wrong?
    Best regards.


  • 2.  RE: Commit server not working

     
    Posted 12-23-2024 18:43

    Config looks okay.

    > configure batch 
    warning: uncommitted changes will be discarded on exit
    Entering configuration mode
    
    # set interfaces xe-0/0/9 description "foo"
    
    # commit 
    Added to commit queue request-id: 1000
    configuration check succeeds
    commit complete
    
    # exit 
    Exiting configuration mode
    
    > show system commit server status                      
    Commit server status : Running
    Jobs in process:
      1000
    
    > show system commit server queue      
    
    Pending commits:
      none
    
    
    Completed commits:
      Id: 1000
      Last Modified: Mon Dec 23 15:38:11 2024
      Status: Successfully committed 1000
    
    
    Error commits:
      none