LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 09-11-2008, 03:41 PM   #1
goodgirl
LQ Newbie
 
Registered: Jun 2007
Posts: 5

Rep: Reputation: 0
Can't access Plesk on vmware Centos 5 server on LAN


I don't know how to debug this problem any more:

I am setting up a development / testing LAMP server at home so I can test kernel updates, software updates with my web applications before doing these updates on my live dedicated server.

I am using vmware to easily make snapshots of the VM and revert back if some updates go bad and are not compatible with the web applications.

So on a machine that is connected to my router I installed vmware Workstation 6 and set up the Virtual Machine to have it's own IP from my router, not sharing the host systems IP. Host is Win XP Pro, the host is connected to the router via DHCP.

The guest operating system of the server is Centos 5.1. I installed this successfully and set it up to use a fixed IP of 192.168.1.100, gateway is the router 192.168.1.1.

My router is connected to an ADSL modem/router on 192.168.0.1.
The Centos guest has networking all working, can ping google.com etc.

Then, to set up this server the same way as my dedicated server, I installed Plesk 8.6.0 on it, installation completed fine.

Now I can not access the Plesk control panel from my workstation on https://192.168.1.100:8443

Workstation is 192.168.1.103 on the same router via DHCP.

I have verified the following:

I can ping the Centos Server from my workstation.
I can ssh into the Centos Server from my workstation.
service psa is running
service httpd is running
ports 8443 and others are listening on the server
the servers network connectivity is ok, I can ping my workstation

I am stuck, what could the problem be?

I would like to access Plesk from my workstation via
https://192.168.1.100:8443/

Last edited by goodgirl; 09-11-2008 at 03:43 PM.
 
Old 09-11-2008, 04:20 PM   #2
bskrakes
Member
 
Registered: Sep 2006
Location: Canada, Alberta
Distribution: RHEL 4 and up, CentOS 5.x, Fedora Core 5 and up, Ubuntu 8 and up
Posts: 251

Rep: Reputation: 32
Arrow Plesk --> Can't access Control Panel -> LAMP SETUP

Hi there, it looks like you have done a lot of trouble shooting but just a quick think you might want to try: use localhost instead of the systems IP (although you did LAMP system so no GUI, right?). If you have GUI access https://localhost:8443. GUI isn't always the way but sometimes they are great!

I use Plesk 8.6.X on a virtual machine and have zero issues. Basically I run a host machine CentOS 5.0 and run VMware 1.0.7 which has a VM with CentOS 5.0 with Plesk install. The host machine has a STATIC IP of 192.168.0.90 and the VM has a static IP of 192.168.0.95. To access it on the local network I type https://192.168.0.95:8443, if I load VMware and login into the machine I use https://localhost:8443 or https://192.168.0.95:8443.

How are you configuring the Virtual Network? Did you "BRIDGE" the connection? I assume you have but you never know.... Also confirm your DNS settings on the Plesk Virtual Machine.

Last edited by bskrakes; 09-11-2008 at 04:22 PM.
 
Old 09-11-2008, 08:47 PM   #3
goodgirl
LQ Newbie
 
Registered: Jun 2007
Posts: 5

Original Poster
Rep: Reputation: 0
Yes you're right no GUI on the CentOS server. But I tried using the text based browser 'links'.
I can go to the Servers IP and I can see the "Apache 2 Test Page powered by CentOS"
But if I go to https://IP:8443 or https://localhost:8443 then I don't see anything in the links browser, but unfortunately also no error message, only the URL on the top and an "OK" on the very bottom.

But I can not get the Apache Test page from my workstation when I go the IP only.

I had another idea, I checked the Plesk webserver error log at /usr/local/psa/admin/logs/httpsd_error_log

and it's showing:

[Fri Sep 12 05:26:04 2008] [error] mod_ssl: SSL handshake failed: HTTP spoken on HTTPS port; trying to send HTML error page (OpenSSL library error follows)
[Fri Sep 12 05:26:04 2008] [error] OpenSSL: error:1407609C:SSL routines:SSL23_GET_CLIENT_HELLO:http request [Hint: speaking HTTP to HTTPS port!?]


So that seemed to be the error from when I used links browser on the server itself to go to the Plesk gui, but when I try from my workstation, it does not have anything in the log.

So this error log and my connection problem from my workstation to the server are now two different problems, because also when I try to go to just the IP in the browser from my workstation, I should see the Apache test page, which I don't.

Yes the virtual machine uses Bridged mode and my server uses the OpenDNS servers. I can resolve everything fine from the server.



Quote:
Originally Posted by bskrakes View Post
Hi there, it looks like you have done a lot of trouble shooting but just a quick think you might want to try: use localhost instead of the systems IP (although you did LAMP system so no GUI, right?). If you have GUI access https://localhost:8443. GUI isn't always the way but sometimes they are great!

I use Plesk 8.6.X on a virtual machine and have zero issues. Basically I run a host machine CentOS 5.0 and run VMware 1.0.7 which has a VM with CentOS 5.0 with Plesk install. The host machine has a STATIC IP of 192.168.0.90 and the VM has a static IP of 192.168.0.95. To access it on the local network I type https://192.168.0.95:8443, if I load VMware and login into the machine I use https://localhost:8443 or https://192.168.0.95:8443.

How are you configuring the Virtual Network? Did you "BRIDGE" the connection? I assume you have but you never know.... Also confirm your DNS settings on the Plesk Virtual Machine.
 
Old 09-11-2008, 08:55 PM   #4
goodgirl
LQ Newbie
 
Registered: Jun 2007
Posts: 5

Original Poster
Rep: Reputation: 0
Update:

Since it's now early morning at my location, I had the great idea to try a:

service iptables stop

and now I can access everything from my workstation .....

Somehow the default CentOS firewall configuration caused the problem, I haven't installed CentOS before and I am terrible when it comes to iptables ..
I guess I have to figure out how after installing CentOS with the server option and installing Plesk, the firewall settings were still so restrictive

The ports were open and listening when I checked with

nmap -sT -O localhost

So I thought everything should be ok ..
 
Old 09-11-2008, 11:12 PM   #5
bskrakes
Member
 
Registered: Sep 2006
Location: Canada, Alberta
Distribution: RHEL 4 and up, CentOS 5.x, Fedora Core 5 and up, Ubuntu 8 and up
Posts: 251

Rep: Reputation: 32
Glad to hear you figured out your problem. I haven't installed a LAMP system yet but I would that there are options to turn off the Firewall and SELINUX during install??? Depending on your setup and where you are hosting your server you may not need the OS firewall on. I am behind a router which has a firewall so there is no need for me to have mine on. You can also use the Firewall package that comes with Plesk instead of OS. If you do use the OS firewall there is a KB article on the Plesk knowledge base that tells you which and how to open the ports..... If I had it saved I would post but I don't

So have you resolved your problem then?
 
Old 09-12-2008, 12:13 AM   #6
goodgirl
LQ Newbie
 
Registered: Jun 2007
Posts: 5

Original Poster
Rep: Reputation: 0
Yeah, I turned off the SELINUX during install but not the firewall since I wanted to keep it, like on the server that's in the datacenter, cause I am trying to set up an identical system.

For now I have iptables stopped I will just have to figure out how to load the same rules / copy them from my other server, then it should be ok and the problem should be resolved.

Thanks!
 
Old 09-12-2008, 12:25 AM   #7
bskrakes
Member
 
Registered: Sep 2006
Location: Canada, Alberta
Distribution: RHEL 4 and up, CentOS 5.x, Fedora Core 5 and up, Ubuntu 8 and up
Posts: 251

Rep: Reputation: 32
Glad to hear. When you figure out how to open the ports you need IPtables would you mind posting the steps/procedures back here?
 
  


Reply

Tags
centos, iptables, plesk, vmware


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
[SOLVED] Slow SSH Login --> CentOS 5.0 --> VMware Server --> Plesk Control Panel 8.4.0 bskrakes Linux - General 11 12-17-2013 11:10 AM
Can CentOS 5 run as guest OS on VMWare server satimis Linux - General 1 10-05-2007 12:29 PM
CentOS 5.0 free VMWare Server Sound Question Linux31 Linux - Software 4 07-03-2007 11:13 AM
LXer: How To Install VMware Server On A CentOS 5.0 Desktop LXer Syndicated Linux News 0 05-20-2007 09:46 AM
Problems installing VMWare Server on CentOS 4.3 64bit shawn_t Linux - Server 3 11-27-2006 06:21 PM


All times are GMT -5. The time now is 05:32 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration