Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8551879
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T14:17:39+00:00 2026-06-11T14:17:39+00:00

We have a command and control daemon running under Fedora 16 that provides various

  • 0

We have a command and control daemon running under Fedora 16 that provides various services, including starting one of our ancillary applications. This has been working for us for quite some time.

In fact it still works – on some systems.

The daemon process forks (successfully) and then calls execv().

Setting up on another system to test, I suddenly have a failure, and execv() fails and returns 127.

Both systems are running Fedora 16, although the one with the problem is 3.3.7-1.fc16.x86_64 whereas another where everything works fine is running 3.4.2-1.fc16.x86_64

If I stop the daemon and run it as a stand-alone application, the whole process works fine.

All searching through documentation on execv() and related fails to bring up a 127 error code, my only guess so far is the Linux ‘Command not found’ error. Not knowing what it means is making it hard to fix the problem.

Can anybody tell me what the 127 return code means?

Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T14:17:40+00:00Added an answer on June 11, 2026 at 2:17 pm

    Ok, the problem came back and I found that I had actually solved it, but that the solution took some time to work.

    A particular library that seems to have been picked up by on other systems (possibly because the library was loaded as part of a driver for some hardware that’s missing on the errant machine) was not being found by the dynamic linker.

    Adding it to a config file in /etc/ld.so.conf.d/ didn’t immediately help, but a few hours later and after a few reboots it did.

    So: execv() didn’t launch an application, and instead returned 127 as a symptom of not finding a library.

    the solution was to add the path to an appropriate file in /etc/ld.so.conf.d/

    For immediate satisfaction, run ldconfig to rebuild the cache.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a command line tool written in c# (that i have the source
I have a command line program that prints out a report such as: I
I have a command (cmd1) that greps through a log file to filter out
I have a command line php app that I need to distribute to a
I have a command that I would like to be enabled only when a
I have a command-line application written in C++ and built with gcc/make that runs
I have the following command works in my script that adds the host to
This question is related to my previous one: Running erlang shell as a daemon/service
I have a command that binds to the view model, is enabled, but doesn't
I have a WPF application in PRISM architecture. I have a user-control (view) that

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.