Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 20th March 2009, 06:18
cripperz cripperz is offline
Junior Member
 
Join Date: Jul 2007
Location: Singapore
Posts: 22
Thanks: 3
Thanked 2 Times in 2 Posts
Default Newly Installed ISPConfig3 on Ubuntu 8.04 : login redirect fail ?

Hi,

anyone came across this issue. I have an ubuntu 8.04 succesfully installs on the server. But i will have this issue when i try to log in.

LOGIN_REDIRECT:/index.php

what can be the issue ?
Reply With Quote
Sponsored Links
  #2  
Old 20th March 2009, 09:44
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,015
Thanks: 840
Thanked 5,652 Times in 4,461 Posts
Default

Make sure that you enabled javascript and cookies in your browser and that you use the correct username and password:

User: admin
password: admin
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
cripperz (21st March 2009)
  #3  
Old 20th March 2009, 09:48
cripperz cripperz is offline
Junior Member
 
Join Date: Jul 2007
Location: Singapore
Posts: 22
Thanks: 3
Thanked 2 Times in 2 Posts
Default

hi,

yes i have enabled javascript and cookies by default. Still facing the same issue. Any other suggestion ?
Reply With Quote
  #4  
Old 21st March 2009, 21:26
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,751 Times in 2,581 Posts
Default

What browser are you using? Any errors in Apache's error log?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 22nd March 2009, 11:30
DonAteloNow DonAteloNow is offline
Junior Member
 
Join Date: Oct 2008
Location: Lithuania
Posts: 23
Thanks: 1
Thanked 0 Times in 0 Posts
Send a message via ICQ to DonAteloNow Send a message via MSN to DonAteloNow Send a message via Skype™ to DonAteloNow
Default

I got this issue when I moved to mod_fcgid following "How To Set Up Apache2 With mod_fcgid And PHP5 On CentOS 5.2" guide. Before, when I tried to install and use SuPHP, I couldn't get to control panel at all. Now my /etc/httpd/conf/sites-enabled/000-ispconfig.vhost looks like this:

<IfModule mod_fcgid.c>
DocumentRoot /usr/local/ispconfig/interface/web/
SuexecUserGroup ispconfig ispconfig
PHP_Fix_Pathinfo_Enable 1
<Directory /usr/local/ispconfig/interface/web>
Options Indexes FollowSymLinks MultiViews +ExecCGI
AllowOverride AuthConfig Indexes Limit Options FileInfo
AddHandler fcgid-script .php
FCGIWrapper /var/www/php-fcgi-scripts/ispconfig/php-fcgi-starter .php
Order allow,deny
Allow from all
</Directory>
</IfModule>

My phpinfo.php files are working now on other sites and I can access control panel, enter username and password, but after it gives me "LOGIN_REDIRECT:/index.php".

Error logs:
[Sun Mar 22 11:28:28 2009] [warn] mod_fcgid: stderr: PHP Warning: session_start() [<a href='function.session-start'>function.session-start</a>]: open(/var/lib/php/session/sess_29hslse0u5keha5o4olbe64at0, O_RDWR) failed: Permission denied (13) in /usr/local/ispconfig/interface/lib/app.inc.php on line 55
[Sun Mar 22 11:28:28 2009] [warn] mod_fcgid: stderr: PHP Warning: Unknown: open(/var/lib/php/session/sess_29hslse0u5keha5o4olbe64at0, O_RDWR) failed: Permission denied (13) in Unknown on line 0
[Sun Mar 22 11:28:28 2009] [warn] mod_fcgid: stderr: PHP Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/lib/php/session) in Unknown on line 0
[Sun Mar 22 11:28:28 2009] [warn] mod_fcgid: stderr: PHP Warning: session_start() [<a href='function.session-start'>function.session-start</a>]: open(/var/lib/php/session/sess_29hslse0u5keha5o4olbe64at0, O_RDWR) failed: Permission denied (13) in /usr/local/ispconfig/interface/web/js/scrigo.js.php on line 2
[Sun Mar 22 11:28:28 2009] [warn] mod_fcgid: stderr: PHP Notice: Undefined index: s in /usr/local/ispconfig/interface/web/js/scrigo.js.php on line 4
[Sun Mar 22 11:28:28 2009] [warn] mod_fcgid: stderr: PHP Warning: include_once(/usr/local/ispconfig/interface/web/js/lib/lang/_javascript.lng) [<a href='function.include-once'>function.include-once</a>]: failed to open stream: No such file or directory in /usr/local/ispconfig/interface/web/js/scrigo.js.php on line 4
[Sun Mar 22 11:28:28 2009] [warn] mod_fcgid: stderr: PHP Warning: include_once() [<a href='function.include'>function.include</a>]: Failed opening '/usr/local/ispconfig/interface/web/js/lib/lang/_javascript.lng' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /usr/local/ispconfig/interface/web/js/scrigo.js.php on line 4
[Sun Mar 22 11:28:28 2009] [warn] mod_fcgid: stderr: PHP Notice: Undefined variable: wb in /usr/local/ispconfig/interface/web/js/scrigo.js.php on line 298
[Sun Mar 22 11:28:28 2009] [warn] mod_fcgid: stderr: PHP Notice: Undefined variable: wb in /usr/local/ispconfig/interface/web/js/scrigo.js.php on line 303
[Sun Mar 22 11:28:28 2009] [warn] mod_fcgid: stderr: PHP Notice: Undefined variable: wb in /usr/local/ispconfig/interface/web/js/scrigo.js.php on line 308
[Sun Mar 22 11:28:28 2009] [warn] mod_fcgid: stderr: PHP Notice: Undefined variable: wb in /usr/local/ispconfig/interface/web/js/scrigo.js.php on line 313
[Sun Mar 22 11:28:28 2009] [warn] mod_fcgid: stderr: PHP Notice: Undefined variable: wb in /usr/local/ispconfig/interface/web/js/scrigo.js.php on line 318
[Sun Mar 22 11:28:28 2009] [warn] mod_fcgid: stderr: PHP Notice: Undefined variable: wb in /usr/local/ispconfig/interface/web/js/scrigo.js.php on line 323
[Sun Mar 22 11:28:28 2009] [warn] mod_fcgid: stderr: PHP Warning: Unknown: open(/var/lib/php/session/sess_29hslse0u5keha5o4olbe64at0, O_RDWR) failed: Permission denied (13) in Unknown on line 0
[Sun Mar 22 11:28:28 2009] [warn] mod_fcgid: stderr: PHP Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/lib/php/session) in Unknown on line 0
[Sun Mar 22 11:28:29 2009] [warn] mod_fcgid: stderr: PHP Warning: session_start() [<a href='function.session-start'>function.session-start</a>]: open(/var/lib/php/session/sess_29hslse0u5keha5o4olbe64at0, O_RDWR) failed: Permission denied (13) in /usr/local/ispconfig/interface/lib/app.inc.php on line 55
[Sun Mar 22 11:28:29 2009] [warn] mod_fcgid: stderr: PHP Warning: Unknown: open(/var/lib/php/session/sess_29hslse0u5keha5o4olbe64at0, O_RDWR) failed: Permission denied (13) in Unknown on line 0
[Sun Mar 22 11:28:29 2009] [warn] mod_fcgid: stderr: PHP Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/lib/php/session) in Unknown on line 0
[Sun Mar 22 11:28:29 2009] [warn] mod_fcgid: stderr: PHP Warning: session_start() [<a href='function.session-start'>function.session-start</a>]: open(/var/lib/php/session/sess_29hslse0u5keha5o4olbe64at0, O_RDWR) failed: Permission denied (13) in /usr/local/ispconfig/interface/lib/app.inc.php on line 55
[Sun Mar 22 11:28:29 2009] [warn] mod_fcgid: stderr: PHP Warning: Unknown: open(/var/lib/php/session/sess_29hslse0u5keha5o4olbe64at0, O_RDWR) failed: Permission denied (13) in Unknown on line 0
[Sun Mar 22 11:28:29 2009] [warn] mod_fcgid: stderr: PHP Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/lib/php/session) in Unknown on line 0
[Sun Mar 22 11:28:29 2009] [warn] mod_fcgid: stderr: PHP Warning: session_start() [<a href='function.session-start'>function.session-start</a>]: open(/var/lib/php/session/sess_29hslse0u5keha5o4olbe64at0, O_RDWR) failed: Permission denied (13) in /usr/local/ispconfig/interface/lib/app.inc.php on line 55
[Sun Mar 22 11:28:29 2009] [warn] mod_fcgid: stderr: PHP Warning: Unknown: open(/var/lib/php/session/sess_29hslse0u5keha5o4olbe64at0, O_RDWR) failed: Permission denied (13) in Unknown on line 0
[Sun Mar 22 11:28:29 2009] [warn] mod_fcgid: stderr: PHP Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/lib/php/session) in Unknown on line 0
[Sun Mar 22 11:28:29 2009] [warn] mod_fcgid: stderr: PHP Warning: session_start() [<a href='function.session-start'>function.session-start</a>]: open(/var/lib/php/session/sess_29hslse0u5keha5o4olbe64at0, O_RDWR) failed: Permission denied (13) in /usr/local/ispconfig/interface/lib/app.inc.php on line 55
[Sun Mar 22 11:28:29 2009] [warn] mod_fcgid: stderr: PHP Warning: Unknown: open(/var/lib/php/session/sess_29hslse0u5keha5o4olbe64at0, O_RDWR) failed: Permission denied (13) in Unknown on line 0
[Sun Mar 22 11:28:29 2009] [warn] mod_fcgid: stderr: PHP Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/lib/php/session) in Unknown on line 0
[Sun Mar 22 11:28:36 2009] [warn] mod_fcgid: stderr: PHP Warning: session_start() [<a href='function.session-start'>function.session-start</a>]: open(/var/lib/php/session/sess_29hslse0u5keha5o4olbe64at0, O_RDWR) failed: Permission denied (13) in /usr/local/ispconfig/interface/lib/app.inc.php on line 55
[Sun Mar 22 11:28:36 2009] [warn] mod_fcgid: stderr: PHP Warning: Unknown: open(/var/lib/php/session/sess_29hslse0u5keha5o4olbe64at0, O_RDWR) failed: Permission denied (13) in Unknown on line 0
[Sun Mar 22 11:28:36 2009] [warn] mod_fcgid: stderr: PHP Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/lib/php/session) in Unknown on line 0
[Sun Mar 22 11:28:37 2009] [warn] mod_fcgid: stderr: PHP Warning: session_start() [<a href='function.session-start'>function.session-start</a>]: open(/var/lib/php/session/sess_29hslse0u5keha5o4olbe64at0, O_RDWR) failed: Permission denied (13) in /usr/local/ispconfig/interface/lib/app.inc.php on line 55
[Sun Mar 22 11:28:37 2009] [warn] mod_fcgid: stderr: PHP Notice: Undefined index: user in /usr/local/ispconfig/interface/lib/classes/auth.inc.php on line 96
[Sun Mar 22 11:28:37 2009] [warn] mod_fcgid: stderr: PHP Warning: Unknown: open(/var/lib/php/session/sess_29hslse0u5keha5o4olbe64at0, O_RDWR) failed: Permission denied (13) in Unknown on line 0
[Sun Mar 22 11:28:37 2009] [warn] mod_fcgid: stderr: PHP Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/lib/php/session) in Unknown on line 0
[Sun Mar 22 11:28:37 2009] [warn] mod_fcgid: stderr: PHP Warning: session_start() [<a href='function.session-start'>function.session-start</a>]: open(/var/lib/php/session/sess_29hslse0u5keha5o4olbe64at0, O_RDWR) failed: Permission denied (13) in /usr/local/ispconfig/interface/lib/app.inc.php on line 55
[Sun Mar 22 11:28:37 2009] [warn] mod_fcgid: stderr: PHP Warning: Unknown: open(/var/lib/php/session/sess_29hslse0u5keha5o4olbe64at0, O_RDWR) failed: Permission denied (13) in Unknown on line 0
[Sun Mar 22 11:28:37 2009] [warn] mod_fcgid: stderr: PHP Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/lib/php/session) in Unknown on line 0
[Sun Mar 22 11:28:37 2009] [warn] mod_fcgid: stderr: PHP Warning: session_start() [<a href='function.session-start'>function.session-start</a>]: open(/var/lib/php/session/sess_29hslse0u5keha5o4olbe64at0, O_RDWR) failed: Permission denied (13) in /usr/local/ispconfig/interface/lib/app.inc.php on line 55
[Sun Mar 22 11:28:37 2009] [warn] mod_fcgid: stderr: PHP Warning: Unknown: open(/var/lib/php/session/sess_29hslse0u5keha5o4olbe64at0, O_RDWR) failed: Permission denied (13) in Unknown on line 0
[Sun Mar 22 11:28:37 2009] [warn] mod_fcgid: stderr: PHP Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/lib/php/session) in Unknown on line 0

I'm still looking how to sort this out. I'll post if I'll find anything useful.
Reply With Quote
  #6  
Old 22nd March 2009, 13:15
DonAteloNow DonAteloNow is offline
Junior Member
 
Join Date: Oct 2008
Location: Lithuania
Posts: 23
Thanks: 1
Thanked 0 Times in 0 Posts
Send a message via ICQ to DonAteloNow Send a message via MSN to DonAteloNow Send a message via Skype™ to DonAteloNow
 
Default Webinterface with Apache2 Worker + fcgid

No luck with solution below - still the same result.


+ ispconfig need its own php-fcgi-script /var/www/php-fcgi-scripts/ispconfig
+ symbolic link to /usr/local/ispconfig/interface/web in /var/www/ named ispconfig
+ in the 000-ispconfig.vhost the DocumentRoot has to be set to: /var/www/ispconfig

the mod_fastcgi.c should be changed to:

<IfModule mod_fcgid.c>
SuexecUserGroup ispconfig ispconfig
<Directory /var/www/ispconfig/>
Options Indexes FollowSymLinks MultiViews +ExecCGI
AllowOverride AuthConfig Indexes Limit Options FileInfo
AddHandler fcgid-script .php
FCGIWrapper /var/www/php-fcgi-scripts/ispconfig/.php-fcgi-starter .php
Order allow,deny
Allow from all
</Directory>
</IfModule>

#!/bin/sh
PHPRC=/etc/php5/cgi/
export PHPRC
exec /usr/lib/cgi-bin/php
PHP_FCGI_MAX_REQUESTS=5000
export PHP_FCGI_MAX_REQUESTS
export PHP_FCGI_CHILDREN=8
export PHP_FCGI_MAX_REQUESTS=500
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
The Perfect Server - Ubuntu Hardy Heron (Ubuntu 8.04 LTS Server): Mailfiltering melwood HOWTO-Related Questions 1 2nd September 2008 13:54
suPHP problem after PHP upgrade - ubuntu SupuS Installation/Configuration 6 21st May 2008 22:36
Perfect Setup Ubuntu Feisty Fawn 7.04 - Problem to login with IMAP and POP3 (failed) gbo HOWTO-Related Questions 3 10th April 2008 00:54
Has anyone installed Ubuntu Studio on an HP DV9000 laptop? Brightbelt Installation/Configuration 2 15th May 2007 21:16
help with the Postfix Spam Filter using Ubuntu Dapper, MailScanner... tutorial the block Suggest HOWTO 1 8th November 2006 19:20


All times are GMT +2. The time now is 23:13.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.