LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   problem with kolab installation - can't stop httpd (https://www.linuxquestions.org/questions/linux-server-73/problem-with-kolab-installation-can%27t-stop-httpd-660595/)

meczo 08-05-2008 07:24 AM

problem with kolab installation - can't stop httpd
 
I need help

When I start Kolab bootstrap I get this:
Error: Found webserver running on Port 443

So this is what I do, and what I get:
Code:

lsof -i :443
COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME
webserver 1618 root 3u IPv4 4580  TCP *:https (LISTEN)

when I kill this process it appears with another pid

Code:

netstat -tapn
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program
tcp 0 0 0.0.0.0:443 0.0.0.0:* LISTEN 1618/webserver

Code:

netstat -tap
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program
tcp 0 0 *:https *:* LISTEN 1618/webserver

Code:

/etc/init.d/httpd stop
Stopping httpd: [FAILED]

When I try do same thing from init.d folder I get:
Code:

httpd (no pid file) not running
My question:
How to stop this webserver on port 443?
How to remove it that it can't restart themself

sorry for my english

unSpawn 08-05-2008 07:41 AM

If you have the PID from running 'pgrep' or 'lsof', check /proc/$PID/commandline for clues how it's started, maybe it'll give you a hint what service its running from (likewise 'lsof -w -n -p $PID' could). If it still revives itself, is there any chance you're running a process watcher like Monit or Mon to restart services? Do any messages about killing and restarting get logged somewhere that could hold clues?

meczo 08-05-2008 08:23 AM

big thanks!
for running httpd was responsible webcit

this is what I get:
Code:

lsof -w -n -p 1618
COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME
webserver 1618 root cwd DIR 3,1 4096 1086057 /usr/local/webcit
...
webserver 1618 root 3u IPv4 4529  TCP *:https (LISTEN)

Code:

cat /proc/1618/cmdline
/usr/local/webcit/webserver-D/var/run/webcit-ssl.pid-s-p443uds/usr/local/citadel

when I stop webcit, httpd was also succesfully stopped
I don't have any logs
Do you know how to do something that webcit won't start again when I restart computer?

unSpawn 08-05-2008 08:31 AM

You're running Citadel. Could you at one time maybe write something about why you're using it and how it performs? Would be cool to get some info from a user. Webcit runs as "/etc/rc.d/init.d/webcit", meaning it's a common SysV initscript, so something along the 'chkconfig --level $yourregularrunlevel webcit stop' kind of syntax should stop it from running on reboot.

meczo 08-05-2008 09:19 AM

Yes indeed. I must stop Citadel too to end the Kolab bootstrap.
Unfortunately I don't install Citadel - it was choice of person who had been before me here at this computer, so I don't know how it works. Thanks for your help.


All times are GMT -5. The time now is 10:37 AM.