Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #11  
Old 24th November 2007, 17:57
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 36,796
Thanks: 840
Thanked 5,612 Times in 4,423 Posts
Default

Any errors in the error.log file of the website?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Sponsored Links
  #12  
Old 25th November 2007, 03:53
yurtboy1 yurtboy1 is offline
Member
 
Join Date: May 2007
Posts: 77
Thanks: 4
Thanked 1 Time in 1 Post
Default Still stuck

attached is my apache.
Man this is tough it all works at the concole not he web.
still getting Premature end of script headers: login.pl
Attached Files
File Type: txt apache2.txt (13.8 KB, 292 views)
Reply With Quote
  #13  
Old 25th November 2007, 13:38
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 36,796
Thanks: 840
Thanked 5,612 Times in 4,423 Posts
Default

Please post the errors of the apache error log and not the apache configuration file.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #14  
Old 26th November 2007, 00:19
yurtboy1 yurtboy1 is offline
Member
 
Join Date: May 2007
Posts: 77
Thanks: 4
Thanked 1 Time in 1 Post
Default

This is a tail of the last 100 or so lines
[Fri Nov 23 22:55:55 2007] [error] [client 71.192.7.37] Premature end of script headers: login.pl
[Fri Nov 23 22:56:14 2007] [error] [client 71.192.7.37] Premature end of script headers: login.pl
[Fri Nov 23 22:56:15 2007] [error] [client 71.192.7.37] Premature end of script headers: login.pl
[Fri Nov 23 22:58:32 2007] [error] [client 71.192.7.37] Premature end of script headers: login.pl
[Fri Nov 23 22:58:33 2007] [error] [client 71.192.7.37] Premature end of script headers: login.pl
[Fri Nov 23 22:58:34 2007] [error] [client 71.192.7.37] Premature end of script headers: login.pl
[Fri Nov 23 23:07:22 2007] [error] [client 71.192.7.37] Premature end of script headers: login.pl
[Fri Nov 23 23:09:08 2007] [error] [client 71.192.7.37] Premature end of script headers: login.pl
[Fri Nov 23 23:09:56 2007] [error] [client 71.192.7.37] Premature end of script headers: login.pl
[Fri Nov 23 23:10:03 2007] [error] [client 71.192.7.37] Premature end of script headers: admin.pl
[Fri Nov 23 23:11:50 2007] [error] [client 71.192.7.37] Premature end of script headers: admin.pl
[Fri Nov 23 23:11:51 2007] [error] [client 71.192.7.37] Premature end of script headers: admin.pl
[Fri Nov 23 23:20:24 2007] [error] [client 71.192.7.37] Premature end of script headers: admin.pl
[Fri Nov 23 23:21:32 2007] [error] [client 71.192.7.37] Premature end of script headers: admin.pl
[Fri Nov 23 23:21:44 2007] [error] [client 71.192.7.37] Premature end of script headers: admin.pl
[Fri Nov 23 23:22:32 2007] [error] [client 71.192.7.37] Premature end of script headers: admin.pl
[Fri Nov 23 23:23:25 2007] [error] [client 71.192.7.37] Premature end of script headers: login.pl
[Fri Nov 23 23:23:27 2007] [error] [client 71.192.7.37] Premature end of script headers: login.pl
[Fri Nov 23 23:29:08 2007] [error] [client 71.192.7.37] Premature end of script headers: login.pl
[Sat Nov 24 20:39:03 2007] [error] [client 71.192.7.37] Premature end of script headers: login.pl
[Sat Nov 24 20:40:40 2007] [error] [client 71.192.7.37] Premature end of script headers: login.pl
[Sat Nov 24 20:43:30 2007] [error] [client 71.192.7.37] Premature end of script headers: login.pl
[Sat Nov 24 20:43:32 2007] [error] [client 71.192.7.37] Premature end of script headers: login.pl
[Sat Nov 24 20:56:04 2007] [error] [client 71.192.7.37] Premature end of script headers: login.pl

Note the pattern ( -:
But if I run the file at the console it seems to end here
------------------last few lines---------
<input type="hidden" name="path" value="bin/mozilla" />
<input type="hidden" name="js" value="" />
<button type="submit" name="action" value="login">Login</button>
</form>
</p>
</td>
</tr>
</table>
<p><a href="admin.pl"
>Administrative login</a></p>
</center>
</body>
</html>
---------------end code------
As if it is going well?
Reply With Quote
  #15  
Old 26th November 2007, 19:04
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
Default

Please make sure that the login.pl file uses Unix linebreaks, not Windows linebreaks.
__________________
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
  #16  
Old 26th November 2007, 19:35
yurtboy1 yurtboy1 is offline
Member
 
Join Date: May 2007
Posts: 77
Thanks: 4
Thanked 1 Time in 1 Post
Default Since I do not use windows I am not sure

how they could be that?
Any thoughts on how it may be?
Reply With Quote
  #17  
Old 26th November 2007, 19:36
yurtboy1 yurtboy1 is offline
Member
 
Join Date: May 2007
Posts: 77
Thanks: 4
Thanked 1 Time in 1 Post
Default Using Firefox with disabled cache

http://rivervalleywebhosting.com/ledger/login.pl
Still no go
Reply With Quote
  #18  
Old 27th November 2007, 10:35
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 36,796
Thanks: 840
Thanked 5,612 Times in 4,423 Posts
Default

If you open the login.pl file on the shell with a editor like vi, does it contain characters like:

^M

at the end of the lines?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #19  
Old 27th November 2007, 12:57
yurtboy1 yurtboy1 is offline
Member
 
Join Date: May 2007
Posts: 77
Thanks: 4
Thanked 1 Time in 1 Post
Default Here are some screen shots, no M's though

Again I never touched it with Windows or nano until now.
I do not use Windows so?
Thanks for all your help so far,
Attached Images
   
Reply With Quote
  #20  
Old 25th December 2010, 22:08
pongraczi pongraczi is offline
Junior Member
 
Join Date: Nov 2008
Location: Hungary
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to pongraczi Send a message via Skype™ to pongraczi
 
Default Maybe Solved for you: SQL-Ledger login.pl

Hi,

I solved my lighttpd + sq-ledger problem by debugging the issue.
It seems, in the SL/Form.pm file there is a perl interpreter invocation, which use no path to the interpreter.
You just add the absolute path to the perl interpreter and everything seems fine now.

Please note, I used a Hungarian fork of sql-ledger, so, the line number should be different.

How to fix it?
  • Open SL/Form.pm
  • Locate the redirect subroutine (nearly line #393)
Original code:
Code:
sub redirect {
  my ($self, $msg) = @_;

  if ($self->{callback}) {

    ($script, $argv) = split(/\?/, $self->{callback});

        exec ("perl", $script, $argv);
   
  } else {
    
    $self->info($msg);
    exit;
  }

}
New code:
Code:
sub redirect {
  my ($self, $msg) = @_;

  if ($self->{callback}) {

    ($script, $argv) = split(/\?/, $self->{callback});

        exec ("/usr/bin/perl", $script, $argv);
   
  } else {
    
    $self->info($msg);
    exit;
  }

}
You should try to find other perl invocation without absolute path and fix those too.
That's all.

Good luck!

Istvn
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
German ISPConfig Forum / Deutsches ISPConfig Forum till General 0 4th October 2007 18:03
use usernames & passwort for acces to an intern forum testset Tips/Tricks/Mods 1 3rd September 2007 14:35
postfix-tls sasl2 mysql courier-authmysql gabrix Server Operation 4 12th January 2007 23:09
ISPConfig and adding an SQL Database Texaskilt General 1 7th December 2006 10:52
_sasl_plugin_load failed on sasl_auxprop_plug_init for plugin: sql gpf HOWTO-Related Questions 14 20th May 2006 14:03


All times are GMT +2. The time now is 00:19.


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