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

Pages: [1] 2
1
DNS / Re: How to Setup DNS (BIND) on server
« on: July 09, 2020, 10:47:34 AM »
Hello,
When i add a new domain, that responde to network ip, how can resolve that?


; Generated by CWP
; Zone file for example.pt
$TTL 14400
@    86400        IN     SOA     ns1.example.agency. postmaster.example.pt. (
                                2020070947 ; serial, todays date+todays
                                3600            ; refresh, seconds
                                7200            ; retry, seconds
                                1209600         ; expire, seconds
                                86400 )         ; minimum, seconds
@   86400   IN   NS              ns1.example.agency.
@   86400   IN   NS              ns2.example.agency.
@ IN A 172.30.0.1
localhost.example.pt. IN A 127.0.0.1
@ IN MX 0 example.pt.
mail 14400 IN CNAME example.pt.
smtp 14400 IN CNAME example.pt.
pop  14400 IN CNAME example.pt.
pop3 14400 IN CNAME example.pt.
imap 14400 IN CNAME example.pt.
webmail 14400 IN A 172.30.0.1
cpanel 14400 IN A 172.30.0.1
cwp 14400 IN A 172.30.0.1
www 14400 IN CNAME example.pt.
ftp 14400 IN CNAME example.pt.
_dmarc  14400   IN   TXT     "v=DMARC1; p=none"
@   14400   IN   TXT     "v=spf1 +a +mx +ip4:172.30.0.1 ~all"


2
PHP / Re: Need php ldap and snmp module for PHP Version 7.3.2
« on: November 25, 2019, 05:04:29 PM »
Same problem

3
PHP Selector / Re: php_selector3 Error
« on: June 05, 2019, 11:32:40 AM »
Have same problem. Someone can help me?

mkdir: cannot create directory '/opt/alt/php-fpm73/usr/var/sockets/': No such file or directory
mkdir: cannot create directory '/opt/alt/php-fpm73/usr/etc/php-fpm.d/': No such file or directory
mkdir: cannot create directory '/opt/alt/php-fpm73/usr/etc/php-fpm.d/users/': No such file or directory
/usr/local/src/php-fpm-7.3.sh: line 92: /opt/alt/php-fpm73/usr/etc/php-fpm.d/users.conf: No such file or directory
/usr/local/src/php-fpm-7.3.sh: line 93: /opt/alt/php-fpm73/usr/etc/php-fpm.conf: No such file or directory
/usr/local/src/php-fpm-7.3.sh: line 95: /opt/alt/php-fpm73/usr/etc/php-fpm.d/cwpsvc.conf: No such file or directory
cp: cannot stat 'sapi/fpm/php-fpm.service': No such file or directory
sed: can't read /usr/lib/systemd/system/php-fpm73.service: No such file or directory
sed: can't read /usr/lib/systemd/system/php-fpm73.service: No such file or directory
Failed to execute operation: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Skipping as php build failed
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Skipping as php build failed
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Skipping as php build failed
exe:/opt/alt/php-fpm73/usr/sbin/php-fpm
Redirecting to /bin/systemctl restart httpd.service

4
PHP Selector / Re: Upgrade buildconf 2.63
« on: June 05, 2019, 10:58:38 AM »
Dont wok for me in PHP 7.3, PHP 7.2 UPDATE, PHP 7.1 and PHP 7.0.

PHP 5.3, PHP 5.4, complile and install and works fine.


LOG
.....
checking whether to enable JIS-mapped Japanese font support in GD... yes
If configure fails try --with-webp-dir=<DIR>
checking for jpeg_read_header in -ljpeg... yes
checking for png_write_image in -lpng... yes
checking for XpmFreeXpmImage in -lXpm... yes
checking for fabsf... yes
checking for floorf... yes
checking for GNU gettext support... yes
checking for bindtextdomain in -lintl... no
checking for bindtextdomain in -lc... yes
checking for ngettext in -lc... yes
checking for dngettext in -lc... yes
checking for dcngettext in -lc... yes
checking for bind_textdomain_codeset in -lc... yes
checking for GNU MP support... yes
configure: error: Unable to locate gmp.h
make: *** No targets specified and no makefile found.  Stop.
make: *** No rule to make target `install'.  Stop.
Redirecting to /bin/systemctl restart httpd.service




Hello,
i have found the solution.
You need to download and install manually new version of m4 autom4te and autoconf.
You can do so by doing:

cd /usr/local/src
wget https://ftp.gnu.org/pub/gnu/autoconf/autoconf-2.69.tar.gz
tar zxvf autoconf-2.69.tar.gz
cd autoconf-2.69*
./configure
make && make install
mv /usr/bin/autoconf /usr/bin/autoconf.bak
cp /usr/local/bin/autoconf /usr/bin/autoconf

same thing with autom4te and m4 (extract, configure, make, make install and than copy it from /usr/local/bin/xxx to /usr/bin/xxx
download links are:
https://ftp.gnu.org/pub/gnu/automake/automake-1.15.tar.gz
https://ftp.gnu.org/pub/gnu/m4/m4-1.4.18.tar.gz

After this i was able to compile php7.

5
CentOS 7 Problems / Re: Clamav + Amavis not auto starting
« on: May 14, 2019, 03:43:30 PM »
Some one can help me?



● clamd.service - clamd scanner () daemon
   Loaded: loaded (/usr/lib/systemd/system/clamd.service; static; vendor preset: disabled)
   Active: failed (Result: start-limit) since Tue 2019-05-14 16:39:58 BST; 2min 26s ago

  Process: 40721 ExecStart=/usr/sbin/clamd -c /etc/clamd.d/amavisd.conf --foreground=yes (code=exited, status=1/FAILURE)
 Main PID: 40721 (code=exited, status=1/FAILURE)

May 14 16:39:58 WEB01.local systemd[1]: Unit clamd.service entered failed state.
May 14 16:39:58 WEB01.local systemd[1]: clamd.service failed.
May 14 16:39:58 WEB01.local systemd[1]: clamd.service holdoff time over, scheduling restart.
May 14 16:39:58 WEB01.local systemd[1]: Stopped clamd scanner () daemon.
May 14 16:39:58 WEB01.local systemd[1]: start request repeated too quickly for clamd.service
May 14 16:39:58 WEB01.local systemd[1]: Failed to start clamd scanner () daemon.
May 14 16:39:58 WEB01.local systemd[1]: Unit clamd.service entered failed state.
May 14 16:39:58 WEB01.local systemd[1]: clamd.service failed.

6
PHP Selector / Re: php_selector3 Error
« on: December 03, 2018, 03:59:23 PM »
Same problem :@

7
FTP / Re: Virtual users broken (solved)
« on: October 25, 2018, 05:11:43 PM »
Have same issue

8
FTP / Re: Directory listing in FTP gives timeout
« on: October 25, 2018, 05:10:45 PM »
I already reasolved, need open fiwerall ports at my hosting provider.

9
FTP / Re: FTP connection FAILED
« on: October 25, 2018, 05:09:32 PM »
I still cant connet with virtual user xxx@xxx.com, i already try remove @xxx.com

10
FTP / Re: FTP connection problem
« on: October 17, 2018, 01:38:09 PM »
have the same problem

11
FTP / Re: Directory listing in FTP gives timeout
« on: October 17, 2018, 01:36:33 PM »
i try CSF disable too.

12
FTP / Re: Disable passive
« on: October 17, 2018, 01:33:56 PM »
Dont resolve.

13
FTP / Re: FTP on CWP stucks at 'Retrieving directory listing…'
« on: October 17, 2018, 01:18:18 PM »
i have the same problem, did you solve? I try to prodftpd and result, but not support to cwp :(
 

14
Varnish / Re: How to install varnish cache on centos [CWP]
« on: July 30, 2018, 02:46:58 PM »
Good thanks  8)

15
Varnish / Re: How to install varnish cache on centos [CWP]
« on: July 16, 2018, 09:52:48 AM »
hello, my server only have port 80 and 443 opend. All the rest are close, my server is Apache & Varnish Cache & Nginx Reverse Proxy.

So i need open port 82 and 8181?

Result https://www.whatismyip.com/server-headers-check

HTTP/1.1 200 OK
nginx/1.14.0
Mon, 16 Jul 2018 09:50:20 GMT
text/html; charset=utf-8
chunked
keep-alive
Accept-Encoding
200182
0
1.1 varnish (Varnish/5.2)
bytes
HIT from Backend

Pages: [1] 2