FNNDSC / projectman

FNNDSC project manager
3 stars 0 forks source link

chris fix after update #41

Closed NicolasRannou closed 9 years ago

NicolasRannou commented 9 years ago

not working anymore

NicolasRannou commented 9 years ago

waiting a bit before closing to make sure everything is working....

NicolasRannou commented 9 years ago

clean up sessions: root@chris:/var/lib/php5# ls -l total 8 drwxr-xr-x 5 root root 4096 Mar 3 19:42 modules -rw------- 1 www-data www-data 440 Mar 5 10:21 sess_efd9s0pl870us6kch1vvaq9tf0 -rw------- 1 www-data www-data 0 Mar 5 10:16 sess_i9qvfa9d33m1t4o2a4600hafv5 -rw------- 1 www-data www-data 0 Mar 5 10:16 sesskrkv5kbb6rhsqfu2mlvgtlojl6 root@chris:/var/lib/php5# rm sess*

NicolasRannou commented 9 years ago
chris@chris1404:~/src/chrisreloaded$ sudo chown -R chris /var/log/apache2/
chris@chris1404:~/src/chrisreloaded$ sudo chown -R chris /var/run/apache2*
chris@chris1404:~/src/chrisreloaded$ sudo chown -R chris /var/lock/apache2/
# set user and group to chris
chris@chris1404:~/src/chrisreloaded$ sudo vim /etc/apache2/envvars 
  APACHE_RUN_USER=chris
  APACHE_RUN_GROUP=chris
chris@chris1404:~/src/chrisreloaded$ sudo service apache2 restart
rudolphpienaar commented 9 years ago

Is this information added to the wiki?

NicolasRannou commented 9 years ago

also nedd to update the /var/www directory

[root@chris:x86_64-Linux]/var#>rm -rf www
[root@chris:x86_64-Linux]/var#>ln -s /neuro/users/chris/src/chrisreloaded www