What the heck is wrong with cron? */1 * * * * nobody /usr/bin/php /var/www/html/osticket/api/cron.php in /etc/cron.d doesn't get executed at all (ran from console works of course!). But the SAME file in /tmp runs flawlessly: */1 * * * * nobody /usr/bin/php /tmp/cron.php It's CentOS7 on VPS with no SELinux. I've noticed similiar behavior before (on bare metal server with SELinux). -- Over And Out MoonWolf
On Friday 22 of April 2016 11:40:33 PM Marcin Trendota wrote:> What the heck is wrong with cron? > > */1 * * * * nobody /usr/bin/php /var/www/html/osticket/api/cron.php > > in /etc/cron.d doesn't get executed at all (ran from console works of > course!). But the SAME file in /tmp runs flawlessly:Just to be clear: [root at kohrin cron.d]# sudo -u nobody /usr/bin/php /var/www/html/osticket/api/cron.php Works as expected. -- Over And Out MoonWolf
Why bother with */1? Wouldn't that be the same as just *? On Apr 22, 2016 5:48 PM, "Marcin Trendota" <moonwolf.rh at gmail.com> wrote:> On Friday 22 of April 2016 11:40:33 PM Marcin Trendota wrote: > > What the heck is wrong with cron? > > > > */1 * * * * nobody /usr/bin/php /var/www/html/osticket/api/cron.php > > > > in /etc/cron.d doesn't get executed at all (ran from console works of > > course!). But the SAME file in /tmp runs flawlessly: > > Just to be clear: > > [root at kohrin cron.d]# sudo -u nobody /usr/bin/php > /var/www/html/osticket/api/cron.php > > Works as expected. > > -- > Over And Out > MoonWolf > _______________________________________________ > CentOS mailing list > CentOS at centos.org > https://lists.centos.org/mailman/listinfo/centos >
After many hours of struggling with it, i did "crontab -u nobody -e" and put the same line in private nobody's crontab. Looks like it's working. Don't know why and how. -- Over And Out MoonWolf
Hello every one I installed the official flash plugin from adobe About Plugins tells me: Datei: libflashplayer.so Pfad: /usr/lib64/flash-plugin/libflashplayer.so Version: 11.2.202.577 Status: Aktiviert (STATE_VULNERABLE_UPDATE_AVAILABLE) Shockwave Flash 11.2 r202 But it is: strings /usr/lib64/mozilla/plugins/libflashplayer.so | grep 616 FlashPlayer_11_2_202_616_FlashPlayer LNX 11,2,202,616 11.2.202.616 drm/%s/%s/%s/11.2.202.616%s Any ideas? Sincerely Andy
While this is a developer edition only i delete rm -rf $HOME/.mozilla this be can be done better but now flash looks ok to Datei: libflashplayer.so Pfad: /usr/lib64/flash-plugin/libflashplayer.so Version: 11.2.202.616 Status: Aktiviert Shockwave Flash 11.2 r202
On 04/26/2016 12:03 AM, Andreas Benzler wrote:> Hello every one I installed the official > flash plugin from adobe > > About Plugins tells me: > > Datei: libflashplayer.so > Pfad: /usr/lib64/flash-plugin/libflashplayer.so > Version: 11.2.202.577 > Status: Aktiviert (STATE_VULNERABLE_UPDATE_AVAILABLE) > Shockwave Flash 11.2 r202 > > But it is: > > strings /usr/lib64/mozilla/plugins/libflashplayer.so | grep 616 > FlashPlayer_11_2_202_616_FlashPlayer > LNX 11,2,202,616 > 11.2.202.616 > drm/%s/%s/%s/11.2.202.616%s > > Any ideas?As far as I can tell Adobe stopped supporting flash on Linux and a deprecated vulnerable version is all that is available. I would highly advice against using the flash plugin. Unfortunately advertising networks do not adequately vet flash based advertisements resulting in malware being distributed via flash on common websites we all visit, including news sites. Usually the malware targets Windows but there is some that targets Linux and will encrypt files on your system asking a ransom for the decryption key. Just say no to flash. That's not what you asked, but that's what I advise.
Hello Andreas, On Tue, 26 Apr 2016 09:03:12 +0200 Andreas Benzler <andreas at benzlerweb.de> wrote:> Hello every one I installed the official > flash plugin from adobe > > About Plugins tells me: > > Datei: libflashplayer.so > Pfad: /usr/lib64/flash-plugin/libflashplayer.so > Version: 11.2.202.577 > Status: Aktiviert (STATE_VULNERABLE_UPDATE_AVAILABLE) > Shockwave Flash 11.2 r202 > > But it is: > > strings /usr/lib64/mozilla/plugins/libflashplayer.so | grep 616 > FlashPlayer_11_2_202_616_FlashPlayer > LNX 11,2,202,616 > 11.2.202.616 > drm/%s/%s/%s/11.2.202.616%s > > Any ideas?On my 3 CentOS 6.5 systems here (all up-to-date), only one shows '577' whereas 616 is installed and the 577 binary has gone. Strange, I still didn't get how to "fix" this, even if doesn't sound overcritical to me. Regards, -- wwp -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 198 bytes Desc: OpenPGP digital signature URL: <http://lists.centos.org/pipermail/centos/attachments/20160426/1e938ee7/attachment-0001.sig>