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

Pages: [1]
1
E-Mail / Re: Mail server different as Hostname
« on: October 14, 2019, 04:06:34 AM »
is there any way to fix this? whatever manual it is because it's very annoying I can't access my email through the app windows email program because it doesn't have ssl for mall.namadomain.com only mall.hostname.com

2
FTP / FTP Failed (Timeout)
« on: September 20, 2019, 09:33:00 AM »
I've tried restarting server and ftp but it still fails

Code: [Select]
[root@sc ~]# systemctl status pure-ftpd.service
* pure-ftpd.service - Pure-FTPd FTP server
   Loaded: loaded (/usr/lib/systemd/system/pure-ftpd.service; enabled; vendor preset: disabled)
   Active: failed (Result: timeout) since Fri 2019-09-20 04:14:52 CDT; 2min 8s ago
  Process: 31431 ExecStart=/usr/sbin/pure-config.pl /etc/pure-ftpd/pure-ftpd.conf --daemonize (code=exited, status=0/SUCCESS)

Sep 14 11:12:06 xxx.com pure-ftpd[11038]: pam_loginuid(pure-ftpd:session): set_loginuid failed < old log, so no log this error
Sep 14 11:12:35 xxx.com pure-ftpd[11263]: (?@x.x.98.176) [INFO] New connection from x.x.98.176
Sep 14 11:12:36 xxx.com pure-ftpd[11263]: pam_listfile(pure-ftpd:auth): Couldn't open /etc/ftpusers
Sep 14 11:12:36 xxx.com pure-ftpd[11263]: pam_loginuid(pure-ftpd:session): set_loginuid failed

I have also tried updating ssl hostname and copying ssl hostname to /etc/pki/tls/private/pure-ftpd.pem not work
and last time I tried to turn off "SSL/TLS for FTP" still not work

Edit:
I tried to connect to ftp 21 when I tried to restart, it worked but after the timeout I can't access ftp anymore except via ssh 22

3
PHP / Re: Phpmyadmin "502 Bad Gateway" Error
« on: August 11, 2017, 11:12:23 PM »
does cwp and roundcube work fine ?

I also had this kind of problem after restarting the server

web is fine but panel cwp and phpmyadmin got 502

I am trying with
Code: [Select]
fuser -k 80/tcp
fuser -k 8181/tcp
service httpd restart
service nginx restart
service cwpsrv restart
service iptables restart

But it does not work
 

4
PHP / Re: Install ImageMagick or GD ?
« on: April 16, 2016, 11:45:59 PM »
I also had problems when installing ImageMagick
Code: [Select]
[root@siakbary ~]# sh /scripts/install_imagick
CWP Imagick Installer
################################

Loaded plugins: fastestmirror
Setting up Install Process
Loading mirror speeds from cached hostfile
 * base: mirror.us.leaseweb.net
 * extras: mirror.us.leaseweb.net
 * rpmforge: mirror.teklinks.com
 * updates: mirror.us.leaseweb.net
Package ImageMagick-6.7.2.7-2.el6.x86_64 already installed and latest version
Package ImageMagick-devel-6.7.2.7-2.el6.x86_64 already installed and latest version
Package ImageMagick-perl-6.7.2.7-2.el6.x86_64 already installed and latest version
Nothing to do
--2016-04-16 19:43:02--  http://pecl.php.net/get/imagick-3.1.0RC2.tgz
Resolving pecl.php.net... 104.236.228.160
Connecting to pecl.php.net|104.236.228.160|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 93264 (91K) [application/octet-stream]
Saving to: `imagick-3.1.0RC2.tgz'

100%[===================================================================================================================================================================================================>] 93,264      --.-K/s   in 0.07s

2016-04-16 19:43:02 (1.35 MB/s) - `imagick-3.1.0RC2.tgz' saved [93264/93264]

Configuring for:
PHP Api Version:         20151012
Zend Module Api No:      20160303
Zend Extension Api No:   320160303
ln: creating symbolic link `/usr/local/include/ImageMagick': File exists
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for a sed that does not truncate output... /bin/sed
checking for cc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... cc -E
checking for icc... no
checking for suncc... no
checking whether cc understands -c and -o together... yes
checking for system library directory... lib
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for PHP prefix... /usr/local
checking for PHP includes... -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib
checking for PHP extension directory... /usr/local/lib/php/extensions/no-debug-non-zts-20160303
checking for PHP installed headers prefix... /usr/local/include/php
checking if debug is enabled... no
checking if zts is enabled... no
checking for re2c... no
configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers.
checking for gawk... gawk
checking whether to enable the imagick extension... yes, shared
checking whether to enable the imagick GraphicsMagick backend... no
checking ImageMagick MagickWand API configuration program... found in /usr/bin/MagickWand-config
checking if ImageMagick version is at least 6.2.4... found version 6.7.2 Q16
checking for MagickWand.h header file... found in /usr/include/ImageMagick/wand/MagickWand.h
checking PHP version is at least 5.1.3... yes. found 7.1.0-dev
checking for ld used by cc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking the maximum length of command line arguments... 1966080
checking command to parse /usr/bin/nm -B output from cc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC
checking if cc PIC flag -fPIC works... yes
checking if cc static flag -static works... no
checking if cc supports -c -o file.o... yes
checking whether the cc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no

creating libtool
appending configuration tag "CXX" to libtool
configure: creating ./config.status
config.status: creating config.h
find . -name \*.gcno -o -name \*.gcda | xargs rm -f
find . -name \*.lo -o -name \*.o | xargs rm -f
find . -name \*.la -o -name \*.a | xargs rm -f
find . -name \*.so | xargs rm -f
find . -name .libs -a -type d|xargs rm -rf
rm -f libphp.la       modules/* libs/*
/bin/sh /usr/local/src/imagick-3.1.0RC2/libtool --mode=compile cc  -I. -I/usr/local/src/imagick-3.1.0RC2 -DPHP_ATOM_INC -I/usr/local/src/imagick-3.1.0RC2/include -I/usr/local/src/imagick-3.1.0RC2/main -I/usr/local/src/imagick-3.1.0RC2 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/include/ImageMagick  -DHAVE_CONFIG_H  -g -O2   -c /usr/local/src/imagick-3.1.0RC2/imagick_file.c -o imagick_file.lo
mkdir .libs
 cc -I. -I/usr/local/src/imagick-3.1.0RC2 -DPHP_ATOM_INC -I/usr/local/src/imagick-3.1.0RC2/include -I/usr/local/src/imagick-3.1.0RC2/main -I/usr/local/src/imagick-3.1.0RC2 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/include/ImageMagick -DHAVE_CONFIG_H -g -O2 -c /usr/local/src/imagick-3.1.0RC2/imagick_file.c  -fPIC -DPIC -o .libs/imagick_file.o
/usr/local/src/imagick-3.1.0RC2/imagick_file.c: In function 'php_imagick_is_url':
/usr/local/src/imagick-3.1.0RC2/imagick_file.c:52: warning: passing argument 2 of 'php_stream_locate_url_wrapper' from incompatible pointer type
/usr/local/include/php/main/php_streams.h:565: note: expected 'const char **' but argument is of type 'char **'
/usr/local/src/imagick-3.1.0RC2/imagick_file.c: In function 'php_imagick_read_image_using_php_streams':
/usr/local/src/imagick-3.1.0RC2/imagick_file.c:156: error: 'ENFORCE_SAFE_MODE' undeclared (first use in this function)
/usr/local/src/imagick-3.1.0RC2/imagick_file.c:156: error: (Each undeclared identifier is reported only once
/usr/local/src/imagick-3.1.0RC2/imagick_file.c:156: error: for each function it appears in.)
make: *** [imagick_file.lo] Error 1
/bin/sh /usr/local/src/imagick-3.1.0RC2/libtool --mode=compile cc  -I. -I/usr/local/src/imagick-3.1.0RC2 -DPHP_ATOM_INC -I/usr/local/src/imagick-3.1.0RC2/include -I/usr/local/src/imagick-3.1.0RC2/main -I/usr/local/src/imagick-3.1.0RC2 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/include/ImageMagick  -DHAVE_CONFIG_H  -g -O2   -c /usr/local/src/imagick-3.1.0RC2/imagick_file.c -o imagick_file.lo
 cc -I. -I/usr/local/src/imagick-3.1.0RC2 -DPHP_ATOM_INC -I/usr/local/src/imagick-3.1.0RC2/include -I/usr/local/src/imagick-3.1.0RC2/main -I/usr/local/src/imagick-3.1.0RC2 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/include/ImageMagick -DHAVE_CONFIG_H -g -O2 -c /usr/local/src/imagick-3.1.0RC2/imagick_file.c  -fPIC -DPIC -o .libs/imagick_file.o
/usr/local/src/imagick-3.1.0RC2/imagick_file.c: In function 'php_imagick_is_url':
/usr/local/src/imagick-3.1.0RC2/imagick_file.c:52: warning: passing argument 2 of 'php_stream_locate_url_wrapper' from incompatible pointer type
/usr/local/include/php/main/php_streams.h:565: note: expected 'const char **' but argument is of type 'char **'
/usr/local/src/imagick-3.1.0RC2/imagick_file.c: In function 'php_imagick_read_image_using_php_streams':
/usr/local/src/imagick-3.1.0RC2/imagick_file.c:156: error: 'ENFORCE_SAFE_MODE' undeclared (first use in this function)
/usr/local/src/imagick-3.1.0RC2/imagick_file.c:156: error: (Each undeclared identifier is reported only once
/usr/local/src/imagick-3.1.0RC2/imagick_file.c:156: error: for each function it appears in.)
make: *** [imagick_file.lo] Error 1

extension=imagick.so
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20160303/imagick.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20160303/imagick.so: cannot open shared object file: No such file or directory in Unknown on line 0
Imagick NOT Installed !

What should I do?

info:
Code: [Select]
[root@siakbary ~]# curl http://dl1.centos-webpanel.com/files/s_scripts/sinfo.sh|sh
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
113   792  113   792    0     0   2638      0 --:--:-- --:--:-- --:--:--  7333
===============================================
Kernel:
Linux siakbary.my.id 2.6.32-042stab113.11 #1 SMP Fri Dec 18 17:32:04 MSK 2015 x86_64 x86_64 x86_64 GNU/Linux

CPU info:
model name      : Intel(R) Xeon(R) CPU E5-2620 v3 @ 2.40GHz

Release:
CentOS release 6.7 (Final)

Arch:
x86_64

Virtualization Type:
openvz

Memory:
             total       used       free     shared    buffers     cached
Mem:          3072       1969       1102          5          0        993
-/+ buffers/cache:        975       2096
Swap:          768         75        692

MySQL info:
mysql  Ver 15.1 Distrib 10.1.13-MariaDB, for Linux (x86_64) using readline 5.1

Disk Info:
Filesystem         Size  Used Avail Use% Mounted on
/dev/ploop38139p1   59G  6.4G   50G  12% /
none               1.5G  4.0K  1.5G   1% /dev
none               1.5G     0  1.5G   0% /dev/shm

none    /dev/pts        devpts  rw,gid=5,mode=620       0       0
none    /dev/shm        tmpfs   defaults                0       0

Apache PHP info
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20160303/imagick.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20160303/imagick.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP 7.1.0-dev (cli) (built: Apr  8 2016 20:01:20) ( NTS )
Copyright (c) 1997-2016 The PHP Group
Zend Engine v3.1.0-dev, Copyright (c) 1998-2016 Zend Technologies

Apache start script check
httpd=${HTTPD-/usr/local/apache/bin/httpd}

CWP Admin check
/usr/local/cwpsrv/htdocs/admin
===============================================


Pages: [1]