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

Pages: [1] 2 3 4
1


if you want to disable this and that...
it will make error for the CWP panel.. because: (the simple example)

CWP will tell ERROR found, cannot load email
why cwp tell error?
when cwp root or user loaded, it will check link integrity...

even you have already fix that,everytime cwp update (i think) u will need to re-do what u do before.
simple way
goto startup services and disable it.

but it will broke something
about dns, you can edit the template, or just ignore it.. from CF  u use IN A ? correct  ? i use CF for some my personal domain... and i set IN A and Route CF MX to gmail ...
if i have client, i just ask them to add domain DNS to my free CF DNS (savvy.xxxx or something)

and just simple like that. if i want spam score (email 10/10) i just copy my SPF/DMARC/DKIP from cwp to CF (actually there is some script to do that automatically, but for me is dificult. im n00b and too lazy RTFM )


Ok, where can I find "startup services" and where can I disable it?
Yes, I am completely using Cloudflare. So, I manually enter the DNS configuration.
I use MXRoute for my email service or MX something.
The CWP is just simply and mainly for web hosting.

2
Installation / New installation of CWP on Alma Linux 9. Will it work?
« on: February 20, 2023, 02:56:24 PM »
I am planning to install CWP in another VPS. I have tried using Alma Linux 8, and it works. How about Alma Linux 9? Is it already compatible with it? Thanks.

3
Updates / Re: Is it safe to update/upgrade server?
« on: February 20, 2023, 11:29:26 AM »
We do ours on a regular basis, no problems.

Make sure your nginx is enabled using systemctl.

Currently we had upgraded MariaDB to 10.10.3, and use the postfix repo.
The cwp.repo has been disabled.
CWP Repo disabled? Huh? What happened?

4
CentOS-WebPanel Bugs / Re: nginx does not start automatically
« on: February 20, 2023, 11:25:36 AM »
actually if you read the tail -f (the log) you can see that some-domain.tld having error, all you need is remove the dns/zone
or.... maybe just like your case.... BIND

That's weird. I use Cloudflare DNS so I think BIND would be completely bypassed. Right?

5
CentOS-WebPanel Bugs / Re: nginx does not start automatically
« on: February 17, 2023, 08:35:58 AM »
Thanks for replying, even though I do not know what BIND is and how to configure it and even how it works.

What I did is the following:

Quote
So you need to tell your linux to allow processes to bind to the non-local address. Just add the following line into /etc/sysctl.conf file:

# allow processes to bind to the non-local address
# (necessary for apache/nginx in Amazon EC2)
net.ipv4.ip_nonlocal_bind = 1
and then reload your sysctl.conf by:

$ sysctl -p /etc/sysctl.conf

which will be fine on reboots.

It is from this site.

After I did that, I can restart the server and nginx will automatically start.

6
Updates / Re: Is it safe to update/upgrade server?
« on: February 17, 2023, 08:33:35 AM »
when u have control panel,
try to not touch cli :D


at least that the one most important thing i've learn from CPanel and other panel

I see. Thanks! So, how can I update it? :)

7
Hi there,

I plan to install mod PageSpeed since I use Apache mainly to process PHP and display web pages before going through Varnish and nginx.

Will it be compatible with CWP? I hope it won't have conflicts, though.

Here is my CWP configuration:





Thanks.

8
I am a CWP Pro user, and I love it! I am about to celebrate my first year next month!

I wonder if there is a way to prevent the installation of the built-in DNS feature of CWP because I am using Cloudflare for it. And also, the main features, too, because I use another service (website) to handle the emails of my domain.

It is because I see many errors. Regardless of how often I start my VPS, I still see the same errors. And some of them, when I start the mail services manually, they eat up a lot of memory and processes.



Let me know your thoughts, and hopefully, we'll devise a solution.

More info about my VPS and CWP installation:





Thanks!

9
CentOS-WebPanel Bugs / nginx does not start automatically
« on: February 16, 2023, 06:06:14 AM »
It started when I updated the repo, then even when I updated the entire server using dnf upgrade -y



Code: [Select]
● nginx.service - The nginx HTTP and reverse proxy server
   Loaded: loaded (/usr/lib/systemd/system/nginx.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Wed 2023-02-15 17:29:03 EST; 7h ago
  Process: 779 ExecStartPre=/usr/sbin/nginx -t (code=exited, status=1/FAILURE)
  Process: 776 ExecStartPre=/usr/bin/rm -f /run/nginx.pid (code=exited, status=0/SUCCESS)

Feb 15 17:29:02 racknerd-f5**** systemd[1]: Starting The nginx HTTP and reverse proxy server...
Feb 15 17:29:02 racknerd-f5**** nginx[779]: nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
Feb 15 17:29:03 racknerd-f5**** nginx[779]: nginx: [emerg] bind() to 100.xx.xx.xx:80 failed (99: Cannot assign requested address)
Feb 15 17:29:03 racknerd-f5**** nginx[779]: nginx: configuration file /etc/nginx/nginx.conf test failed
Feb 15 17:29:03 racknerd-f5**** systemd[1]: nginx.service: Control process exited, code=exited status=1
Feb 15 17:29:03 racknerd-f5**** systemd[1]: nginx.service: Failed with result 'exit-code'.
Feb 15 17:29:03 racknerd-f5**** systemd[1]: Failed to start The nginx HTTP and reverse proxy server.

What are your thoughts about it?

It works by starting it manually by pressing the green start button.

10
Other / Re: I am not sure if Varnish is working or not.
« on: February 16, 2023, 05:02:43 AM »
Hello,

I would like to ask for help, regarding Varnish.

Whenever I use this method:

Code: [Select]
HTTP: Nginx (80) --> Varnish (82) --> Apache (8181)
HTTPS: Nginx (443) --> Varnish (82) --> Apache (8181)

And follow and use this article; I see randomly generated numbers every time I refresh it.

So, what I did is use this instead,

Code: [Select]
HTTP: Nginx (80) --> Varnish (82)
HTTPS: Nginx (443) --> Varnish (82)

However, it seems that I always receive an error saying:

Code: [Select]
Error 503 Backend fetch failed
I don't understand why. I tried using a Custom Configuration per domain, yet it still does not work.

May you please help me out?

Thanks.

This is the article that I am talking about: https://wiki.centos-webpanel.com/varnish-cache-test

11
Other / I am not sure if Varnish is working or not.
« on: February 16, 2023, 03:24:06 AM »
Hello,

I would like to ask for help, regarding Varnish.

Whenever I use this method:

Code: [Select]
HTTP: Nginx (80) --> Varnish (82) --> Apache (8181)
HTTPS: Nginx (443) --> Varnish (82) --> Apache (8181)

And follow and use this article; I see randomly generated numbers every time I refresh it.

So, what I did is use this instead,

Code: [Select]
HTTP: Nginx (80) --> Varnish (82)
HTTPS: Nginx (443) --> Varnish (82)

However, it seems that I always receive an error saying:

Code: [Select]
Error 503 Backend fetch failed
I don't understand why. I tried using a Custom Configuration per domain, yet it still does not work.

May you please help me out?

Thanks.

12
Updates / Is it safe to update/upgrade server?
« on: February 16, 2023, 01:00:23 AM »
Hello,

I would like to know how I can safely update or upgrade the apps or packages on my server.
Is there a place inside the control panel to update/upgrade the apps, or should I use dnf upgrade -y?

I remembered last year, when I tried to use dnf upgrade -y, it broke the control panel.
Like, whenever I restart the server, nginx does not work. I have to start it manually.
But, I think updating the system would be beneficial, such as protecting it from security vulnerabilities.

Thanks.

13
Updates / nginx does not start automatically after dnf update.
« on: July 21, 2022, 11:36:45 AM »
Hello,

I just did
Code: [Select]
dnf update then
Code: [Select]
shutdown -r now and now nginx does not start automatically.

Code: [Select]
nginx.service - The nginx HTTP and reverse proxy server
   Loaded: loaded (/usr/lib/systemd/system/nginx.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Wed 2022-07-20 23:59:59 EDT; 7h ago
  Process: 790 ExecStartPre=/usr/sbin/nginx -t (code=exited, status=1/FAILURE)
  Process: 788 ExecStartPre=/usr/bin/rm -f /run/nginx.pid (code=exited, status=0/SUCCESS)

Jul 20 23:59:58 racknerd-f58864 systemd[1]: Starting The nginx HTTP and reverse proxy server...
Jul 20 23:59:59 racknerd-f58864 nginx[790]: nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
Jul 20 23:59:59 racknerd-f58864 nginx[790]: nginx: [emerg] bind() to 100.*.*.*:80 failed (99: Cannot assign requested address)
Jul 20 23:59:59 racknerd-f58864 nginx[790]: nginx: configuration file /etc/nginx/nginx.conf test failed
Jul 20 23:59:59 racknerd-f58864 systemd[1]: nginx.service: Control process exited, code=exited status=1
Jul 20 23:59:59 racknerd-f58864 systemd[1]: nginx.service: Failed with result 'exit-code'.
Jul 20 23:59:59 racknerd-f58864 systemd[1]: Failed to start The nginx HTTP and reverse proxy server.

Is it because I recently requested activation of my IPv6 address?
But when I manually start nginx, it works.

I hope you can help me.

Thanks!

14
CSF Firewall / Re: How to make WireGuard work?
« on: April 05, 2022, 11:25:51 PM »
that line is in the script /etc/csf/csfpost.sh .  It's going to throw an error because the variable $port is not set.  But it should work
Sorry for the late reply. I appreciate your efforts! However, to make things a little less complicated, I just purchased a VPN subscription from PureVPN since they have a partnership with LowEndBox, so I got a good deal and discount for five years. I figured I would mainly use this VPS for hosting sites, which CWP is designed to do.

15
CSF Firewall / Re: How to make WireGuard work?
« on: March 18, 2022, 02:16:04 AM »
he's saying the line should be

/usr/sbin/iptables -I INPUT -p udp --dport 51820 -j ACCEPT

however, putting
port='51820'
at the beginning of the script should have the same effect.
Oh sorry. I guess $port=51820; would not work because I thought bash scripts are similar to PHP.
Unfortunately, it still does not work.
Did I do the right thing by removing and installing firewalld first?
Would you be interested to actually access the server itself? :)

Pages: [1] 2 3 4