Community Feedback

 View Only
last person joined: yesterday 

How is the community doing? Do you have any questions or feedback related for the Airheads Community team? This is the place to let us know.

curl: Can't open '/tmp/config/user/arubarunning.txt'!

This thread has been viewed 19 times
  • 1.  curl: Can't open '/tmp/config/user/arubarunning.txt'!

    Posted Jul 12, 2021 02:28 PM
    Hello professionals,

    Has anyone encountered the following problem on Aruba 6100 switches?
    I'm trying to copy running-config to my TFTP server.
    I use CLI command (OS-CX PL.10.07.0005)
    copy running-config tftp: //ip.of.my.pc/arubarunning.txt cli

    Normally, the command output usually looks like this:
    A610048G01 # copy running-config tftp: //ip.of.my.pc/arubarunning.txt cli
    % Total% Received% Xferd Average Speed ​​Time Time Time Current
    Dload Upload Total Spent Left Speed
    100 4853 0 0 100 4853 0 110k -: -: - -: -: - -: -: - 110k
    100 4853 0 0 100 4853 0 107k -: -: - -: -: - -: -: - 107k
    Copying configuration: [Success]
    A610048G01 #

    Then I have an arubarunning.txt file on my TFTP server.

    But sometimes this happens:
    A610048G02 # copy running-config tftp: //ip.of.my.pc/arubarunning.txt cli
    curl: Can't open '/tmp/config/user/arubarunning.txt'!
    curl: try 'curl --help' for more information
    curl: (26) Failed to open / read local data from file / application
    Copying configuration: [Failure]
    error uploading running-config
    A610048G02 #

    I have found that the /user/ directory is missing (or not accessible) on the affected switches.
    A610048G02 # start-shell
    A610048G02: ~ $ cd /tmp/config/user
    bash: cd: /tmp/config/user: No such file or directory
    A610048G02: ~ $

    Unfortunately, the only solution in such situations is always only a full restart, AFAIK. 

    Anyone some other ideas...?
    Thank you
    Best Regards

    ------------------------------
    Radek Nekvinda
    ------------------------------