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

Pages: [1]
1
CentOS 7 Problems / Re: WordPress upload folder write permission
« on: December 16, 2020, 07:57:17 PM »
Solved with this command:
Code: [Select]
/scripts/cwp_api account update_diskquota_all

2
CentOS 7 Problems / Re: WordPress upload folder write permission
« on: December 15, 2020, 11:53:09 PM »
I did a test trying to create a folder as a cwp user and received a quota exceeded message, but the user is not using up all his space, what do I do?




3
CentOS 7 Problems / WordPress upload folder write permission
« on: December 15, 2020, 02:08:28 AM »
I have a problem with users write permissions, all configured ok, but anyone user not have a permission write on your home folder using wordpress file system.

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   899  100   899    0     0  25742      0 --:--:-- --:--:-- --:--:-- 26441
===============================================
Kernel:
Linux ******* 4.19.62-mod-std-ipv6-64-rescue #828825 SMP Tue Jul 30 13:54:49 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

CPU info:
model name   : Intel(R) Xeon(R) CPU           W3520  @ 2.67GHz

Release:
CentOS Linux release 7.9.2009 (Core)

Arch:
x86_64

Virtualization Type:

Memory:
              total        used        free      shared  buff/cache   available
Mem:          32206        2582       22063          23        7560       29086
Swap:         19997           0       19997

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

Disk Info:
Sist.fichs      Tama  Ocup Livre Uso% Montado em
/dev/root       193G   84G   99G  47% /
devtmpfs         16G     0   16G   0% /dev
tmpfs            16G     0   16G   0% /dev/shm
tmpfs            16G   21M   16G   1% /run
tmpfs            16G     0   16G   0% /sys/fs/cgroup
/dev/md3        1,6T   79G  1,5T   6% /home
tmpfs           3,2G     0  3,2G   0% /run/user/0

# <file system>   <mount point>   <type>   <options>   <dump>   <pass>
/dev/md2   /   ext4   errors=remount-ro   0   1
/dev/md3 /home ext4 rw,relatime,quota,usrquota,grpquota,data=ordered 0 0
/dev/sda4   swap   swap   defaults   0   0
/dev/sdb4   swap   swap   defaults   0   0
proc      /proc   proc   defaults      0   0
sysfs      /sys   sysfs   defaults      0   0
tmpfs      /dev/shm   tmpfs   defaults   0   0
devpts      /dev/pts   devpts   defaults   0   0

Apache PHP info:
PHP 7.4.13 (cli) (built: Dec 14 2020 22:08:40) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies

Apache start script check:
grep: /etc/init.d/httpd: No such file or directory

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

CWP version:
0.9.8.1026
===============================================

4
SSL / Nginx don't start, my server is down, help
« on: March 17, 2020, 01:33:33 AM »
After execute the command:
/scripts/generate_hostname_ssl

Nginx return this error:
Code: [Select]
Mar 16 22:28:12 rockethost.me nginx[14729]: nginx: [emerg] SSL_CTX_use_PrivateKey("/etc/pki/tls/private/rockethost.me.key") failed (SSL: error:0B080074:x509 certificate routines:X509_check_pri...lues mismatch)
Mar 16 22:28:12 rockethost.me systemd[1]: nginx.service: control process exited, code=exited status=1
Mar 16 22:28:12 rockethost.me systemd[1]: Failed to start nginx - high performance web server.
Mar 16 22:28:12 rockethost.me systemd[1]: Unit nginx.service entered failed state.
Mar 16 22:28:12 rockethost.me systemd[1]: nginx.service failed.

Please help.

5
E-Mail / After CWP Update, user cannot login on roundcube
« on: March 16, 2020, 08:31:03 PM »
/var/log/dovecot.log
Code: [Select]
Mar 16 17:23:09 imap-login: Fatal: Can't load private ssl_key: Key is for a different cert than ssl_cert
Mar 16 17:23:09 master: Error: service(imap-login): command startup failed, throttling for 2 secs
Mar 16 17:23:41 pop3-login: Fatal: Can't load private ssl_key: Key is for a different cert than ssl_cert
Mar 16 17:23:41 master: Error: service(pop3-login): command startup failed, throttling for 4 secs
Mar 16 17:24:47 imap-login: Fatal: Can't load private ssl_key: Key is for a different cert than ssl_cert
Mar 16 17:24:47 master: Error: service(imap-login): command startup failed, throttling for 4 secs

After rebuild mail servers mail logins don't work.

/var/log/maillog
Code: [Select]
Mar 16 17:28:54 rockethost postfix/smtpd[11805]: connect from unknown[45.133.99.12]
Mar 16 17:28:54 rockethost clamd[12918]: Received 0 file descriptor(s) from systemd.
Mar 16 17:28:54 rockethost clamd[12918]: clamd daemon 0.102.2 (OS: linux-gnu, ARCH: x86_64, CPU: x86_64)
Mar 16 17:28:54 rockethost clamd[12918]: Running as user amavis (UID 988, GID 986)
Mar 16 17:28:54 rockethost clamd[12918]: Log file size limited to 1048576 bytes.
Mar 16 17:28:54 rockethost clamd[12918]: Reading databases from /var/lib/clamav
Mar 16 17:28:54 rockethost clamd[12918]: Not loading PUA signatures.
Mar 16 17:28:54 rockethost clamd[12918]: Bytecode: Security mode set to "TrustSigned".
Mar 16 17:28:54 rockethost postfix/smtpd[11645]: lost connection after AUTH from unknown[45.133.99.12]
Mar 16 17:28:54 rockethost postfix/smtpd[11645]: disconnect from unknown[45.133.99.12] ehlo=1 auth=0/1 commands=1/2

Mar 16 17:29:00 rockethost postfix/smtpd[11805]: lost connection after AUTH from unknown[45.133.99.12]
Mar 16 17:29:00 rockethost postfix/smtpd[11805]: disconnect from unknown[45.133.99.12] ehlo=1 auth=0/1 commands=1/2
Mar 16 17:29:00 rockethost postfix/smtpd[11645]: connect from unknown[45.133.99.12]
Mar 16 17:29:01 rockethost postfix/smtpd[12793]: warning: unknown[45.133.99.12]: SASL LOGIN authentication failed: UGFzc3dvcmQ6
Mar 16 17:29:01 rockethost postfix/smtpd[12793]: lost connection after AUTH from unknown[45.133.99.12]
Mar 16 17:29:01 rockethost postfix/smtpd[12793]: disconnect from unknown[45.133.99.12] ehlo=1 auth=0/1 commands=1/2
Mar 16 17:29:02 rockethost postfix/smtpd[11805]: warning: hostname ip-38-58.ZervDNS does not resolve to address 92.118.38.58: Name or service not known
Mar 16 17:29:02 rockethost postfix/smtpd[11805]: connect from unknown[92.118.38.58]
Mar 16 17:29:05 rockethost postfix/smtpd[12793]: connect from unknown[45.133.99.12]
Mar 16 17:29:05 rockethost clamd[12918]: Loaded 6775136 signatures.
Mar 16 17:29:08 rockethost clamd[12918]: LOCAL: Socket file /var/run/clamd.amavisd/clamd.sock is in use by another process.
Mar 16 17:29:09 rockethost clamd[13000]: Received 0 file descriptor(s) from systemd.
Mar 16 17:29:09 rockethost clamd[13000]: clamd daemon 0.102.2 (OS: linux-gnu, ARCH: x86_64, CPU: x86_64)
Mar 16 17:29:09 rockethost clamd[13000]: Running as user amavis (UID 988, GID 986)
Mar 16 17:29:09 rockethost clamd[13000]: Log file size limited to 1048576 bytes.
Mar 16 17:29:09 rockethost clamd[13000]: Reading databases from /var/lib/clamav
Mar 16 17:29:09 rockethost clamd[13000]: Not loading PUA signatures.
Mar 16 17:29:09 rockethost clamd[13000]: Bytecode: Security mode set to "TrustSigned".
Mar 16 17:29:09 rockethost postfix/smtpd[11645]: lost connection after AUTH from unknown[45.133.99.12]
Mar 16 17:29:09 rockethost postfix/smtpd[11645]: disconnect from unknown[45.133.99.12] ehlo=1 auth=0/1 commands=1/2
Mar 16 17:29:11 rockethost postfix/smtpd[11645]: connect from unknown[45.133.99.12]

6
How to / Re: Centos Panel in a Subdomain
« on: July 13, 2018, 04:09:28 PM »
Like this:

Code: [Select]
<VirtualHost *:8181>
    ServerAdmin hostmaster@example.com
    ProxyRequests off
    DocumentRoot /home/DOMAIN_DIR
    ProxyPreserveHost On

    ServerName panel.my_domain.com

    ServerAlias panel.my_domain.com

    <Location />
        ProxyPass http://panel.my_domain.com:2030/
        ProxyPassReverse http://panel.my_domain.com:2030/
        Order allow,deny
        Allow from all
    </Location>
</VirtualHost>

?

Thanks!

7
How to / Re: Centos Panel in a Subdomain
« on: July 12, 2018, 12:00:36 PM »
I want access without port.

8
How to / Centos Panel in a Subdomain
« on: July 11, 2018, 05:59:29 PM »
Hi!

How to access my centos web panel by a subdomain.

Eg.:
www.mydomain.com:2030 -> panel.mydomain.com

Thanks!

9
CentOS-WebPanel GUI / Remove port from admin panel URL
« on: December 15, 2017, 01:10:11 PM »
Hi!
How to remove port from admin panel URL?

Eg.:
mycoolhost.com:2021
to:
panel.mycoolhost.com

Pages: [1]