It is connected to a CRS125-24G and the included external GigE PoE Injector. All mounted in an upwarmed and dry container.@marosi What device is connected on the other end? Is it RB750UP, CCR or other? Please make sure you checked power supply, PoE injector, etc.
Traceback (most recent call last):
File "/opt/ampr/updateros.py", line 167, in <module>
main()
File "/opt/ampr/updateros.py", line 154, in main
ssh.exec_command(command)
File "/usr/lib/python2.7/dist-packages/paramiko/client.py", line 363, in exec_command
chan = self._transport.open_session()
File "/usr/lib/python2.7/dist-packages/paramiko/transport.py", line 658, in open_session
return self.open_channel('session')
File "/usr/lib/python2.7/dist-packages/paramiko/transport.py", line 713, in open_channel
raise SSHException('SSH session not active')
paramiko.SSHException: SSH session not active
Soo, it seems that falling back to 6.33.2 prevents the ssh errors from happening.Unfortunately I have no logging. Back to 6.33.2 to check if it happens again...
Happened to me couple of times. Use latest netinstall to recover your devices. Use fixed IP 192.168.88.xxx on your host PC.After update from 6.33.1 to 6.33.3 two of four my Mikrotik will not boot!!! This firmware is not compatible with all devices/configurations! Do not update your production routers...
2 RB951G-2HnD updated successfully
1 RB2011UiAS will not boot after update - stopped on "Starting Services" with all ethernet status LEDs off (no second beep).
1 RB751G-2HnD will not boot after update - stopped somewhere during boot.
I was able to reset both routers and after restoring config from backup - it was stopped again. After it I tested latest Beta - same result.
After downgrading to 6.33.1 and restoring config from backup - everything working again...
Now I'm afraid to do future upgrades... something wrong with this new firmwares... be aware!!!!!
Update: 6.33.2 - also broken as described
Sorry, Finally I saw that this happens only with php ssh2Please write to support@mikrotik.com and send supout files which would be generated while there are "dead" SSH connections.
I am not being able to reproduce this issue. I make multiple SSH sessions and break them without close. After few seconds they are closed and I do not see them any more under active connections.
$con = ssh2_connect($address, $sshport);
ssh2_auth_password($con, $username, $password);
$stream = ssh2_exec($con, "export file=".$filename."\r\n" );
stream_set_blocking($stream, true);
sleep(5);
$sftp = ssh2_sftp($con);
$content = file_get_contents('ssh2.sftp://'.$sftp.'/'.$filename.'.rsc');
file_put_contents($backup_directory.$filename,$content);
$stream = ssh2_exec($con, "/file remove \"$filename.rsc\"");
sleep(2);
ssh2_exec( $con,'/quit');
I can confirm this...Please write to support@mikrotik.com and send supout files which would be generated while there are "dead" SSH connections.
I am not being able to reproduce this issue. I make multiple SSH sessions and break them without close. After few seconds they are closed and I do not see them any more under active connections.
[root@client-15.oaks] /user active> pr
Flags: R - radius, M - by-romon
# WHEN NAME ADDRESS VIA
0 dec/08/2015 22:04:05 root 172.31.252.1 ssh
1 dec/08/2015 22:04:11 root 172.31.252.1 ssh
2 dec/09/2015 11:43:03 root 172.31.252.1 ssh
3 dec/09/2015 11:43:08 root 172.31.252.1 ssh
4 dec/09/2015 12:03:56 root 172.31.252.1 ssh
5 dec/09/2015 12:04:01 root 172.31.252.1 ssh
6 dec/09/2015 12:05:44 root 172.31.252.1 ssh
7 dec/09/2015 12:05:49 root 172.31.252.1 ssh
8 dec/09/2015 12:06:45 root 172.31.252.1 ssh
9 dec/09/2015 12:06:49 root 172.31.252.1 ssh
10 dec/09/2015 13:33:42 root 172.31.252.30 ssh
In bridge the mac address changes.Ever since we started updating our devices to 6.33.x / Winbox 3.0 we have an issue running scripts on our equipment (CPE/Routers).
When we're initially programming them we login to the mac with winbox, reset the defaults etc. Login again and paste a script into the terminal. Everything seems it works right until it gets to the bridge port, which resets the interface (plugged into port 2).
If we connect via the ip and run the script in the terminal everything works as intended. Any particular reason why the interface associated with the mac resets now when its added to a bridge port?
Can you explain how Netinstall will help in this case?Happened to me couple of times. Use latest netinstall to recover your devices. Use fixed IP 192.168.88.xxx on your host PC.After update from 6.33.1 to 6.33.3 two of four my Mikrotik will not boot!!! This firmware is not compatible with all devices/configurations! Do not update your production routers...
2 RB951G-2HnD updated successfully
1 RB2011UiAS will not boot after update - stopped on "Starting Services" with all ethernet status LEDs off (no second beep).
1 RB751G-2HnD will not boot after update - stopped somewhere during boot.
I was able to reset both routers and after restoring config from backup - it was stopped again. After it I tested latest Beta - same result.
After downgrading to 6.33.1 and restoring config from backup - everything working again...
Now I'm afraid to do future upgrades... something wrong with this new firmwares... be aware!!!!!
Update: 6.33.2 - also broken as described
Look at what the errors say. Often the commands are changed with upgraded firmware revisions. Often only small changes to the restore script is needed.We upgraded a RB1100AHx2 and a RB493AH and both hang at boot when restoring configuration. If we load configuration from scripts, it timeouts when importing some (apparently random) firewall rules and suggests to contact support.
Same here !Tested v.6.33.3 on RB450G, RB951Ui-2HnD, RB911G-5HPnD. All show issue with PPPoE MTU.
PPPoE MTU connects @ 1480 MTU and 1492 MRU. Other similar devices on the same network with 6.32.2 connect properly @ MTU 1500, and ping shows no fragmentation with 1500b packets.
Downgraded @ 6.32.2 the RB450G fort test, its PPPoE client now connects @ MTU 1500.
PPPoE server is an RB1100AHx2 with RouterOS v. 6.23, and the pppoe service is the same for all client CPEs.
What have I to do? Downgrade all 6.33.3 devices? Wait for solution?
Well, I tried running the scripts until the error appears, and this is the message thrown at the console:Look at what the errors say. Often the commands are changed with upgraded firmware revisions. Often only small changes to the restore script is needed.We upgraded a RB1100AHx2 and a RB493AH and both hang at boot when restoring configuration. If we load configuration from scripts, it timeouts when importing some (apparently random) firewall rules and suggests to contact support.
action timed out - try again, if error continues contact MikroTik support and send a supout file (13)
Post the Mangle rules from the script so we can see them.Well, I tried running the scripts until the error appears, and this is the message thrown at the console:
The mangles (and there is a lot of mangles) halts when importing one line with nothing special, and throws the error quoted above. In fact, if I try to manually import the next mangle in the script, the same error gets thrown.
Hi jebz!Post the Mangle rules from the script so we can see them.Well, I tried running the scripts until the error appears, and this is the message thrown at the console:
The mangles (and there is a lot of mangles) halts when importing one line with nothing special, and throws the error quoted above. In fact, if I try to manually import the next mangle in the script, the same error gets thrown.
# minimal mangle to mark services - reduced for clarity
# script fails on ROS 6.33.3 and 6.33.2 (and it works well in ROS 6.33.1 and 6.32.3)
# action timed out - try again, if error continues contact MikroTik support and send a supout file (13)
# preparation for test:
# /system reset-configuration
# /import mangle_test_minimal.rsc verbose=yes
/ip firewall mangle
# chain: mark-conn
add chain=mark-conn protocol=tcp comment="Mark TCP services" \
disabled=yes action=jump jump-target=tcp-services
add chain=mark-conn protocol=udp comment="Mark UDP services" \
disabled=yes action=jump jump-target=udp-services
add chain=mark-conn comment="Mark other services" \
disabled=yes action=jump jump-target=other-services
# chain: tcp-services
add chain=tcp-services protocol=tcp action=mark-connection \
src-port=1024-65535 dst-port=20-21 new-connection-mark=ftp \
passthrough=no disabled=yes
add chain=tcp-services protocol=tcp action=mark-connection \
new-connection-mark=other-tcp \
passthrough=no disabled=yes
# chain: udp-services
add chain=udp-services protocol=udp action=mark-connection \
src-port=1024-65535 dst-port=53 new-connection-mark=dns \
passthrough=no disabled=yes
add chain=udp-services protocol=udp action=mark-connection \
new-connection-mark=other-udp \
passthrough=no disabled=yes
# other services
add chain=other-services protocol=icmp action=mark-connection \
new-connection-mark=icmp passthrough=no disabled=yes
add chain=other-services protocol=gre action=mark-connection \
new-connection-mark=gre passthrough=no disabled=yes
add chain=other-services action=mark-connection \
new-connection-mark=other passthrough=no disabled=yes
# mark new connections (this line timeouts)
add chain=prerouting connection-state=new action=jump jump-target=mark-conn disabled=no
Hi jebz!Post the Mangle rules from the script so we can see them.Well, I tried running the scripts until the error appears, and this is the message thrown at the console:
The mangles (and there is a lot of mangles) halts when importing one line with nothing special, and throws the error quoted above. In fact, if I try to manually import the next mangle in the script, the same error gets thrown.
While trying to isolate the problem, I reduced the configuration script to just a few mangle rules, reinstalled ROS, reset router configuration and imported the script that I transcribe below:
This scripts, fails when adding the last rule, in ROS 6.33.3 and 6.33.2, but runs whithout problems in ROS 6.33.1 and 6.32.3.Code: Select all# minimal mangle to mark services - reduced for clarity # script fails on ROS 6.33.3 and 6.33.2 (and it works well in ROS 6.33.1 and 6.32.3) # action timed out - try again, if error continues contact MikroTik support and send a supout file (13) # preparation for test: # /system reset-configuration # /import mangle_test_minimal.rsc verbose=yes /ip firewall mangle # chain: mark-conn add chain=mark-conn protocol=tcp comment="Mark TCP services" \ disabled=yes action=jump jump-target=tcp-services add chain=mark-conn protocol=udp comment="Mark UDP services" \ disabled=yes action=jump jump-target=udp-services add chain=mark-conn comment="Mark other services" \ disabled=yes action=jump jump-target=other-services # chain: tcp-services add chain=tcp-services protocol=tcp action=mark-connection \ src-port=1024-65535 dst-port=20-21 new-connection-mark=ftp \ passthrough=no disabled=yes add chain=tcp-services protocol=tcp action=mark-connection \ new-connection-mark=other-tcp \ passthrough=no disabled=yes # chain: udp-services add chain=udp-services protocol=udp action=mark-connection \ src-port=1024-65535 dst-port=53 new-connection-mark=dns \ passthrough=no disabled=yes add chain=udp-services protocol=udp action=mark-connection \ new-connection-mark=other-udp \ passthrough=no disabled=yes # other services add chain=other-services protocol=icmp action=mark-connection \ new-connection-mark=icmp passthrough=no disabled=yes add chain=other-services protocol=gre action=mark-connection \ new-connection-mark=gre passthrough=no disabled=yes add chain=other-services action=mark-connection \ new-connection-mark=other passthrough=no disabled=yes # mark new connections (this line timeouts) add chain=prerouting connection-state=new action=jump jump-target=mark-conn disabled=no
If you look at the script, you'll see that all rules are disabled (that's the way it was in the original router configuration). And here is the strange thing: if I enable the first two rules in the chain "mark-conn", it runs well in all ROS versions tested.
Don't know if that's a bug, or my configuration is flawed in some aspect I can't see, but I see a change in behaviour from ROS 6.33.1 to 6.33.2.
Thank for following!
Regards.
Guillermo
Confimed, it's a bug that will be fixed in the next version. So, in the meantime, we all be careful with disabled rules.The problem lies with the disabled queues in the chain if redirect traffic to such a chain of 6.33.3 Russian crashes
Re: [Ticket#2015122266000642] Fatal error of the firmware> 6.33.3
Test rule
/ip firewall filter
add action=jump chain=KBOOM disabled=yes jump-target=\
BUBAMIKROTIK
add action=jump chain=forward in-interface=ether2 \
jump-target=KBOOM
Well, I tried running the scripts until the error appears, and this is the message thrown at the console:
The mangles (and there is a lot of mangles) halts when importing one line with nothing special, and throws the error quoted above. In fact, if I try to manually import the next mangle in the script, the same error gets thrown.
this is a temporary solution until they fix the bug ?use router's DNS for customers or set DNS IPs in DHCP Network statically
Always. It's not a bug. Router reboots, gives out IPs via DHCP, and only after that he learns DNSs via PPPoE. DHCP Server cannot force clients to renew DHCP leases, AFAIRthis is a temporary solution until they fix the bug ?
or always use dns statically ?
Chupaka, permit me to note : on RB1100AHx2 or RB493G I not had this problem, immediately after reboot i receive private IP and DNS simultaneous. but on CCR1009 not receive DNS... can anyone explain me why this happens on CCR1009 ?Always. It's not a bug. Router reboots, gives out IPs via DHCP, and only after that he learns DNSs via PPPoE. DHCP Server cannot force clients to renew DHCP leases, AFAIRthis is a temporary solution until they fix the bug ?
or always use dns statically ?
well, then I'd first take a look on the Log to see the difference in, for example, event sequence between those deviceson RB1100AHx2 or RB493G I not had this problem, immediately after reboot i receive private IP and DNS simultaneous. but on CCR1009 not receive DNS... can anyone explain me why this happens on CCR1009 ?
I have noticed the same. Before in version 6.32.x I didn't have this issue. I'm using Firefox 43.x.xNot quite sure if this is new with 6.33.3 but pretty often the webfig becomes unresponsive and does not react on any clicks anymore. An F5 reload fixes it for a bit until it fails again within a few minutes.
i think not firefox is cause, inform you that fan speed fail and in winbox , so it is a bug in routeros v6.33.3I have noticed the same. Before in version 6.32.x I didn't have this issue. I'm using Firefox 43.x.xNot quite sure if this is new with 6.33.3 but pretty often the webfig becomes unresponsive and does not react on any clicks anymore. An F5 reload fixes it for a bit until it fails again within a few minutes.