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

Pages: [1] 2 3 ... 5
1
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

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?









2
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:

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.

3
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?


Code: [Select]
15 2 * * * /bin/find /home/account/mail/domain.com/user/new ! -mtime -30 -type f -exec rm {} \;

4
Addons / Re: SITEPAD Website Builder is finally here >> How to install
« on: January 24, 2020, 09:44:17 PM »
I opened a ticket, but they take too long to respond!

5
Addons / Re: SITEPAD Website Builder is finally here >> How to install
« on: January 23, 2020, 11:15:08 PM »




I did this procedure, but this message always appears:



6
Addons / Re: SITEPAD Website Builder is finally here >> How to install
« on: January 23, 2020, 08:43:17 PM »
I'm trying to install Sitepad, but it asks for:

Quote
If you have a firewall, then please allow access to download all packages from *.sitepad.com and *.softaculous.com

Note : Please allow access to the following domains to your firewall as these are the servers through which your website will be published.

  • us.sitepad.com (IP: 192.198.80.4)
  • eu.sitepad.com (IP: 91.121.54.72)

But I'm not able to find where to put the domains to release them.

Does anyone know how to make this permission on CSF Firewalll?

Thanks.

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?

8
DKIM / DKIM-Signature field added
« on: November 04, 2019, 04:43:21 PM »
I am having this error message:

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?

10
FTP / Re: Directory listing in FTP gives timeout
« on: November 01, 2019, 06:09:57 PM »
I already reasolved, need open fiwerall ports at my hosting provider.


I have the same problem.
What doors needed to open on CSF ?

11
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.

12
E-Mail / BoxTrapper
« on: October 31, 2019, 06:04:06 PM »
Is it possible to use BoxTrapper in email?

13
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?


14
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.

15
CWP API / Re: Folder V1
« on: August 31, 2019, 09:26:38 PM »
I couldn't find the folder "/account" in V1 folder.

I am trying to get to this file, just to see how it is created, edited .... among other cwp7.php file commands.

I am trying to create a module for my car rental system.

I noticed that the function "cwp7_CreateAccount($params)" creates a URL with all the variables.

Code: [Select]
https://painel.xxxx.com.br/whmcs/criar.php?
action=add
&usuario=conta6351
&senha=MI5jO%40ymF88y2%23
&chave=7FFD85D93A3E4DE5C490D304CCD9F864

Until then I could do

Now I'm trying to figure out how to return curl_exec SUCCESS or ERROR



Can you help me with this?


Pages: [1] 2 3 ... 5