Avamar: Geplande back-ups worden niet gestart terwijl handmatig gestarte back-ups wel werken
Summary: In dit artikel komt een zeldzaam probleem aan de orde waarbij geplande back-ups niet worden gestart, terwijl handmatig gestarte back-ups probleemloos werken vanwege een verkeerd geconfigureerd hostbestand. ...
Symptoms
Geplande back-ups worden niet uitgevoerd.
De back-upplanner wordt uitgevoerd:
dpnctl status sched
Identity added: /home/admin/.ssh/admin_key (/home/admin/.ssh/admin_key)
dpnctl: INFO: Backup scheduler status: up.
Handmatig gestarte back-ups zijn voltooid.
Het logboek (/usr/local/avamar/var/mc/server_log/mcserver.log*) toont het volgende:
07/30-22:25:31.00645 [OtherMessageEventHandler#235] com.avamar.mc.security.AvmgrLoginModule.login
FINE: AvmgrLoginModule Product: MCS Remote client: customer.com.mx/127.0.0.1 Host address: /IPv6 address b%eth0 Host address: /10.xx.xx.11
07/30-22:25:31.00645 [OtherMessageEventHandler#235] com.avamar.mc.security.spring.MCSpringJaasSecurityModule.authenticateLoginPrincipal
SEVERE: Authentication failed: Login Failure: all modules ignored
org.springframework.security.authentication.AuthenticationServiceException: Login Failure: all modules ignored
at org.springframework.security.authentication.jaas.DefaultLoginExceptionResolver.resolveException(DefaultLoginExceptionResolver.java:33)
...
at java.lang.Thread.run(Unknown Source)
Caused by: javax.security.auth.login.LoginException: Login Failure: all modules ignored
at javax.security.auth.login.LoginContext.invoke(Unknown Source)
at javax.security.auth.login.LoginContext.access$000(Unknown Source)
...
Een pingtest naar de FQDN (Fully Qualified Domain Name) customer.com.mx een antwoord ontvangen van het localhost-adres 127.0.0.1.
Cause
De localhost vermelding in de /etc/hosts Bestand is niet correct geconfigureerd.
Resolution
1. Meld u aan als beheerder.
2. Verheffen tot rootprivilege.
3. Controleer het hosts-bestand:
cat /etc/hosts
127.0.0.1 customer.com.mx localhost
::1 customer.com.mx localhost
10.xx.xx.11 cusotmer.com.mx customer
Deze uitvoer toont een onjuist geconfigureerd hostbestand.
De juiste configuratie voor localhost in /etc/hosts is:
127.0.0.1 localhost
::1 localhost
4. Werk het hostbestand bij en corrigeer het.
5. Controleer het bijgewerkte hosts-bestand:
cat /etc/hosts
127.0.0.1 localhost
::1 localhost
10.xx.xx.11 cusotmer.com.mx customer
6. Start de Management Console Server (MCS) per Avamar opnieuw op: De beheerconsoleserver opnieuw starten
7. Controleer het raster en controleer of geplande back-ups worden uitgevoerd.