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!
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Want to setup web server so that where cgi stub/fastcgi stub will be running as root when web server instance runs as normal non privilege user say webservd. I set ownership of fastcgistub
directory to webservd and ran chmod 4755 on fastcgistub executable (owned by root). I have entered dependent library path into /etc/ld.so.config
and ran ldconfig.
While processing fastcgi request I get stub connection failure. From strace and also through debugger I see following problem:-
fastcgi stub has forked a child process. But It is failing to call execv. While debugging found all the required parameters are correct. It is same when suid is not set and web server works fine.
Even I can execute that command from command line. What could be the problem.
Following the same process I can run it successfully on solaris using crle command for global linking.
I tested on linux 2.4.21-9 and linux 2.6.9-67, it fails in both.
What could be the problem? Please help.
N.B. Checked /etc/fstab file systems are default, nosuid or user option are not present.
Last edited by Ron_09; 05-12-2009 at 11:24 AM.
Reason: Putting more clarification