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

Pages: [1] 2 3 ... 5
Installation / Re: Hostname / Main Server Account & Domain
« on: June 07, 2023, 08:22:01 PM »

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]
and check output. You should get something like:
Server: somename
Address: dnsresolver


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" then it means there is some problem with the resolution of the subdomain/hostname.

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 ( 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 "" as an addon/extra domain name to the existing account.

Other / Re: cronjop problem
« on: June 07, 2023, 06:49:38 PM »
as root in SSH do:

Code: [Select]
tar -xvzf ioncube_loaders_lin_x86-64.tar.gz
cd ioncube
scp /usr/local/ioncube/


Code: [Select]
php -q /home/uzman/public_html/coremio/cronjobs.php

To install SourceGuarian Loaders do:

Code: [Select]
wget --user-agent="
tar -xvzf loaders.linux-x86_64.tar.gz
scp ixed.8.1ts.lin /usr/local/sourceguardian/ixed.8.1.lin

Other / Re: cronjop problem
« 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:
Code: [Select]
wget -O- >> /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:

If it doesn't help show us output of:

Code: [Select]
php -v

Installation / Re: Hostname / Main Server Account & Domain
« 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 "" into the field "New Hostname:", active all options and click on "Change Hostname".
(replace "" 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 "" and upload the files of your website into the account to make accessible for internet users.

As I understand you want to make access to your billing (WHMCS) through the URL like:

Right ?

If so then create the virtual host/account with the domain name/subdomain on your other server then edit the DNS zone of on your primary server and add the DNS record like:

Type: A

where is the IP address used by on your second server.


Code: [Select]
/usr/local/apache/bin/httpd -V| grep MPM
in shell to find which MPM you use (most likely "event").

Other / Re: cronjop problem
« on: June 06, 2023, 12:53:56 PM »
Why do you think your cron task doesn't work ? Do you get some errors or what ?

What does happen when you run:

Code: [Select]
php -q /home/uzman/public_html/coremio/cronjobs.php
/usr/local/bin/php -q /home/uzman/public_html/coremio/cronjobs.php

from shell (ssh) ?

Put all settings offered by apache_mpm_calculator into the appropriate section of:
Code: [Select]
/usr/local/apache/conf/extra/httpd-mpm.confPlease don't forget to make backup of the file before you modify it in order to undo the changes if something goes wrong.

You just need to change the value in the appropriate section (prefork, worker, event) of:
Code: [Select]
/usr/local/apache/conf/extra/httpd-mpm.confand then restart Apache.

The value depends on available (free memory). Don't set the value too high. I recommend you to following:

1. Check how much free memory you have;
2. Find the most memory expensive http/apache process;
3. Divide free memory by the RAM usage of the most expensive http/apache process;
4. Divide the result by two.

Don't forget other services eat RAM too :)

I recommend you to check the following guide:

Also, you can use:
Code: [Select]
/scripts/apache_mpm_calculatorto get values recommended by CWP.

CentOS 7 Problems / Re: Malware found
« on: May 31, 2023, 07:58:53 PM »
Check the file:
Code: [Select]
/var/log/rkhunter/rkhunter.logto get more details about suspicious files.

However, the output provided by you looks good and I don't think your VPS/server is compromised.

Therefore I do believe you have the problem with your website because the site has some vulnerablity (outdated component/backdoor) and it is used to inject malicious code.

So scan your website using Wordfence (if the site is based on Wordpress), update all components including Wordpress itself.

It looks like you customize the apache conf file generated by CWP. If so then CWP reset all HTTP/HTTPS (nginx/apache) confs according to the used templates.

To solve this I recommend you to create a custom template and apply it for your website

Please review the page:
to learn about webserver vhost templates.

Hope it will help you to solve the problem.

E-Mail / Re: postfix sending email every minute
« on: May 27, 2023, 10:11:12 PM »
Check HTTP/HTTPS access logs of the websites associated with the user "agendada". I assume some website hosted in the account of the user "agendada" could contain some unprotected mail form or vulnerable mail script. It could be bombarded by spam bots. That is why you could get a lot of mail delivery failures. To solve the problem with the form, protect the form using Google reCaptcha or similar method. In case the bounces are caused by the vulnerable mail script then to avoid the spam submission the script must check the referrer, verify some hidden data from the form, etc.

How to / Re: How to manage hard drive space without losing data
« on: May 25, 2023, 12:36:40 PM »

Just forget about "devtmpf", "tmpfs". Those partitions can't be used as storage device:
Once you reboot your server/vps all data in tmpfs will be removed.

E-Mail / Re: Can't Receive emails
« on: May 22, 2023, 07:25:56 PM »
Try to rebuild postfix (main) config.

CWP --> MailServer Manager:

I recommend you to enable the followiong options (Don't check everything for testing purposes):

rDNS Check (recommended)
Install DKIM & SPF (recommended)

Make sure "Hostname" and "Domain" have correct values.

Click "Rebuild Mail Server", wait some time and then try to send/receive emails again.

Apache / Re: My apache has stopped working
« on: May 22, 2023, 05:59:52 PM »
Unfortunately the latest log provided by you doesn't contain anything about the error and doesn't allow to identify the problematic file either.

Try to identify the problematic file using the file:

Code: [Select]
Open it using "less", "vi" or some other editor and read content from the end to beginning.

Or just run:
Code: [Select]
/usr/local/apache/bin/apachectland read output.

Pages: [1] 2 3 ... 5