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.


Messages - ~Q~

Pages: [1]
1
Other / How to block a domain name based bot from crawling the server.
« on: April 23, 2022, 08:28:11 PM »
 I want to block a bot coming from turing.threedgraphics.com

It crawls the server day and night.
Can you point me to a howto on how to block it on a CWP CentOS server.
Thank you.

2
CentOS-WebPanel GUI / Re: How to enable Terminal for Users?
« on: August 27, 2021, 04:56:32 PM »
browse to on your CWP server this link:  admin/index.php?module=list_accounts

Or click on User Accounts > List Accounts

Click on settings of the account you want to give shell / terminal access to, this will take you to  "Account Edit" settings.

On the very bottom there is the option for shell access. Click to select it then click save.

See this CWP instruction video: https://youtu.be/oOomaRc7n9c

using "admin/index.php?module=chshell" you can manage the shell access parameters.

3
CentOS-WebPanel GUI / Re: CWP edited php.ini blank panel just a WSOD
« on: August 26, 2021, 02:13:29 AM »
Solved the issue.

I placed an "M" following the numerical value.

Simple fix now I am going to back it up. :-)

4
CentOS-WebPanel GUI / CWP edited php.ini blank panel just a WSOD
« on: August 25, 2021, 09:29:16 PM »
CWP is just a WSOD (White Screen Of Death)

both 2031 and 2087

What I did:
nano /usr/local/cwp/php71/php.ini
added increased values to the max_limit etc.

What I did not do...
I did not back up the php.ini...

Can some one paste a standard or default CWP copy here?

Thanks.

5
MySQL / MariaDB - How to rescue the databases?
« on: August 13, 2021, 07:43:59 PM »
I did as instructed via the error message from CWP:

Quote
"**Check your MySQL root password in: /usr/local/cwpsrv/htdocs/resources/admin/include/db_conn.php and /root/.my.cnf"
I have purchased support so I put in a ticket.

They got MariaDB working again but said I have lost all my data and need to restore from a back up...?

The thing of it is the /var/lib/mysql/  files are still there.

CWP and phpMyadmin where giving me infinite login loops for a couple of hours but that now seems to be working... but not really...

I go to upload one database using phpMyAdmin and I get errors Like the following error:


Quote
#1010 - Error dropping database (can't rmdir './DATABASE_IS_here', errno: 39 "Directory not empty")

I just preformed the following:

Quote
service mariadb stop

$mkdir /OLDMYSQL-DIR

cd /OLDMYSQL-DIR
tar cvf mysql-olddirectory.tar /var/lib/mysql gzip mysql-olddirectory.tar

service mariadb start


The day before this happened I did yum update and MariaDB was updated.


HOW CAN I RESCUE MY MYSQL DATABASES?

The latest support ticket I submitted was hours ago and one yesterday to ask what they did and how there was databases losses... I have still yet to here back.

I am worried that CWP is broke and that my databases are in jeopardy!


6
MySQL / Re: mysqli_connect
« on: August 13, 2021, 07:20:41 PM »
I have this issue as well.

I did as instructed via the error message from CWP:

Quote
"**Check your MySQL root password in: /usr/local/cwpsrv/htdocs/resources/admin/include/db_conn.php and /root/.my.cnf"
I have purchased support so I put in a ticket.

They got MariaDB working again but said I have lost all my data and need to restore from a back up...?

The thing of it is the /var/lib/mysql/  files are still there.

CWP and phpMyadmin where giving me infinite login loops for a couple of hours but that now seems to be working... but not really...

I go to upload one database using phpMyAdmin and I get errors Like the following error:


Quote
#1010 - Error dropping database (can't rmdir './DATABASE_IS_here', errno: 39 "Directory not empty")

I just preformed the following:

Quote
service mariadb stop

$mkdir /OLDMYSQL-DIR

cd /OLDMYSQL-DIR
tar cvf mysql-olddirectory.tar /var/lib/mysql gzip mysql-olddirectory.tar

service mariadb start


The day before this happened I did yum update and MariaDB was updated.


HOW CAN I RESCUE MY MYSQL DATABASES?

The lastest support ticket I submitted was hours ago and one yesterday to ask what they did and how there was databases losses... I have still yet to here back.

I am worried that CWP is broke and that my databases are in jeopardy!


7
Updates / Re: MariaDB update failed
« on: December 10, 2020, 08:48:46 PM »
@sandeep

I followed your how to on how to upgrade MariaDB following this instruction set: https://forum.centos-webpanel.com/index.php?topic=9471.msg33152#msg33152

It worked, thanks for the support you give it is the best IMHO

Now I have this issue in CWP admin (using CWPpro) in the  services status panel it displays "MySQL Database Server" = failed

"The status log reads:  InnoDB: Unable to lock ./ibdata1 error: 11
[Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files."

How does one go about clearing this up?

Running on CentOS 7.5


8
Installation / Re: The big Question
« on: March 11, 2020, 12:54:24 AM »
Good to know. Thank you.

Simple workaround.  Create an account with the domain localhost.localdomain.  << DOesn't server anything.  Addon domains now got to /public_html/mydomainname.com

Now public_html doesn't have to server any website.

Of course you could always create your own template for apache/nginx
Location of the files: /usr/local/cwpsrv/htdocs/resources/conf/web_servers/ | http templates = .tpl | https templates = .stpl |

Create a new template that points your main domain to public_html/(domian), and use that template for your website.   Custom templates will not get overwritten.

Pages: [1]