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

Pages: 1 [2] 3
@angelbro & @zakrpa
Don't mention it, you are welcome!

you have 2 more problems!

1. You need to fix "/usr/local/cwp/php71/etc/php-fpm.d/users.conf" at line 1.
don't know what is wrong there.
Do you have a user account named "users" ?
If yes … delete him from CWP.

And second you need to to fix ERROR 1045
1. reset you mysql root passwort
to do that, execute:
Code: [Select]
# /scripts/mysql_pwd_reset
2. copy the new password
and make sure it is saved under ~/.my.cnf  AND  /usr/local/cwpsrv/var/services/pma/

Then you need to do this >
with your new password.

Maybe you have to fix ERROR 1045 before you can delete a user account (step 1).

Enjoy! ;)

it means that the variable TERM is not set for the whole environment, but it is available locally for root user.
To fix this we need to make the variable globally through 'export'.

1. connect to your server via SSH as root

2. Find out your TERM value
on the terminal execute
Code: [Select]
# echo $TERMmy result for e.g. is
Code: [Select]
xterm-256colorif yours is "dumb" then use "dump"
compare the output with
Code: [Select]
# printenv TERMit probably differs. either way proceed with the following.

3. export the variable
Now you just could do
Code: [Select]
# export TERM=xterm-256colorbut after a server reboot it would be forgotten.
so we need to put this into ~/.bashrc
Code: [Select]
# echo "export TERM=xterm-256color" >> ~/.bashrcor
Code: [Select]
# echo "export TERM=dumb" >> ~/.bashrcIMPORTANT: use ">>" it means append.
If you use ">" it will replace everything inside the file!

From now on - everytime you login in as root, the .bashrc script will say "make TERM=xterm-256color a public environment variable".
Alternative you could also put "export TERM=xterm-256color" OR "export TERM=dumb" into the cronjob (who sends you the emails) under: "/etc/cron.daily/cwp" to automate it if you like.
Probably good option if you don't login often as root very often.

4. finally: reload/execute .bashrc
Code: [Select]
# source ~/.bashrcit's the same as logout and login again.

I don't know why this happens. This should be easy peasy for the CWP creators.
ENJOY!  ;)


Information / Re: CWP to CWP migration tool
« on: February 12, 2018, 10:53:49 AM »
Thank you for the heads up!

Information / Re: CWP to CWP migration tool
« on: February 11, 2018, 01:59:05 PM »
I am missing it, too!

Ok, the URL is: index.php?module=transcwp2
But where is the menu button?
I can't find it anywhere.

CentOS 7 Problems / Re: module chkconfig empty on CentOS 7
« on: February 11, 2018, 01:03:32 PM »
I just found index.php?module=startup_services  and  index.php?module=systemd_servicesMonitor
under Services Config.

And there you have it!  :)

Suggestions / Custom Menu & Notepad please
« on: February 07, 2018, 04:00:09 PM »
how about the possibility to create a custom menu in GUI?
Maybe as a drop-down at the top navigation bar (header > navbar) next to the Terminal button.
For example»

Also a way to save notes would be nice.
If I use the file_editor module and edit the URL for e.g.:
this would do …, but I don't want to edit the URL everytime.

So therefore a custom menu or maybe a module/button just for notes.

CentOS 7 Problems / Re: module chkconfig empty on CentOS 7
« on: February 07, 2018, 03:57:38 PM »
Yes, it's because Centos 7 uses systemd and not chkconfig (anymore).
I'd like to see systemd integrated into CWP7, same as chkconfig on CWP6!

CentOS 7 Problems / module chkconfig empty on CentOS 7
« on: February 07, 2018, 12:13:39 PM »
I've switched from CWP6 to CWP7pro and I am missing the chkconfig module.
To be more precisely the index.php?module=chkconfig is almost empty!

Screenshot >

Now, I am aware the CentOS 7 uses systemctl instead of chkconfig to configure system services, but didn't you consider this building CWP7?
Could you please fix this!?
Thank you.

Suggestions / Re: goaccess - Fast web log analyzer
« on: February 07, 2018, 11:52:09 AM »
YES - Please!
That would be cool!  8)

CentOS-WebPanel Bugs / Popup text says 'allow' under "add blacklist entry"
« on: February 07, 2018, 11:49:13 AM »
I am running  CWPpro version:
If i want to add an entry to the blacklist under Firewall manager ("index.php?module=firewall"),
the popup window says "Allow"

Screenshot >


Probably a copy & paste error  ;)

CentOS-WebPanel Bugs / Themes and Languages module totally messed up!
« on: February 07, 2018, 11:35:20 AM »
I am running CWPpro version: and the Themes and Languages plugin ("index.php?module=themes_lang") is totally messed up!

As far as I can tell it doesn't do anything an it looks like this (3 images) >>

It's a shame, I would love to have a dark theme!

How to / Re: How to Enable HTTP/2 on CWP7
« on: February 05, 2018, 01:03:18 PM »
If ngninx test (/usr/sbin/nginx -t) gives you »
Code: [Select]
nginx: [emerg] a duplicate default server for in /etc/nginx/conf.d/your-addon-domain.com_ssl.conf:4
nginx: configuration file /etc/nginx/nginx.conf test failed
as an error, it's because you have 2 or more _ssl.conf with "default_server" under /etc/nginx/conf.d/

Only 1 _ssl.conf (vhost) is allowd to have »
server {
    listen ssl http2 default_server;

Remove either all or remove all except 1 "default_server" inside your-main-domain.com_ssl.conf
Good luck.

How to / Re: How to install Cloudflare module on Centos 7 Apache 2.4
« on: February 01, 2018, 10:21:04 AM »
Thank you!

Don't forget to remove the temporary/cloned directory afterwards:
Code: [Select]
cd ..
rm -rf mod_cloudflare

How to / How to secure phpMyAdmin under CWP7
« on: January 27, 2018, 01:27:20 PM »
1. Open the PMA config file with your prefered editor

2. add the following lines at the bottom
Code: [Select]
$cfg['ForceSSL'] = true;
$cfg['Servers'][$i]['AllowDeny']['order'] = 'deny,allow';
$cfg['Servers'][$i]['AllowDeny']['rules'] = array(

        // deny everyone by default
        'deny % from all',

        // allow all users from the local system
        'allow % from localhost',
        'allow % from',
        'allow % from ::1',

        // allow all users from the server IP (commented out)
        'allow % from YOUR_SERVER_ADDRESS.',

        // allow user root from local system
        'allow root from localhost',
        'allow root from',
        'allow root from ::1',

        // allow user root from local network/pc
        'allow root from YOUR_IP_ADDRESS/32',

        // add more usernames and their IP (or IP ranges) here -

3. replace the placeholders with your IP's

4. save, close and restart Apache
Code: [Select]
systemctl restart httpd
5. done.
You can test the setting if you comment out the line: 'allow root from YOUR_IP_ADDRESS/32',
and then try to login as root from your PC, or (leave it and) try to login from another IP as root.
You should then see a red message box saying: "Acces denied"

If  your local IP address is dynamic, I would NOT recommend this setting, otherwise you have to change  YOUR_IP_ADDRESS inside every now and then.

All the best,


Pages: 1 [2] 3