Sponsored Content
Full Discussion: Apache start issue
Operating Systems Solaris Apache start issue Post 302227429 by otheus on Thursday 21st of August 2008 08:06:52 AM
Old 08-21-2008
That's correct. Only processes launched as the 'root' user may change the user to something else (Which is what Apache is trying to do with that configuration line.) In order to start Apache in such a way, you need to use something like the "sudo" package. In the sudoers configuration file, you might add a line like this:

Code:
user2   ALL=(user1) /opt/CSWApache/bin/apachectl

This says that user2 can now run (at the shell):
Code:
$ sudo -u user1 /opt/CSWApache/bin/apachectl start

 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Apache wont start

Hi, like a lot of people that post here, I am new at UNIX. The only UNIX I have ever messed with is my iBook running MacOSX (10.1). I have a grasp of the basic commands and understanding of the system but only to a point. I searched the archive and FreeBSD.org and apache.org but I couldn't find... (4 Replies)
Discussion started by: Alpha_Harblo
4 Replies

2. UNIX for Dummies Questions & Answers

Apache start (Was in:how can i?) [Split by LF]

I need to know, which script starts the apache web server on start up? If anyone could help me that would be great. I'm in deep trouble if I can't find the script. thanks very much dan donohd If you know my e-mail is donohd@sage.edu thanks:( (1 Reply)
Discussion started by: donohd
1 Replies

3. AIX

Start Stop Apache

I am in the process of reorging my Lawson db. I need to turn off the RMI server...not a problem. However my instructions also state that I must also shutdown my Servlet Container....I believe it is Apache. I have looked in /usr/apache/bin/apachectl What is the command for stopping and... (2 Replies)
Discussion started by: MILLERJ62
2 Replies

4. Solaris

Apache start problem

Hi, I have installed apache webserver on my solaris 10(x86). When I tried to start the server it gives following error, ld.so.1: /usr/local/apache2/bin/httpd: fatal: libssl.so.0.9.8: open failed: No such file or directory Killedld.so.1:: Too many arguments Can somebody please guide me how... (1 Reply)
Discussion started by: maheshsri
1 Replies

5. Solaris

help me........... my apache can't start

help me please.................bro i was install apache2 and i have been configure httpd.conf on my solaris 10 machine n i already running my httd service but why my webserver couldn't run on my browser? some buddy help me.............:confused::confused::confused::confused::confused: (5 Replies)
Discussion started by: yatmianto
5 Replies

6. Solaris

apache cannot start

hi all i'm having a problem with apache on solaris 10 SPARC I'm trying to start httpd as root but it fails with the following error /usr/local/apache2/bin/httpd -k start httpd: Could not determine the server's fully qualified domain name, using 192.168.1.11 for ServerName (20014)Error... (16 Replies)
Discussion started by: h@foorsa.biz
16 Replies

7. Red Hat

How to start the right instance of Apache on RedHat server

Hi, I have 2 apache instance on my machine (RedHat), and i need to start the "apache2" after any reboot but could not find the way ( searching into "httpd.conf" ), so i'am starting "apache2" manually. After a reboot, none of them starts and when i when doing : httpd -k start, i got "apache"... (14 Replies)
Discussion started by: mehdi1973
14 Replies

8. UNIX for Advanced & Expert Users

Apache does not start

After i added this line to my apache httpd.conf it does not start. AuthUserFile /apps/apache22/conf/httpd.passwd and i see the below error. Syntax error on line 876 of /apps/apache22/conf/httpd.conf: AuthUserFile not allowed here Kindly help. (4 Replies)
Discussion started by: mohtashims
4 Replies

9. Red Hat

Apache start error

I have a new server, installed everything and tried to get it all up and running. Got the following issue: # /usr/local/apache/bin/apachectl start httpd: Syntax error on line 54 of /usr/local/apache/conf/httpd.conf: Cannot load /usr/local/apache/modules/libphp5.so into server:... (0 Replies)
Discussion started by: Tommyk
0 Replies

10. Shell Programming and Scripting

Display status of instances in apache - Where to start

Hello, I know this is not a simple question so I just need to know where to start for below project: I am running under Ubuntu 18.04 What I'd like to see in apache page is to display status of particular process pids. ps aux | grep keywords.txt keywords.txt word1 word2 word3 word4... (9 Replies)
Discussion started by: baris35
9 Replies
pidfilehack(8)						      System Manager's Manual						    pidfilehack(8)

NAME
pidfilehack - work around daemons that always fork SYNOPSIS
pidfilehack servicename pidfile command [parameters] DESCRIPTION
pidfilehack is used to work around daemons that insist on forking into the background, but that do write a correct pid file. pidfilehack forks the actual service, then waits for the pidfile to be written. Once it can read the pid from the pidfile it will tell minit the real pid and quit. USAGE
usually pidfilehack is symlinked as run command of a service. servicename the name of the service pidfilehack is installed for. pidfile the filename to read the pid from command the real command to start parameters additional parameters for the command A typical use of this command will look like this: /etc/minit/apache /etc/minit/apache/params apache /var/run/apache.pid apachectl start /etc/minit/apache/run -> /sbin/pidfilehack AUTHOR
minit was written by Felix von Leitner and can be downloaded from his page at http://www.fefe.de/minit/ This manpage was written by Erich Schubert <erich@debian.org> for the Debian GNU/Linux operating system. SEE ALSO
msvc(8), pidfilehack(8) pidfilehack(8)
All times are GMT -4. The time now is 08:54 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy