Skip to content

pccs service not starting #5

@michelangeloagorini

Description

@michelangeloagorini

when pccs service tries to start, it always fails.

output of journalctl -u pccs.service:

ago 09 19:15:31 michelangelo-HP-ProDesk-400-G5-Desktop-Mini systemd[1]: Started Provisioning Certificate Caching Service (PCCS).
ago 09 19:15:31 michelangelo-HP-ProDesk-400-G5-Desktop-Mini node[648]: file:///opt/intel/sgx-dcap-pccs/dao/models/index.js:130
ago 09 19:15:31 michelangelo-HP-ProDesk-400-G5-Desktop-Mini node[648]: const sequelize = await initializeDatabase();
ago 09 19:15:31 michelangelo-HP-ProDesk-400-G5-Desktop-Mini node[648]: ^^^^^
ago 09 19:15:31 michelangelo-HP-ProDesk-400-G5-Desktop-Mini node[648]: SyntaxError: Unexpected reserved word
ago 09 19:15:31 michelangelo-HP-ProDesk-400-G5-Desktop-Mini node[648]: at Loader.moduleStrategy (internal/modules/esm/translators.js:133:18)
ago 09 19:15:31 michelangelo-HP-ProDesk-400-G5-Desktop-Mini systemd[1]: pccs.service: Main process exited, code=exited, status=1/FAILURE
ago 09 19:15:31 michelangelo-HP-ProDesk-400-G5-Desktop-Mini systemd[1]: pccs.service: Failed with result 'exit-code'.
ago 09 19:15:46 michelangelo-HP-ProDesk-400-G5-Desktop-Mini systemd[1]: pccs.service: Scheduled restart job, restart counter is at 1.
ago 09 19:15:46 michelangelo-HP-ProDesk-400-G5-Desktop-Mini systemd[1]: Stopped Provisioning Certificate Caching Service (PCCS).

the error refers to index.js

otherwise, when i run the command sqlitebrowser /opt/intel/sgx-dcap-pccs/pckcache.db the output is:

Invalid option/non-existant file: /opt/intel/sgx-dcap-pccs/pckcache.db

i'm using node version 20.0.0. Can someone help me, please?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions