LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 08-05-2008, 07:24 AM   #1
meczo
LQ Newbie
 
Registered: Aug 2008
Location: Poland
Posts: 4

Rep: Reputation: 0
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

Last edited by meczo; 08-05-2008 at 08:28 AM.
 
Old 08-05-2008, 07:41 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
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?
 
Old 08-05-2008, 08:23 AM   #3
meczo
LQ Newbie
 
Registered: Aug 2008
Location: Poland
Posts: 4

Original Poster
Rep: Reputation: 0
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?
 
Old 08-05-2008, 08:31 AM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
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.
 
Old 08-05-2008, 09:19 AM   #5
meczo
LQ Newbie
 
Registered: Aug 2008
Location: Poland
Posts: 4

Original Poster
Rep: Reputation: 0
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Starting httpd: httpd: Syntax error on line 209 of /etc/httpd/conf/httpd.conf: Syntax sethukpathi Linux - Networking 6 04-12-2008 11:26 AM
httpd problem and caused my httpd to shut-down golpemortal Linux - Server 2 04-08-2007 03:44 AM
httpd service stop fails, no pid, this after latest update squadja Red Hat 2 08-11-2004 02:29 PM
Kolab 1.0 server problems walter Mandriva 0 04-05-2004 04:14 PM
Powercut made httpd stop working. Gramphos Linux - Software 3 11-01-2003 08:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 01:49 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration