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

Pages: [1] 2 3
1
CentOS 7 Problems / 502 Bad Gateway cwpsrv how to fix admin panel
« on: January 05, 2018, 02:35:54 PM »
Hi,

I am getting 502 Bad Gateway cwpsrv how do i fix my admin panel can anyone help.

Can i just reinstall admin panel ?

i am getting some pool on user how i can delete that user pool ? directly from ssh ?

Thanks,
Ahmed.

2
SSL / SSL certificate renew fail ?
« on: December 09, 2017, 07:13:33 AM »
i installed SSL cerificate and after i install SSL certificate it expired after few days and now when i try to renew it then it doesnt renew and it fails to renew.

http://prntscr.com/hl3u2r

3
i found the solution i had to add ray1 and ray2 with ip address in domain record by clicking on the domain in domain zone file

4
i reinstalled centos web panel and after i change nameservers and added domain and click on restart BIND DNS SERVER it showed me this message

● named.service - Berkeley Internet Name Domain (DNS)
   Loaded: loaded (/usr/lib/systemd/system/named.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Mon 2017-05-22 15:07:18 CEST; 6s ago
  Process: 3074 ExecStop=/bin/sh -c /usr/sbin/rndc stop > /dev/null 2>&1 || /bin/kill -TERM $MAINPID (code=exited, status=0/SUCCESS)
  Process: 2739 ExecStart=/usr/sbin/named -u named $OPTIONS (code=exited, status=0/SUCCESS)
  Process: 3084 ExecStartPre=/bin/bash -c if [ ! "$DISABLE_ZONE_CHECKING" == "yes" ]; then /usr/sbin/named-checkconf -z /etc/named.conf; else echo "Checking of zone files is disabled"; fi (code=exited, status=1/FAILURE)
 Main PID: 2742 (code=exited, status=0/SUCCESS)

May 22 15:07:18 sd-112347 bash[3084]: zone ray1.agapechristianchatroom.com/IN: loaded serial 2013071600
May 22 15:07:18 sd-112347 bash[3084]: zone ray2.agapechristianchatroom.com/IN: loaded serial 2013071600
May 22 15:07:18 sd-112347 bash[3084]: zone agapechristianchatroom.com/IN: NS 'ray1.agapechristianchatroom.com' has no address records (A or AAAA)
May 22 15:07:18 sd-112347 bash[3084]: zone agapechristianchatroom.com/IN: NS 'ray2.agapechristianchatroom.com' has no address records (A or AAAA)
May 22 15:07:18 sd-112347 bash[3084]: zone agapechristianchatroom.com/IN: not loaded due to errors.
May 22 15:07:18 sd-112347 bash[3084]: _default/agapechristianchatroom.com/IN: bad zone
May 22 15:07:18 sd-112347 systemd[1]: named.service: control process exited, code=exited status=1
May 22 15:07:18 sd-112347 systemd[1]: Failed to start Berkeley Internet Name Domain (DNS).
May 22 15:07:18 sd-112347 systemd[1]: Unit named.service entered failed state.
May 22 15:07:18 sd-112347 systemd[1]: named.service failed.


what is missing ?

can anyone quickly tell me ?

i never had this problem earlier.

5
when i try to restart BIND DNS SERVER after adding DNS and domains.

i get this message

Job for named.service failed because the control process exited with error code. See "systemctl status named.service" and "journalctl -xe" for details.

FAILED

when i click on status of BIND DNS SERVER to see what is the problem.

it shows me this message

● named.service - Berkeley Internet Name Domain (DNS)
   Loaded: loaded (/usr/lib/systemd/system/named.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Mon 2017-05-22 13:58:44 CEST; 1min 7s ago
  Process: 24936 ExecStop=/bin/sh -c /usr/sbin/rndc stop > /dev/null 2>&1 || /bin/kill -TERM $MAINPID (code=exited, status=0/SUCCESS)
  Process: 26071 ExecStartPre=/bin/bash -c if [ ! "$DISABLE_ZONE_CHECKING" == "yes" ]; then /usr/sbin/named-checkconf -z /etc/named.conf; else echo "Checking of zone files is disabled"; fi (code=exited, status=1/FAILURE)
 Main PID: 7289 (code=exited, status=0/SUCCESS)

May 22 13:58:44 163-172-91-98.rev.poneytelecom.eu bash[26071]: zone ray2.agapechristianchatroom.com/IN: loaded serial 2013071600
May 22 13:58:44 163-172-91-98.rev.poneytelecom.eu bash[26071]: zone agapechristianchatroom.com/IN: NS 'ray1.agapechristianchatroom.com' has no address records (A or AAAA)
May 22 13:58:44 163-172-91-98.rev.poneytelecom.eu bash[26071]: zone agapechristianchatroom.com/IN: NS 'ray2.agapechristianchatroom.com' has no address records (A or AAAA)
May 22 13:58:44 163-172-91-98.rev.poneytelecom.eu bash[26071]: zone agapechristianchatroom.com/IN: not loaded due to errors.
May 22 13:58:44 163-172-91-98.rev.poneytelecom.eu bash[26071]: _default/agapechristianchatroom.com/IN: bad zone
May 22 13:58:44 163-172-91-98.rev.poneytelecom.eu bash[26071]: zone whatstruelove.com/IN: loaded serial 2013071600
May 22 13:58:44 163-172-91-98.rev.poneytelecom.eu systemd[1]: named.service: control process exited, code=exited status=1
May 22 13:58:44 163-172-91-98.rev.poneytelecom.eu systemd[1]: Failed to start Berkeley Internet Name Domain (DNS).
May 22 13:58:44 163-172-91-98.rev.poneytelecom.eu systemd[1]: Unit named.service entered failed state.
May 22 13:58:44 163-172-91-98.rev.poneytelecom.eu systemd[1]: named.service failed.


i didnt even touch named.service or edited named in DNS.

can you tell me how to resolve this ?

A records is pointed correctly and DNS is also set correctly.

what shall i do now to resolve this issue ?

6
ok i found article from google and i update yum by typing

yum update

from SSH command line

now when i added ssl certificate to my domain

but it showed me a message after adding the ssl certificate that it cannot restart httpd

Stopping httpd: [  OK  ]
Starting httpd: httpd: Syntax error on line 192 of /etc/httpd/conf/httpd.conf: Cannot load /etc/httpd/modules/mod_proxy_wstunnel.so into server: /etc/httpd/modules/mod_proxy_wstunnel.so: cannot open shared object file: No such file or directory
[FAILED]

now what shall i do to resolve this ?

7
after installing letsencrypt when adding ssl to domain i get this message


WARNING! Letsenycrpt Certificate installation failed, please check /etc/letsencrypt/live/domain.com !
yum is /usr/bin/yum
Package augeas-libs-1.0.0-10.el6.x86_64 already installed and latest version
Package libffi-devel-3.0.5-3.2.el6.x86_64 already installed and latest version
Package redhat-rpm-config-9.0.3-51.el6.centos.noarch already installed and latest version
Package python-2.6.6-66.el6_8.x86_64 already installed and latest version
Package python-devel-2.6.6-66.el6_8.x86_64 already installed and latest version
Package python-tools-2.6.6-66.el6_8.x86_64 already installed and latest version
Error:  Multilib version problems found. This often means that the root
       cause is something else and multilib version checking is just
       pointing out that there is a problem. Eg.:
       
         1. You have an upgrade for openssl which is missing some
            dependency that another package requires. Yum is trying to
            solve this by installing an older version of openssl of the
            different architecture. If you exclude the bad architecture
            yum will tell you what the root cause is (which package
            requires what). You can try redoing the upgrade with
            --exclude openssl.otherarch ... this should give you an error
            message showing the root cause of the problem.
       
         2. You have multiple architectures of openssl installed, but
            yum can only see an upgrade for one of those arcitectures.
            If you don't want/need both architectures anymore then you
            can remove the one with the missing update and everything
            will work.
       
         3. You have duplicate versions of openssl installed already.
            You can use "yum check" to get yum show these errors.
       
       ...you can also use --setopt=protected_multilib=false to remove
       this checking, however this is almost never the correct thing to
       do as something else is very likely to go wrong (often causing
       much more problems).
       
       Protected multilib versions: openssl-1.0.1e-57.el6.x86_64 != openssl-1.0.1e-48.el6_8.4.i686
Could not install OS dependencies. Aborting bootstrap!


now what shall i do ?

8
i figured out problem by deleting nameserver from centos web panel front page right bottom site by clicking on change and retyping nameservers in small letters.

this is a bug in centos web panel, i think caps doesnt works and it doesnt bind dns.

9
do i need to create A records on domain registrar ? because on domain registrar A records is already there and on hosting where centos web panel is installed A records is there.

What shall i do now ?

Can you confirm.

10
this is the information.

named.service - Berkeley Internet Name Domain (DNS)
   Loaded: loaded (/usr/lib/systemd/system/named.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Wed 2017-03-29 11:23:53 EDT; 20s ago
  Process: 889 ExecStartPre=/bin/bash -c if [ ! "$DISABLE_ZONE_CHECKING" == "yes" ]; then /usr/sbin/named-checkconf -z /etc/named.conf; else echo "Checking of zone files is disabled"; fi (code=exited, status=1/FAILURE)

Mar 29 11:23:53 agapechristianchatroom.com bash[889]: zone NS2.AGAPECHRISTIANCHATROOM.COM/IN: loaded serial 2013071600
Mar 29 11:23:53 agapechristianchatroom.com bash[889]: zone agapechristianchatroom.com/IN: NS 'NS1.AGAPECHRISTIANCHATROOM.COM' has no address records (A or AAAA)
Mar 29 11:23:53 agapechristianchatroom.com bash[889]: zone agapechristianchatroom.com/IN: NS 'NS2.AGAPECHRISTIANCHATROOM.COM' has no address records (A or AAAA)
Mar 29 11:23:53 agapechristianchatroom.com bash[889]: zone agapechristianchatroom.com/IN: not loaded due to errors.
Mar 29 11:23:53 agapechristianchatroom.com bash[889]: _default/agapechristianchatroom.com/IN: bad zone
Mar 29 11:23:53 agapechristianchatroom.com bash[889]: zone whatstruelove.com/IN: loaded serial 2013071600
Mar 29 11:23:53 agapechristianchatroom.com systemd[1]: named.service: control process exited, code=exited status=1
Mar 29 11:23:53 agapechristianchatroom.com systemd[1]: Failed to start Berkeley Internet Name Domain (DNS).
Mar 29 11:23:53 agapechristianchatroom.com systemd[1]: Unit named.service entered failed state.
Mar 29 11:23:53 agapechristianchatroom.com systemd[1]: named.service failed.

11
after i setup dns and try to restart DNS i get this message

Job for named.service failed because the control process exited with error code. See "systemctl status named.service" and "journalctl -xe" for details.

Any solution ?

12
In menu click on apache settings

then

click on letsencrypt manager

then

on right side in a box on a page which opened when you clicked on letsencrypt manager just look for

Letsencrypt Configuration
Configuration files:
- CWP Configuration
- Apache Configuration

* Still under beta, report any issue here.

then click on - CWP Configuration

and you will find line like

:example.com:user:/home/user/public_html:test@example.com:127.0.0.1:443:

just add in the line

:example.com:user:/home/user/public_html:test@example.com:127.0.0.1:443:www

Save and visit your website

make sure you added redirect to https:// in vhosts


13
i added https redirect in vhost so its redirecting to https otherwise it was opening http site

14
after installing ssl it wont open domain with directory when typed without https

if i type example.com/test it opens directory like example.comtest

so what shall i do for domain to be opened correctly when typed directly without https:// in the browser.

15
the easiest way is to click on right box of letsencrypt where it shows 2 links and add single line to it for adding www and it works.

note : you can get the single line of www by adding new ssl to another domain by checkmarking www and it will show the new line in right box one of 2 configuaration files.

It is the easiest one.

Pages: [1] 2 3