This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Ubuntu 14.04 sessions not clearing fix
#1
Ubuntu 14.04 sessions not clearing fix
Ubuntu 14.04 sessions not clearing fix:


OPEN:
Code:
/etc/cron.d/php5
FIND:
Code:
09,39 *     * * *     root   [ -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)
REPLACE WITH:
Code:
09,39 * * * *     root   [ -x /usr/lib/php5/maxlifetime ] && [ -x /usr/lib/php5/sessionclean ] && [ -d /var/sentora/sessions ] && /usr/lib/php5/sessionclean /var/sentora/sessions $(/usr/lib/php5/maxlifetime)
RESTART CRON SERVICE:
Code:
service cron restart
-TGates - Head of Support

SEARCH the Forums or read the DOCUMENTATION before posting!
Modules Maintained: 13 - Module Installs: 108k+

Find my support or modules helpful? Donate HERE
Get your domains using my affiliate link:
GoDaddy - Domains
Reply
Thanks given by: Me.B , apinto


Messages In This Thread
Ubuntu 14.04 sessions not clearing fix - by TGates - 02-11-2016, 04:48 PM

Possibly Related Threads...
Thread Author Replies Views Last Post
Upgrade to Ubuntu 16.04 from 14.04 HogensHero 8 7,677 10-18-2019, 03:07 PM
Last Post: shoecrunchh
Ubuntu: How to setup TLS on postfix and dovecot Diablo925 28 57,329 02-15-2018, 08:46 PM
Last Post: duane
Backup to Dropbox in Ubuntu pinguy 16 15,370 04-06-2017, 12:50 AM
Last Post: FernandoGarcia

Forum Jump:


Users browsing this thread: 1 Guest(s)