Hello.
Doing a new install, and I am in the stage of accessing the web interface for Sermis which is located at /var/www/html/siremis
Full error: Unable to write in the session save path [/var/www/html/siremis/session]Unable to write in the session save path [/var/www/html/siremis/session]
I would think this is a single access problem, but I have checked ownership in httpd.conf, and the files, and directories. All have the apache ownership assigned to them. I have even given the "session" folder access of 777 with still no change in the error.
-rw-r--r--. 1 apache apache 10176 May 18 05:18 ChangeLog
drwxr-xr-x. 4 apache apache 4096 May 18 05:18 misc
drwxr-xr-x. 7 apache apache 4096 May 18 05:18 openbiz
-rw-r--r--. 1 apache apache 1019 May 18 05:18 README.md
drwxr-xr-x. 14 apache apache 4096 May 18 05:18 siremis
In addition, there is nothing about this appearing in the httpd error_log, nor access_log for an access problem.
Any suggestions? Thanks!
use following command:
chcon -t httpd_sys_content_t /var/www/html -R
or just disable SELinux globally
16.08.2017 0:34, Trent пишет:
Full error: Unable to write in the session save path [/var/www/html/siremis/session]Unable to write in the session save path [/var/www/html/siremis/session]
Thank you kindly for the quick response. I had no idea Kamailio was afflicted as is Asterisk when dealing with SELinux
From: sr-users [mailto:sr-users-bounces@lists.kamailio.org] On Behalf Of Yu Boot Sent: Tuesday, August 15, 2017 4:43 PM To: sr-users@lists.kamailio.org Subject: Re: [SR-Users] Siremis Install: Unable to write in the session save path (CentOS 6)
use following command:
chcon -t httpd_sys_content_t /var/www/html -R
or just disable SELinux globally
16.08.2017 0:34, Trent пишет:
Full error: Unable to write in the session save path [/var/www/html/siremis/session]Unable to write in the session save path [/var/www/html/siremis/session]
Useful hint, thanks! I added it to the installation guidelines:
- https://kb.asipto.com/siremis:install44x:main#selinux_notes
Cheers, Daniel
On 15.08.17 23:43, Yu Boot wrote:
use following command:
chcon -t httpd_sys_content_t /var/www/html -R
or just disable SELinux globally
16.08.2017 0:34, Trent пишет:
Full error: Unable to write in the session save path [/var/www/html/siremis/session]Unable to write in the session save path [/var/www/html/siremis/session]
Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users