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
1
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 :(

2
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 domain.com

3
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?

4
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:
https://www.phpmyadmin.net/files/4.6.6/

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.

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

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.
a.com
b.com
c.com

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

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 b.com with the default path (/home/theuser/public_html/b.com)
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 ^/(.*) http://a.com/$1
This works for http sites. But not when you use https://b.com or https://c.com

Hope anyone can help me out with a good solution.

6
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?

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

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.

8
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.

9
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?

10
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.

11
Or you could use the default back-up and copy the files over using cron.
This is how you could mount google drive:
https://www.2daygeek.com/mount-access-google-drive-on-linux-with-google-drive-ocamlfuse-client/

12
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?

13
Under PHP info you can find all the modules mentioned:
https://docs.nextcloud.com/server/13/admin_manual/installation/source_installation.html#prerequisites-label

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

Maybe check out this post:
https://forum.owncloud.org/viewtopic.php?f=17&t=7536

YOu need to check the logs.

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

I've followed the guide from:
http://wiki.centos-webpanel.com/how-to-install-mod_pagespeed

but there is a little error in it.
The config:
/usr/local/apache/conf.d/pagespeed.conf

contains:
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