Hello Community!
I have the following error. When I run startZitiController the response I get is satisfactory, however when I try to access the ZAC I get a message that reads “Edge controller not Online” and when I check the log file, I see this error. Could you tell me what I’m doing wrong? I am running everything locally
Hi @Edwin ! welcome to the discourse. I see in your command that the $(hostname) was not properly tokenized. that’s a bug I’ve never seen before. what version of linux are you running? are you perhaps using a shell other than zsh/bash (we run expressInstall ourselves in bash/zsh).
It seems like your config is just not getting generated properly. I’m sure we can figure it out - happy to help. lemme know what linux version you’re using and what shell and i’ll see if i can reproduce the problem
Hello @TheLumberjack, thank you very much.
I am using Ubuntu 20.04 and bash which provides the same OS.
I’ll try some other shell that is ZSH, but if you could help me that would be great.
Greetings
I just launched zsh (from bash) and ran the quickstart and it completed successfully. after doing that there is an environment variable on your shell… can you try running grep db "$ZITI_HOME/$(hostname).yaml" you can see my result below:
cd@sg3 ~/.ziti/quickstart/sg3
% grep db "$ZITI_HOME/$(hostname).yaml"
db: "/home/cd/.ziti/quickstart/sg3/db/ctrl.db"
also - could you perhaps capture your entire expressInstall output so I might inspect it?
EDIT: for me "$ZITI_HOME/$(hostname).yaml" resolves to:
Here you will see that it tells me that the environment variables had already been established, I select the yes option and as you will see in the following images, everything starts normally
Those commands will stop the router and controller but @markamind is entirely right. After the expressInstsll completes, it stops the controller and router. The last few messages tell you that you can start the programs by running startZitiController or startExpressEdgeRouter like @markamind says.
Yes I did it @markamind , @TheLumberjack.
If I run the command after expressInstall has finished, the output of both commands, startZitiController and startExpressEdgeRouter is as follows:
ziti-controller started as process id: . log located at: /home/edwin/.ziti/quickstart/edwin-asus/edwin-asus.log
[1] 4424
Express Edge Router started as process id: 4424. log located at: /home/edwin/.ziti/quickstart/edwin-asus/edwin-asus-edge-router.log
Great!
I guess the next step is to install ZAC if I don’t want to use CLI, right?
I have followed the quickstart instructions to install ZAC and I get this screen:
However when I enter the data of the controller it shows me a message saying that the controller is not online, what is my error?
I have to say that I already started the router and the controller with the commands that are also given in the guide.
Greetings!