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

2
CentOS 7 Problems / Re: Node installation
« on: July 28, 2023, 09:53:50 AM »
A collegue just helped me.

I just needed to execute node and npm from the path. In the nodejs manager version selection page, in the web control panel, there's a button to show the path where node was intalled.

So instead of just executing "npm whatever" I had to execute "/opt/nvm/versions/node/v14.21.3/bin/npm whatever"

I'm new to CWP. do i have to do this every time i use a new version of nodejs?

Is there a way to send a print of the screen or video showing how to do it?

3
If you know what the jobs are, and don't want to receive warning or notification, you can add them to your csf ignore file.

how should the command line be saved in the "csf.ignore" file?
IMG: https://i.imgur.com/YnhHoSI.png


Doubt: it's in "csf.ignore", it has similar files that just change the initial letter. IMG: https://i.imgur.com/7XZfakx.png

Thanks.

4
What does this error mean?

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?

5
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).

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.

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









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

8
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 {} \;

9
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!

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



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

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

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

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

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

Pages: [1] 2 3 ... 5