Helpful ReplyLocked[FAQ]Can't connect to the server

Author
allamiro
Starting Member
2009/06/15 09:55:57 (permalink)

Can't connect to the server






Tried to install HC8 on linux and tried to add it to the cluster however I got the message 

Can't connect to the server
Error occured while reading from socket
Error while Regiserting Server
Bad file descriptor
Installation aborted

I m not sure I think its the user name  for ms sql server  so what should I use 

the SA login or the hcdbadmin or the windows administrator login

I pasted my installation steps here 













Extracting the package. Please wait this may take some time..........

Enter TCP port for HC Remoting Service (Default: 8788)
Press Enter for Default:

Creating Hosting Controller Installation Directory ( Path: /usr/local/hostingcontroller )

Creating hc7group Group

Creating hcadmin User
Creating mailbox file: File exists
useradd: warning: the home directory already exists.
Not copying any file from skel directory into it.
OK
Success
/******************************************************************
*  Copyright (C) 2007-2009 by Hosting Controller                  *
*  Welcome to Hosting Controller 8 Build 1 Linux Installations    *
*  Email us at: support@HostingController.com for any assistance  *
*  Registering Server with the Cluster                            *
******************************************************************/
Registering Server
This step is required to register your server with cluster!
(Note: At this stage you can skip this step and can register your system later on by
running the registration service /usr/local/hostingcontroller/bin/RegisterServer )
Press 1: To skip registration at this stage
Press 2: To register now
Enter your choice (Default: 2)
Press Enter for Default: 2
        OK
Which Database Server you are using?
1.      MS SQL Server
2.      SQL Server (MSDE)
Enter your choice (Default: 2)
Press Enter for Default: 1
        OK

Please enter user name for MS SQL Server: hcdbadmin

Please enter password for MS SQL Server: mQvCiTA1969

Please enter server name for MS SQL Server: WIN-UFIZ2EYO8RZ\SQLEXPRESS

Please enter IP address of MS SQL Server: 192.168.0.72

Please enter database name for MS SQL Server: HC
Can't connect to the server
Error occured while reading from socket
Error while Regiserting Server
Bad file descriptor
Installation aborted

#1
Tahir
HC Staff
Re:Can't connect to the server 2009/06/15 19:56:06 (permalink)
Try to use server Ip address instead of netbios name during installation i.e


Please enter server name for MS SQL Server: WIN-UFIZ2EYO8RZ\SQLEXPRESS


192.168.0.72\SQLEXPRESS

Also you can look at following article http://support.hostingc...ction=kb&article=289

If these steps didn't help then mention your linux/windows OS version, secondly are you using any firewall in both machien ?

________________________
HC Support Team
Contact Support Department
http://hostingcontroller.com
#2
allamiro
Starting Member
Re:Can't connect to the server 2009/06/16 08:47:04 (permalink)
I disabled the fire walls on both machines and selinux



#3
allamiro
Starting Member
Re:Can't connect to the server 2009/06/16 09:51:38 (permalink)
Yes it worked with the IP address

#4
allamiro
Starting Member
Re:Can't connect to the server 2009/06/16 10:19:42 (permalink)
Execuse me but I want to clarify some thing whats  the client IP address on this message is it the IP of the linux controller server plus the other linux clients you want to add ?

Enter IP address of client HostingController machine
#5
allamiro
Starting Member
Re:Can't connect to the server 2009/06/16 11:13:07 (permalink)
Well after the installation went succesfully I tried to add the server to the cluster from the gui or the server manager on the main windows controller  but I got the error message

Error : 73400290 : Unable to add Server in the Cluster; no Registered Server found.





******************************************************************
*  Copyright (C) 2007-2009 by Hosting Controller                  *
*  Welcome to Hosting Controller 8 Build 1 Linux Installations    *
*  Email us at: support@HostingController.com for any assistance  *
*                                                                 *
******************************************************************/
Extracting the package. Please wait this may take some time..........

Enter TCP port for HC Remoting Service (Default: 8788)
Press Enter for Default: 8081

Creating Hosting Controller Installation Directory ( Path: /usr/local/hostingcontroller )
OK
Success
/******************************************************************
*  Copyright (C) 2007-2009 by Hosting Controller                  *
*  Welcome to Hosting Controller 8 Build 1 Linux Installations    *
*  Email us at: support@HostingController.com for any assistance  *
*  Registering Server with the Cluster                            *
******************************************************************/
Registering Server
This step is required to register your server with cluster!
(Note: At this stage you can skip this step and can register your system later on by
running the registration service /usr/local/hostingcontroller/bin/RegisterServer )
Press 1: To skip registration at this stage
Press 2: To register now
Enter your choice (Default: 2)
Press Enter for Default: 2
        OK
Which Database Server you are using?
1.      MS SQL Server
2.      SQL Server (MSDE)
Enter your choice (Default: 2)
Press Enter for Default: 1
        OK

Please enter user name for MS SQL Server: hcdbadmin

Please enter password for MS SQL Server: mQvCiTA1969

Please enter server name for MS SQL Server: 192.168.0.72\SQLEXPRESS

Please enter IP address of MS SQL Server: 192.168.0.72

Please enter database name for MS SQL Server: HC
Success
/******************************************************************
*  Copyright (C) 2007-2009 by Hosting Controller                  *
*  Welcome to Hosting Controller 8 Build 1 Linux Installations    *
*  Email us at: support@HostingController.com for any assistance  *
*  Creating required folders...                                   *
******************************************************************/

Enter IP address of client HostingController machine:

Wrong IP address
Enter valid IP address of your HostingController machine:
Enter IP address of client HostingController machine: 192.168.0.73

Do you want to add another IP (y/n): n
Success
/******************************************************************
*  Copyright (C) 2007-2009 by Hosting Controller                  *
*  Welcome to Hosting Controller 8 Build 1 Linux Installations    *
*  Email us at: support@HostingController.com for any assistance  *
*  Copying Required Files...                                      *
******************************************************************/
Copying files. Please wait this may take some time.........
Success
Updating your system....
Creating configuration file...
Success


Please run command:    hc8 start    :to make it work



                        Use command 'hc8 {start|stop|restart}'
                to start, stop or restart HostingController server.

        For any further assistance email us at: support@HostingController.com
[root@hc8c hc8]# hc8 start
HC Server Started

#6
Tahir
HC Staff
☄ Helpful
Re:Can't connect to the server 2009/06/17 01:01:07 (permalink)
Give Windows machine IP address, If you have given incorrect then modify it from /usr/local/hostingcontroller/etc in hosts.allow file. Ip should be added after 127.0.0.1.

Once ip corrected then restart HC service by " hc8 start "

________________________
HC Support Team
Contact Support Department
http://hostingcontroller.com
#7
allamiro
Starting Member
Re:Can't connect to the server 2009/06/17 09:25:06 (permalink)
Yep your support is great
#8
Jump to: