RoundCube Webmail Forum  

Go Back   RoundCube Webmail Forum > Release Support > Older Versions > Release Candidate 1

For more information about the ads and why they're here, please see the FAQ
Reply
  #1  
Old 07-19-2007, 02:43 PM
Registered User
 
Join Date: Jul 2007
Posts: 9
Downloads: 0
Uploads: 0
Default Problem getting RoundCube to work

Well I've spent over 3-4 hours yesterday trying to get this to work, but with no luck.

Whenever I try to access the page I get the following errors in my logs.

Code:
[Thu Jul 19 08:35:48 2007] [error] (13)Permission denied: exec of /usr/local/apache/htdocs/roundcube/index.php failed
[Thu Jul 19 08:35:48 2007] [error] [client xx.xx.xx.xx] Premature end of script headers: /usr/local/apache/htdocs/roundcube/index.php
After sometime on Google some people suggested that the "Premature end of script headers" is due to the file having issues (ie. Windows breaks vs. Linux ones). I've both downloaded using wget directly to the machine, extracting it and I've downloaded to my Windows machine, and uploaded it via FTP.

My httpd.conf looks like this (among other things)

Code:
<Directory "/usr/local/apache/htdocs/roundcube">
Options +ExecCGI
AddHandler cgi-script .cgi
</Directory>

Alias /roundcube /usr/local/apache/htdocs/roundcube
I read that one person had to change the owner from root to apache, I've done that as well. Still not change.

I have the default .htaccess, possibly this is causing the issue?

Code:
# AddDefaultCharset   UTF-8
php_flag    display_errors Off
php_flag    log_errors   On
php_value    error_log    logs/errors
php_value    upload_max_filesize   2M

<FilesMatch "(\.inc|\~)$|^_">
 Order allow,deny
 Deny from all
</FilesMatch>

Order deny,allow
Allow from all
I'm looking forward to getting this running. After I found out there was something out there that looked better than Horde and had to jump on it to give it to my clients.

Thanks for the help
Mark
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2  
Old 07-19-2007, 02:48 PM
Super Moderator
 
Join Date: Jun 2006
Posts: 431
Downloads: 0
Uploads: 0
Send a message via ICQ to skaero Send a message via AIM to skaero Send a message via MSN to skaero Send a message via Yahoo to skaero
Default Re: Problem getting RoundCube to work

Try deleting the htaccess, It can solve problems. I will see if I can fine out more about this problem, as I know I have head something like it before.
__________________
[size=8pt]SKaero.com <br />&nbsp; [/size]
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3  
Old 07-19-2007, 02:54 PM
Registered User
 
Join Date: Jul 2007
Posts: 9
Downloads: 0
Uploads: 0
Default Re: Problem getting RoundCube to work

Wow thanks for the quick response.

I've deleted the .htaccess from that dir (renamed it htaccess.old) but I still get the same error.

Still an Internal Server Error with the same errors in the error log (premature end of script headers and (13)Permission denied)

Thanks..
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4  
Old 07-19-2007, 03:10 PM
Super Moderator
 
Join Date: Jun 2006
Posts: 431
Downloads: 0
Uploads: 0
Send a message via ICQ to skaero Send a message via AIM to skaero Send a message via MSN to skaero Send a message via Yahoo to skaero
Default Re: Problem getting RoundCube to work

hmm I think you may be have this problem: http://roundcubeforum.net/forum/index.php?topic=1726.0
__________________
[size=8pt]SKaero.com <br />&nbsp; [/size]
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5  
Old 07-19-2007, 03:23 PM
Registered User
 
Join Date: Jul 2007
Posts: 9
Downloads: 0
Uploads: 0
Default Re: Problem getting RoundCube to work

I'll take a look at that, though that appears to be for people who have Windows (I have linux)

I'll play with it though.. but I don't see the link between my issue and that one (but what do I know)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6  
Old 07-19-2007, 03:39 PM
Registered User
 
Join Date: Jul 2007
Posts: 9
Downloads: 0
Uploads: 0
Default Re: Problem getting RoundCube to work

I'm almost 99% sure that it is an issue with my httpd.conf -- whenever I look up premature errors in general, people are giving tips on the httpd.conf setup.

Anyone able to paste how their httpd.conf is setup on the roundcube directory? Maybe simply mimicking that will fix the issue.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7  
Old 07-19-2007, 03:42 PM
Super Moderator
 
Join Date: Jun 2006
Posts: 431
Downloads: 0
Uploads: 0
Send a message via ICQ to skaero Send a message via AIM to skaero Send a message via MSN to skaero Send a message via Yahoo to skaero
Default Re: Problem getting RoundCube to work

ahh ok I have only seen this error before with windows severs so I assumed that was what you had, sorry! Do you have access the the apache log files?
__________________
[size=8pt]SKaero.com <br />&nbsp; [/size]
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8  
Old 07-19-2007, 03:54 PM
Registered User
 
Join Date: Jul 2007
Posts: 9
Downloads: 0
Uploads: 0
Default Re: Problem getting RoundCube to work

Yes..

[Thu Jul 19 08:35:48 2007] [error] (13)Permission denied: exec of /usr/local/apache/htdocs/roundcube/index.php failed
[Thu Jul 19 08:35:48 2007] [error] [client xx.xx.xx.xx] Premature end of script headers: /usr/local/apache/htdocs/roundcube/index.php

is what shows up in the error logs.

I also setup a test.cgi script just to see if it was roundcube or something else.. it appears to be something else because I get the same errors on index.php that I got on test.cgi

So, I *know* it has to do with someone in my httpd.conf.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9  
Old 07-19-2007, 04:49 PM
Registered User
 
Join Date: Jul 2007
Posts: 9
Downloads: 0
Uploads: 0
Default Re: Problem getting RoundCube to work

I've made "progress"

Now I'm getting..

Code:
[Thu Jul 19 11:42:00 2007] [error] [client xx.xx.xx.xx] malformed header from script. Bad header=<head>: /usr/local/apache/htdocs/roundcube/index.php
Why can't it be easy?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10  
Old 07-19-2007, 05:10 PM
Super Moderator
 
Join Date: Jun 2006
Posts: 431
Downloads: 0
Uploads: 0
Send a message via ICQ to skaero Send a message via AIM to skaero Send a message via MSN to skaero Send a message via Yahoo to skaero
Default Re: Problem getting RoundCube to work

Are there errors in roundcube error log?
__________________
[size=8pt]SKaero.com <br />&nbsp; [/size]
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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
Trackbacks are On
Pingbacks are On
Refbacks are On

For more information about the ads and why they're here, please see the FAQ

All times are GMT. The time now is 05:47 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Copyright © 2006-2008 RoundCube Webmail Community