Hello. Can someone help me?
I'm running eve-ng pro.
I started SR-linux as a container.
I get the message "Connection with server is down" and can't set anything using commands.
Are there any settings I need to make in the startup config?
Thank you.
Nokia SR-linux set up
Moderator: mike
-
- Posts: 301
- Joined: Thu Mar 29, 2018 4:19 pm
-
- Posts: 3
- Joined: Thu Jan 02, 2025 1:59 am
Re: Nokia SR-linux set up
Hi rusty725
Thank you for your reply.
I tried the method you told me, but it still doesn't work.
The error is as below:
If there is any other way please advise.
root@Docker:~# sr_cli
06:42:26.078 [WARNING] (MainThread) Failed to contact the AAA server. Further communication will be blackholed until connection succeeds
Using configuration file(s): ['/etc/opt/srlinux/srlinux.rc']
Welcome to the srlinux CLI.
Type 'help' (and press <ENTER>) if you need any help using this.
--{ running }--[ ]--
A:Docker#
--{ running }--[ ]--
A:Docker#
--{ running }--[ ]--
A:Docker#
--{ running }--[ ]--
A:Docker# show version
Error: PermissionError: [Errno 1] Operation not permitted: 'sr_mgmt_server'
--{ running }--[ ]--
Connection with server is down
Current mode: running
Thank you for your reply.
I tried the method you told me, but it still doesn't work.
The error is as below:
If there is any other way please advise.
root@Docker:~# sr_cli
06:42:26.078 [WARNING] (MainThread) Failed to contact the AAA server. Further communication will be blackholed until connection succeeds
Using configuration file(s): ['/etc/opt/srlinux/srlinux.rc']
Welcome to the srlinux CLI.
Type 'help' (and press <ENTER>) if you need any help using this.
--{ running }--[ ]--
A:Docker#
--{ running }--[ ]--
A:Docker#
--{ running }--[ ]--
A:Docker#
--{ running }--[ ]--
A:Docker# show version
Error: PermissionError: [Errno 1] Operation not permitted: 'sr_mgmt_server'
--{ running }--[ ]--
Connection with server is down
Current mode: running
-
- Posts: 3
- Joined: Thu Jan 02, 2025 1:59 am
Re: Nokia SR-linux set up
Hi, can someone help me?
I tried checking in a different way.
I checked the Nokia manual.
https://documentation.nokia.com/srlinux ... iners.html
I created and started the container from the cli.
hoge@eve-ng1:~# sudo docker run -t -d --rm --privileged \
-u 0:0 \
-v srl24-10-1.json:/etc/opt/srlinux/config.json \
--name srlinux ghcr.io/nokia/srlinux:24.10.1 \
sudo bash /opt/srlinux/bin/sr_linux
5c5da6237c8cd77b8fa045b614c5dca59c663834a680518b9eb00bf67a07b445
hoge@eve-ng1:~#
hoge@eve-ng1:~# docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
5c5da6237c8c ghcr.io/nokia/srlinux:24.10.1 "/tini -- fixuid -q …" 26 seconds ago Up 26 seconds srlinux
hoge@eve-ng1:~#
hoge@eve-ng1:~# docker exec -it srlinux bash
hoge@5c5da6237c8c:/#
hoge@5c5da6237c8c:/# sr_cli
Using configuration file(s): ['/etc/opt/srlinux/srlinux.rc']
Welcome to the srlinux CLI.
Type 'help' (and press <ENTER>) if you need any help using this.
--{ [FACTORY] + running }--[ ]--
A:5c5da6237c8c# show version
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Hostname : 5c5da6237c8c
Chassis Type : 7220 IXR-D3L
Part Number : Sim Part No.
Serial Number : Sim Serial No.
System HW MAC Address: 10:00:02:FF:00:00
OS : SR Linux
Software Version : v24.10.1
Build Number : 492-gf8858c5836
Architecture : x86_64
Last Booted : 2025-01-07T11:47:19.098Z
Total Memory : 257587437 kB
Free Memory : 251008386 kB
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
--{ [FACTORY] + running }--[ ]--
A:5c5da6237c8c# quit
hoge@5c5da6237c8c:/#
It seems to work fine from the cli.
But it doesn't work when I try to create it from the eve-ng GUI.
How can I create it properly from the GUI?
Thank you.
I tried checking in a different way.
I checked the Nokia manual.
https://documentation.nokia.com/srlinux ... iners.html
I created and started the container from the cli.
hoge@eve-ng1:~# sudo docker run -t -d --rm --privileged \
-u 0:0 \
-v srl24-10-1.json:/etc/opt/srlinux/config.json \
--name srlinux ghcr.io/nokia/srlinux:24.10.1 \
sudo bash /opt/srlinux/bin/sr_linux
5c5da6237c8cd77b8fa045b614c5dca59c663834a680518b9eb00bf67a07b445
hoge@eve-ng1:~#
hoge@eve-ng1:~# docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
5c5da6237c8c ghcr.io/nokia/srlinux:24.10.1 "/tini -- fixuid -q …" 26 seconds ago Up 26 seconds srlinux
hoge@eve-ng1:~#
hoge@eve-ng1:~# docker exec -it srlinux bash
hoge@5c5da6237c8c:/#
hoge@5c5da6237c8c:/# sr_cli
Using configuration file(s): ['/etc/opt/srlinux/srlinux.rc']
Welcome to the srlinux CLI.
Type 'help' (and press <ENTER>) if you need any help using this.
--{ [FACTORY] + running }--[ ]--
A:5c5da6237c8c# show version
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Hostname : 5c5da6237c8c
Chassis Type : 7220 IXR-D3L
Part Number : Sim Part No.
Serial Number : Sim Serial No.
System HW MAC Address: 10:00:02:FF:00:00
OS : SR Linux
Software Version : v24.10.1
Build Number : 492-gf8858c5836
Architecture : x86_64
Last Booted : 2025-01-07T11:47:19.098Z
Total Memory : 257587437 kB
Free Memory : 251008386 kB
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
--{ [FACTORY] + running }--[ ]--
A:5c5da6237c8c# quit
hoge@5c5da6237c8c:/#
It seems to work fine from the cli.
But it doesn't work when I try to create it from the eve-ng GUI.
How can I create it properly from the GUI?
Thank you.