I’m working on an educational project using seafile in a cluster. I’m using the pro version without license.
I’ve been following the instructions for ceph installation.
I did:
- Copied /etc/ceph to the seafile machine, made sure the seafile user can read the files
- apt-get install python3-rados
- Added the entries in seafile.conf, first without, then with arbitary, both failed with the same error
- Added the 3 pools in ceph
- After struggling with the error I deleted the library files as found in the documentation, after that a symbol was not found and I reinstalled the libraries.
- I tried the arbitrary ceph user but the documentation is so unclear I was unable to.
The error is this:
Mar 29 04:16:55 seafilecluster1 systemd[1]: Starting Start Seafile Server...
Mar 29 04:16:55 seafilecluster1 seafile-control[15177]: seafile-controller.c(1023): loading seafdav config from /opt/seafile/conf/seafdav.conf
Mar 29 04:16:55 seafilecluster1 seafile.sh[15177]: failed to run "seaf-server -t" [65280]
Mar 29 04:16:55 seafilecluster1 seafile.sh[15177]: 2023-03-29 04:16:55 ../common/seaf-utils.c(409): Use database Mysql
Mar 29 04:16:55 seafilecluster1 seafile.sh[15177]: 2023-03-29 04:16:55 ../common/obj-backend-ceph.c(424): [Obj backend] Cannot connect to cluster: Permission denied
Mar 29 04:16:55 seafilecluster1 seafile.sh[15177]: 2023-03-29 04:16:55 ../common/obj-backend-ceph.c(528): [Obj backend] Failed to init ceph: pool name is seafile-fs.
Mar 29 04:16:55 seafilecluster1 seafile.sh[15177]: 2023-03-29 04:16:55 ../common/obj-store.c(114): [Object store] Failed to load backend for fs.
Mar 29 04:16:55 seafilecluster1 seafile.sh[15177]: Error: failed to create ccnet session
Mar 29 04:16:55 seafilecluster1 systemd[1]: seafile.service: Control process exited, code=exited, status=1/FAILURE
Mar 29 04:16:55 seafilecluster1 systemd[1]: seafile.service: Failed with result 'exit-code'.
Mar 29 04:16:55 seafilecluster1 systemd[1]: Failed to start Start Seafile Server.
Mar 29 04:16:55 seafilecluster1 systemd[1]: seafile.service: Scheduled restart job, restart counter is at 5.
Mar 29 04:16:55 seafilecluster1 systemd[1]: Stopped Start Seafile Server.
I am frustrated and have no clue whats wrong. Every other log file is clean / empty.
Any help appreciated and thanks in advance.
If I’m missing something or am blind, just slap me with the solution.
Have a great night.