• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Centos 6 x64 & Plesk 10.4 & Fcgi & Session Problem

slayer1ss

Basic Pleskian
Last night i installed plesk to our internal networked corporate server(server can access internet) by running the autoinstaller on a new CentOS 6 x64 using
wget -O - http://autoinstall.plesk.com/one-click-installer | sh

after installing i wasnt able to login pages using sessions so i made some search and used commands
chmod 777 var/lib/php/session
chown apache:psacln var/lib/php/session

there is only 1 web site located in that server(some kind of a product tracking program) and after those commands i was able to login pages using sessions but right now i cant access plesk admin panel, for some strange reason sessions interfere with each other i mean if i login to plesk and then login to corporate program plesk kicks me out to login screen and same is in also on the opposite direction, also some times right after logging into plesk 1-2 clicks it sends me back to login screen...

my other problem is i keep getting 500 error if i use fcgi... i have atomic,epel and rpmforge repos installed and i updated php to 5.3.8 i have been reading everything about fcgi and sessions on the forums and tried almost every solution suggested but nothing worked...

i am adding my php.ini screenshot and server error logs so that you can have idea about the plugins and configuration about server...



2011-12-16 19:35:18: (log.c.75) server started
2011-12-16 19:40:14: (log.c.135) server stopped
2011-12-16 19:40:18: (log.c.75) server started
2011-12-16 19:48:28: (connections.c.1737) SSL (error): 5 -1 32 Broken pipe
2011-12-16 19:49:03: (connections.c.1737) SSL (error): 5 -1 32 Broken pipe
2011-12-16 19:49:24: (connections.c.1737) SSL (error): 5 -1 32 Broken pipe
2011-12-16 19:49:33: (connections.c.1737) SSL (error): 5 -1 32 Broken pipe
2011-12-16 19:49:44: (connections.c.1737) SSL (error): 5 -1 32 Broken pipe
2011-12-16 19:49:56: (connections.c.1737) SSL (error): 5 -1 32 Broken pipe
2011-12-16 19:50:07: (connections.c.1737) SSL (error): 5 -1 32 Broken pipe
2011-12-16 19:50:22: (connections.c.1737) SSL (error): 5 -1 32 Broken pipe
2011-12-16 19:50:36: (connections.c.1737) SSL (error): 5 -1 32 Broken pipe
2011-12-16 19:50:48: (connections.c.1737) SSL (error): 5 -1 32 Broken pipe
2011-12-16 19:50:56: (connections.c.1737) SSL (error): 5 -1 32 Broken pipe
2011-12-16 19:51:47: (connections.c.1737) SSL (error): 5 -1 32 Broken pipe
2011-12-16 19:52:38: (connections.c.1737) SSL (error): 5 -1 32 Broken pipe

*****************APACHE ERROR LOG*****************
[Fri Dec 16 23:06:10 2011] [notice] caught SIGTERM, shutting down
[Fri Dec 16 23:06:11 2011] [notice] SELinux policy enabled; httpd running as context unconfined_u:system_r:httpd_t:s0
[Fri Dec 16 23:06:11 2011] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Fri Dec 16 23:06:11 2011] [warn] No JkShmFile defined in httpd.conf. Using default /etc/httpd/logs/jk-runtime-status
[Fri Dec 16 23:06:11 2011] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
[Fri Dec 16 23:06:11 2011] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
[Fri Dec 16 23:06:11 2011] [warn] Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366)
[Fri Dec 16 23:06:11 2011] [notice] Digest: generating secret for digest authentication ...
[Fri Dec 16 23:06:11 2011] [notice] Digest: done
[Fri Dec 16 23:06:11 2011] [notice] mod_bw : Memory Allocated 0 bytes (each conf takes 32 bytes)
[Fri Dec 16 23:06:11 2011] [notice] mod_bw : Version 0.8 - Initialized [0 Confs]
[Fri Dec 16 23:06:11 2011] [error] (13)Permission denied: Couldn't bind unix domain socket /etc/httpd/logs/cgisock.19502
[Fri Dec 16 23:06:11 2011] [warn] No JkShmFile defined in httpd.conf. Using default /etc/httpd/logs/jk-runtime-status
[Fri Dec 16 23:06:11 2011] [error] python_init: Python version mismatch, expected '2.6.5', found '2.6.6'.
[Fri Dec 16 23:06:11 2011] [error] python_init: Python executable found '/usr/bin/python'.
[Fri Dec 16 23:06:11 2011] [error] python_init: Python path being used '/usr/lib64/python26.zip:/usr/lib64/python2.6/:/usr/lib64/python2.6/plat-linux2:/usr/lib64/python2.6/lib-tk:/usr/lib64/python2.6/lib-old:/usr/lib64/python2.6/lib-dynload'.
[Fri Dec 16 23:06:11 2011] [notice] mod_python: Creating 4 session mutexes based on 256 max processes and 0 max threads.
[Fri Dec 16 23:06:11 2011] [notice] mod_python: using mutex_directory /tmp
[Fri Dec 16 23:06:11 2011] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
[Fri Dec 16 23:06:11 2011] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
[Fri Dec 16 23:06:11 2011] [warn] Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366)
[Fri Dec 16 23:06:11 2011] [notice] Apache/2.2.15 (Unix) DAV/2 mod_fcgid/2.3.6 mod_jk/1.2.31 mod_python/3.3.1 Python/2.6.6 mod_ssl/2.2.15 OpenSSL/1.0.0-fips mod_perl/2.0.4 Perl/v5.10.1 configured -- resuming normal operations
[Fri Dec 16 23:06:11 2011] [crit] cgid daemon failed to initialize


*****************SUEXEC LOG*****************
[2011-12-16 23:06:02]: uid: (10000/misstakip) gid: (506/506) cmd: cgi_wrapper
[2011-12-16 23:06:02]: file is writable by others: (/var/www/cgi-bin/cgi_wrapper/cgi_wrapper)
[2011-12-16 23:06:02]: uid: (10000/misstakip) gid: (506/506) cmd: cgi_wrapper
[2011-12-16 23:06:02]: file is writable by others: (/var/www/cgi-bin/cgi_wrapper/cgi_wrapper)
[2011-12-16 23:06:02]: uid: (10000/misstakip) gid: (506/506) cmd: cgi_wrapper
[2011-12-16 23:06:02]: file is writable by others: (/var/www/cgi-bin/cgi_wrapper/cgi_wrapper)
[2011-12-16 23:06:02]: uid: (10000/misstakip) gid: (506/506) cmd: cgi_wrapper
[2011-12-16 23:06:02]: file is writable by others: (/var/www/cgi-bin/cgi_wrapper/cgi_wrapper)
[2011-12-16 23:06:02]: uid: (10000/misstakip) gid: (506/506) cmd: cgi_wrapper
[2011-12-16 23:06:02]: file is writable by others: (/var/www/cgi-bin/cgi_wrapper/cgi_wrapper)
[2011-12-16 23:06:03]: uid: (10000/misstakip) gid: (506/506) cmd: cgi_wrapper
[2011-12-16 23:06:03]: file is writable by others: (/var/www/cgi-bin/cgi_wrapper/cgi_wrapper)
[2011-12-16 23:06:04]: uid: (10000/misstakip) gid: (506/506) cmd: cgi_wrapper
[2011-12-16 23:06:04]: file is writable by others: (/var/www/cgi-bin/cgi_wrapper/cgi_wrapper)

*Edit: image seems to be reduced its size i am uploading it to our server... http://www.misspoemstore.com/1.jpg
 

Attachments

  • 1.jpg
    1.jpg
    22.5 KB · Views: 5
Last edited:
Back
Top