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

Pages: [1] 2
1
Updates / Re: After updates 11.14.20 Apache failed to start
« on: November 23, 2020, 04:06:06 PM »
I've just ran the command - service httpd status (which said it was not running). The posts I've read talked about a different httpd.conf file location after a different update a few years ago. So I following the commands that fixed that person's problem.

I used the command - yum reinstall cwp-httpd (and it installed correctly). Then I tried to restart Apache and still won't start. What's this I read about two different file locations for httpd.conf? What's the fix? Do I have to move or edit a file?

Help would be greatly appreciated. All of my websites are down right now at 10:05 am central time US on 11.23.20.

2
Updates / Re: After updates 11.14.20 Apache failed to start
« on: November 23, 2020, 03:38:06 PM »
It just happened again! There was an updates message inside of CWP saying there were 169 updates available. I did the updates, and Apache failed to load after the updates and all of my websites are down.

Bad coding developers!!! How does this happen? Why am I paying for CWP pro, to have problems like this?

When checking Apache status it says:

Syntax error on line 359 of /etc/httpd/conf/httpd.conf  (at the end of httpd.conf) the line reads - IncludeOptional conf.d/*.conf

What is the fix here?



3
Updates / Re: After updates 11.14.20 Apache failed to start
« on: November 18, 2020, 07:30:22 PM »
I did read server logs. What I finally had to do after 3 hours troubleshooting was restore a complete backup. Now my control panel says there are 174 updates, but I don't want to install them and put down Apache again. What's the answer here?

Is there a good way the perform updates? Should I stop Apache and any other services before applying updates?

4
Updates / After updates 11.14.20 Apache failed to start
« on: November 14, 2020, 05:53:17 PM »
I just did the most recent updates a few minutes ago, and after they completed successfully, Apache failed to start. I tried command line, but that attempt failed to restart Apache also. What's the answer to restart Apache? Log files says this:

httpd.service - The Apache HTTP Server
   Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Sat 2020-11-14 11:44:24 CST; 2min 43s ago
     Docs: man:httpd(8)
           man:apachectl(8)
  Process: 31934 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, status=0/SUCCESS)
  Process: 18391 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited, status=1/FAILURE)
 Main PID: 18391 (code=exited, status=1/FAILURE)

5
CSF Firewall / How to redirect hacker after lfd IP block
« on: October 13, 2020, 07:57:39 PM »
Is it possible to write a script or hack some php code to redirect a hacker after the lfd firewall blocks an IP for an unsuccessful login? I'm receiving 50 to 60 blocked IP email daily  >:( and need a good solution. Thoughts anyone?

6
Apache / Re: Starting today - slow server and slow loading websites
« on: September 09, 2020, 02:59:12 PM »
I fixed my CWP login problem. After logging into the console, i ran the command - service cwpsrv status. There was an error that said the service failed to start. So I ran - sh /scripts/restart_cwpsrv. Then the service started and I'm able to login as usual.

But I still don't know what caused the problem...  ???

7
Apache / Re: Starting today - slow server and slow loading websites
« on: September 09, 2020, 02:03:28 PM »
Next error is, when I load a bookmarked page for webmail, the error is:

503 Service Unavailable - The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.

But all of the websites are loading okay. I just can't access the CWP now. Where are error logs I can read?

8
Apache / Re: Starting today - slow server and slow loading websites
« on: September 09, 2020, 01:37:25 PM »
Just now, I can't connect to CWP on port 2087. What should I be checking/troubleshooting to fix this?

9
Apache / Starting today - slow server and slow loading websites
« on: September 09, 2020, 01:19:37 PM »
I have been running Centos Web Panel now for almost 60 days. It has always been very fast loading the panel, and all of my websites have loaded quickly. Now today, the web panel and all of the websites I host are loading slowly. There has not been any updates yesterday or today and there are no errors in the web panel.

I'm running  CWP Pro version: 0.9.8.1007, PHP 7.4.5 and Apache/2.4.39, Nginx, Varnish. I have the web panel configured with a dual Xeon CPU, 4gb ram and a 4gb swap file. What could be causing this sudden slowdown?

10
CentOS-WebPanel GUI / Re: Domain caching problem
« on: July 31, 2020, 04:19:56 PM »
Thanks. I figured this one out. All I had to do was use a WordPress plugin that did a search on the database and changed all references from http to https, and it worked. It only appeared to be a caching problem. This one is closed.

11
Thanks cynique. That was the correct file location. I understand your comments. I do need to setup country blocking and mod security. I'm using nginx-varnish-apache.

12
You are correct that there is an index.html file in that location, but I deleted it and the test page still shows. Even after clearing my cache and changing browsers. There must be another index.html file in a different location.

13
CSF Firewall / Centos Web Panel server test page attracting hackers
« on: July 30, 2020, 09:09:24 PM »
I need someone to tell me from what folder this index.html file is in for the Centos Web Panel server test page. I removed one from my server's domain name's public_html folder already. Now this one is somewhere else for my mail.mailserver.com.

What folder is it in? This index file seems to be attracting hackers and I need to change it. Please help.  :(

14
Other / Re: Centos Web Panel server test page
« on: July 30, 2020, 06:39:46 PM »
You don't understand. That's not my server's real domain name. I just didn't see the importance of using my real domain name. The most important point is - where is Centos Web Panel displaying the test page from? What folder?

15
Other / Centos Web Panel server test page
« on: July 30, 2020, 05:54:40 PM »
My server's domain is mydomain.com and my hostname for the mail server inside of Centos Web Panel is mail.mydomain.com. The problem I have is - there's a Centos Web Panel server test page that displays at mail.mydomain.com. I want to replace that page but I don't know where it is loading from.

I've already uploaded an index.html file  in the public_html folder for mydomain.com that displays, but I can't find the location for mail.mydomain.com, where the Centos Web Panel server test page is loading from. Where is it?

Pages: [1] 2