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 ... 13 14 [15] 16 17 ... 34
211
Problems on other RedHat linux servers / Re: Clamav / AL 9
« on: January 14, 2025, 01:16:34 PM »
Hi,

In shell (command prompt) of your server run the following commands as root:
Code: [Select]
rpm -qa | grep clam
ps auxc | grep clam

The first command will show you if any binary packages associated with ClamAV are installed. You should see a few packages.

The second command shows if any clamav process is running currently. You should see "clamd" if clamav is running as daemon.

212
Did you do it on both (source and destination) servers ?

213
There is no any "database cache". If you get the cached error then it means the error is cached by your site or some service like "CloudFlare" if your site uses it. If the error isn't cached then I recommend you to contact the deveopers/community or read docs of Laravel to find where the database connection settings are stored.

214
Information / Re: Having Problems with DNS
« on: January 08, 2025, 11:49:05 AM »
1. Check WHOIS of your domain and "dig" nameservers used by your domain for the records ns1.mydomain.com, ns2.mydomain.com:

Code: [Select]
dig @dns1.com ns1.mydomain.com
dig @dns2.com ns2.mydomain.com
(look for "answer" section)

replace "dns1.com, dns2.com" with the actual nameservers used by your domain (see WHOIS).

2. If your domain uses your own nameservers "nsX.mydomain.com" then register the nameservers at your registrar.

215
PHP / Re: URGENT Database insert not working
« on: January 07, 2025, 12:27:07 PM »
Enable MySQL/MariaDB "general_log" and check it to investigate the problem. It will show you if the script is able to connect and all SQL queries initiated by your scripts.

216
Code: [Select]
cat /dev/null > /root/.ssh/known_hosts
then try again.

217
Nice !

However, I strongly recommend you to upgrade the system up to AlmaLinux 8 because Centos 7 is EOL.

218
Try to compile the module from sources:
(you do it on your own risk)
Code: [Select]
cd /usr/local/src
wget https://archive.apache.org/dist/httpd/httpd-2.4.62.tar.gz
tar -xvzf httpd-2.4.62.tar.gz
cd httpd-2.4.62/modules/cache/
/usr/local/apache/bin/apxs  -i -c -n mod_socache_shmcb.so mod_socache_shmcb.c

then try to restart apache again.

219
Show output of:

Code: [Select]
/usr/local/apache/bin/httpd -v
and

Code: [Select]
cat /usr/local/apache/conf/extra/httpd-ssl.conf

220
Where did mod_rpaf.so go? It's part of the default CWP kit...

I think rpaf wasn't installed properly because the server works under "Centos 7". Anyway, rpaf isn't necessary if Apache only used.

221
Rename the file:

/usr/local/apache/conf.d/rpaf.conf
to
/usr/local/apache/conf.d/rpaf.conf_backup

and try to restart apache again.

Did you reinstall apache or some apache modules manually ?

Also, it seems you use Centos 7. Centos 7 is EOL. So be ready to experience problems when you update/install some server side software.

222
Did you uncomment the line
#Include /usr/local/apache/conf.d/*.conf
by removing "#" at beginning ?

223
Please read my previous post if you are interested to solve the problem.

224
The main apache conf file looks good, except the line:
#Include /usr/local/apache/conf.d/*.conf
(last line of the file)
Uncomment it, stop/kill Apache and then try to restart it manually.

If your sites are inaccessible still then make sure the ports 80, 443 are used by Apache only:
Code: [Select]
netstat -nlp| egrep "nginx|httpd"If the ports 80, 443 remain unused then log into CWP admin and double check CWP is configured to use Apache only (WebServer config --> Select WebServers), switch to "Apache Only" if there is something else, rebuild vHosts and restart Apache.

Pages: 1 ... 13 14 [15] 16 17 ... 34