[slurm-users] Error when upgrading to 21.08.1

Hoot Thompson hoot at ptpnow.com
Thu Sep 23 19:04:15 UTC 2021


Do I need to specify the json path in the configure process?


On 9/23/21, 2:45 PM, "slurm-users on behalf of Hoot Thompson" <slurm-users-bounces at lists.schedmd.com on behalf of hoot at ptpnow.com> wrote:

    If this useful, note that there's no attempt to build anything in the serializer/json directory.

    Making all in serializer
    make[4]: Entering directory '/home/ubuntu/slurm-21.08.1/src/plugins/serializer'
    Making all in url-encoded
    make[5]: Entering directory '/home/ubuntu/slurm-21.08.1/src/plugins/serializer/url-encoded'
    /bin/bash ../../../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../../.. -I../../../../slurm  -DSLURM_PLUGIN_DEBUG -I../../../.. -I../../../../src/common   -DNUMA_VERSION1_COMPATIBILITY -g -O2 -fno-omit-frame-pointer -pthread -ggdb3 -Wall -g -O1 -fno-strict-aliasing -MT serializer_url_encoded.lo -MD -MP -MF .deps/serializer_url_encoded.Tpo -c -o serializer_url_encoded.lo serializer_url_encoded.c
    libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../../.. -I../../../../slurm -DSLURM_PLUGIN_DEBUG -I../../../.. -I../../../../src/common -DNUMA_VERSION1_COMPATIBILITY -g -O2 -fno-omit-frame-pointer -pthread -ggdb3 -Wall -g -O1 -fno-strict-aliasing -MT serializer_url_encoded.lo -MD -MP -MF .deps/serializer_url_encoded.Tpo -c serializer_url_encoded.c  -fPIC -DPIC -o .libs/serializer_url_encoded.o
    libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../../.. -I../../../../slurm -DSLURM_PLUGIN_DEBUG -I../../../.. -I../../../../src/common -DNUMA_VERSION1_COMPATIBILITY -g -O2 -fno-omit-frame-pointer -pthread -ggdb3 -Wall -g -O1 -fno-strict-aliasing -MT serializer_url_encoded.lo -MD -MP -MF .deps/serializer_url_encoded.Tpo -c serializer_url_encoded.c -o serializer_url_encoded.o >/dev/null 2>&1
    mv -f .deps/serializer_url_encoded.Tpo .deps/serializer_url_encoded.Plo
    /bin/bash ../../../../libtool  --tag=CC   --mode=link gcc  -DNUMA_VERSION1_COMPATIBILITY -g -O2 -fno-omit-frame-pointer -pthread -ggdb3 -Wall -g -O1 -fno-strict-aliasing -module -avoid-version --export-dynamic  -o serializer_url_encoded.la -rpath /opt/slurm/lib/slurm serializer_url_encoded.lo  -lm -lresolv 
    libtool: link: gcc -shared  -fPIC -DPIC  .libs/serializer_url_encoded.o   -lm -lresolv  -g -O2 -pthread -ggdb3 -g -O1   -pthread -Wl,-soname -Wl,serializer_url_encoded.so -o .libs/serializer_url_encoded.so
    libtool: link: ar cr .libs/serializer_url_encoded.a  serializer_url_encoded.o
    libtool: link: ranlib .libs/serializer_url_encoded.a
    libtool: link: ( cd ".libs" && rm -f "serializer_url_encoded.la" && ln -s "../serializer_url_encoded.la" "serializer_url_encoded.la" )
    make[5]: Leaving directory '/home/ubuntu/slurm-21.08.1/src/plugins/serializer/url-encoded'
    make[5]: Entering directory '/home/ubuntu/slurm-21.08.1/src/plugins/serializer'
    make[5]: Nothing to be done for 'all-am'.
    make[5]: Leaving directory '/home/ubuntu/slurm-21.08.1/src/plugins/serializer'
    make[4]: Leaving directory '/home/ubuntu/slurm-21.08.1/src/plugins/serializer'
    Making all in site_factor
    make[4]: Entering directory '/home/ubuntu/slurm-21.08.1/src/plugins/site_factor'

    On 9/23/21, 2:24 PM, "slurm-users on behalf of Hoot Thompson" <slurm-users-bounces at lists.schedmd.com on behalf of hoot at ptpnow.com> wrote:

        What's getting built is....

        serializer_url_encoded.a
        serializer_url_encoded.la
        serializer_url_encoded.so

        if this helps.


        On 9/23/21, 2:10 PM, "slurm-users on behalf of Hoot Thompson" <slurm-users-bounces at lists.schedmd.com on behalf of hoot at ptpnow.com> wrote:

            On Ubuntu 20.04 I installed ...

            libjson-c-dev
            Libhttp-parser-dev


            That work? No joy if so.

            On 9/23/21, 1:30 PM, "slurm-users on behalf of Ole Holm Nielsen" <slurm-users-bounces at lists.schedmd.com on behalf of Ole.H.Nielsen at fysik.dtu.dk> wrote:

                On 23-09-2021 16:01, Hoot Thompson wrote:
                > In upgrading to 21.08.1, slurmctld status reports:
                > 
                > Sep 23 13:49:52 ip-10-10-7-17 systemd[1]: Started Slurm controller daemon.
                > 
                > Sep 23 13:49:52 ip-10-10-7-17 slurmctld[1323]: fatal: Unable to find 
                > plugin: serializer/json
                > 
                > Sep 23 13:49:52 ip-10-10-7-17 systemd[1]: slurmctld.service: Main 
                > process exited, code=exited, status=1/FAILURE
                > 
                > Suggestions on resolving this?

                Probably missing some software prerequisites on the build host.  Please 
                check this (for a CentOS system):

                yum install http-parser-devel json-c-devel

                /Ole















More information about the slurm-users mailing list