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

Pages: [1] 2
CentOS 7 Problems / Re: Useraccount change password not working
« on: July 15, 2018, 09:07:03 PM »
very strange. Don't know how to fix it then :(

CentOS 7 Problems / Re: Useraccount change password not working
« on: July 15, 2018, 06:54:41 PM »
can you post hte login url?
mask the domain by using

CentOS 7 Problems / Re: Useraccount change password not working
« on: July 14, 2018, 06:47:23 PM »
Hi sorry,

the users created by cwp have no shell default.
You should do this:
Login as root using ssh
Code: [Select]
passwd user
And enter a new password twice.

Can you confirm that htis works?

MySQL / Re: 502 Bad gateway when trying to open phpMyAdmin
« on: July 14, 2018, 06:43:35 PM »
I think that the problem is your php version.
My CWP is running phpmyadmin 4.6.6 and when I check the page:

I think you should have a lower php version (7.1 max)
Can you try php 5.6.30 just to make sure that that is the problem.

Installation / Domain redirect problem
« on: July 12, 2018, 06:03:22 PM »

I am a bit stuck with the following:

I got my CWP running: Apache & Varnish Cache & Nginx Reverse Proxy
I got 3 domains for 1 user.

Domain is running a drupal site under /home/theuser/public_html
How can I make & redirect to

Redirect and not an alias.
Or using the same homedirectory (/home/theuser/public_html) makes the same site but on 3 different urls which makes your google ranking go down because your content isn't unique)

An alias who give problems for the autossl.

When I create with the default path (/home/theuser/public_html/
I got a http 500 error. Probably due to the .htaccess in the base root (/home/theuser/public_html)

Edited the vhost.conf and use the redirect option
RedirectMatch permanent ^/(.*)$1
This works for http sites. But not when you use or

Hope anyone can help me out with a good solution.

CentOS 7 Problems / Re: Useraccount change password not working
« on: July 12, 2018, 12:41:26 PM »
change it using ssh and try again.

Log in using ssh as root.
Then su username
then passwd

Enter the new password twice and try if this works.
And are you sure your are trying to login to the user control panel and not the admin one?

PHP Selector / Re: Suspicious File Alert
« on: July 12, 2018, 08:58:58 AM »

this is normal.
The php selector script activate to many changes in the tmp folder and creating these false positives.
CSF can give several false positives.
Like when you update your server you will receive a warning that several files has been changed.
You should only be worried when you receive this kind of warning while you were doing nothing to the server.

Installation / Re: Adding Domain's doesn't update my /etc/hosts file
« on: July 09, 2018, 06:21:56 PM »
No it would not.
It would be added to the dns server which is something else then the /etc/host file.

CentOS 6 Problems / Re: 403 error on my website on some systems.
« on: July 08, 2018, 12:27:30 PM »
What does the webserver logs say?

MySQL / Re: Creating new databases & users
« on: July 08, 2018, 12:22:50 PM »
Having the same issue but I can work around it by:

Creating a database only and then creating the user manually using the gui.

Or you could use the default back-up and copy the files over using cron.
This is how you could mount google drive:

Backup / mysqldump: Got error: 1142: "SELECT, LOCK TABLES
« on: July 07, 2018, 10:33:14 AM »
Got an error in my daily MySQL backup:
Code: [Select]
Skipping database: information_schema.
Database Backup: mysql --> /backup/mysql/daily//mysql.sql
Database Backup: oauthv2 --> /backup/mysql/daily//oauthv2.sql
mysqldump: Got error: 1142: "SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table 'accounts'" when using LOCK TABLES
Database Backup: performance_schema --> /backup/mysql/daily//performance_schema.sql
Database Backup: postfix --> /backup/mysql/daily//postfix.sql
Database Backup: root_cwp --> /backup/mysql/daily//root_cwp.sql
Database Backup: roundcube --> /backup/mysql/daily//roundcube.sql

Anyway to solve this?

Under PHP info you can find all the modules mentioned:

On my installation apache nginx vanish I got them all.
Is your php version at least 5.6?

Maybe check out this post:

YOu need to check the logs.

Apache / Mod Pagespeed not working (Solution)
« on: July 03, 2018, 06:29:03 PM »

I've followed the guide from:

but there is a little error in it.
The config:

Code: [Select]
ModPagespeedFileCachePath            "/var/mod_pagespeed/cache/"
So you need to change this location to
Code: [Select]
ModPagespeedFileCachePath     "/var/cache/mod_pagespeed"
Because the wiki creates the cache file:
Code: [Select]
mkdir -p /var/cache/mod_pagespeed/
chown -R nobody:nobody /var/cache/mod_pagespeed/

So either change the config or lets change the wiki.
Anyone know how to contact the wiki person?

Pages: [1] 2