You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bigtop.apache.org by "iwasakims (via GitHub)" <gi...@apache.org> on 2025/07/23 11:05:19 UTC
[PR] BIGTOP-4474. Add dependency on initscripts to Kafka RPM. [bigtop]
iwasakims opened a new pull request, #1369:
URL: https://github.com/apache/bigtop/pull/1369
https://issues.apache.org/jira/browse/BIGTOP-4474
Services of Kafka depends on /etc/init.d/functions provided by initscripts package. Dependency on the initscripts should be added to the RPMs.
```
Error: /Stage[main]/Kafka::Server/Service[kafka-server]/ensure: change from 'stopped' to 'running' failed: Systemd start for kafka-server failed!
journalctl log for kafka-server:
Jul 23 10:43:58 1aa6041f1bf0 systemd[1]: /run/systemd/generator.late/kafka-server.service:20: PIDFile= references a path below legacy directory /var/run/, updating /var/run/kafka/kafka-server.pid ??? /run/kafka/kafka-server.pid; please update the unit file accordingly.
Jul 23 10:43:59 1aa6041f1bf0 systemd[1]: /run/systemd/generator.late/kafka-server.service:20: PIDFile= references a path below legacy directory /var/run/, updating /var/run/kafka/kafka-server.pid ??? /run/kafka/kafka-server.pid; please update the unit file accordingly.
Jul 23 10:43:59 1aa6041f1bf0 systemd[1]: Starting LSB: Kafka Server...
Jul 23 10:43:59 1aa6041f1bf0 kafka-server[3942]: /etc/redhat-lsb/lsb_log_message: line 3: /etc/init.d/functions: No such file or directory
Jul 23 10:43:59 1aa6041f1bf0 kafka-server[3942]: Starting Kafka Server (kafka-server):
Jul 23 10:43:59 1aa6041f1bf0 kafka-server[3946]: /etc/redhat-lsb/lsb_log_message: line 11: success: command not found
Jul 23 10:43:59 1aa6041f1bf0 kafka-server[3948]: /etc/redhat-lsb/lsb_pidofproc: line 3: /etc/init.d/functions: No such file or directory
Jul 23 10:43:59 1aa6041f1bf0 kafka-server[3952]: /etc/redhat-lsb/lsb_pidofproc: line 5: pidofproc: command not found
Jul 23 10:43:59 1aa6041f1bf0 kafka-server[3770]: Starting (kafka-server):
Jul 23 10:43:59 1aa6041f1bf0 runuser[3959]: pam_unix(runuser:session): session opened for user kafka(uid=993) by (uid=0)
Jul 23 10:43:59 1aa6041f1bf0 runuser[3959]: pam_unix(runuser:session): session closed for user kafka
Jul 23 10:44:02 1aa6041f1bf0 kafka-server[10616]: /etc/redhat-lsb/lsb_pidofproc: line 3: /etc/init.d/functions: No such file or directory
Jul 23 10:44:02 1aa6041f1bf0 kafka-server[10617]: /etc/redhat-lsb/lsb_pidofproc: line 5: pidofproc: command not found
Jul 23 10:44:02 1aa6041f1bf0 kafka-server[10618]: /etc/redhat-lsb/lsb_log_message: line 3: /etc/init.d/functions: No such file or directory
Jul 23 10:44:02 1aa6041f1bf0 kafka-server[10618]: Failure to start Kafka Server (kafka-server). Return value: 127
Jul 23 10:44:02 1aa6041f1bf0 kafka-server[10619]: /etc/redhat-lsb/lsb_log_message: line 16: failure: command not found
Jul 23 10:44:02 1aa6041f1bf0 systemd[1]: kafka-server.service: Control process exited, code=exited, status=127/n/a
Jul 23 10:44:02 1aa6041f1bf0 systemd[1]: kafka-server.service: Failed with result 'exit-code'.
Jul 23 10:44:02 1aa6041f1bf0 systemd[1]: kafka-server.service: Unit process 3976 (java) remains running after unit stopped.
Jul 23 10:44:02 1aa6041f1bf0 systemd[1]: Failed to start LSB: Kafka Server.
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@bigtop.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] BIGTOP-4474. Add dependency on initscripts to Kafka RPM. [bigtop]
Posted by "sekikn (via GitHub)" <gi...@apache.org>.
sekikn commented on PR #1369:
URL: https://github.com/apache/bigtop/pull/1369#issuecomment-3172936592
+1, tested on Fedora 40 and Rocky 9. Thanks @iwasakims.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@bigtop.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] BIGTOP-4474. Add dependency on initscripts to Kafka RPM. [bigtop]
Posted by "sekikn (via GitHub)" <gi...@apache.org>.
sekikn merged PR #1369:
URL: https://github.com/apache/bigtop/pull/1369
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@bigtop.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org