Community discussions

MikroTik App
 
iulianv
just joined
Topic Author
Posts: 4
Joined: Thu Aug 01, 2019 11:36 am

/export hangs

Wed Sep 25, 2019 10:52 am

Hello everyone,

Every once in a while (and mostly on 1100x4 boards) it happens that /export will "hang in the middle" on our MikroTik devices. Otherwise the router works just fine, the "hang" can be dismissed by Ctrl-C and individual sections of the config that would be displayed after the "point of hanging" can be /export-ed without issue - it's just that the entire config cannot be displayed in one command. The router is running the latest 6.56.6 and the problem goes away after reboot, just to reappear a few days later... Has anyone encountered this? Is there any longer term solution other than netinstall (which doesn't seem to be definitive either)?

Thank you.
 
User avatar
Steveocee
Forum Guru
Forum Guru
Posts: 1120
Joined: Tue Jul 21, 2015 10:09 pm
Location: UK
Contact:

Re: /export hangs

Wed Sep 25, 2019 10:59 am

Can't say I've encountered this but what happens if you do /export filename=testexport ?? This puts the output into an rsc file in the root directory.
Does it still hang or does it complete?
 
iulianv
just joined
Topic Author
Posts: 4
Joined: Thu Aug 01, 2019 11:36 am

Re: /export hangs

Fri Oct 04, 2019 11:54 am

Hi Steve,

Sorry for the late answer, I've been waiting for the issue to occur again. /export file=... also hangs, but cannot be interrupted with Ctrl-C - I can however exit the Telnet session and open another, and there's a "testexport.rsc.in_progress" file which fortunatelly can be removed.
 
pe1chl
Forum Guru
Forum Guru
Posts: 10248
Joined: Mon Jun 08, 2015 12:09 pm

Re: /export hangs

Fri Oct 04, 2019 12:30 pm

You should probably make a supout.rif when this happens and mail it to support.
 
User avatar
Steveocee
Forum Guru
Forum Guru
Posts: 1120
Joined: Tue Jul 21, 2015 10:09 pm
Location: UK
Contact:

Re: /export hangs

Sun Oct 06, 2019 10:48 am

This sounds like a fault with the device.

That or you have a massive config in a very low powered router (which we know isn't the case).
 
pe1chl
Forum Guru
Forum Guru
Posts: 10248
Joined: Mon Jun 08, 2015 12:09 pm

Re: /export hangs

Sun Oct 06, 2019 1:31 pm

I think it is unlikely that it is a "fault with the device", at most it is some inconsistency in the internal configuration or else it could be some seldomly triggered bug.
I would (after making the abovementioned supout.rif file) probably try to generate a complete export, then when that has succeeded reset the router to defaults and import the config again.
 
fsardi
just joined
Posts: 1
Joined: Mon Sep 04, 2023 1:22 am

Re: /export hangs

Mon Sep 04, 2023 1:31 am

I am having the same problem today on a CCR1009-7G-1C with router OS 7.10.2 and on a RB4011iGS. It hangs exporting there configuration to terminal or to file, in particular the routing configuration. If i reboot i can have it export again, but I have a scheduler set up to export the configuration to a file daily and then upload it via FTP but given that it halts i dont get my backups

routing/export
# 2023-09-03 17:25:20 by RouterOS 7.10.2
# software id = xxxxx-xxx
#
# model = CCR1009-7G-1C
# serial number = xxxxxxx
/routing bgp template
set default as=xxxxxxx disabled=no output.filter-chain=BGP-out .network=\
bgp-networks router-id=10.55.255.1
/routing ospf instance
add disabled=yes name=default-v2 router-id=10.55.255.1
add disabled=no name=default-v3 version=3
/routing ospf area
add disabled=no instance=default-v2 name=backbone-v2
add disabled=yes instance=default-v3 name=backbone-v3
/routing table
add fib name=PublicasSaltico
#interrupted
Last edited by chechito on Mon Sep 04, 2023 1:38 am, edited 2 times in total.
Reason: remove-private-info
 
holvoetn
Forum Guru
Forum Guru
Posts: 5500
Joined: Tue Apr 13, 2021 2:14 am
Location: Belgium

Re: /export hangs

Mon Sep 04, 2023 9:35 am

Try 7.11.2.
If the problem is still there, contact support with supout.rif of your device.
 
pe1chl
Forum Guru
Forum Guru
Posts: 10248
Joined: Mon Jun 08, 2015 12:09 pm

Re: /export hangs

Mon Sep 04, 2023 11:41 am

It can be helpful to look in another router or in an older export what would be the next item after the last one that is still shown.
That is the item that causes the problem.

I also noticed in recent versions that some items may take quite some time to export even in fast devices.
E.g. I have a CCR2004 running 7.11beta4 where the export of "/interface bridge ports" takes at least 10 seconds.
I imported the same config into a CCR1009 and it runs OK. At the next opportunity I will reset the configuration of the CCR2004 and import it, I expect that will fix it.

It likely has something to do with history of configuration of the device in question.
 
sparkus
just joined
Posts: 6
Joined: Mon Sep 04, 2023 10:44 pm

Re: /export hangs

Wed Sep 06, 2023 10:19 pm

In case your router stuck during the export process, it is recommend exporting individual sections instead.
If you encounter difficulties with a specific section during the export, examine its contents and disable any components that can be disabled.
Afterward, reboot your router and attempt the export again.
 
tyby
newbie
Posts: 28
Joined: Thu Nov 10, 2011 5:03 pm
Location: Bucharest / RO

Re: /export hangs

Wed Mar 06, 2024 5:19 pm

I also noticed in recent versions that some items may take quite some time to export even in fast devices.
E.g. I have a CCR2004 running 7.11beta4 where the export of "/interface bridge ports" takes at least 10 seconds.
I imported the same config into a CCR1009 and it runs OK. At the next opportunity I will reset the configuration of the CCR2004 and import it, I expect that will fix it.

pe1chl , did you get to the bottom of this?

I get the same, also with a CCR2004 (runnning 7.13.3), at exactly the same step: /interface bridge - export hangs for about 8 seconds. Router is brand new, just noticed that while doing configuration section by section, and exporting a lot, for comparing with the old one.

Similar config exporting ok from CCR1009, no hiccups.

Otherwise, apparently, router running fine ...

Thanks!
 
pe1chl
Forum Guru
Forum Guru
Posts: 10248
Joined: Mon Jun 08, 2015 12:09 pm

Re: /export hangs

Wed Mar 06, 2024 5:24 pm

No, I have not yet reset that router and I am just living with it.
When it happens on a newly configured router as well, that means I will probably not even try that, thanks.
You could report it to MikroTik.

Who is online

Users browsing this forum: Ahrefs [Bot], gimmo, Jhonny, raiser and 28 guests