Skip to main content

Installation ERROR /sbin/service: No such file or directory

Answered

Comments

9 comments

  • cPRex Jurassic Moderator

    Hey there!  It's not significant at all, and it seems in the few cases this has happened the issue has resolved itself.  Has this happened frequently on your Alma9 environments?

    0
  • samami

    Hi.
    No, it was my first installation on AlmaLinux 9. I hope it's not a systematic error, in witch case it would be useful to know why it happens.
    Thank you

    0
  • cPRex Jurassic Moderator

    At this time I'm not able to reproduce, and my search yesterday only found two other tickets where this happened, although we weren't able to get much information from those users.

    If you see this happen again please let me know and I can take a deeper look into this for you.

    0
  • samami

    Ok, thank you

    0
  • quietFinn

    I just installed cPanel in an AlmaLinux 9 server, AlmaLinux v9.6.0 STANDARD kvm, and there is that error:

    2025-10-16 13:33:08  743 [6107] (DEBUG):   - ssystem [BEGIN]: ps -U nscd -h 2>/dev/null || /sbin/service nscd start
    2025-10-16 13:33:08  743 [6107] (DEBUG):     sh: line 1: /sbin/service: No such file or directory
    2025-10-16 13:33:08  743 [6107] (ERROR): ESC[1;31m  - ssystem [EXIT_CODE] 'ps -U nscd -h 2>/dev/null || /sbin/service nscd start' exited with 127ESC[0;m
    2025-10-16 13:33:08  743 [6107] (DEBUG):   - ssystem [END]

     

    0
  • cPRex Jurassic Moderator

    Let me do some more homework on this and I'll get back with you guys!

    0
  • cPRex Jurassic Moderator

    I've created case CPANEL-49815 to have our team look into this and I'll be sure to post once I hear any updates.  For now it seems like it's safe to ignore the issue as this doesn't affect the functionality of the server.

    0
  • cPRex Jurassic Moderator

    For anyone still seeing this issue, you can run the following command:

    yum -y install initscripts-service

    and that should take care of things!

    0
  • cPRex Jurassic Moderator

    Update - we just released a new installer that will keep this from happening in the future, so this is resolve now.

    0

Please sign in to leave a comment.