Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar Mark Forums Read
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
New Webmasters ask "How-To" questions here. This is where other fucking Webmasters help.

 
Thread Tools
Old 08-08-2017, 08:51 AM   #51
porn-update
Confirmed User
 
porn-update's Avatar
 
Industry Role:
Join Date: Apr 2014
Posts: 265
Honestly to me the https make just crap, I find them an extremely stupid thing, especially on sites like these, but slowly everyone is getting scared by big G.

At the logical level on many occasions have no meaning, eg in cases like mine where the site is HTTPS but the contents are not.

I think it's just an advantage for big G that certainly somehow manages to simplify or reduce the weight of the pages that he has to read.

The fact that they should be used only in login procedures or containing sensitive data has been completely suppressed by the fear of not complying with the rule of big G, so many sites apply them on all pages.

At the moment they almost seem to be the main factor even just to be taken into account by big G, also I do not think it is absolutely true.

With regard to end users I believe that 99% have absolutely no idea what the HTTPS protocol is, nor do they care about it.

My sites would not absolutely need it, I'm installing them only in some, just not to be the only idiot not to have them, but I would gladly do it less.
porn-update is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-08-2017, 08:59 AM   #52
porn-update
Confirmed User
 
porn-update's Avatar
 
Industry Role:
Join Date: Apr 2014
Posts: 265
Another stupid question...

Cloudflare needs something on the server to work?

I use it only in a bigboobshardpics.com site and only in the Cdn folder, where all the images of the site are located.



The site itself does not need cloudflare, slows down if I apply it to the whole site.

The idea is to create a kind of CDN leveraging CloudFlare, just for images.

Does it make sense to you?
Need something on the server for CloudFlare?
porn-update is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-08-2017, 02:05 PM   #53
porn-update
Confirmed User
 
porn-update's Avatar
 
Industry Role:
Join Date: Apr 2014
Posts: 265
And so, I've seen everything, tried everything, done everything...

The 2 sites are online:
https://www.alternativegirlshardpics.com/
https://www.transgender-hardpics.com/

I have:
Installed LAMP
Configured Virtual Host
Configured DNS on Digitalocean
Installed phpMyAdmin
Created MySQL database and users
Modified the configuration of php.ini
Created Symlink
Open the ports on the firewall
Enabled Mod_rewriter
Enabled Mod_deflate
Install let's encrypt and certificates
Enabled Opcache
Installed and enabled memcached
Installed and enabled cache/Chace_disk
and created some cronjob

And in a couple of weeks it doesn't look bad...

I'm at the point where I would see the 2 sites run for a few days and if all goes well start transferring to this server some other site

But I wonder, how many things will I have forgotten or ignored?

For example, now I have php 5.5.9, maybe it is worth switching to 5.6? (at 7 in ubuntu 16.04 I will pass in the future with another droplet)

I have not installed mod security, but he has always been obnoxious to me, but maybe better to install it?

I was unable to install varnish (it happened a mess), will it be worth losing more time or not?

I'm not sure it works gzip compression, but deflate is installed and configured, do I have to do anything else?
I tried to configure if-modified-since, but I did not understand if it worked...

Will miss something important?
phpinfo()
porn-update is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-08-2017, 05:04 PM   #54
Barry-xlovecam
It's 42
 
Barry-xlovecam's Avatar
 
Industry Role:
Join Date: Jun 2010
Location: Global
Posts: 16,564
How To Set Up a Firewall with UFW on Ubuntu 16.04
https://www.digitalocean.com/communi...n-ubuntu-16-04
Shields up -- tighten your ship up.
If you have a static ip set that for ssh and mysql remote -- use sftp over port 22
__________________
Vive la résistance -- Carpe diem

"If you only knew the power of the dark side." ...Darth Vader
Sk.why.pe: barry_555_5 -- ICQ: three1896three617
Barry-xlovecam is online now   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-09-2017, 09:09 AM   #55
porn-update
Confirmed User
 
porn-update's Avatar
 
Industry Role:
Join Date: Apr 2014
Posts: 265
Thank you

Maybe I missed something in the configuration of url_rewriter, because this stupid rule

RewriteRule tags/ tags.php [L]

does not work
https://www.alternativegirlshardpics.com/tags/

It always worked, but on the new server does not want to work...

I tried to rewrite it in 1000 different ways,

RewriteRule ^tags$ tags.php [L]
RewriteRule ^tags\/$ tags.php [L]

But it just doesn't work

I searched in Digitalocean and Google, but I do not find particular configurations of url_rewriter

It is not a basic page, I can directly use tags.php, but I would like to understand why it does not work...

Any ideas?

P.S. of all that could go wrong, if this is the only thing that does not work, I feel more than lucky...
porn-update is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-09-2017, 11:36 AM   #56
Barry-xlovecam
It's 42
 
Barry-xlovecam's Avatar
 
Industry Role:
Join Date: Jun 2010
Location: Global
Posts: 16,564
using .htaccess in Apache2 right
check
$stat .htaccess

the file permission might need to be user:www-data (user:group) if PHP needs to use that file.
__________________
Vive la résistance -- Carpe diem

"If you only knew the power of the dark side." ...Darth Vader
Sk.why.pe: barry_555_5 -- ICQ: three1896three617
Barry-xlovecam is online now   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-09-2017, 12:49 PM   #57
porn-update
Confirmed User
 
porn-update's Avatar
 
Industry Role:
Join Date: Apr 2014
Posts: 265
is root...



Code:
[email protected]:/var/www/html/alternativegirlshardpics.com# stat .htaccess
  File: ‘.htaccess’
  Size: 3774      	Blocks: 8          IO Block: 4096   regular file
Device: fd01h/64769d	Inode: 134366      Links: 1
Access: (0644/-rw-r--r--)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 2017-08-08 23:58:52.492271000 +0000
Modify: 2017-08-07 23:58:32.766034228 +0000
Change: 2017-08-07 23:58:43.310034228 +0000
 Birth: -
What do I do?
porn-update is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-11-2017, 10:09 AM   #58
porn-update
Confirmed User
 
porn-update's Avatar
 
Industry Role:
Join Date: Apr 2014
Posts: 265
Another stupid question

For cronjob I use: crontab -e

And this line of code
0 16 * * * /usr/bin/php /var/www/html/alternativegirlshardpics.com/cronojob.php

But I'm not sure do something...

They are active for a few days, but I do not receive mail and I see no changes in the site
(the Cronjob upload new content, but may be there are no new content these days)

The scripts have an output that I would like to receive via mail, but I did not understand if I have to set the mail for the cronjob somewhere...

I don't know if they're working....

How can I understand? Are there any logs anywhere? Something missing in my code?

In the different servers sometimes make me add -p, -f etc. But I never understood what they serve... and I have not found guides that explain it...
porn-update is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-11-2017, 10:50 AM   #59
magneto664
Confirmed User
 
Industry Role:
Join Date: Aug 2014
Location: Glasgow
Posts: 216
Quote:
Originally Posted by porn-update View Post
Another stupid question

For cronjob I use: crontab -e

And this line of code
0 16 * * * /usr/bin/php /var/www/html/alternativegirlshardpics.com/cronojob.php
For first - don't add those codes on public forum - somebody can make a magic with your cronjob and even ddos your server!

for cronjob - don't run cron on root this is a important issue and I strong recommend using some service like "https://www.webcron.org/" where u can get a mail confirmation or stats/logs and you don't need to know magic it skills - basically about a webcron I use since 2009 when I load 10 euros and i have 2 left. Is a fucking cheap and save your time, keep your server clean and safe and easy access via page from mobile, no need to login via ssh to check fix or stop.

tnx
__________________
magneto664 [x] gmail.com
GET FREE ADULT BACKLINKS - My Fav: chaturbate - dateprofits - datetronix
CamsBell.com - CamsHolic.com - CamsDepot.com - LinkCams.com
magneto664 is online now   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-11-2017, 12:20 PM   #60
porn-update
Confirmed User
 
porn-update's Avatar
 
Industry Role:
Join Date: Apr 2014
Posts: 265
I do not want to use a paid service... I have a Linux server, the server must operate the Cronjob...
porn-update is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-11-2017, 04:37 PM   #61
magneto664
Confirmed User
 
Industry Role:
Join Date: Aug 2014
Location: Glasgow
Posts: 216
Quote:
Originally Posted by porn-update View Post
I have a Linux server, the server must operate the Cronjob...
PM ! me I will help you!
__________________
magneto664 [x] gmail.com
GET FREE ADULT BACKLINKS - My Fav: chaturbate - dateprofits - datetronix
CamsBell.com - CamsHolic.com - CamsDepot.com - LinkCams.com
magneto664 is online now   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-11-2017, 04:48 PM   #62
Barry-xlovecam
It's 42
 
Barry-xlovecam's Avatar
 
Industry Role:
Join Date: Jun 2010
Location: Global
Posts: 16,564
try this

Quote:
*/5 * * * * (cd /usr/share/../../../; php ./file.php) > /dev/null 2>&1
This is a no email 5 min cron
sometimes you have to cd then use the cli
always end you cron with a new line

You need a MTA and Email server to send an email out.
see cd /var/logs

to troubleshoot cron

Code:
root~:$ cat /var/logs/syslog|less
__________________
Vive la résistance -- Carpe diem

"If you only knew the power of the dark side." ...Darth Vader
Sk.why.pe: barry_555_5 -- ICQ: three1896three617
Barry-xlovecam is online now   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-12-2017, 09:02 AM   #63
porn-update
Confirmed User
 
porn-update's Avatar
 
Industry Role:
Join Date: Apr 2014
Posts: 265
Quote:
You need a MTA and Email server to send an email out.
Should I install postfix? only postfix?
I don't need any more mail, just the ones with the result of the cronjob.

The cronjob logs are weird, I can't figure out if it works.
Code:
Aug 12 06:39:01 ubuntu-2gb-blr1-14-04-3 CRON[11065]: (root) CMD (  [ -x /usr/lib/php5/maxlifetime ] && [ -x /usr/lib/php5/sessionclean ] && [ -d /var/lib/php5 ] && /usr/lib/php5/sessionclean /var/lib/php5 $(/usr/lib/php5/maxlifetime))
Aug 12 07:09:01 ubuntu-2gb-blr1-14-04-3 CRON[15998]: (root) CMD (  [ -x /usr/lib/php5/maxlifetime ] && [ -x /usr/lib/php5/sessionclean ] && [ -d /var/lib/php5 ] && /usr/lib/php5/sessionclean /var/lib/php5 $(/usr/lib/php5/maxlifetime))
Aug 12 07:15:02 ubuntu-2gb-blr1-14-04-3 do-agent[1007]: 2017/08/12 07:15:02 Checking for newer version of do-agent
Aug 12 07:15:02 ubuntu-2gb-blr1-14-04-3 do-agent[1007]: 2017/08/12 07:15:02 Unable to update do-agent: Update: Error initializing repository: tuf: failed to decode root.json: expired at 2017-07-22 15:27:54 +0000 UTC
Aug 12 07:17:01 ubuntu-2gb-blr1-14-04-3 CRON[17326]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Aug 12 07:39:01 ubuntu-2gb-blr1-14-04-3 CRON[20954]: (root) CMD (  [ -x /usr/lib/php5/maxlifetime ] && [ -x /usr/lib/php5/sessionclean ] && [ -d /var/lib/php5 ] && /usr/lib/php5/sessionclean /var/lib/php5 $(/usr/lib/php5/maxlifetime))
Aug 12 08:09:01 ubuntu-2gb-blr1-14-04-3 CRON[25956]: (root) CMD (  [ -x /usr/lib/php5/maxlifetime ] && [ -x /usr/lib/php5/sessionclean ] && [ -d /var/lib/php5 ] && /usr/lib/php5/sessionclean /var/lib/php5 $(/usr/lib/php5/maxlifetime))
Aug 12 08:15:02 ubuntu-2gb-blr1-14-04-3 do-agent[1007]: 2017/08/12 08:15:02 Checking for newer version of do-agent
Aug 12 08:15:02 ubuntu-2gb-blr1-14-04-3 do-agent[1007]: 2017/08/12 08:15:02 Unable to update do-agent: Update: Error initializing repository: tuf: failed to decode root.json: expired at 2017-07-22 15:27:54 +0000 UTC
Aug 12 08:17:01 ubuntu-2gb-blr1-14-04-3 CRON[27297]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Aug 12 08:39:01 ubuntu-2gb-blr1-14-04-3 CRON[30895]: (root) CMD (  [ -x /usr/lib/php5/maxlifetime ] && [ -x /usr/lib/php5/sessionclean ] && [ -d /var/lib/php5 ] && /usr/lib/php5/sessionclean /var/lib/php5 $(/usr/lib/php5/maxlifetime))
Aug 12 09:09:01 ubuntu-2gb-blr1-14-04-3 CRON[3414]: (root) CMD (  [ -x /usr/lib/php5/maxlifetime ] && [ -x /usr/lib/php5/sessionclean ] && [ -d /var/lib/php5 ] && /usr/lib/php5/sessionclean /var/lib/php5 $(/usr/lib/php5/maxlifetime))
Aug 12 09:15:03 ubuntu-2gb-blr1-14-04-3 do-agent[1007]: 2017/08/12 09:15:03 Checking for newer version of do-agent
Aug 12 09:15:03 ubuntu-2gb-blr1-14-04-3 do-agent[1007]: 2017/08/12 09:15:03 Unable to update do-agent: Update: Error initializing repository: tuf: failed to decode root.json: expired at 2017-07-22 15:27:54 +0000 UTC
Aug 12 09:17:01 ubuntu-2gb-blr1-14-04-3 CRON[4743]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Aug 12 09:39:01 ubuntu-2gb-blr1-14-04-3 CRON[8336]: (root) CMD (  [ -x /usr/lib/php5/maxlifetime ] && [ -x /usr/lib/php5/sessionclean ] && [ -d /var/lib/php5 ] && /usr/lib/php5/sessionclean /var/lib/php5 $(/usr/lib/php5/maxlifetime))
Aug 12 10:09:01 ubuntu-2gb-blr1-14-04-3 CRON[13268]: (root) CMD (  [ -x /usr/lib/php5/maxlifetime ] && [ -x /usr/lib/php5/sessionclean ] && [ -d /var/lib/php5 ] && /usr/lib/php5/sessionclean /var/lib/php5 $(/usr/lib/php5/maxlifetime))
Aug 12 10:16:03 ubuntu-2gb-blr1-14-04-3 do-agent[1007]: 2017/08/12 10:16:03 Checking for newer version of do-agent
Aug 12 10:16:04 ubuntu-2gb-blr1-14-04-3 do-agent[1007]: 2017/08/12 10:16:04 Unable to update do-agent: Update: Error initializing repository: tuf: failed to decode root.json: expired at 2017-07-22 15:27:54 +0000 UTC
Aug 12 10:17:01 ubuntu-2gb-blr1-14-04-3 CRON[14593]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Aug 12 10:39:01 ubuntu-2gb-blr1-14-04-3 CRON[18355]: (root) CMD (  [ -x /usr/lib/php5/maxlifetime ] && [ -x /usr/lib/php5/sessionclean ] && [ -d /var/lib/php5 ] && /usr/lib/php5/sessionclean /var/lib/php5 $(/usr/lib/php5/maxlifetime))
Aug 12 11:09:01 ubuntu-2gb-blr1-14-04-3 CRON[23435]: (root) CMD (  [ -x /usr/lib/php5/maxlifetime ] && [ -x /usr/lib/php5/sessionclean ] && [ -d /var/lib/php5 ] && /usr/lib/php5/sessionclean /var/lib/php5 $(/usr/lib/php5/maxlifetime))
Aug 12 11:17:01 ubuntu-2gb-blr1-14-04-3 CRON[25007]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Aug 12 11:17:04 ubuntu-2gb-blr1-14-04-3 do-agent[1007]: 2017/08/12 11:17:04 Checking for newer version of do-agent
Aug 12 11:17:04 ubuntu-2gb-blr1-14-04-3 do-agent[1007]: 2017/08/12 11:17:04 Unable to update do-agent: Update: Error initializing repository: tuf: failed to decode root.json: expired at 2017-07-22 15:27:54 +0000 UTC
Aug 12 11:39:01 ubuntu-2gb-blr1-14-04-3 CRON[29374]: (root) CMD (  [ -x /usr/lib/php5/maxlifetime ] && [ -x /usr/lib/php5/sessionclean ] && [ -d /var/lib/php5 ] && /usr/lib/php5/sessionclean /var/lib/php5 $(/usr/lib/php5/maxlifetime))
Aug 12 12:00:01 ubuntu-2gb-blr1-14-04-3 CRON[714]: (root) CMD (test -x /usr/bin/certbot -a \! -d /run/systemd/system && perl -e 'sleep int(rand(3600))' && certbot -q renew)
Aug 12 12:09:01 ubuntu-2gb-blr1-14-04-3 CRON[2335]: (root) CMD (  [ -x /usr/lib/php5/maxlifetime ] && [ -x /usr/lib/php5/sessionclean ] && [ -d /var/lib/php5 ] && /usr/lib/php5/sessionclean /var/lib/php5 $(/usr/lib/php5/maxlifetime))
Aug 12 12:17:01 ubuntu-2gb-blr1-14-04-3 CRON[3698]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Aug 12 12:17:12 ubuntu-2gb-blr1-14-04-3 do-agent[1007]: 2017/08/12 12:17:12 Checking for newer version of do-agent
Aug 12 12:17:12 ubuntu-2gb-blr1-14-04-3 do-agent[1007]: 2017/08/12 12:17:12 Unable to update do-agent: Update: Error initializing repository: tuf: failed to decode root.json: expired at 2017-07-22 15:27:54 +0000 UTC
Aug 12 12:39:01 ubuntu-2gb-blr1-14-04-3 CRON[7591]: (root) CMD (  [ -x /usr/lib/php5/maxlifetime ] && [ -x /usr/lib/php5/sessionclean ] && [ -d /var/lib/php5 ] && /usr/lib/php5/sessionclean /var/lib/php5 $(/usr/lib/php5/maxlifetime))
Aug 12 13:09:01 ubuntu-2gb-blr1-14-04-3 CRON[13202]: (root) CMD (  [ -x /usr/lib/php5/maxlifetime ] && [ -x /usr/lib/php5/sessionclean ] && [ -d /var/lib/php5 ] && /usr/lib/php5/sessionclean /var/lib/php5 $(/usr/lib/php5/maxlifetime))
Aug 12 13:17:01 ubuntu-2gb-blr1-14-04-3 CRON[14688]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Aug 12 13:17:15 ubuntu-2gb-blr1-14-04-3 do-agent[1007]: 2017/08/12 13:17:15 Checking for newer version of do-agent
Aug 12 13:17:15 ubuntu-2gb-blr1-14-04-3 do-agent[1007]: 2017/08/12 13:17:15 Unable to update do-agent: Update: Error initializing repository: tuf: failed to decode root.json: expired at 2017-07-22 15:27:54 +0000 UTC
Aug 12 13:39:01 ubuntu-2gb-blr1-14-04-3 CRON[18582]: (root) CMD (  [ -x /usr/lib/php5/maxlifetime ] && [ -x /usr/lib/php5/sessionclean ] && [ -d /var/lib/php5 ] && /usr/lib/php5/sessionclean /var/lib/php5 $(/usr/lib/php5/maxlifetime))
Aug 12 14:09:01 ubuntu-2gb-blr1-14-04-3 CRON[23907]: (root) CMD (  [ -x /usr/lib/php5/maxlifetime ] && [ -x /usr/lib/php5/sessionclean ] && [ -d /var/lib/php5 ] && /usr/lib/php5/sessionclean /var/lib/php5 $(/usr/lib/php5/maxlifetime))
Aug 12 14:17:01 ubuntu-2gb-blr1-14-04-3 CRON[25285]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Aug 12 14:17:18 ubuntu-2gb-blr1-14-04-3 do-agent[1007]: 2017/08/12 14:17:18 Checking for newer version of do-agent
Aug 12 14:17:18 ubuntu-2gb-blr1-14-04-3 do-agent[1007]: 2017/08/12 14:17:18 Unable to update do-agent: Update: Error initializing repository: tuf: failed to decode root.json: expired at 2017-07-22 15:27:54 +0000 UTC
Aug 12 14:39:01 ubuntu-2gb-blr1-14-04-3 CRON[29030]: (root) CMD (  [ -x /usr/lib/php5/maxlifetime ] && [ -x /usr/lib/php5/sessionclean ] && [ -d /var/lib/php5 ] && /usr/lib/php5/sessionclean /var/lib/php5 $(/usr/lib/php5/maxlifetime))
Aug 12 15:09:01 ubuntu-2gb-blr1-14-04-3 CRON[1700]: (root) CMD (  [ -x /usr/lib/php5/maxlifetime ] && [ -x /usr/lib/php5/sessionclean ] && [ -d /var/lib/php5 ] && /usr/lib/php5/sessionclean /var/lib/php5 $(/usr/lib/php5/maxlifetime))
Aug 12 15:17:01 ubuntu-2gb-blr1-14-04-3 CRON[3066]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Aug 12 15:17:18 ubuntu-2gb-blr1-14-04-3 do-agent[1007]: 2017/08/12 15:17:18 Checking for newer version of do-agent
Aug 12 15:17:18 ubuntu-2gb-blr1-14-04-3 do-agent[1007]: 2017/08/12 15:17:18 Unable to update do-agent: Update: Error initializing repository: tuf: failed to decode root.json: expired at 2017-07-22 15:27:54 +0000 UTC
Aug 12 15:39:01 ubuntu-2gb-blr1-14-04-3 CRON[6929]: (root) CMD (  [ -x /usr/lib/php5/maxlifetime ] && [ -x /usr/lib/php5/sessionclean ] && [ -d /var/lib/php5 ] && /usr/lib/php5/sessionclean /var/lib/php5 $(/usr/lib/php5/maxlifetime))
Aug 12 15:46:15 ubuntu-2gb-blr1-14-04-3 crontab[8299]: (root) LIST (root)
Aug 12 15:47:50 ubuntu-2gb-blr1-14-04-3 crontab[8634]: (root) BEGIN EDIT (root)
Aug 12 15:48:26 ubuntu-2gb-blr1-14-04-3 crontab[8634]: (root) REPLACE (root)
Aug 12 15:48:26 ubuntu-2gb-blr1-14-04-3 crontab[8634]: (root) END EDIT (root)
Aug 12 15:49:01 ubuntu-2gb-blr1-14-04-3 cron[1058]: (root) RELOAD (crontabs/root)
(END)
I currently have only two crons a day, at 4pm and 5pm, and I renew let's encrypt at 3.15

I have search the error in Google, but the answers are all very confusing...
porn-update is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-12-2017, 09:06 AM   #64
magneto664
Confirmed User
 
Industry Role:
Join Date: Aug 2014
Location: Glasgow
Posts: 216
Quote:
Originally Posted by porn-update View Post
Should I install postfix? only postfix?
never install on your server postfix or any mail service. ! or you want to give access for spammerS?
__________________
magneto664 [x] gmail.com
GET FREE ADULT BACKLINKS - My Fav: chaturbate - dateprofits - datetronix
CamsBell.com - CamsHolic.com - CamsDepot.com - LinkCams.com
magneto664 is online now   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-12-2017, 08:29 PM   #65
Barry-xlovecam
It's 42
 
Barry-xlovecam's Avatar
 
Industry Role:
Join Date: Jun 2010
Location: Global
Posts: 16,564
Did you edit the conrab to a
(cd /path/; php file.php)

try it manually does the cron work manually?

maybe without the \. that is from an old php 5 install? or just

php /path/file.php

su 'user'
password ********

crontab -e

make a user crontab for this

then verify $ stat [] that any file to be written to is permissions user:www-data otherwise the php will not be able to write to the file
you could go up from 644 to 666 and try it also

If it is a PDO MySQL make sure you settings are correct for the database



make sure there is a \n (newline) at the end of the command

leave the > /dev/null 2>&1 off for now


I don't see it working
Is there some file affected -- can you stat a date time?

Mail servers are a hassle to set up correctly -- why do you really need an email -- to feel good? Can't you tell by the website's updates if the cronjob is working?
__________________
Vive la résistance -- Carpe diem

"If you only knew the power of the dark side." ...Darth Vader
Sk.why.pe: barry_555_5 -- ICQ: three1896three617
Barry-xlovecam is online now   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-13-2017, 04:01 PM   #66
Kafka
Confirmed User
 
Kafka's Avatar
 
Join Date: Oct 2002
Location: Holland
Posts: 323
Varnish doesn't work (yet) with Apache https. You have to use Nginx to handle incoming SSL requests:

nginx (https, 443) -> varnish (http, 80) -> apache (http, 8080)

See here for more details.

For just sending mails you can use mailx (a Unix utility program for sending and receiving mail,) command, no locale MTA is required (like Postfix) and use the Gmail MTA.


If you don't have the mailx command, you can install the package.
You can use this command to send emails:

echo -e "your body text" | mailx -v -s "subject text" \
-S smtp-use-starttls \
-S ssl-verify=ignore \
-S smtp-auth=login \
-S smtp=smtp://smtp.gmail.com:587 \
-S from="[email protected]" \
-S [email protected] \
-S smtp-auth-password=yourGmailpasswd \
-S ssl-verify=ignore recipientemailaddress

copy this command to a file (shell script) and make it executable.
With cron it is easy to execute this script to run periodically at fixed times.


and never, ever use ftp. Use sftp(secure ftp)or rsync to transfer data to your server.
Ftp is unsecure and all the data is unencrypted.

Learn shell commands and to test things and learn things install Ubuntu or Centos.
on your local pc.
Copy (with rsync) all the data to your local pc (open port 22 for local ssh server) so you can test things.
Kafka is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-14-2017, 09:59 AM   #67
porn-update
Confirmed User
 
porn-update's Avatar
 
Industry Role:
Join Date: Apr 2014
Posts: 265
Thanks for the answers.

The Cronjob, manually launched works (and works on other servers)

I added a file https://www.alternativegirlshardpics.com/lastcron.txt the timestamp of the last started. fwrite in cronojob.php.

Now I've added all the possible ways, to figure out if someone works, then if it works I'll see what it is


The mail I really would need, because I load data from RSS, XML, TXT files etc that are not mine and every day there is some new error to correct and fix.

Via Mail I also get the output of PHP errors.
porn-update is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-15-2017, 10:56 AM   #68
Barry-xlovecam
It's 42
 
Barry-xlovecam's Avatar
 
Industry Role:
Join Date: Jun 2010
Location: Global
Posts: 16,564
no: cd /usr/share//../../ is an example path

the way it works, is the cron will cd to that location ; (<stop next command) php ./(execute this file)
then you need no path to the file

try that manually as the cron would do it
$ cd /var/www/html/alternativegirlshardpics.com/; php ./cronojob.php
see if it works ok in a bash shell (ssh) and NOT a browser

so
Code:
0 16 * * * (cd /var/www/html/alternativegirlshardpics.com/; php ./cronojob.php)
try without the ./ if that does not work
__________________
Vive la résistance -- Carpe diem

"If you only knew the power of the dark side." ...Darth Vader
Sk.why.pe: barry_555_5 -- ICQ: three1896three617
Barry-xlovecam is online now   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-16-2017, 01:19 PM   #69
porn-update
Confirmed User
 
porn-update's Avatar
 
Industry Role:
Join Date: Apr 2014
Posts: 265
I tried everything, done everything,

I also tried to use different users, both root and normal user
Nothing ever works.

But in the logs I found this

Code:
Aug 16 20:10:01 ubuntu-2gb-blr1-14-04-3 CRON[1520]: (root) CMD (php /var/www/html/alternativegirlshardpics.com/cronojob.php)
Aug 16 20:10:01 ubuntu-2gb-blr1-14-04-3 CRON[1522]: (pornupdate) CMD (/usr/bin/php /var/www/html/alternativegirlshardpics.com/cronojob.php)
Aug 16 20:10:01 ubuntu-2gb-blr1-14-04-3 CRON[1521]: (pornupdate) CMD ((cd /var/www/html/alternativegirlshardpics.com/; php cronojob.php))
Aug 16 20:10:01 ubuntu-2gb-blr1-14-04-3 CRON[1525]: (root) CMD ((cd /var/www/html/alternativegirlshardpics.com/; php ./cronojob.php))
Aug 16 20:10:01 ubuntu-2gb-blr1-14-04-3 CRON[1528]: (root) CMD ((cd /var/www/html/alternativegirlshardpics.com/; php cronojob.php))
Aug 16 20:10:01 ubuntu-2gb-blr1-14-04-3 CRON[1524]: (pornupdate) CMD (php /var/www/html/alternativegirlshardpics.com/cronojob.php)
Aug 16 20:10:01 ubuntu-2gb-blr1-14-04-3 CRON[1531]: (pornupdate) CMD ((cd /var/www/html/alternativegirlshardpics.com/; php ./cronojob.php))
Aug 16 20:10:01 ubuntu-2gb-blr1-14-04-3 CRON[1516]: (CRON) info (No MTA installed, discarding output)
Aug 16 20:10:01 ubuntu-2gb-blr1-14-04-3 CRON[1518]: (CRON) info (No MTA installed, discarding output)
Aug 16 20:10:01 ubuntu-2gb-blr1-14-04-3 CRON[1513]: (CRON) info (No MTA installed, discarding output)
Aug 16 20:10:01 ubuntu-2gb-blr1-14-04-3 CRON[1514]: (CRON) info (No MTA installed, discarding output)
Aug 16 20:10:01 ubuntu-2gb-blr1-14-04-3 CRON[1515]: (CRON) info (No MTA installed, discarding output)
Aug 16 20:10:01 ubuntu-2gb-blr1-14-04-3 CRON[1519]: (CRON) info (No MTA installed, discarding output)
Aug 16 20:10:01 ubuntu-2gb-blr1-14-04-3 CRON[1517]: (CRON) info (No MTA installed, discarding output)
Aug 16 20:10:59 ubuntu-2gb-blr1-14-04-3 kernel: [  103.896095] random: nonblocking pool is initialized
Aug 16 20:11:01 ubuntu-2gb-blr1-14-04-3 CRON[1718]: (pornupdate) CMD (php /var/www/html/alternativegirlshardpics.com/cronojob.php)
Aug 16 20:11:01 ubuntu-2gb-blr1-14-04-3 CRON[1717]: (pornupdate) CMD ((cd /var/www/html/alternativegirlshardpics.com/; php cronojob.php))
Aug 16 20:11:01 ubuntu-2gb-blr1-14-04-3 CRON[1719]: (pornupdate) CMD (/usr/bin/php /var/www/html/alternativegirlshardpics.com/cronojob.php)
Aug 16 20:11:01 ubuntu-2gb-blr1-14-04-3 CRON[1723]: (pornupdate) CMD ((cd /var/www/html/alternativegirlshardpics.com/; php ./cronojob.php))
Aug 16 20:11:01 ubuntu-2gb-blr1-14-04-3 CRON[1715]: (CRON) info (No MTA installed, discarding output)
Aug 16 20:11:01 ubuntu-2gb-blr1-14-04-3 CRON[1713]: (CRON) info (No MTA installed, discarding output)
Aug 16 20:11:01 ubuntu-2gb-blr1-14-04-3 CRON[1714]: (CRON) info (No MTA installed, discarding output)
Aug 16 20:11:01 ubuntu-2gb-blr1-14-04-3 CRON[1716]: (CRON) info (No MTA installed, discarding output)
Aug 16 20:12:01 ubuntu-2gb-blr1-14-04-3 CRON[1897]: (pornupdate) CMD ((cd /var/www/html/alternativegirlshardpics.com/; php ./cronojob.php))
Aug 16 20:12:01 ubuntu-2gb-blr1-14-04-3 CRON[1898]: (pornupdate) CMD ((cd /var/www/html/alternativegirlshardpics.com/; php cronojob.php))
Aug 16 20:12:01 ubuntu-2gb-blr1-14-04-3 CRON[1900]: (pornupdate) CMD (php /var/www/html/alternativegirlshardpics.com/cronojob.php)
Aug 16 20:12:01 ubuntu-2gb-blr1-14-04-3 CRON[1899]: (pornupdate) CMD (/usr/bin/php /var/www/html/alternativegirlshardpics.com/cronojob.php)
Aug 16 20:12:01 ubuntu-2gb-blr1-14-04-3 CRON[1893]: (CRON) info (No MTA installed, discarding output)
Aug 16 20:12:01 ubuntu-2gb-blr1-14-04-3 CRON[1895]: (CRON) info (No MTA installed, discarding output)
Aug 16 20:12:01 ubuntu-2gb-blr1-14-04-3 CRON[1896]: (CRON) info (No MTA installed, discarding output)
Aug 16 20:12:01 ubuntu-2gb-blr1-14-04-3 CRON[1894]: (CRON) info (No MTA installed, discarding output)
Aug 16 20:13:01 ubuntu-2gb-blr1-14-04-3 CRON[2148]: (pornupdate) CMD ((cd /var/www/html/alternativegirlshardpics.com/; php ./cronojob.php))
Aug 16 20:13:01 ubuntu-2gb-blr1-14-04-3 CRON[2149]: (pornupdate) CMD ((cd /var/www/html/alternativegirlshardpics.com/; php cronojob.php))
Aug 16 20:13:01 ubuntu-2gb-blr1-14-04-3 CRON[2150]: (pornupdate) CMD (/usr/bin/php /var/www/html/alternativegirlshardpics.com/cronojob.php)
Aug 16 20:13:01 ubuntu-2gb-blr1-14-04-3 CRON[2153]: (pornupdate) CMD (php /var/www/html/alternativegirlshardpics.com/cronojob.php)
Aug 16 20:13:01 ubuntu-2gb-blr1-14-04-3 CRON[2145]: (CRON) info (No MTA installed, discarding output)
Aug 16 20:13:01 ubuntu-2gb-blr1-14-04-3 CRON[2144]: (CRON) info (No MTA installed, discarding output)
Aug 16 20:13:01 ubuntu-2gb-blr1-14-04-3 CRON[2143]: (CRON) info (No MTA installed, discarding output)
Aug 16 20:13:01 ubuntu-2gb-blr1-14-04-3 CRON[2146]: (CRON) info (No MTA installed, discarding output)
I have to install Postfix???
However, the mails of the cronjob I need...
porn-update is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-17-2017, 07:17 AM   #70
Barry-xlovecam
It's 42
 
Barry-xlovecam's Avatar
 
Industry Role:
Join Date: Jun 2010
Location: Global
Posts: 16,564
https://serverfault.com/questions/13...tput-to-syslog
try these ideas
setting up a 'proper' email server is not just installing postfix. You will need to create a database, install an MTA setup like Dovecot and an email daemon. You will need to shell into mysql to create email accounts in a the database or find a web GUI to do this. Try the idea in that link first.

Try
Code:
$ sudo  apt-get install libxml2-utils

$ xmllint
xmllint
__________________
Vive la résistance -- Carpe diem

"If you only knew the power of the dark side." ...Darth Vader
Sk.why.pe: barry_555_5 -- ICQ: three1896three617
Barry-xlovecam is online now   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-17-2017, 10:06 AM   #71
Kafka
Confirmed User
 
Kafka's Avatar
 
Join Date: Oct 2002
Location: Holland
Posts: 323
As i said, use mailx and Gmail MTA. Easy for just sending emails.
btw, Postfix does not need MySql and Dovecot. Just use your login account.

If you only want to send out emails Dovecot is not needed either.
Dovecot is an IMAP and POP3 email server (for receiving emails).

But again, you don't need a local MTA .
Kafka is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-17-2017, 11:08 AM   #72
porn-update
Confirmed User
 
porn-update's Avatar
 
Industry Role:
Join Date: Apr 2014
Posts: 265
So for now I have installed postfix and added the MAILTO= parameter in my crontab, and the mails come to me, so I think Cronjob started to work.
And for me it would be enough already., now calmly I see to understand the rest of your indications

The problem I have now is that I do not get the output of the file via mail, but the code of the file... I mean line by line all the PHP code of my file cronjob.php via mail... ???
And the test file https://www.alternativegirlshardpics.com/lastcron.txt still does not exist, I think PHP does not run... but why???

Quote:
But again, you don't need a local MTA .
I think it need locally something like postfix, because the mail I want to send me the server directly when a cronjob is executed, also because, without MTA this damned cronjob does not work...
porn-update is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-17-2017, 12:25 PM   #73
Barry-xlovecam
It's 42
 
Barry-xlovecam's Avatar
 
Industry Role:
Join Date: Jun 2010
Location: Global
Posts: 16,564
Quote:
Originally Posted by Kafka View Post
As i said, use mailx and Gmail MTA. Easy for just sending emails.
btw, Postfix does not need MySql and Dovecot. Just use your login account.

If you only want to send out emails Dovecot is not needed either.
Dovecot is an IMAP and POP3 email server (for receiving emails).

But again, you don't need a local MTA .
I have virtual accounts set up on my real email servers. Virtual accounts require that.
Complicated set up.

Keep it simple open the file in a browser? put the file in in a web root. or copy it there as part of the cron.

Or, cron a daily scp command on your local computer if you have a LINUX box to use locally.

I don't understand why you have this bad code issue in the cron -- I would fix that problem programatically or find another feed source ...
__________________
Vive la résistance -- Carpe diem

"If you only knew the power of the dark side." ...Darth Vader
Sk.why.pe: barry_555_5 -- ICQ: three1896three617
Barry-xlovecam is online now   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-17-2017, 02:02 PM   #74
porn-update
Confirmed User
 
porn-update's Avatar
 
Industry Role:
Join Date: Apr 2014
Posts: 265
So... curl works...

But I'm not happy... I want to know why this damned crontab does not run my PHP scripts and I will not be happy until I can find out...

Postfix gave me some problems with the aliases etc, and fills me the logs of rubbish...

Initially the mails started to arrive, then I restarted the server and postfix started to create problems, I took it half an hour to be able to have the mail again...

Maybe it was enough to add the parameter MAILTO on crontab and maybe the mails arrived the same...

Anyway, for now curl and if everything works in a few days start to move here some sites
porn-update is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-18-2017, 12:44 PM   #75
porn-update
Confirmed User
 
porn-update's Avatar
 
Industry Role:
Join Date: Apr 2014
Posts: 265
Is normal all this junk in my syslog?

Code:
Aug 18 06:41:49 ubuntu-2gb-blr1-14-04-3 rsyslogd: [origin software="rsyslogd" swVersion="7.4.4" x-pid="918" x-info="http://www.rsyslog.com"] rsyslogd was HUPed
Aug 18 07:07:13 ubuntu-2gb-blr1-14-04-3 do-agent[1031]: 2017/08/18 07:07:13 Checking for newer version of do-agent
Aug 18 07:07:13 ubuntu-2gb-blr1-14-04-3 do-agent[1031]: 2017/08/18 07:07:13 No update available
Aug 18 07:09:01 ubuntu-2gb-blr1-14-04-3 CRON[6566]: (root) CMD (  [ -x /usr/lib/php5/maxlifetime ] && [ -x /usr/lib/php5/sessionclean ] && [ -d /var/lib/php5 ] && /usr/l
ib/php5/sessionclean /var/lib/php5 $(/usr/lib/php5/maxlifetime))
Aug 18 07:17:01 ubuntu-2gb-blr1-14-04-3 CRON[7913]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Aug 18 07:39:01 ubuntu-2gb-blr1-14-04-3 CRON[11520]: (root) CMD (  [ -x /usr/lib/php5/maxlifetime ] && [ -x /usr/lib/php5/sessionclean ] && [ -d /var/lib/php5 ] && /usr/
lib/php5/sessionclean /var/lib/php5 $(/usr/lib/php5/maxlifetime))
Aug 18 08:07:13 ubuntu-2gb-blr1-14-04-3 do-agent[1031]: 2017/08/18 08:07:13 Checking for newer version of do-agent
Aug 18 08:07:13 ubuntu-2gb-blr1-14-04-3 do-agent[1031]: 2017/08/18 08:07:13 No update available
Aug 18 08:09:01 ubuntu-2gb-blr1-14-04-3 CRON[16509]: (root) CMD (  [ -x /usr/lib/php5/maxlifetime ] && [ -x /usr/lib/php5/sessionclean ] && [ -d /var/lib/php5 ] && /usr/
lib/php5/sessionclean /var/lib/php5 $(/usr/lib/php5/maxlifetime))
Aug 18 08:17:01 ubuntu-2gb-blr1-14-04-3 CRON[17838]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Aug 18 08:39:01 ubuntu-2gb-blr1-14-04-3 CRON[21461]: (root) CMD (  [ -x /usr/lib/php5/maxlifetime ] && [ -x /usr/lib/php5/sessionclean ] && [ -d /var/lib/php5 ] && /usr/
lib/php5/sessionclean /var/lib/php5 $(/usr/lib/php5/maxlifetime))
Aug 18 08:42:55 ubuntu-2gb-blr1-14-04-3 postfix/smtpd[22114]: connect from scan-42.security.ipip.net[139.162.99.243]
Aug 18 08:42:55 ubuntu-2gb-blr1-14-04-3 postfix/smtpd[22114]: lost connection after CONNECT from scan-42.security.ipip.net[139.162.99.243]
Aug 18 08:42:55 ubuntu-2gb-blr1-14-04-3 postfix/smtpd[22114]: disconnect from scan-42.security.ipip.net[139.162.99.243]
Aug 18 08:46:15 ubuntu-2gb-blr1-14-04-3 postfix/anvil[22116]: statistics: max connection rate 1/60s for (smtp:139.162.99.243) at Aug 18 08:42:55
Aug 18 08:46:15 ubuntu-2gb-blr1-14-04-3 postfix/anvil[22116]: statistics: max connection count 1 for (smtp:139.162.99.243) at Aug 18 08:42:55
Aug 18 08:46:15 ubuntu-2gb-blr1-14-04-3 postfix/anvil[22116]: statistics: max cache size 1 at Aug 18 08:42:55
Aug 18 09:07:14 ubuntu-2gb-blr1-14-04-3 do-agent[1031]: 2017/08/18 09:07:14 Checking for newer version of do-agent
Aug 18 09:07:19 ubuntu-2gb-blr1-14-04-3 do-agent[1031]: 2017/08/18 09:07:19 No update available
Aug 18 09:09:01 ubuntu-2gb-blr1-14-04-3 CRON[26507]: (root) CMD (  [ -x /usr/lib/php5/maxlifetime ] && [ -x /usr/lib/php5/sessionclean ] && [ -d /var/lib/php5 ] && /usr/
lib/php5/sessionclean /var/lib/php5 $(/usr/lib/php5/maxlifetime))
Aug 18 09:17:01 ubuntu-2gb-blr1-14-04-3 CRON[27853]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Aug 18 09:39:01 ubuntu-2gb-blr1-14-04-3 CRON[31516]: (root) CMD (  [ -x /usr/lib/php5/maxlifetime ] && [ -x /usr/lib/php5/sessionclean ] && [ -d /var/lib/php5 ] && /usr/
lib/php5/sessionclean /var/lib/php5 $(/usr/lib/php5/maxlifetime))
Aug 18 10:07:22 ubuntu-2gb-blr1-14-04-3 do-agent[1031]: 2017/08/18 10:07:22 Checking for newer version of do-agent
Aug 18 10:07:24 ubuntu-2gb-blr1-14-04-3 do-agent[1031]: 2017/08/18 10:07:24 No update available
Aug 18 10:09:01 ubuntu-2gb-blr1-14-04-3 CRON[4113]: (root) CMD (  [ -x /usr/lib/php5/maxlifetime ] && [ -x /usr/lib/php5/sessionclean ] && [ -d /var/lib/php5 ] && /usr/l
ib/php5/sessionclean /var/lib/php5 $(/usr/lib/php5/maxlifetime))
Aug 18 10:17:01 ubuntu-2gb-blr1-14-04-3 CRON[5497]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Aug 18 10:23:22 ubuntu-2gb-blr1-14-04-3 postfix/smtpd[6541]: connect from 61-216-14-176.HINET-IP.hinet.net[61.216.14.176]
Aug 18 10:23:23 ubuntu-2gb-blr1-14-04-3 postfix/smtpd[6541]: SSL_accept error from 61-216-14-176.HINET-IP.hinet.net[61.216.14.176]: lost connection
Aug 18 10:23:23 ubuntu-2gb-blr1-14-04-3 postfix/smtpd[6541]: lost connection after STARTTLS from 61-216-14-176.HINET-IP.hinet.net[61.216.14.176]
Aug 18 10:23:23 ubuntu-2gb-blr1-14-04-3 postfix/smtpd[6541]: disconnect from 61-216-14-176.HINET-IP.hinet.net[61.216.14.176]
Aug 18 10:26:43 ubuntu-2gb-blr1-14-04-3 postfix/anvil[6543]: statistics: max connection rate 1/60s for (smtp:61.216.14.176) at Aug 18 10:23:22
Aug 18 10:26:43 ubuntu-2gb-blr1-14-04-3 postfix/anvil[6543]: statistics: max connection count 1 for (smtp:61.216.14.176) at Aug 18 10:23:22
Aug 18 10:26:43 ubuntu-2gb-blr1-14-04-3 postfix/anvil[6543]: statistics: max cache size 1 at Aug 18 10:23:22
Aug 18 10:39:01 ubuntu-2gb-blr1-14-04-3 CRON[9133]: (root) CMD (  [ -x /usr/lib/php5/maxlifetime ] && [ -x /usr/lib/php5/sessionclean ] && [ -d /var/lib/php5 ] && /usr/l
ib/php5/sessionclean /var/lib/php5 $(/usr/lib/php5/maxlifetime))
Aug 18 11:07:30 ubuntu-2gb-blr1-14-04-3 do-agent[1031]: 2017/08/18 11:07:30 Checking for newer version of do-agent
Aug 18 11:07:31 ubuntu-2gb-blr1-14-04-3 do-agent[1031]: 2017/08/18 11:07:31 No update available
Aug 18 11:09:01 ubuntu-2gb-blr1-14-04-3 CRON[14118]: (root) CMD (  [ -x /usr/lib/php5/maxlifetime ] && [ -x /usr/lib/php5/sessionclean ] && [ -d /var/lib/php5 ] && /usr/
lib/php5/sessionclean /var/lib/php5 $(/usr/lib/php5/maxlifetime))
Aug 18 11:17:01 ubuntu-2gb-blr1-14-04-3 CRON[15480]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Aug 18 11:39:01 ubuntu-2gb-blr1-14-04-3 CRON[19143]: (root) CMD (  [ -x /usr/lib/php5/maxlifetime ] && [ -x /usr/lib/php5/sessionclean ] && [ -d /var/lib/php5 ] && /usr/
lib/php5/sessionclean /var/lib/php5 $(/usr/lib/php5/maxlifetime))
Aug 18 12:00:01 ubuntu-2gb-blr1-14-04-3 CRON[22649]: (root) CMD (test -x /usr/bin/certbot -a \! -d /run/systemd/system && perl -e 'sleep int(rand(3600))' && certbot -q r
enew)
Aug 18 12:07:33 ubuntu-2gb-blr1-14-04-3 do-agent[1031]: 2017/08/18 12:07:33 Checking for newer version of do-agent
Aug 18 12:07:34 ubuntu-2gb-blr1-14-04-3 do-agent[1031]: 2017/08/18 12:07:34 No update available



Other thing, page scan times...

Long ago when the server worked fine 200-250 milliseconds, now with new server 1100-1200 milliseconds (so much), can I do something?





Will it improve in the future? Maybe cache or server that optimizes?
porn-update is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-21-2017, 01:16 PM   #76
porn-update
Confirmed User
 
porn-update's Avatar
 
Industry Role:
Join Date: Apr 2014
Posts: 265
S**t, today I almost thought about starting to move some site... and I found this...

Code:
Cron <[email protected]> curl https://www.alternativegirlshardpics.com/cronojob.php

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0
  0     0    0     0    0     0      0      0 --:--:--  0:00:02 --:--:--     0
curl: (6) Could not resolve host: www.alternativegirlshardpics.com
What is it? What happened? How can I understand what didn't work?

This is syslog... there are always a lot of strange lines... which I'm not sure there should be...

Code:
Aug 21 15:09:01 ubuntu-2gb-blr1-14-04-3 CRON[23886]: (root) CMD (  [ -x /usr/lib/php5/maxlifetime ] && [ -x /usr/lib/php5/sessionclean ] && [ -d /var/lib/php5 ] && /usr/l
ib/php5/sessionclean /var/lib/php5 $(/usr/lib/php5/maxlifetime))
Aug 21 15:17:01 ubuntu-2gb-blr1-14-04-3 CRON[25315]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Aug 21 15:18:33 ubuntu-2gb-blr1-14-04-3 postfix/smtpd[25582]: connect from 64-60-63-243.static-ip.telepacific.net[64.60.63.243]
Aug 21 15:18:34 ubuntu-2gb-blr1-14-04-3 postfix/smtpd[25582]: NOQUEUE: reject: RCPT from 64-60-63-243.static-ip.telepacific.net[64.60.63.243]: 454 4.7.1 <[email protected]>: Relay access denied; from=<[email protected]> to=<[email protected]> proto=ESMTP helo=<DelicaTS>
Aug 21 15:18:34 ubuntu-2gb-blr1-14-04-3 postfix/smtpd[25582]: disconnect from 64-60-63-243.static-ip.telepacific.net[64.60.63.243]
Aug 21 15:21:22 ubuntu-2gb-blr1-14-04-3 do-agent[1031]: 2017/08/21 15:21:22 Checking for newer version of do-agent
Aug 21 15:21:23 ubuntu-2gb-blr1-14-04-3 do-agent[1031]: 2017/08/21 15:21:23 No repository update available
Aug 21 15:21:54 ubuntu-2gb-blr1-14-04-3 postfix/anvil[25584]: statistics: max connection rate 1/60s for (smtp:64.60.63.243) at Aug 21 15:18:33
Aug 21 15:21:54 ubuntu-2gb-blr1-14-04-3 postfix/anvil[25584]: statistics: max connection count 1 for (smtp:64.60.63.243) at Aug 21 15:18:33
Aug 21 15:21:54 ubuntu-2gb-blr1-14-04-3 postfix/anvil[25584]: statistics: max cache size 1 at Aug 21 15:18:33
Aug 21 15:39:01 ubuntu-2gb-blr1-14-04-3 CRON[29072]: (root) CMD (  [ -x /usr/lib/php5/maxlifetime ] && [ -x /usr/lib/php5/sessionclean ] && [ -d /var/lib/php5 ] && /usr/lib/php5/sessionclean /var/lib/php5 $(/usr/lib/php5/maxlifetime))
Aug 21 16:00:01 ubuntu-2gb-blr1-14-04-3 CRON[32620]: (root) CMD (curl https://www.alternativegirlshardpics.com/cronojob.php)
Aug 21 16:00:04 ubuntu-2gb-blr1-14-04-3 postfix/pickup[22785]: C72CA40911: uid=0 from=<root>
Aug 21 16:00:04 ubuntu-2gb-blr1-14-04-3 postfix/cleanup[32635]: C72CA40911: message-id=<[email protected]>
Aug 21 16:00:04 ubuntu-2gb-blr1-14-04-3 postfix/qmgr[1296]: C72CA40911: from=<[email protected]>, size=1191, nrcpt=1 (queue active)
Aug 21 16:00:15 ubuntu-2gb-blr1-14-04-3 postfix/smtp[32637]: C72CA40911: to=<[email protected]>, relay=porn-update.com[198.252.98.30]:25, delay=11, delays=0.02/0.01/3.3/7.7, dsn=2.0.0, status=sent (250 OK id=1djp7X-004Gzv-H1)
Aug 21 16:00:15 ubuntu-2gb-blr1-14-04-3 postfix/qmgr[1296]: C72CA40911: removed
Aug 21 16:09:01 ubuntu-2gb-blr1-14-04-3 CRON[1714]: (root) CMD (  [ -x /usr/lib/php5/maxlifetime ] && [ -x /usr/lib/php5/sessionclean ] && [ -d /var/lib/php5 ] && /usr/lib/php5/sessionclean /var/lib/php5 $(/usr/lib/php5/maxlifetime))
Aug 21 16:17:01 ubuntu-2gb-blr1-14-04-3 CRON[3047]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Aug 21 16:21:27 ubuntu-2gb-blr1-14-04-3 do-agent[1031]: 2017/08/21 16:21:27 Checking for newer version of do-agent
Aug 21 16:21:27 ubuntu-2gb-blr1-14-04-3 do-agent[1031]: 2017/08/21 16:21:27 No repository update available
Aug 21 16:39:02 ubuntu-2gb-blr1-14-04-3 CRON[6737]: (root) CMD (  [ -x /usr/lib/php5/maxlifetime ] && [ -x /usr/lib/php5/sessionclean ] && [ -d /var/lib/php5 ] && /usr/lib/php5/sessionclean /var/lib/php5 $(/usr/lib/php5/maxlifetime))
Aug 21 17:00:01 ubuntu-2gb-blr1-14-04-3 CRON[10247]: (root) CMD (curl https://www.transgender-hardpics.com/cronojob.php)
Aug 21 17:01:01 ubuntu-2gb-blr1-14-04-3 postfix/pickup[7186]: 4B8A740911: uid=0 from=<root>
Aug 21 17:01:01 ubuntu-2gb-blr1-14-04-3 postfix/cleanup[10423]: 4B8A740911: message-id=<[email protected]>
Aug 21 17:01:01 ubuntu-2gb-blr1-14-04-3 postfix/qmgr[1296]: 4B8A740911: from=<[email protected]>, size=6050, nrcpt=1 (queue active)
Aug 21 17:01:17 ubuntu-2gb-blr1-14-04-3 postfix/smtp[10425]: 4B8A740911: to=<[email protected]>, relay=porn-update.com[198.252.98.30]:25, delay=16, delays=0.01/0/5.9/9.9, dsn=2.0.0, status=sent (250 OK id=1djq4Y-000c2M-FJ)
Aug 21 17:01:17 ubuntu-2gb-blr1-14-04-3 postfix/qmgr[1296]: 4B8A740911: removed
Aug 21 17:09:01 ubuntu-2gb-blr1-14-04-3 CRON[11761]: (root) CMD (  [ -x /usr/lib/php5/maxlifetime ] && [ -x /usr/lib/php5/sessionclean ] && [ -d /var/lib/php5 ] && /usr/lib/php5/sessionclean /var/lib/php5 $(/usr/lib/php5/maxlifetime))
Aug 21 17:17:01 ubuntu-2gb-blr1-14-04-3 CRON[13099]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Aug 21 17:21:28 ubuntu-2gb-blr1-14-04-3 do-agent[1031]: 2017/08/21 17:21:28 Checking for newer version of do-agent
Aug 21 17:21:28 ubuntu-2gb-blr1-14-04-3 do-agent[1031]: 2017/08/21 17:21:28 No repository update available
Aug 21 17:39:01 ubuntu-2gb-blr1-14-04-3 CRON[16756]: (root) CMD (  [ -x /usr/lib/php5/maxlifetime ] && [ -x /usr/lib/php5/sessionclean ] && [ -d /var/lib/php5 ] && /usr/lib/php5/sessionclean /var/lib/php5 $(/usr/lib/php5/maxlifetime))
Aug 21 17:51:04 ubuntu-2gb-blr1-14-04-3 postfix/smtpd[18771]: connect from 50-242-205-53-static.hfc.comcastbusiness.net[50.242.205.53]
Aug 21 17:51:05 ubuntu-2gb-blr1-14-04-3 postfix/smtpd[18771]: NOQUEUE: reject: RCPT from 50-242-205-53-static.hfc.comcastbusiness.net[50.242.205.53]: 454 4.7.1 <[email protected]>: Relay access denied; from=<[email protected]> to=<[email protected]> proto=ESMTP helo=<AAMFG-DC-TS-01>
Aug 21 17:51:05 ubuntu-2gb-blr1-14-04-3 postfix/smtpd[18771]: disconnect from 50-242-205-53-static.hfc.comcastbusiness.net[50.242.205.53]
Aug 21 17:54:25 ubuntu-2gb-blr1-14-04-3 postfix/anvil[18773]: statistics: max connection rate 1/60s for (smtp:50.242.205.53) at Aug 21 17:51:04
Aug 21 17:54:25 ubuntu-2gb-blr1-14-04-3 postfix/anvil[18773]: statistics: max connection count 1 for (smtp:50.242.205.53) at Aug 21 17:51:04
Aug 21 17:54:25 ubuntu-2gb-blr1-14-04-3 postfix/anvil[18773]: statistics: max cache size 1 at Aug 21 17:51:04
Aug 21 18:09:01 ubuntu-2gb-blr1-14-04-3 CRON[21816]: (root) CMD (  [ -x /usr/lib/php5/maxlifetime ] && [ -x /usr/lib/php5/sessionclean ] && [ -d /var/lib/php5 ] && /usr/lib/php5/sessionclean /var/lib/php5 $(/usr/lib/php5/maxlifetime))
Aug 21 18:17:01 ubuntu-2gb-blr1-14-04-3 CRON[23163]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Aug 21 18:21:32 ubuntu-2gb-blr1-14-04-3 do-agent[1031]: 2017/08/21 18:21:32 Checking for newer version of do-agent
Aug 21 18:21:32 ubuntu-2gb-blr1-14-04-3 do-agent[1031]: 2017/08/21 18:21:32 No repository update available
Aug 21 18:39:01 ubuntu-2gb-blr1-14-04-3 CRON[26840]: (root) CMD (  [ -x /usr/lib/php5/maxlifetime ] && [ -x /usr/lib/php5/sessionclean ] && [ -d /var/lib/php5 ] && /usr/lib/php5/sessionclean /var/lib/php5 $(/usr/lib/php5/maxlifetime))
Aug 21 19:09:01 ubuntu-2gb-blr1-14-04-3 CRON[31868]: (root) CMD (  [ -x /usr/lib/php5/maxlifetime ] && [ -x /usr/lib/php5/sessionclean ] && [ -d /var/lib/php5 ] && /usr/lib/php5/sessionclean /var/lib/php5 $(/usr/lib/php5/maxlifetime))
Aug 21 19:17:01 ubuntu-2gb-blr1-14-04-3 CRON[754]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Aug 21 19:21:33 ubuntu-2gb-blr1-14-04-3 do-agent[1031]: 2017/08/21 19:21:33 Checking for newer version of do-agent
Aug 21 19:21:34 ubuntu-2gb-blr1-14-04-3 do-agent[1031]: 2017/08/21 19:21:34 No repository update available
Aug 21 19:39:01 ubuntu-2gb-blr1-14-04-3 CRON[4498]: (root) CMD (  [ -x /usr/lib/php5/maxlifetime ] && [ -x /usr/lib/php5/sessionclean ] && [ -d /var/lib/php5 ] && /usr/lib/php5/sessionclean /var/lib/php5 $(/usr/lib/php5/maxlifetime))
porn-update is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-21-2017, 07:03 PM   #77
Barry-xlovecam
It's 42
 
Barry-xlovecam's Avatar
 
Industry Role:
Join Date: Jun 2010
Location: Global
Posts: 16,564
Code:
curl "https://www.alternativegirlshardpics.com/cronojob.php"
try in quotes "_____"

'____' works in a bash terminal (or ssh) ONLY
__________________
Vive la résistance -- Carpe diem

"If you only knew the power of the dark side." ...Darth Vader
Sk.why.pe: barry_555_5 -- ICQ: three1896three617
Barry-xlovecam is online now   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old Yesterday, 01:05 PM   #78
porn-update
Confirmed User
 
porn-update's Avatar
 
Industry Role:
Join Date: Apr 2014
Posts: 265
Today it works, only yesterday did that thing... I would like to understand why before starting to move sites with many more visits

All that junk in the syslogs is normal? Or something or someone is killing me the server?

I don't need cron hourly, can I take it off?
porn-update is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old Yesterday, 02:20 PM   #79
porn-update
Confirmed User
 
porn-update's Avatar
 
Industry Role:
Join Date: Apr 2014
Posts: 265
Another thing, I was thinking about varnish...

Not all my sites are HTTPS, can I install varnish?

Only for HTTP, even if it does not do HTTPS maybe does something

But can varnish and HTTPS coexist?

Varnish only works on port 80 or if installed can create problems with the 443 of HTTPS?
porn-update is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks

Tags
vps, centos, cwp, thinking, line, free, command, software, advice, direction, cpanel, memcache, guides, correct, reverse, varnish, tool, litespeed, proxy, initial, acpu, opcache, apache, web, past
Thread Tools




©2000-, AVN Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.