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.


Topics - ThiagoHG

Pages: [1]
1
CentOS 7 Problems / Crontab only works manually by clicking on the 'Run'
« on: January 29, 2019, 03:57:10 PM »
I runing Mautic on Centos web panel 7, but cronjob is not working.
I'll give an example.

This is one of the commands I'm using. This command updates the MaxMind - GeoLite 2 database on Mautic.
Code: [Select]
* * * * * php /home/user/public_html/mautic/app/console mautic:iplookup:download
I made him do the update every minute to get feedback if it was working, but the commands only work if I run manually (on the 'run' button). I would like the action to work automatically, as it is to be.

I already tried to put the user who will execute the command:
Code: [Select]
* * * * * user php /home/user/public_html/mautic/app/console mautic:iplookup:downloadbut that way it does not work even in the manual. 'Run'

I've already tried to fix user permissions, but I did not succeed.

What I found strange is that in the log shows in the exact minutes the actions being called, but it has no effect on the Mautic.
Command: tail -n 20 /var/log/cron


can anybody help me?

2
Postfix / PostFix Setup problems...
« on: December 19, 2018, 01:09:08 PM »
Hello, I'm using centos 7 with cwp and in this step I'm trying to set up PostFix.
In this VPS I will have more than one domain and the main objective is to run mautic.
I am new to the VPS universe so please help haha.



Sorry if I hid something I should not, like I said, I'm new to this universe.
The hostname is pointing to the OVH IP.
RDNS / PTR is also pointing to OVH ip.
But I have this error:

This IP address (ovh ip ex: 195.42.157.187) is associated with the domain (rDNS domain ex: 187.ip-195-42-157.net).
However, your message appears to be sent by (ex: vps584125.vps.ovh.ca).

You need to change the DNS address (PTR type) and the hostname of your server so that both of them have the same value.

Values ​​tested (examples):
 - IP: 195.42.157.187
 - HELO: vps584125.vps.ovh.ca
 - rDNS: 187.ip-195-42-157.net

Could anyone guide me in these steps?

3
Apache / 500 Internal Server Error - Fresh CentOS 7 install
« on: December 13, 2018, 02:06:54 PM »
Hi! How are you?
I'm having problems with php + apache, I believe.
I have a user and whenever I try to access the index.php this user appears 500 internal server error.

For days I'm trying to solve this problem, I'm a beginner in this universe so be gentle haha ;)

I have seen many solutions here in the forum and on other sites, but none of them worked for me.
Pages .html work normally, only php pages do not open (500 internal server error).

As I said, I've tried several things, but now I've done a new installation of CentOS 7 with CWP.
For now I just created the user and put an index.php page in /home/user/public_html
For the panel I corrected the permissions for this user.
In php.ini I increased the memory to 256M.
I'm not using .haccess ...

Apache version: Apache/2.4.34
PHP version: 5.6.37

If you want to see some log, please inform the way, as I said I'm a beginner and I really want to learn.

My vHost looks like this:
<VirtualHost IP:80>
    DocumentRoot "/home/maqtal/public_html"
    ServerName maqtal.com.br
    ServerAlias ​​www.maqtal.com.br
</ VirtualHost>

<Directory /home/maqtal/public_html>
    Options Indexes FollowSymLinks MultiViews
    AllowOverride Options
    Order allow, deny
    allow from all
    Require all granted
    suPHP_UserGroup maqtal maqtal
</ Directory>

Some options in Directory I do not quite understand, I put it as I have seen elsewhere. If anyone can help, I'll be very grateful.

The content of index.php is:
Code: [Select]
<?php echo 'hi' ?>

Pages: [1]