Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am trying to run a system that is supposed to be working. All I needed to do is to set some environment variables and redefine some paths to my system. I am getting a segmentation fault and I am kind of confused as where the problem can be as is the system is quite big.
I am thinking that I might have set the environment variables wrong. It is the first time I did it.
In the README it says to set a certain environment variable to for my version of C and system support.
That is what I did:
export env_var=/usr/bin/gcc
Am I supposed to do something different or am I right
Also I am supposed to have rcp.lockd running. How am I supposed to check if it running. when I use startsrc -s rpc.lockd. I get command not found. I am using bash as a shell.
no program has the rigth to segfault over something as trivial as an invalid path really... that' should be fine though. if you run "echo $env_var" and get that value back, then anything you run within that shell be get it too.
I didn't get anything when I run echo $env_var. I did it from my home directory right? what am I supposed to get.
I didn't really understand your statement.
Also, they were using csh as a shell and I changed it to bash. Do you think something in the make might be different using different shells and might ive me problems. But still, I shouldn't get a segfault.
DESCRIPTION
The rpc.lockd program starts the NFS lock manager (NLM) on kernels that
don't start it automatically. However, since most kernels do start it
automatically, rpc.lockd. is usually not required. Even so, running
it anyway is harmless.
Yeah, I already read that in the man page. I just want to know how to check whether it is running. when I use lssrc rpc.lockd to check if it is runniing I get lssrc command unknown. If I do startsrc that is supposed to start it, I get command unknown. I need to figure out a way to know whether it is running (automatically ) or not. Thanks for your help.
Can you please help me more when setting variables. Am I doing it right. Am I just supposed to give the path to where gcc is located. Is that what is meant by setting it to the gcc version.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.