Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - susicox143

Pages: [1]
1
Installation / Warning: [obfuscated]()
« on: November 07, 2017, 05:21:40 PM »
Hi,

I installed CWP on Amazon EC2 Instance type: t2.micro I have 91 domains there. If i open 20-30 domains at the same time i get establish database connection error.

When i check cwp admin. There i get below error.


Warning: [obfuscated](): (HY000/2002): Connection refused in /usr/local/cwpsrv/htdocs/admin/admin/index.php on line 0

Warning: [obfuscated](): (HY000/2002): Connection refused in /usr/local/cwpsrv/htdocs/admin/admin/index.php on line 0


Trying to start mysql server, please wait!
Try to restart CentOS Web Panel with command: sh /scripts/restart_cwpsrv

**Check your MySQL root password in: /usr/local/cwpsrv/htdocs/resources/admin/include/db_conn.php and /root/.my.cnf


Warning: [obfuscated]() expects exactly 1 parameter, 0 given in /usr/local/cwpsrv/htdocs/admin/admin/index.php on line 0
Could not connect:
--------------------------------
Here are current server details.
--------------------------------

     Memory RAM (with Cache): 0.32GB / 1GB ( 32%) [DC]
    Memory RAM (NO Cache): 0.23GB / 1GB ( 23%)
    Number of processes: 104
    Postfix Mail Queue: 0 [Manage]

Application Version

    Apache version: Apache/2.4.27
    PHP version: 5.6.30 [PHP Switcher]
    MySQL version: 10.1.28-MariaDB
    FTP version: 1.0.30

System Info

    CPU Model: Intel(R) Xeon(R) CPU E5-2676 v3 @ 2.40GHz
    CPU Details: 1 Core (2400 MHz)
    Distro Name: CentOS release 6.9 (Final)
    Kernel Version: 2.6.32-696.10.3.el6.x86_64
    Platform: x86_64 [xenxen-hvm]
    Uptime: 9 min, 1 user
    Server Time: Tue Nov 7 17:09:29 UTC 2017 [Edit]


Thanks.

2
DNS / Amzon EC 2 Nameserver Setup
« on: September 07, 2017, 10:38:07 AM »
Hi,

I have installed CentOS web panel on Amazon EC2. The problem is the name servers are not working. I did the following settings.

In Left-Menu –> CWP-Settings –> Edit Settings
In shared IP set elastic IP from Amazon 23.23.xx.xxx
In NAT Local IP set server IP which is default IP. 172.31.xx.xx

And then I rebuild Virtual Hosts from CWP. But it does not work.

I also set name servers in In Left-Menu –>Dns Functions –> Edit Nameservers IP
Here I created NS1 and NS2 with my domain and NS IP is 23.23.xx.xxx for both NS1 and NS2 but nothing works.

Will these DSN work here by adding domains or I will also need to add domains to Hosted Zone in Amazon and will have to use public nameservers from Amazon?

Help will be appreciated. I googled a lot but not help found regarding this issue.

Thanks


Pages: [1]