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.
16
CentOS-WebPanel GUI / Re: How cwp gui work ?
« on: August 20, 2017, 04:53:00 PM »
find . -type f -name '*.conf' | xargs grep "2030"
17
Information / Re: Disk usage on CWP web panel showing 0/0?
« on: August 20, 2017, 04:20:46 PM »
edit : wrong post
18
DNS / Re: How to Setup DNS (BIND) on server
« on: July 25, 2017, 05:24:59 PM »I think I've set up DNS correctly, but when I go to the registrar for my hosted domain broadey.co.uk I get an unhelpful message "error setting nameservers" when I try to set them to ns1.breit.co.uk and ns2.breit.co.uk (breit.co.uk is my CWP hosting domain name, which is on a PlanetHippo.co.uk VPS) at the registrar for that domain (which is 123-reg.co.uk).
If I do "nslookup broadey.co.uk ns1.breit.co.uk" then I get the right answer, so I must be doing something right.
The tutorials and other info are really poor. The examples talk about setting your CWP nameservers to "n1.centos-webpanel.com" but that seems plain wrong - surely you need to be using the domain name of your CWP host (which in my case is webpanel.breit.co.uk, though I've added A records for ns1 and ns2 at the registrar for that domain).
I used CWP -> DNS Functions -> Edit Nameservers IPs to set them to ns1.breit.co.uk and ns2.breit.co.uk using the public IP address of my VPS. In CWP -> DNS Function -> List DNS Zones this gives me zones for ns1.breit.co.uk and ns2.breit.co.uk.
I then created an account for broadey.co.uk. This gives me a zone file broadey.co.uk.db containingCode: [Select]broadey.co.uk. 86400 IN NS ns1.breit.co.uk.
but in line with the instructions in this post I added
broadey.co.uk. 86400 IN NS ns2.breit.co.uk.Code: [Select]ns1 14400 IN A 78.129.139.89
and restarted BIND. None of this has helped. I still can't set ns1.breit.co.uk as the nameserver for broadey.co.uk at the registrar 123-reg.co.uk. What is it that the registrar is looking for that I am failing to provide?
ns2 14400 IN A 78.129.139.89
Create a glue record for your ns.
19
DNS / Re: Name Server Not Working
« on: July 25, 2017, 05:23:36 PM »it could be if they have nat-ed network and port access restrictions...but you should see that in your panel
When running test on your server it doesn't show any output meaning that this can be port restriction.
~ $ dig a ppdb-online.web.id @139.99.2.142
; <<>> DiG 9.10.3-P4-Ubuntu <<>> a ppdb-online.web.id @139.99.2.142
;; global options: +cmd
;; connection timed out; no servers could be reached
Here is the output
Code: [Select]
[root@racksx ~]# dig a ppdb-online.web.id @139.99.2.142
; <<>> DiG 9.9.4-RedHat-9.9.4-50.el7_3.1 <<>> a ppdb-online.web.id @139.99.2.142
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 50233
;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 3, ADDITIONAL: 4
;; WARNING: recursion requested but not available
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;ppdb-online.web.id. IN A
;; ANSWER SECTION:
ppdb-online.web.id. 0 IN A 139.99.2.142
;; AUTHORITY SECTION:
ppdb-online.web.id. 86400 IN NS ns3.ppdb-online.web.id.
ppdb-online.web.id. 86400 IN NS ns1.ppdb-online.web.id.
ppdb-online.web.id. 86400 IN NS ns2.ppdb-online.web.id.
;; ADDITIONAL SECTION:
ns1.ppdb-online.web.id. 1800 IN A 139.99.2.142
ns2.ppdb-online.web.id. 1800 IN A 139.99.2.142
ns3.ppdb-online.web.id. 1800 IN A 139.99.2.142
;; Query time: 0 msec
;; SERVER: 139.99.2.142#53(139.99.2.142)
;; WHEN: Tue Jul 25 13:21:49 EDT 2017
;; MSG SIZE rcvd: 165
[root@racksx ~]#
What do you think ?
And I am pretty sure it's not NAT.
20
DNS / Re: Name Server Not Working
« on: July 25, 2017, 04:55:54 PM »you need to check your zone file ppdb-online.web.id and add there ns1, ns2 and ns3 A records.
don't forget that you need to have this also in your dns zone for domain ppdb-online.web.idCode: [Select]ppdb-online.web.id. 86400 IN SOA ns1.ppdb-online.web.id. yokowasis.gmail.com. (
and thisCode: [Select]ppdb-online.web.id. 86400 IN NS ns1.ppdb-online.web.id.
ppdb-online.web.id. 86400 IN NS ns2.ppdb-online.web.id.
ppdb-online.web.id. 86400 IN NS ns3.ppdb-online.web.id.
after you checked all then restart dns/bind server.
One more thing that could be is that your CSF firewall has no open tcp/udp port 53 so you can check that also if all other is fine.
it's all there
Code: [Select]
; Panel %version%
; Zone file for ppdb-online.web.id
$TTL 14400
ppdb-online.web.id. 86400 IN SOA ns1.ppdb-online.web.id. yokowasis.gmail.com. (
2017072511 ;serial, todays date+todays
86400 ;refresh, seconds
7200 ;retry, seconds
3600000 ;expire, seconds
86400 ;minimum, seconds
)
ppdb-online.web.id. 86400 IN NS ns1.ppdb-online.web.id.
ppdb-online.web.id. 86400 IN NS ns2.ppdb-online.web.id.
ppdb-online.web.id. 86400 IN NS ns3.ppdb-online.web.id.
ppdb-online.web.id. 0 IN A 139.99.2.142
localhost.ppdb-online.web.id. 0 IN A 127.0.0.1
ppdb-online.web.id. 0 IN MX 5 ppdb-online.web.id.
mail 0 IN CNAME ppdb-online.web.id.
www 0 IN CNAME ppdb-online.web.id.
ftp 0 IN CNAME ppdb-online.web.id.
; Add additional below this line
ns1.ppdb-online.web.id. 1800 IN A 139.99.2.142
ns2.ppdb-online.web.id. 1800 IN A 139.99.2.142
ns3.ppdb-online.web.id. 1800 IN A 139.99.2.142
My firewall is off. I think we can rule that out.
Now that I think of it. I am on OVH Network. Do you think it has anything to do with this ?
21
DNS / Re: Name Server Not Working
« on: July 25, 2017, 10:07:23 AM »Can you try to recreate account for ppdb-online.web.id domain name on CWP and see how it goes?
Still not working
22
DNS / Re: Name Server Not Working
« on: July 24, 2017, 06:41:38 PM »
Dig Result
Code: [Select]
[root@racksx ~]# dig ppdb-online.web.id @localhost
; <<>> DiG 9.9.4-RedHat-9.9.4-50.el7_3.1 <<>> ppdb-online.web.id @localhost
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 46777
;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 3
;; WARNING: recursion requested but not available
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;ppdb-online.web.id. IN A
;; ANSWER SECTION:
ppdb-online.web.id. 86400 IN A 139.99.2.142
;; AUTHORITY SECTION:
ppdb-online.web.id. 86400 IN NS ns1.ppdb-online.web.id.
ppdb-online.web.id. 86400 IN NS ns2.ppdb-online.web.id.
;; ADDITIONAL SECTION:
ns1.ppdb-online.web.id. 14400 IN A 139.99.2.142
ns2.ppdb-online.web.id. 14400 IN A 139.99.2.142
;; Query time: 0 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Mon Jul 24 14:39:41 EDT 2017
;; MSG SIZE rcvd: 131
[root@racksx ~]#
23
Addons / Re: Change user password via API
« on: July 24, 2017, 06:00:07 PM »I want to write API function for change user password.
I see php files are encrypted so I do not know how start with it.
Any help ?
users password store in /etc/shadow
I think
24
DNS / Re: Name Server Not Working
« on: July 24, 2017, 05:57:57 PM »ppdb-online.web.id is currently pointing to 89.37.67.130 IP address.
As per intodns link https://intodns.com/ppdb-online.web.id
ppdb-online.web.id domain name is using uk1/uk2.bimasoft.web.id nameservers at registrar end and ns1/ns2.bimasoft.web.id at server end which are mismatched and ns1/ns2.bimasoft.web.id doesn't exists at registrar end.
So you will need to fix this part first.
Once done then try to add NS1 and NS2 at 89.37.67.130 server end.
Now it's back to
ns1.ppdb-online.web.id and
ns2.ppdb-online.web.id.
My server IP is 139.99.2.142. I already have added the ns1 and ns2 record. Yet the domain still unresolved.
25
DNS / Re: Name Server Not Working
« on: July 24, 2017, 02:01:08 PM »ppdb-online.web.id is currently pointing to 89.37.67.130 IP address.
As per intodns link https://intodns.com/ppdb-online.web.id
ppdb-online.web.id domain name is using uk1/uk2.bimasoft.web.id nameservers at registrar end and ns1/ns2.bimasoft.web.id at server end which are mismatched and ns1/ns2.bimasoft.web.id doesn't exists at registrar end.
So you will need to fix this part first.
Once done then try to add NS1 and NS2 at 89.37.67.130 server end.
Yeah, I just want to make sure that my registrar do the right thing. So I point it to the cPanel. and it Works. The domain got resolved easily. I guess something wrong with my CWP settings. I wonder which settings. I will revert back the name server.
Do you see anything wrong with my settings above ?
26
DNS / Re: Name Server Not Working
« on: July 24, 2017, 10:51:51 AM »you can use this site for testing
http://leafdns.com/index.cgi?testid=A99064F4
this is issue on your server since dns part of your domain provider is ok, now what you need to do is set in cwp your nameserver and edit dns zone file ppdb-online.web.id tu use that nameservers
Your nameservers are:
ns1.ppdb-online.web.id
ns2.ppdb-online.web.id
I believe I already set it right.
Code: [Select]
; Panel %version%
; Zone file for ppdb-online.web.id
$TTL 14400
ppdb-online.web.id. 86400 IN SOA ns1.ppdb-online.web.id. yokowasis.gmail.com. (
2017072400 ;serial, todays date+todays
86400 ;refresh, seconds
7200 ;retry, seconds
3600000 ;expire, seconds
86400 ;minimum, seconds
)
ppdb-online.web.id. 86400 IN NS ns1.ppdb-online.web.id.
ppdb-online.web.id. 86400 IN NS ns2.ppdb-online.web.id.
ppdb-online.web.id. 0 IN A 139.99.2.142
localhost.ppdb-online.web.id. 0 IN A 127.0.0.1
ppdb-online.web.id. 0 IN MX 5 ppdb-online.web.id.
mail 0 IN CNAME ppdb-online.web.id.
www 0 IN CNAME ppdb-online.web.id.
ftp 0 IN CNAME ppdb-online.web.id.
; Add additional below this line
ns1 86400 IN A 139.99.2.142
ns2 86400 IN A 139.99.2.142
Is there something I am missing here ?
Thanks
27
DNS / Name Server Not Working
« on: July 24, 2017, 04:52:51 AM »
here is my domain
https://intodns.com/ppdb-online.web.id
I totally have no idea what I did wrong.
Here is what I did so far :
1. Add Glue Record on Registrar (ns1.ppdb-online.web.id, ns2.ppdb-online.web.id)
2. Set ppdb-online.web.id nameserver to ns1.ppdb-online.web.id, ns2.ppdb-online.web.id
3. in CWP. DNS Function -> Edit nameserver IP.
ns1.ppdb-online.web.id 139.99.2.142
ns2.ppdb-online.web.id 139.99.2.142
The domain still won't get resolved. What did I do wrong ?
https://intodns.com/ppdb-online.web.id
I totally have no idea what I did wrong.
Here is what I did so far :
1. Add Glue Record on Registrar (ns1.ppdb-online.web.id, ns2.ppdb-online.web.id)
2. Set ppdb-online.web.id nameserver to ns1.ppdb-online.web.id, ns2.ppdb-online.web.id
3. in CWP. DNS Function -> Edit nameserver IP.
ns1.ppdb-online.web.id 139.99.2.142
ns2.ppdb-online.web.id 139.99.2.142
The domain still won't get resolved. What did I do wrong ?
28
New Modules / Re: [module] Auto Login FTP
« on: July 22, 2017, 04:09:51 AM »Error! Couldn't authenticate your login
Ding Tested on CWP6pro.
There is a variable typo on the code. But it's about wrong directory assigned to wrong account.
I have fixed it. Tested on BOTH Centos 6 and 7, both 64 bit. Works good. Let me know if you still have a problem.
29
SSL / Why user can't add / generate its own SSL Certificate ?
« on: July 22, 2017, 03:38:19 AM »
Either it is not possible, or I can't find it.
30
New Modules / Re: [module] Cloudflare - Simple 1-click install or uninstall
« on: July 22, 2017, 03:17:16 AM »httpd.service - The Apache HTTP Server
Loaded: loaded (/usr/lib/systemd/system/httpd.service; disabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Fri 2017-07-21 14:27:14 EDT; 2s ago
Docs: man:httpd(
man:apachectl(
Process: 15689 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, status=1/FAILURE)
Process: 15687 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited, status=1/FAILURE)
Main PID: 15687 (code=exited, status=1/FAILURE)
I have this error and it does not start me apache.can help me
Well, he did say, do not Install it in a RED BIG FONT. Probably because the module break or something.