Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
Deepakrawat10
Explorer

Management API service is not availabele

Hi Team,

 

We getting a error API please 

 

[Expert@Genesis:0]# mgmt_cli add host --batch test.csv
Username: admin
Password:
message: "The Management API service is not available. Please check that the Management API server is up and running."
code: "generic_error"
[Expert@Genesis:0]# api status
[Expert@Genesis:0]# api status
[Expert@Genesis:0]# api restart
[Expert@Genesis:0]# cat test.csv
name,ip-address,color,comments
check1,192.168.1.1,dark blue,testserver
check2,192.168.1.2,dark blue,testserver
check3,192.168.1.3,dark blue,testserver
check4,192.168.1.4,dark blue,testserver
check5,192.168.1.5,dark blue,testserver

0 Kudos
8 Replies
_Val_
Admin
Admin

Run "show api status" from clish. What does it say?

0 Kudos
Deepakrawat10
Explorer

It's showing this please check

 

Genesis> show api status
CLINFR0329 Invalid command:'show api status'.
Genesis> expert
Enter expert password:


Warning! All configurations should be done through clish
You are in expert mode now.

[Expert@Genesis:0]# show api status
bash: show: command not found
[Expert@Genesis:0]#

0 Kudos
_Val_
Admin
Admin

from expert shell, run "api status"

0 Kudos
Deepakrawat10
Explorer

yes we do this but same issue we are facing

Genesis> expert
Enter expert password:


Warning! All configurations should be done through clish
You are in expert mode now.

[Expert@Genesis:0]# show api status
bash: show: command not found
[Expert@Genesis:0]#

0 Kudos
the_rock
Legend
Legend

What do you see when running this from expert? (ctrl+c to stop)

watch -d $FWDIR/scripts/./cpm_status.sh

Best,

Andy

0 Kudos
Timothy_Hall
Legend Legend
Legend

Does your SMS have at least 4GB of RAM if distributed, or at least 8GB if standalone?  Otherwise the management API will not start automatically.

Gateway Performance Optimization R81.20 Course
now available at maxpowerfirewalls.com
0 Kudos
the_rock
Legend
Legend

Hey Tim,

Are you sure that would be the issue? I actually have standalone lab with 6 GB ram and I never have this problem.

Andy

0 Kudos
PhoneBoy
Admin
Admin

6GB of RAM is the bare minimum that will work, I believe.
Personally, I use 16GB of RAM for a standalone install so it's more performant.

0 Kudos

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    CheckMates Events