Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Schema Update run in a loop #1183

Open
Gerolsteiner99 opened this issue Mar 12, 2018 · 0 comments
Open

Schema Update run in a loop #1183

Gerolsteiner99 opened this issue Mar 12, 2018 · 0 comments

Comments

@Gerolsteiner99
Copy link

Running nipap-agent on a CentOS7 virtual box. After some installation issues I'm at this point without an idea for going forward:

  • Start the service:
    [root@client1-nipap nipap]# systemctl start nipapd.service
    Job for nipapd.service failed because the control process exited with error code. See "systemctl status nipapd.service" and "journalctl -xe" for details.

  • Output from journalctl -xe
    Mar 12 09:28:23 client1-nipap systemd[1]: nipapd.service holdoff time over, scheduling restart.
    Mar 12 09:28:23 client1-nipap systemd[1]: Starting nipapd daemon...
    -- Subject: Unit nipapd.service has begun start-up
    -- Defined-By: systemd
    -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
    --
    -- Unit nipapd.service has begun starting up.
    Mar 12 09:28:23 client1-nipap nipapd[22406]: ERROR: NIPAP PostgreSQL database is outdated. Schema version
    Mar 12 09:28:23 client1-nipap nipapd[22406]: HINT: You can automatically install required extensions and
    Mar 12 09:28:23 client1-nipap systemd[1]: nipapd.service: control process exited, code=exited status=1
    Mar 12 09:28:23 client1-nipap systemd[1]: Failed to start nipapd daemon.
    -- Subject: Unit nipapd.service has failed
    -- Defined-By: systemd
    -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
    --
    -- Unit nipapd.service has failed.
    --
    -- The result is failed.
    Mar 12 09:28:23 client1-nipap systemd[1]: Unit nipapd.service entered failed state.
    Mar 12 09:28:23 client1-nipap systemd[1]: nipapd.service failed.

  • Hint to solve the issue:
    --auto-install-db

  • That was the output from this solution:
    [root@client1-nipap nipap]# ./nipapd --auto-install-db
    ERROR: NIPAP PostgreSQL database is outdated. Schema version 6 is required to run but you are using 3
    HINT: You can automatically install required extensions and the nipap schema with --auto-install-db

What can I do now?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant