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 ... 8 9 [10] 11 12 ... 29
136
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.

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

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

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

140
Nice !

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

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

142
Show output of:

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

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

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

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

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

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

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

149
The screenshots provided by you show the error 404. It means "connection accepted" not "refused" (connection refused and the error 404 are totally different things). Additionally it tells something (nginx or apache) listens the port 80.

I think you checked the wrong apache config file. The Apache config file used by CWP is:

/usr/local/apache/conf/httpd.conf

Additionally check if you have some files in:

/etc/nginx/conf.d/vhosts/


Using:

Code: [Select]
netstat -nlp| egrep "nginx|httpd"

check what services exactly use the webports (80,443,8181,8443).

Show results.

Additionally, tell us what your webconfing is now.

150
Did you check if Apache and/or Nginx work ?

Also, please provide more details when you ask to help because the descriptions like "my website doesn't work" , "I get nothing", etc don't shed light on the problem. The browser always shows something and the results like "blank white page", "error message", etc help to understand where the problem could be.

Pages: 1 ... 8 9 [10] 11 12 ... 29