Questions tagged [session]
274 questions
1
vote
0 answers
OpenSSH 6.7 end of session
I am using Putty very often to SSH into Linux servers. In some cases, I won't leave the SSH session by typing exit, but by rebooting the remote machine.
Until one or two years ago, upon reboot, the OpenSSH server on the Linux machine obviously did…

Binarus
- 558
- 5
- 16
1
vote
0 answers
Command after apt-get install is not executing in script
I'm writing a script which is meant to initially set up my Droplet. In the script, I'm opening ssh connection with my Ubuntu 14.04 server as follows (with USER and REMOTE variables previously defined):
ssh -t -t $USER@$REMOTE…

Tommz
- 111
- 1
1
vote
0 answers
su rails session mysteriously closes by itself
I need help troubleshooting a strange problem. When I ssh into a server I have and do an su rails from root user the session closes by itself:
root@ubuntu-server:/4# su rails
rails@ubuntu-server:/4$ exit
I'm not typing in exit...it just appears by…

Craig
- 289
- 2
- 7
1
vote
1 answer
Howto setup LDAP/Linux so when a user is deleted, its bash user session is immediately closed
Is there a way to setup OpenLDAP on a Linux (Redhat/CentOS) system so that when a user is removed from the LDAP server or he/she is removed from the "login is authorized" group, all his/her open terminal sessions are immediately (or quickly) closed…
1
vote
0 answers
FastCGI and tmpfs
I read some articles about using tmpfs for /tmp and PHP sessions directories for better performance, and it sounds interesting.
I'm using Centos 6 server with LAMP stack (+FastCGI) and in my fcgid.conf I can see two configurations that are…

Rotem
- 147
- 1
- 14
1
vote
3 answers
php session_write_close warnings
All our errors are logged to NewRelic, and we always saw a few warnings of session_write_close in the error log. However, the error rate is increased and it is now flooding our 24h log.
Our server is highly populated and lots of users are logged in…

Jordi Kroon
- 87
- 13
1
vote
1 answer
migrate ssh session from one Linux box to another as a failover
I have been looking for a solution that allows one to migrate an ssh session from one Linux box to another. I prefer an open source or free solution, but I can't even find a commercial solution either. I suspect this is not possible because an ssh…

ks2000
- 13
- 2
1
vote
1 answer
Nginx with php-fpm session not working
My php session is to:
session.save_path = /var/lib/php/session
If i make a simple script to test like:
session_start();
$_SESSION['hi'] = 1;
var_dump($_SESSION);
Well the session is not working.
When I list the folder: "/var/lib/php/session"…

Henrique Kieckbusch
- 41
- 1
- 3
1
vote
1 answer
Why does my server running nginx/php-fpm keep losing session capability without generating any errors?
I am managing a server that has a couple dozen websites on it and they have all been working fine until last week when it was noticed that one site had seemingly lost the ability to maintain session data. Then another. (I am guessing it is affecting…

Dave W.
- 19
- 5
1
vote
1 answer
php5-fpm with nginx Session Not Maintained / Dropped Randomly
When running nginx with php5-fpm, session variables randomly lose their values. Since my session variables become empty, my script asks for the user to login again. However, what's weird is that the session is not destroyed or unset.
I added this…

OwN
- 187
- 3
- 14
1
vote
0 answers
Transfer control of terminal process to a different emulator
How can I transfer running terminal session between PCs on-the-fly? I mean - I'd like to be able to transfer for example SSH session with running application to another PC lets say laptop, without shell interruption. Or move SSH session from laptop…

Lapsio
- 363
- 1
- 5
- 15
1
vote
0 answers
php session tracking cookies (multiple session handling on same domain)
I have 2 applications, both have password based login, database,etc., the passwords are different, databases are different, applications present are in different folders.
Log into the first application at example.com/abcd. Username: admin,…

Corleone
- 121
- 6
1
vote
0 answers
PHP Warning: Unknown: Failed to write session data (memcached). Very infrequent
I installed memcached (2.2.0) libmemached (1.0.18) a few weeks ago. (Apache/2.4.10 and PHP 5.5.20), mostly for php session management. Generally I'm really pleased with performance but I notice this warning occasionally. It happens 2 or 3 times a…

williamk
- 133
- 1
- 10
1
vote
0 answers
HAproxy ACL based on backend application session cookie to replace HTTP Basic Auth
I would need some help on HAproxy configuration to bypass HTTP basic auth and let the user use a specific backend in case there is a valid session cookie present from another backend application.
I got it working in general using the following…

Julian Pawlowski
- 65
- 2
- 6