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 - jonathan1

Pages: [1]
1
Nginx / running nginx w/o apache
« on: September 20, 2017, 11:49:24 PM »
I notice that Apache is a huge memory hog.

Is there a way to run Nginx using PHP-FPM without apache so I can save on memory?

2
I upgraded to CWP Pro and installed the Comodo rules, but it's still saying I need to install mod_security through the warning.

Any idea how to fix this?

3
Installation / suddenly getting "502 bad gateway" for CWP admin panel
« on: September 13, 2017, 04:53:37 AM »
Out of nowhere, I'm suddenly getting "502 bad gateway" on my dashboard when I access domain.com:2030

All the websites work just fine, it's only the server dashboard.

Any ideas what could cause this and how to fix it?

TIA!

Error I get: 502 Bad Gateway

cwpsrv

4
PHP / configured 7.1 the way I like it, how do I set as default?
« on: September 08, 2017, 10:19:28 PM »
I configured php 7.1 to be exactly as I want, but I'm unclear how to set it as the default so that it doesn't change any of the config options or parameters.

How would I do that?

5
SSL / auto generate ssl for dashboard hostname
« on: September 08, 2017, 05:44:13 PM »
Hi

Since the hostname vps.domain.com isn't part of any account, it's not showing up as available to auto-generate an SSL cert, and one was not automatically generated when installing CWP.

How can I successfully generate a letsencrypt SSL cert for the CWP hostname?

Thank you

6
CSF Firewall / lots of open ports, but not sure what they are being used for
« on: September 05, 2017, 05:50:58 PM »
I ran a port scanner to see which ports were open to the public and found a lot of ports which I'm not familiar with. Is there a way to figure out which ports I can safely close to the public?

80/tcp   open   http

110/tcp  open   pop3

143/tcp  open   imap

443/tcp  open   https

465/tcp  open   smtps

587/tcp  open   submission

993/tcp  open   imaps

995/tcp  open   pop3s

2030/tcp open   device2

2031/tcp open   mobrien-chat

2082/tcp open   infowave

2083/tcp open   radsec

2086/tcp open   gnunet

2087/tcp open   eli

2095/tcp open   nbx-ser

2096/tcp open   nbx-dir

5050/tcp closed mmcc

7777/tcp open   cbt

7
MySQL / getting errors when trying to "stop" the mysql service
« on: August 31, 2017, 05:41:40 PM »
I'm getting the following errors each time I try to "stop" the mysql service.

Can someone help me figure out why this happens and resolve it?

Code: [Select]
Warning: Error while sending QUERY packet. PID=5284 in /usr/local/cwpsrv/htdocs/resources/admin/include/functions.php on line 0

Warning: [obfuscated]() expects exactly 1 parameter, 0 given in /usr/local/cwpsrv/htdocs/resources/admin/include/functions.php on line 0

Warning: [obfuscated]() expects parameter 1 to be mysqli_result, boolean given in /usr/local/cwpsrv/htdocs/resources/admin/include/functions.php on line 0
Top 5 Process [live monitor]

Could not select database root_cwp Could not select database root_cwp Could not select database root_cwp

Oh also, then when I go to the dashboard homepage, I get this error (upon second refresh, it loads fine)

Code: [Select]
Warning: [obfuscated](): (HY000/2002): No such file or directory in /usr/local/cwpsrv/htdocs/admin/admin/index.php on line 0

Warning: [obfuscated](): (HY000/2002): No such file or directory 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:

8
Apache / creating new files causes 500 error
« on: August 12, 2017, 10:12:02 PM »
Every time I create a file through WinSCP, the new file returns a 500 error. Only after running "Fix permissions" for that user, does it get fixed.

How can I make sure that I don't have to run "fix permissions" every time I create a new file?

9
PHP / built custom version using PHP Selector, how do I set as default?
« on: August 12, 2017, 10:10:56 PM »
I finished building a custom version of PHP 7.1.7 through the PHP Selector tool, and it works great.

However, I can't figure out how to set it as the default for all users to use, instead of using the htaccess code to force it for a single site.

Please advise how I can change the default to the newly built version I made through the PHP Selector tool.

i'm running latest version of CWP

10
PostgreSQL / installing and using pgAdmin4
« on: August 11, 2017, 03:44:46 AM »
Hi!

I'd love to use pgAdmin4 instead of phppgadmin

Can anyone suggest how to install that so I can connect that to postgresql 9.6.x?

11
PostgreSQL / upgrading to postgresql 9.6.x
« on: August 11, 2017, 03:43:59 AM »
I've been working on this for a few days now, and can't figure out how to natively upgrade to 9.6.x, it's stuck on 9.2.x

Any help would be great!

Pages: [1]