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 S97apache-sys.sh, 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 S97apache-user.sh 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

