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

Failed to start on oi-20240426. #812

Open
mkonnov opened this issue May 16, 2024 · 4 comments
Open

Failed to start on oi-20240426. #812

mkonnov opened this issue May 16, 2024 · 4 comments

Comments

@mkonnov
Copy link

mkonnov commented May 16, 2024

Hi.
We're using OpenIndiana-20240426 for only reason that there's a pacemaker packages presented.
We're now strugging to start the pcsd.
The logs are the following:

[ May 16 19:43:40 Executing start method ("/lib/svc/method/svc-pcs start"). ]
[ May 16 19:43:40 Method "start" exited with status 0. ]
ruby: No such file or directory -- /usr/lib/pcsd/ssl.rb (LoadError)
[ May 16 19:43:40 Stopping because all processes in service exited. ]
[ May 16 19:43:40 Executing stop method ("/lib/svc/method/svc-pcs stop"). ]
/lib/svc/method/svc-pcs: line 33: kill: (1232) - No such process
[ May 16 19:43:40 Method "stop" exited with status 0. ]
[ May 16 19:43:41 Executing start method ("/lib/svc/method/svc-pcs start"). ]
[ May 16 19:43:41 Method "start" exited with status 0. ]
ruby: No such file or directory -- /usr/lib/pcsd/ssl.rb (LoadError)
[ May 16 19:43:41 Stopping because all processes in service exited. ]
[ May 16 19:43:41 Executing stop method ("/lib/svc/method/svc-pcs stop"). ]
/lib/svc/method/svc-pcs: line 33: kill: (1237) - No such process
[ May 16 19:43:41 Method "stop" exited with status 0. ]
[ May 16 19:43:41 Executing start method ("/lib/svc/method/svc-pcs start"). ]
[ May 16 19:43:41 Method "start" exited with status 0. ]
ruby: No such file or directory -- /usr/lib/pcsd/ssl.rb (LoadError)
[ May 16 19:43:42 Stopping because all processes in service exited. ]
[ May 16 19:43:42 Executing stop method ("/lib/svc/method/svc-pcs stop"). ]
/lib/svc/method/svc-pcs: line 33: kill: (1242) - No such process
[ May 16 19:43:42 Method "stop" exited with status 0. ]
[ May 16 19:43:42 Executing start method ("/lib/svc/method/svc-pcs start"). ]
[ May 16 19:43:42 Method "start" exited with status 0. ]
ruby: No such file or directory -- /usr/lib/pcsd/ssl.rb (LoadError)
[ May 16 19:43:42 Stopping because all processes in service exited. ]
[ May 16 19:43:42 Executing stop method ("/lib/svc/method/svc-pcs stop"). ]
/lib/svc/method/svc-pcs: line 33: kill: (1247) - No such process
[ May 16 19:43:42 Method "stop" exited with status 0. ]
[ May 16 19:43:42 Restarting too quickly, changing state to maintenance. ]

Is it looks familiar to anyone ? Any way to fix it ?

@mirecheck
Copy link
Collaborator

Hi @mkonnov,
what pcs version do you have on your system? The pcsd/ssl.rb file was removed in pcs-0.10.
It looks like that /lib/svc/method/svc-pcs script does not start pcsd correctly.

@mkonnov
Copy link
Author

mkonnov commented May 17, 2024

Hi @mirecheck. Thanks for quick reply.

what pcs version do you have on your system? The pcsd/ssl.rb file was removed in pcs-0.10.

Interesting then...
Version of pcs used is 0.10.1. From package manifest:

set name=info.source-url value=https://github.com/ClusterLabs/pcs/archive/0.10.1.tar.gz

It looks like that /lib/svc/method/svc-pcs script does not start pcsd correctly.
Really, Just found this string in /lib/svc/method/svc-pcs:

params=" -C${config} -I${binpath} -- ${binpath}/ssl.rb"

My first idea what it might be is the careless pcs packet update - the pcs version has been updated without of updating the caller. Now investigating.

@mirecheck If you'd share any clues (if so), I'd appreciate.

@mirecheck
Copy link
Collaborator

Try to remove '-- ${binpath}/ssl.rb'. Pcsd should be started without any arguments. I can't suggest you more because i couldn't find the sources of /lib/svc/method/svc-pcs script.

You can also try to file an issue in some openindiana tracker.

@mkonnov
Copy link
Author

mkonnov commented May 23, 2024

Thanks @mirecheck !

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

2 participants