openpbs / openpbs

An HPC workload manager and job scheduler for desktops, clusters, and clouds.
https://www.openpbs.org
Other
706 stars 333 forks source link

Failed installation with python3.9.18 on Almalinux9.3 #2617

Open friendly0115 opened 9 months ago

friendly0115 commented 9 months ago

Dear all, I failed the installation with the package on the master branch on the Almalinux 9.3 with python 3.9.18

Error initializing the pbs dataservice error starting pbs data service

Is there some way to fix this?

thank you all

vchlum commented 9 months ago

Hi @friendly0115, have you disabled SELinux?

friendly0115 commented 9 months ago

Hi @friendly0115, have you disabled SELinux?

I did disable SElinux and add hosts in etc/hosts and etc/sysconfig/network. But it is still the same error.

vchlum commented 9 months ago

Also, check /etc/hostname and /etc/pbs.conf for the correct hostname. I suppose the /etc/hosts was fixed after the first attempt to start pbs. In that case:

I have just tested the building of rpm, installation of rpm, and running openpbs - all on a fresh installation of almalinux 9.3 in virtualbox. It worked. No issues.

If not resolved, could you please show the full output of /etc/init.d/pbs start and also check the output of the server log - if exists (/var/spool/pbs/server_logs/YYYYMMDD)?

emyr666 commented 5 months ago

@vchlum can you post a bit more about how you built it ? What configure command are you using ?

When I download the source (23.06.06) and then do autogen.sh i get lots of warnings like

src/resmom/Makefile.am:73: warning: source file '$(top_srcdir)/src/server/req_quejob.c' is in a subdirectory,
src/resmom/Makefile.am:73: but option 'subdir-objects' is disabled

and

automake: (probably a GNU make extension)
test/tests/Makefile.am:54:   while processing 'dist_ptl_testresilience_DATA'
automake: warning: wildcard $(srcdir: non-POSIX variable name

can these be ignored or do I need to use the master branch or a specific dev branch for AlmaLinux9.3?

vchlum commented 5 months ago

Hi @emyr666, I usually use the config command like CFLAGS="-g -O0 -Wall -Werror" ./configure --prefix=/opt/pbs or similar.

There is no specific branch for AlmaLinux. You should be good with master. I think the autoget.sh warnings can be safely ignored. Feel free to let me know if you have an issue and need help to build it.

fnevgeny commented 4 months ago

FWIW, I had no problem building RPMs from the .spec file under Alma9.3 (and 9.4). But I wonder how one should use cgroups, given that the v1 libcgroup* packages have been removed from the EL9 repos (and were marked as deprecated already in EL8, if not before)...