user apache problem

Questions about HTTP Access/Mods may go here
Forum rules
1) This is a user forum for Synology users to share experience/help out each other: if you need direct assistance from the Synology technical support team, please use the following form:

2) To avoid putting users' DiskStation at risk, please don't paste links to any patches provided by our Support team as we will systematically remove them. Our Support team will provide the correct patch for your DiskStation model.
I'm New!
I'm New!
Posts: 2
Joined: Sat Feb 19, 2011 5:07 pm

user apache problem

Postby boriq » Sun Mar 06, 2011 12:56 pm

Hi all,

I installed my DS110j completely new with formatting my HDD and then I installed DSM 3.1. After that I logged through ssh on DS and did ps | grep httpd to see what apache is running by default. Here is the result:

Code: Select all

 3740 root      7656 S    /usr/syno/apache/bin/httpd -DSSL -f /usr/syno/apache/conf/httpd.conf-sys
 3775 root      5480 S    /usr/syno/apache/bin/httpd
 3782 nobody    5480 S    /usr/syno/apache/bin/httpd
 3783 nobody    5480 S    /usr/syno/apache/bin/httpd
 3784 nobody    5480 S    /usr/syno/apache/bin/httpd
 3902 root      7656 S    /usr/syno/apache/bin/httpd -DSSL -f /usr/syno/apache/conf/httpd.conf-sys
 3903 root      7656 S    /usr/syno/apache/bin/httpd -DSSL -f /usr/syno/apache/conf/httpd.conf-sys

As far as I know, there should be no user apache running, only root apache to serve the DSM. My goal is to install apache as optware and to run my own apache with my own website, but port 80 is now occupied by the user apache, what i don't understany why he's running. The are no active web services on my DS, so no reason to have user apache running or?

My questions, doubts:

1. What is the sequence, the apache services are starting, which script is responsible for that, i couldn't find it in /etc/rc
2. why are there two kinds of root apache? one without parameters (pid 3775) and 3 with parameters (pids 3740, 3902, 3903). As far as I know when apache is starting with, the file httpd.conf-sys will be copied into httpd.conf and then apache starts with httpd.conf, so why are there two kinds of root apaches with and without parameters?
3. can I just kill the user apache to free port 80? is it safe?
4. how can I remove from the autostart? I tried just to rename S97 to X97 but user apache will always start

Thanks a lot in advance for the support

Return to “HTTP/Apache Mods”

Who is online

Users browsing this forum: No registered users and 1 guest