LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 07-29-2013, 02:12 PM   #1
Draper
LQ Newbie
 
Registered: Jul 2013
Distribution: Ubuntu
Posts: 13

Rep: Reputation: Disabled
XAMPP fails to start. Another web server with SSL already running, can't stop it


Hi all,

I'm running XAMPP while playing with DVWA. It was working very well. Then, I decided to check out Nessus and had installed it and ran that, decided I didn't need/want it. I was told to stop it by doing this
Code:
# /etc/init.d/nessusd stop
$Shutting down Nessus : .
But then, when I try to start XAMPP,
Code:
$ sudo /opt/lampp/lampp start
[sudo] password for admin: 
Starting XAMPP for Linux 1.8.2-0...
XAMPP: Starting Apache...fail.
XAMPP:  Another web server with SSL is already running.
XAMPP: Starting MySQL...ok.
XAMPP: Starting ProFTPD...ok.
I tried again to stop nessus, as I thought it might restart when I boot, but got the same results. I also tried permanently stopping XAMPP from using SSL (something I found at http://askubuntu.com/questions/89156...n-ubuntu-11-10 ) which yielded the following
Code:
$ sudo /opt/lampp/lampp stopssl
Unknown command or add-on!
Is there an easy way to display currently running web servers?

Thanks
 
Old 07-30-2013, 08:40 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,317
Blog Entries: 28

Rep: Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140
This is shot in the dark, since I know nothing about nessus, but . . . .

Have you tried the ps command?

You can use something like

Code:
ps -A | grep [processname]
to identify a specific process's process number.

For example

Code:
ps -A | grep nessus
 
Old 07-31-2013, 07:17 PM   #3
Draper
LQ Newbie
 
Registered: Jul 2013
Distribution: Ubuntu
Posts: 13

Original Poster
Rep: Reputation: Disabled
ps -A | grep nessus (or nessusd) yeilds nothing

Code:
# ps -A | grep nessusd
# ps -A | grep nessus
I ran ps -A and looked over all running processes, but nessus didn't show up there. So I tried starting nessus, then did ps -A again, and nessus showed up. Then I stopped nessus, and ran ps -A to confirm it wasn't running (which it wasn't). I then tried starting XAMPP again, which still gave me the same error about Apache being unable to start due to another web server with SSL running.

Not sure what to do from there. Could removing XAMPP then reinstalling it help?
 
Old 07-31-2013, 08:21 PM   #4
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,317
Blog Entries: 28

Rep: Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140
Try this with XAMMP running:

Code:
ps -A | grep httpd
(httpd is the webserver daemon for a several server programs.)

If you find server processes, you can then try something like pstree to start to track down what's spawning it.
 
1 members found this post helpful.
Old 08-01-2013, 03:27 AM   #5
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Quote:
XAMPP: Another web server with SSL is already running.
You can run
Code:
netstat -tanpl|grep 443
to see what is listening on the SSL port
 
1 members found this post helpful.
Old 08-01-2013, 12:09 PM   #6
Draper
LQ Newbie
 
Registered: Jul 2013
Distribution: Ubuntu
Posts: 13

Original Poster
Rep: Reputation: Disabled
ps -A | grep httpd shows that httpd isn't running.

But..
Code:
:~# netstat -tanpl|grep 443
tcp        0      0 0.0.0.0:443             0.0.0.0:*               LISTEN      3515/vmware-hostd
tcp        0      0 10.x.1.130:43484       74.125.239.113:443      ESTABLISHED 3893/chrome     
tcp        0      0 10.x.1.130:48163       23.54.241.224:443       ESTABLISHED 3893/chrome     
tcp        0      0 10.x.1.130:52182       74.125.239.32:443       ESTABLISHED 3893/chrome     
tcp        0      0 10.x.1.130:60668       74.125.239.130:443      ESTABLISHED 3893/chrome     
tcp6       0      0 :::443                  :::*                    LISTEN      3515/vmware-hostd
:~# kill 3515
:~# netstat -tanpl|grep 443
tcp        0      0 10.x.1.130:35283       74.125.239.144:443      ESTABLISHED 3893/chrome     
tcp        0      0 10.x.1.130:56126       72.21.91.121:443        ESTABLISHED 3893/chrome     
tcp        0      0 10.x.1.130:56125       72.21.91.121:443        ESTABLISHED 3893/chrome     
tcp        0      0 10.x.1.130:42565       74.125.239.136:443      ESTABLISHED 3893/chrome     
tcp        0      0 10.x.1.130:56124       72.21.91.121:443        ESTABLISHED 3893/chrome     
tcp        0      0 10.x.1.130:52182       74.125.239.32:443       ESTABLISHED 3893/chrome     
tcp        0      0 10.x.1.130:56130       72.21.91.121:443        ESTABLISHED 3893/chrome     
tcp        0      0 10.x.1.130:50738       74.125.239.98:443       ESTABLISHED 3893/chrome     
tcp        0      0 10.x.1.130:56123       72.21.91.121:443        ESTABLISHED 3893/chrome     
tcp        0      0 10.x.1.130:56129       72.21.91.121:443        ESTABLISHED 3893/chrome     
:~# /opt/lampp/lampp start
Starting XAMPP for Linux 1.8.2-0...
XAMPP: Starting Apache...ok.
XAMPP: Starting MySQL...ok.
XAMPP: Starting ProFTPD...ok.
Thank you all very much. I appreciate the 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
LXer: Setup XAMPP Web Development Server On CentOS 6.4 – Fedora 18 – Ubuntu 13.04 LXer Syndicated Linux News 0 05-31-2013 10:51 PM
XAMPP 1.7.7 - XAMPP: Couldn't start MySQL sonic656 Linux - Software 2 10-09-2011 12:43 PM
web server with xampp 1.7.1 nshimiyimana Linux - Server 3 07-29-2009 09:18 AM
XAMPP server and Joomla is not running farid_lmu Linux - Server 8 04-22-2009 05:41 AM
LXer: XAMPP - All in one web server Installation and Configuration in Debian LXer Syndicated Linux News 0 02-05-2007 01:33 PM

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

All times are GMT -5. The time now is 08:29 AM.

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