1
Installation / Re: Hostname / Main Server Account & Domain
« Last post by cyberspace on June 07, 2023, 08:22:01 PM »Quote
How is this done? I tried to set up DNS and create the records for the domain name and nameservers with still no luck.
In command prompt of your local computer run:
Code: [Select]
nslookup server1.mydomain.com
and check output. You should get something like:
Server: somename
Address: dnsresolver
Name: server1.mydomain.com
Address: xxx.xxx.xxx.xxx
Take a look at the second pair "Name / Address". Address will show the IP of your VPS/Server. If you get something like "Can't find server1.mydomain.com" then it means there is some problem with the resolution of the subdomain/hostname.
Quote
Why do I have to create a new account? I wanted to manage this all from root account. It is not for my users, it is so I can access the admin panel securely using SSL.
CWP installs the Let's Encrypt SSL for the hostname too. So you will be able to access the panel over HTTPS (https://server1.mydomain.com:2031) when the problem with the hostname resolution is solved.
It is better to host every website in a separate account for security reasons. However, you are free to add "mydomain.com" as an addon/extra domain name to the existing account.
2
Installation / Re: Hostname / Main Server Account & Domain
« Last post by BasicBlue on June 07, 2023, 07:59:42 PM »Thank you for replying. I have followed this process many times without success.
I have entered server1.mydomain.com in the Change Hostname screen.
I thank you for this information. I am tryin to learn this again.
Thank you.
I have entered server1.mydomain.com in the Change Hostname screen.
Quote
Before you do it, make sure the value (subdomain) used by you as "Hostname" is resolved to the primary IP address of your VPS/server.How is this done? I tried to set up DNS and create the records for the domain name and nameservers with still no luck.
Quote
Then you can create an account for your domain name "example.com" and upload the files of your website into the account to make example.com accessible for internet users.Why do I have to create a new account? I wanted to manage this all from root account. It is not for my users, it is so I can access the admin panel securely using SSL.
I thank you for this information. I am tryin to learn this again.
Thank you.
3
CentOS 7 Problems / Re: Polkit error - GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed
« Last post by bullten on June 07, 2023, 07:54:15 PM »mount proc -o remount,hidepid=0
systemctl restart polkit.service
systemctl restart polkit.service
4
CentOS 7 Problems / Re: Polkit error - GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed
« Last post by emar on June 07, 2023, 07:28:52 PM »I think this issue has returned,
After running sh /scripts/update_cwp
ERROr Ajax: Error
After running sh /scripts/update_cwp
ERROr Ajax: Error
5
Other / Re: cronjop problem
« Last post by cyberspace on June 07, 2023, 06:49:38 PM »as root in SSH do:
try:
UPDATE:
To install SourceGuarian Loaders do:
Code: [Select]
wget https://downloads.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz
tar -xvzf ioncube_loaders_lin_x86-64.tar.gz
cd ioncube
scp ioncube_loader_lin_8.1_ts.so /usr/local/ioncube/ioncube_loader_lin_8.1.so
try:
Code: [Select]
php -q /home/uzman/public_html/coremio/cronjobs.php
UPDATE:
To install SourceGuarian Loaders do:
Code: [Select]
wget --user-agent="https://www.sourceguardian.com/loaders/download/loaders.linux-x86_64.tar.gz
tar -xvzf loaders.linux-x86_64.tar.gz
scp ixed.8.1ts.lin /usr/local/sourceguardian/ixed.8.1.lin
6
Other / Re: cronjop problem
« Last post by zafer on June 07, 2023, 06:35:38 PM »Failed loading /usr/local/ioncube/ioncube_loader_lin_8.1.so: /usr/local/ioncube/ioncube_loader_lin_8.1.so: undefined symbol: file_globals
Failed loading /usr/local/sourceguardian/ixed.8.1.lin: /usr/local/sourceguardian/ixed.8.1.lin: undefined symbol: compiler_globals
PHP 8.1.0 (cli) (built: Jun 2 2023 22:48:32) (ZTS)
Copyright (c) The PHP Group
Zend Engine v4.1.0, Copyright (c) Zend Technologies
with Xdebug v3.1.4, Copyright (c) 2002-2022, by Derick Rethans
[root@server ~]#
Failed loading /usr/local/sourceguardian/ixed.8.1.lin: /usr/local/sourceguardian/ixed.8.1.lin: undefined symbol: compiler_globals
PHP 8.1.0 (cli) (built: Jun 2 2023 22:48:32) (ZTS)
Copyright (c) The PHP Group
Zend Engine v4.1.0, Copyright (c) Zend Technologies
with Xdebug v3.1.4, Copyright (c) 2002-2022, by Derick Rethans
[root@server ~]#
7
Other / Re: cronjop problem
« Last post by cyberspace on June 07, 2023, 06:25:57 PM »Make sure you run the script properly. In some cases scripts must be called over web using wget or curl e.g:
If you believe the script must be executed from the shell using php interpreter then install ioncube for php 8.1. When done, try to run your script again using:
Look here if you need instructions how to install ionCube:
https://forum.centos-webpanel.com/php/how-to-install-ioncube-loader-in-php-on-centos-linux/
If it doesn't help show us output of:
Code: [Select]
wget -O- http://www.example.com/coremio/cronjobs.php >> /dev/null
If you believe the script must be executed from the shell using php interpreter then install ioncube for php 8.1. When done, try to run your script again using:
Code: [Select]
php -q /home/uzman/public_html/coremio/cronjobs.php
Look here if you need instructions how to install ionCube:
https://forum.centos-webpanel.com/php/how-to-install-ioncube-loader-in-php-on-centos-linux/
If it doesn't help show us output of:
Code: [Select]
php -v
8
Other / Re: cronjop problem
« Last post by zafer on June 07, 2023, 06:14:57 PM »[root@server ~]# php -q /home/uzman/public_html/coremio/cronjobs.php
Failed loading /usr/local/ioncube/ioncube_loader_lin_8.1.so: /usr/local/ioncube/ioncube_loader_lin_8.1.so: undefined symbol: file_globals
Failed loading /usr/local/sourceguardian/ixed.8.1.lin: /usr/local/sourceguardian/ixed.8.1.lin: undefined symbol: compiler_globals
Script error: the ionCube Loader for PHP needs to be installed.
The ionCube Loader is the industry standard PHP extension for running protected PHP code,
and can usually be added easily to a PHP installation.
For Loaders please visit:
https://get-loader.ioncube.com
For an instructional video please see:
http://ioncu.be/LV
[root@server ~]# /usr/local/bin/php -q /home/uzman/public_html/coremio/cronjobs.php
Failed loading /usr/local/ioncube/ioncube_loader_lin_8.1.so: /usr/local/ioncube/ioncube_loader_lin_8.1.so: undefined symbol: file_globals
Failed loading /usr/local/sourceguardian/ixed.8.1.lin: /usr/local/sourceguardian/ixed.8.1.lin: undefined symbol: compiler_globals
Script error: the ionCube Loader for PHP needs to be installed.
The ionCube Loader is the industry standard PHP extension for running protected PHP code,
and can usually be added easily to a PHP installation.
For Loaders please visit:
https://get-loader.ioncube.com
For an instructional video please see:
http://ioncu.be/LV
The error message I received, thank you.
Failed loading /usr/local/ioncube/ioncube_loader_lin_8.1.so: /usr/local/ioncube/ioncube_loader_lin_8.1.so: undefined symbol: file_globals
Failed loading /usr/local/sourceguardian/ixed.8.1.lin: /usr/local/sourceguardian/ixed.8.1.lin: undefined symbol: compiler_globals
Script error: the ionCube Loader for PHP needs to be installed.
The ionCube Loader is the industry standard PHP extension for running protected PHP code,
and can usually be added easily to a PHP installation.
For Loaders please visit:
https://get-loader.ioncube.com
For an instructional video please see:
http://ioncu.be/LV
[root@server ~]# /usr/local/bin/php -q /home/uzman/public_html/coremio/cronjobs.php
Failed loading /usr/local/ioncube/ioncube_loader_lin_8.1.so: /usr/local/ioncube/ioncube_loader_lin_8.1.so: undefined symbol: file_globals
Failed loading /usr/local/sourceguardian/ixed.8.1.lin: /usr/local/sourceguardian/ixed.8.1.lin: undefined symbol: compiler_globals
Script error: the ionCube Loader for PHP needs to be installed.
The ionCube Loader is the industry standard PHP extension for running protected PHP code,
and can usually be added easily to a PHP installation.
For Loaders please visit:
https://get-loader.ioncube.com
For an instructional video please see:
http://ioncu.be/LV
The error message I received, thank you.
9
MySQL / Re: User "Any" in phpmyadmin
« Last post by zakrpa on June 07, 2023, 05:42:47 PM »Delete this user, pleases
I did... on test server... I m worried is server compromised? Especially I have this same user on test server (clean install centos 7 installed like 2 months ago with only CWP nothing else hosted). The test server meant to be slave dns and didnt have time to finish it until yesterday when I noticed strange username. Have the same one on older installation...
Well I m bit worried now....
Just found this post...
https://www.google.com/search?client=firefox-b-d&q=cwp+phpmyadmin+users+%22Any%22
Guess I m not only one

10
Installation / Re: Hostname / Main Server Account & Domain
« Last post by cyberspace on June 07, 2023, 05:19:18 PM »Log into the admin area of CWP as root and go to:
"Server Settings" --> "Change Hostname"
put "server.example.com" into the field "New Hostname:", active all options and click on "Change Hostname".
(replace "server.example.com" with the subdomain you want to use for your VPS/server. It will not be used by your site. It is how yout server/VPS will be called.)
Before you do it, make sure the value (subdomain) used by you as "Hostname" is resolved to the primary IP address of your VPS/server.
Then you can create an account for your domain name "example.com" and upload the files of your website into the account to make example.com accessible for internet users.
"Server Settings" --> "Change Hostname"
put "server.example.com" into the field "New Hostname:", active all options and click on "Change Hostname".
(replace "server.example.com" with the subdomain you want to use for your VPS/server. It will not be used by your site. It is how yout server/VPS will be called.)
Before you do it, make sure the value (subdomain) used by you as "Hostname" is resolved to the primary IP address of your VPS/server.
Then you can create an account for your domain name "example.com" and upload the files of your website into the account to make example.com accessible for internet users.