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.
1
CentOS 7 Problems / Configure mongodb to access via hostname and localhost.
« on: August 02, 2023, 08:52:42 AM »
Configure mongodb to access via hostname and localhost.
Does anyone know how to make the proper settings in mongodb so that it is possible to access externally?
Thanks.
Does anyone know how to make the proper settings in mongodb so that it is possible to access externally?
Thanks.
2
CSF Firewall / Excessive processes running under user xxxx - individual authorization
« on: February 10, 2023, 06:55:27 PM »
What does this error mean?
If it's nothing serious, I want to leave it authorized, as it is a crontab that sends invoices to customers.
How to authorize this crontab?
Code: [Select]
Time: Thu Feb 9 07:05:16 2023 -0300
Account: XXXXX
Process Count: 12 (Killed)
Process Information:
User:XXXXX PID:21650 PPID:21649 Run Time:135(secs) Memory:154236(kb) RSS:4828(kb) exe:/usr/bin/wget cmd:wget https://site.XXXXX.com/app/Crons/invoices.php?access=ok
User:XXXXX PID:21651 PPID:21649 Run Time:135(secs) Memory:122788(kb) RSS:4932(kb) exe:/usr/sbin/sendmail.postfix cmd:/usr/sbin/sendmail -FCronDaemon -i -odi -oem -oi -t -f XXXXX
User:XXXXX PID:21652 PPID:21651 Run Time:135(secs) Memory:122760(kb) RSS:4924(kb) exe:/usr/sbin/postdrop cmd:/usr/sbin/postdrop -r
User:XXXXX PID:21654 PPID:11542 Run Time:134(secs) Memory:363364(kb) RSS:19880(kb) exe:/opt/alt/php81/usr/bin/php-cgi cmd:/opt/alt/php81/usr/bin/php-cgi /home/XXXXX/public_html/xx/xx/app/Crons/invoices.php
If it's nothing serious, I want to leave it authorized, as it is a crontab that sends invoices to customers.
How to authorize this crontab?
3
CSF Firewall / ADD IP in email Excessive resource usage
« on: April 06, 2021, 10:31:37 AM »
I have a system, where several people access it.
Yesterday I started receiving emails (lfd on server: Excessive resource usage).
But in the emails you don't have the person's IP.
It is possible to include the IP in this email I receive, or other data such as the Title of the page, as it has the name of the user logged in.
Thanks.
Yesterday I started receiving emails (lfd on server: Excessive resource usage).
Code: [Select]
Time: Tue Apr 6 03:00:08 2021 -0300
Account: XXXXX
Resource: Process Time
Exceeded: 31331 > 1800 (seconds)
Executable: /usr/local/bin/php-cgi
Command Line: /usr/local/bin/php-cgi /home/XXXXX/public_html/painel/panel.php
PID: 23728 (Parent PID:14690)
Killed: No
But in the emails you don't have the person's IP.
It is possible to include the IP in this email I receive, or other data such as the Title of the page, as it has the name of the user logged in.
Thanks.
4
CentOS Configuration / Xfs disk quota setup
« on: April 27, 2020, 04:31:25 PM »
I have a server at digitalocean.
I am trying to configure `disk quota setup`, but without success! because the instructions I found on the forum are confusing!
Server information:
Your disk status from the file /etc/fstab
Your Partition scheme, output of the command df -h
How should you proceed to check?
- /etc/fstab current:
change to?:
OR
change to?:
I ask this, because inside the /etc/fstab file, there is no /dev/mapper/centos_root-home.
This /dev/mapper/centos_root-home file doesn't exist either!
Could someone tell me the correct procedure for xfs disks?
I am trying to configure `disk quota setup`, but without success! because the instructions I found on the forum are confusing!
Server information:
Your disk status from the file /etc/fstab
Code: [Select]
#
# /etc/fstab
# Created by anaconda on Thu Aug 8 12:37:33 2019
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#
UUID=3ef2b806-efd7-4eef-aaa2-2584909365ff / xfs defaults 0 0
/swapfile swap swap sw 0 0
Your Partition scheme, output of the command df -h
Code: [Select]
Filesystem Size Used Avail Use% Mounted on
devtmpfs 896M 0 896M 0% /dev
tmpfs 920M 0 920M 0% /dev/shm
tmpfs 920M 105M 815M 12% /run
tmpfs 920M 0 920M 0% /sys/fs/cgroup
/dev/vda1 50G 34G 17G 67% /
tmpfs 184M 0 184M 0% /run/user/0
How should you proceed to check?
- /etc/fstab current:
Code: [Select]
UUID=3ef2b806-efd7-4eef-aaa2-2584909365ff / xfs defaults 0 0
change to?:
Code: [Select]
UUID=3ef2b806-efd7-4eef-aaa2-2584909365ff / xfs defaults,usrquota,grpquota 0 0
OR
Code: [Select]
/dev/mapper/centos_root-home / xfs defaults 0 0
change to?:
Code: [Select]
/dev/mapper/centos_root-home / xfs defaults,usrquota,grpquota 0 0
I ask this, because inside the /etc/fstab file, there is no /dev/mapper/centos_root-home.
This /dev/mapper/centos_root-home file doesn't exist either!
Could someone tell me the correct procedure for xfs disks?
5
CentOS-WebPanel Bugs / FTP does not work
« on: April 03, 2020, 09:13:15 AM »
Since the beginning of the installation, FTP does not work properly.
I always have to select this option:
But now I'm having problems, because my customers are questioning, they want to make a secure connection.
I try to connect using the quick option and look at the error:
How to fix this?
I've done all the configuration processes that exist on the site.
Thanks.
I always have to select this option:
Quote
IMG: https://prnt.sc/rs5ikk
But now I'm having problems, because my customers are questioning, they want to make a secure connection.
I try to connect using the quick option and look at the error:
Quote
IMG: https://prnt.sc/rs5hrl
How to fix this?
I've done all the configuration processes that exist on the site.
Quote
IMG: https://prnt.sc/rrugv3
Thanks.
6
E-Mail / CWP Delete deleted emails, automatically
« on: February 08, 2020, 03:39:56 PM »
We know that a big problem with full disk space is because the person deletes the emails, BUT DOES NOT CLEAN THE EXCLUDED BOX.
Is there any way to create a CRON Job where it deletes all deleted emails?
I just found this code below. But he deletes it from the inbox, and he has to manually add the domains.
Is there a way to automate this when creating the hosting?
Is there any way to create a CRON Job where it deletes all deleted emails?
I just found this code below. But he deletes it from the inbox, and he has to manually add the domains.
Is there a way to automate this when creating the hosting?
Code: [Select]
15 2 * * * /bin/find /home/account/mail/domain.com/user/new ! -mtime -30 -type f -exec rm {} \;
7
E-Mail / Schedule webmail trash cleaning
« on: November 09, 2019, 12:05:57 PM »
Schedule webmail trash cleaning.
Nowadays, the most used is imap. A lot of people delete emails, but they don't clean up the dumpsters.
Is it possible to program webmail so that every 6 months everything in the trash can be deleted?
Nowadays, the most used is imap. A lot of people delete emails, but they don't clean up the dumpsters.
Is it possible to program webmail so that every 6 months everything in the trash can be deleted?
8
DKIM / DKIM-Signature field added
« on: November 04, 2019, 04:43:21 PM »
I am having this error message:
I already accessed: CWP > Server Settings > Change Hostname
And yet it doesn't work.
How to delete and re-create for hostname?
Code: [Select]
Nov 4 12:49:09 srv1 postfix/pickup[19024]: B68B6E371D: uid=0 from=<root>
Nov 4 12:49:09 srv1 postfix/cleanup[22033]: B68B6E371D: message-id=<20191104154909.B68B6E371D@srv1.xxxxx.com.br>
Nov 4 12:49:09 srv1 opendkim[1011]: B68B6E371D: DKIM-Signature field added (s=default, d=srv1.xxxxx.com.br)
Nov 4 12:49:09 srv1 postfix/qmgr[14697]: B68B6E371D: from=<root@srv1.xxxxx.com.br>, size=1131, nrcpt=1 (queue active)
Nov 4 12:49:09 srv1 postfix/pipe[22044]: B68B6E371D: to=<sac@xxxxx.net>, relay=dovecot, delay=0.25, delays=0.15/0.06/0/0.04, dsn=2.0.0, status=sent (delivered via dovecot service)
Nov 4 12:49:09 srv1 postfix/qmgr[14697]: B68B6E371D: removed
I already accessed: CWP > Server Settings > Change Hostname
And yet it doesn't work.
How to delete and re-create for hostname?
9
SSL / SSL does not work on hostname
« on: November 01, 2019, 11:30:28 PM »
My domain was published 1 week ago, but to this day does not recognize the domain SSL.
[Check CWP SSL] and [Check WebServers SSL] Is OK.
What to do?
[Check CWP SSL] and [Check WebServers SSL] Is OK.
What to do?
10
E-Mail / WHMCS does not send emails
« on: October 31, 2019, 09:14:05 PM »
I can't send emails from my web applications.
- WHMCS.
- PHPMailer
Among others that need to be sent via SMTP.
In outlook it works, I send and receive email.
But in WHMCS, and other scripts does not work SMTP.
- WHMCS.
- PHPMailer
Among others that need to be sent via SMTP.
In outlook it works, I send and receive email.
But in WHMCS, and other scripts does not work SMTP.
11
E-Mail / BoxTrapper
« on: October 31, 2019, 06:04:06 PM »
Is it possible to use BoxTrapper in email?
12
DNS / Primary Domain
« on: October 30, 2019, 10:41:34 PM »
I have a doubt.
The hostcia.com.br domain is the main domain, it has:
srv1.dom.com.br
ns1.dom.com.br
ns2.dom.com.br
Does this domain have to have an account created in CWP or not?
Currently, I created the SRV1, NS1 and NS2 entries right in the panel where I have the domain registered.
What should I do?
The hostcia.com.br domain is the main domain, it has:
srv1.dom.com.br
ns1.dom.com.br
ns2.dom.com.br
Does this domain have to have an account created in CWP or not?
Currently, I created the SRV1, NS1 and NS2 entries right in the panel where I have the domain registered.
What should I do?
13
E-Mail / Mail Queue
« on: October 29, 2019, 04:52:24 PM »
I just completed the installation and noticed this amount of emails from the server.
But I haven't received anything so far in my box. Is any configuration missing?
Image: https://prnt.sc/ppqy50
Thanks.
But I haven't received anything so far in my box. Is any configuration missing?
Image: https://prnt.sc/ppqy50
Thanks.
14
15
CentOS-WebPanel Bugs / Error editing package
« on: July 18, 2019, 12:07:01 AM »
Error editing package
Code: [Select]
Notice: Undefined index: update_users in /usr/local/cwpsrv/htdocs/resources/admin/modules/edit_package.php on line 0