lima-city: Webhosting, Domains und Cloud
2 Pluspunkte 0 Minuspunkte

Ich habe dem Benutzer root einen ZAPI Key erstellt und mich mit ssh auf der Console des Zevenet Server angemeldet. Wenn ich zcli starten will

root@vie-p-srv-flb01:~# zcli show farms
Type the zapi key for the current load balancer
Load balancer zapi key: ^C
root@vie-p-srv-flb01:~# zcli show farms
Type the zapi key for the current load balancer
Load balancer zapi key: QGLMvMVCvFYqcAezLwTKqi5AyUTfTQZ8RnlMKuCxiM4SPI9dmSKWyXM6xPDrb3nD8
Saved as default profile

The authentication failed. Please, review the following settings
        *) The zapi user is enabled: clicking on Zevenet Webgui 'System > User'.
        *) The ZCLI zapikey is valid: using the ZCLI command with the arguments 'profile set localhost' to modify it.
show: unknown command
root@vie-p-srv-flb01:~# zcli list farms
The authentication failed. Please, review the following settings
        *) The zapi user is enabled: clicking on Zevenet Webgui 'System > User'.
        *) The ZCLI zapikey is valid: using the ZCLI command with the arguments 'profile set localhost' to modify it.
list: unknown command
root@vie-p-srv-flb01:~# zcli farm list
The authentication failed. Please, review the following settings
        *) The zapi user is enabled: clicking on Zevenet Webgui 'System > User'.
        *) The ZCLI zapikey is valid: using the ZCLI command with the arguments 'profile set localhost' to modify it.
farm: unknown command
root@vie-p-srv-flb01:~# zcli farm list
The authentication failed. Please, review the following settings
        *) The zapi user is enabled: clicking on Zevenet Webgui 'System > User'.
        *) The ZCLI zapikey is valid: using the ZCLI command with the arguments 'profile set localhost' to modify it.
farm: unknown command
root@vie-p-srv-flb01:~#

Aber der API Key ist korrekt. Ich habe auch schon einen neuen generiert es kommt jedes mal der selbe Fehler.

von  

1 Antwort

0 Pluspunkte 0 Minuspunkte

Starte zcli als interaktive Shell

zcli

und gib den folgenden Befehl ein:

profile set localhost

Als Antwort wird der aktuell konfigurierte API Key angezeigt. Falls es nicht der richtige Key ist gib den aktuellen Key ein und klicke auf Enter. Das Prompt sollte danach grün dargestellt werden.

von (495 Punkte)  
Diese Community basiert auf dem Prinzip der Selbstregulierung. Beiträge werden von Nutzern erstellt, bewertet und verbessert – ganz ohne zentrale Moderation.

Wer hilfreiche Fragen stellt oder gute Antworten gibt, sammelt Punkte. Mit steigender Punktzahl erhalten Mitglieder automatisch mehr Rechte, zum Beispiel

  • Kommentare verfassen
  • Fragen und Antworten bewerten
  • Themen von Fragen bearbeiten
  • Fragen, Antworten und Kommentare bearbeiten
  • Inhalte ausblenden

So entsteht eine Plattform, auf der sich Qualität durchsetzt – getragen von einer engagierten Gemeinschaft.

2.3k Fragen

2.8k Antworten

265 Kommentare

14 Nutzer