Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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 have compiled apache 2.0.49 into /usr/local/apache2. After "make install" i try to start apache w/ "./apachectl -k start ".... nothing happens. I try to connect and the client is refused. I also tried looking and the error_log and nothing is in there... its as if the program isn't being run. Can anyone help me out?
ive installed webmin on the computer and im running it using that..... when i try to start apache from webmin i get
Quote:
Failed to start apache :
[Sun May 30 22:19:34 2004] [warn] pid file /usr/local/apache2/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Sun May 30 22:19:34 2004] [emerg] (22)Invalid argument: Couldn't set permissions on cross-process lock; check User and Group directives
[Sun May 30 22:20:16 2004] [emerg] (22)Invalid argument: Couldn't set permissions on cross-process lock; check User and Group directives
[Sun May 30 22:21:06 2004] [warn] pid file /usr/local/apache2/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Sun May 30 22:21:06 2004] [emerg] (22)Invalid argument: Couldn't set permissions on cross-process lock; check User and Group directives
ive played w/ the permissions and it doesnt help... what should i do?
I installed Apache 2.0.49 from downloaded installation file httpd_2.0.49.tar.gz on i386 machine running Debian 3.0r2. The installation appeared to be successfull, but I get the same error as previously reported by user "mrgeoff" - when trying to start Apache:
[Thu Jun 17 22:21:06 2004] [emerg] (22)Invalid argument: Couldn't set permissions on cross-process lock; check User and Group directives
What user is Apache attempting to use when starting? I believe by default it switches to nobody if you use a listen port below 1024. You should check your httpd.conf file for user/group settings.
I changed the ownership of all the apache files to a new user and group that I created (apache:apache) and changed httpd.conf accordingly, and now it works. Thanks.
I found this thread while searching for a solution to the same problem. I am a relative newbie and have a possibly silly question: If I am creating a user and group called apache for Apache to use, what kinds of security issues do I need to consider? In my http.conf file I added
User apache
Group apache
in the <IfModule> section. To create a linux user on my system called apache, how should I set up the password, and how does Apache itself use this password when it launches? I know these may be very elementary questions but that's where I'm at here :-) I appreciate any help you all are willing to offer.
I found this thread while searching for a solution to the same problem. I am a relative newbie and have a possibly silly question: If I am creating a user and group called apache for Apache to use, what kinds of security issues do I need to consider? In my http.conf file I added
User apache
Group apache
in the <IfModule> section. To create a linux user on my system called apache, how should I set up the password, and how does Apache itself use this password when it launches? I know these may be very elementary questions but that's where I'm at here :-) I appreciate any help you all are willing to offer.
tia
You don't need to create a new user and grup just add in your http.conf file :
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.