10-23-2003
Hi I have my apache running as www-data - except for 1 parent process that starts off as root - This is accepted as ports < 1024 need to have root to be accessed. I have my apache binaries owned by root though.
Apache is run as apache:apache
But to start apache I have to be root!? How can I resolve this? By changing ownership of the apache binaries - /usr/local/apache?
My apache runs like this:
root 31522 1 0 Oct19 ? 00:00:00 /usr/sbin/apache-ssl
root 27112 1 0 Oct22 ? 00:00:00 /usr/sbin/apache
www-data 30906 27112 0 06:25 ? 00:00:00 /usr/sbin/apache
www-data 30907 27112 0 06:25 ? 00:00:00 /usr/sbin/apache
www-data 30908 27112 0 06:25 ? 00:00:00 /usr/sbin/apache
www-data 30909 27112 0 06:25 ? 00:00:00 /usr/sbin/apache
www-data 30910 27112 0 06:25 ? 00:00:00 /usr/sbin/apache
www-data 30911 31522 0 06:25 ? 00:00:00 /usr/sbin/apache-ssl
www-data 30912 31522 0 06:25 ? 00:00:00 /usr/sbin/apache-ssl
www-data 30913 31522 0 06:25 ? 00:00:00 /usr/sbin/apache-ssl
www-data 30914 31522 0 06:25 ? 00:00:00 /usr/sbin/apache-ssl
www-data 30915 31522 0 06:25 ? 00:00:00 /usr/sbin/apache-ssl
www-data 31455 27112 0 07:44 ? 00:00:00 /usr/sbin/apache
www-data 32696 27112 0 11:37 ? 00:00:00 /usr/sbin/apache
www-data 32698 27112 0 11:37 ? 00:00:00 /usr/sbin/apache
But I can only start this as root not as any other user - even www-data.
Any ideas?
Thanks
KS
10 More Discussions You Might Find Interesting
1. HP-UX
Hi,
I am a Unix Admin. I have to give the permissions to a user for creating new file in a directory in HP-Ux 11.11 system since he cannot able to create a new file in the directory.
Thanks in advance.
Mike (3 Replies)
Discussion started by: Mike1234
3 Replies
2. Shell Programming and Scripting
Hello all,
I would be happy if any one could help me with a shell script that would determine all the processes running on a Unix server and post a mail if any of the process is not running or aborted.
Thanks in advance
Regards,
pradeep kulkarni.
:mad: (13 Replies)
Discussion started by: pradeepmacha
13 Replies
3. Shell Programming and Scripting
Hi Experts, we do have a shell script for Unix Solaris, which will kill all the process manullay, it used to work in my previous env, but now it is throwing this error.. could some one please help me to resolve it
This is how we execute the script (and this is the requirement) ... (2 Replies)
Discussion started by: jonnyvic
2 Replies
4. Shell Programming and Scripting
get email notification from from system when a process from XXXX user takes longer than 15 min run.Let me know the time estimation for the same.
hi ,any one please tell me , how to write a script to get email notification from system when a process from as mentioned above a xxxx user takes... (1 Reply)
Discussion started by: kirankrishna3
1 Replies
5. UNIX for Advanced & Expert Users
I have to setup a sudo permission for a userA, so he can su to become userB and be able to do ONLY kill -9 on userB owned processes. (2 Replies)
Discussion started by: rizsyd
2 Replies
6. Shell Programming and Scripting
Hi, I am creating a ksh script to search for a string of text inside files within a directory tree. Some of these file are going to be read/execute only. I know to use chmod to change the permissions of the file, but I want to preserve the original permissions after writing to the file. How can I... (3 Replies)
Discussion started by: right_coaster
3 Replies
7. BSD
Hi Experts,
I am facing one problem here which is one process always stuck in running state which causes the other similar process to sleep state . This causes my system in hanged state.
On doing cat /proc/<pid>wchan showing the "__init_begin" in the output.
Can you please help me here... (0 Replies)
Discussion started by: naveeng
0 Replies
8. UNIX for Advanced & Expert Users
Hi Experts,
I am facing one problem here which is one process always stuck in running state which causes the other similar process to sleep state . This causes my system in hanged state.
On doing cat /proc/<pid>wchan showing the "__init_begin" in the output.
Can you please help me here... (1 Reply)
Discussion started by: naveeng
1 Replies
9. Shell Programming and Scripting
I am writing a script to kick off a process to gather logs on multiple nodes in parallel using "&". These processes create individual log files. Which I would like to filter and convert in CSV format after they are complete. I am facing following issues:
1. Monitor all Processes parallelly.... (5 Replies)
Discussion started by: shunya
5 Replies
10. Shell Programming and Scripting
Team,
I have multiple batchjobs running in VM, if I do ps -ef |grep java or tomcat I am getting multiple process list.
How do I get my exact tomcat process running and that is unique? via shell script? (4 Replies)
Discussion started by: Ghanshyam Ratho
4 Replies
LEARN ABOUT DEBIAN
felix-framework
FELIX(1) User Commands FELIX(1)
NAME
felix-framework - command line Felix OSGi Framework launcher
SYNOPSIS
felix-framework [-b <bundle-deploy-dir>] [<bundle-cache-dir>]
DESCRIPTION
felix-framework provide a way to start Apache Felix OSGi Framework from command line. After startup, it provide some simple commands to
help management of OSGi bundle.
OPTIONS
-b bundle-deploy-dir
The Felix launcher deploys all bundles in the auto-deploy directory into the framework instance during startup. By default, the
auto-deploy directory is /usr/share/felix-framework/bundle/ Specifying an auto-deploy directory replaces the default directory, it
does not augment it.
bundle-cache-dir
path you want to use as the bundle cache. If you specify a relative cache path, then it will be treated as relative to ~/.felix/ By
default, felix-framework will use ~/.felix/felix-cache/
FILES
/etc/felix-framework/config.properties
The system wide configuration file for Felix Framework. See <URL:http://felix.apache.org/site/apache-felix-framework-configuration-
properties.html> for further details.
FILES
~/.felix/
Default user cache directory for OSGi bundle information.
AUTHOR
Damien Raude-Morvan <drazzib@debian.org>
SEE ALSO
<URL:http://felix.apache.org/site/apache-felix-framework-usage-documentation.html>
Felix November 2011 FELIX(1)