Permission errror: Ispconfig + Roundcube plugin

Discussion in 'Server Operation' started by wewanwang, Apr 13, 2014.

  1. wewanwang

    wewanwang New Member

    Hi folk, I had installed the LAMP + Ispconfig onto my VPS by following the tutorial at

    Everything running fine but I prefer to use the Roundcube rather than Squirremail. Glad to know that there was a Roundcube plugin for Ispconfig and I tried it based on the instructions provided at

    However, when I tested https://103.25.203.238:8080/remote/, nothing on screen just blank page.

    And, http://103.25.203.238:8081/roundcube/ giving me the following error message:
    I have the remote user "ispapp1" created and have ticked the options been mentioned in the guideline.

    What thing I had missed out?? Can anyone help? Thanks.
     
  2. srijan

    srijan New Member HowtoForge Supporter

    Hi

    Please paste the output of
    Br//
    Srijan
     
  3. wewanwang

    wewanwang New Member

    Hi Srijan, there is no such directory exist in /usr/share/roundcube/roundcubemail, the roundcube plugin installed into /var/www/apps/roundcube instead.

     
  4. srijan

    srijan New Member HowtoForge Supporter

    Hi

    Please paste the mail & apache error log.

    Br//
    Srijan
     
  5. wewanwang

    wewanwang New Member

    There you go. For your information, I initially setup the server with the domain name which currently pointing at another live VPS, and I going to migrate everything over if the new VPS running fine.

    [httpd error_log]
    [Mon Apr 14 13:45:58 2014] [notice] caught SIGTERM, shutting down
    [Mon Apr 14 13:45:59 2014] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
    [Mon Apr 14 13:45:59 2014] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
    [Mon Apr 14 13:45:59 2014] [notice] Digest: generating secret for digest authentication ...
    [Mon Apr 14 13:45:59 2014] [notice] Digest: done
    [Mon Apr 14 13:45:59 2014] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
    [Mon Apr 14 13:45:59 2014] [notice] Apache/2.2.15 (Unix) DAV/2 mod_fcgid/2.3.9 PHP/5.3.3 mod_ssl/2.2.15 OpenSSL/1.0.1e-fips configured -- resuming normal operations


    [maillog]
    Thanks.
     
  6. wewanwang

    wewanwang New Member

    I also noticed that I could not get into my email account. It kept loading and then showed the error message:

    ERROR: Connection dropped by IMAP server.

    I had changed the hostname in the ispconfig control panel and also to the following files:
    /etc/sysconfig/network
    /etc/hosts
    /etc/postfix/main.cf

    I guess I had screwed up everything :confused:
     
  7. srijan

    srijan New Member HowtoForge Supporter

    Hi


    Please link the file as
    & try

    Br//
    Srijan
     
  8. wewanwang

    wewanwang New Member

    Okay, I now able access to my mailbox through squirremail.

    However, I still not able access to roundcube.

    http://103.25.203.238:8081/roundcube/
    Forbidden
    You don't have permission to access /roundcube/index.php on this server.

    Thanks.
     
  9. srijan

    srijan New Member HowtoForge Supporter

  10. wewanwang

    wewanwang New Member

    Hi Srijan,

    [http error_log]
    [maillog]
     
  11. till

    till Super Moderator Staff Member ISPConfig Developer

    Thats correct. Its a soap based api, you can not use that with your browser. As long as you do not get an error message, the api is working.

    Post the output of:

    ls -la /var/www/apps
     
  12. wewanwang

    wewanwang New Member

    Hi Till, thanks for the head up.

     
  13. till

    till Super Moderator Staff Member ISPConfig Developer

    The ownerships are ok. And roubdcube is installed in the folder /var/www/apps/roundcube ?

    Please post the exact error messages from apaache error.log file that you get wheny ou try to access roundcube.

    Did you try to install roundcube e.g. from rpm before, so that there might be a alias fro roundcube somewhere in your apache configuration?
     
  14. wewanwang

    wewanwang New Member

    Hi Till, I never installed the roundcube rpm source. What I had installed onto the VPS are based on the perfect server tutorial:
    - centos x64 6.5
    - quota, apache, mysql, postfix, spamassasin, amavis, fresclam, squirremail
    - suhosin, ioncube loader
    - EXCEPT these fews: ruby, phython, mailman

    After that, I just installed the roundcube plugin on ispconfig control panel, and yes it installed in the folder /var/www/apps/roundcube & created the remote user "ispapp1" by default. That's it.

    [error_log]
    [Mon Apr 14 14:31:15 2014] [notice] caught SIGTERM, shutting down
    [Mon Apr 14 14:31:16 2014] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
    [Mon Apr 14 14:31:16 2014] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
    [Mon Apr 14 14:31:16 2014] [notice] Digest: generating secret for digest authentication ...
    [Mon Apr 14 14:31:16 2014] [notice] Digest: done
    [Mon Apr 14 14:31:16 2014] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
    [Mon Apr 14 14:31:16 2014] [notice] Apache/2.2.15 (Unix) DAV/2 mod_fcgid/2.3.9 PHP/5.3.3 mod_ssl/2.2.15 OpenSSL/1.0.1e-fips configured -- resuming normal operations
    [Mon Apr 14 16:08:24 2014] [error] [client 66.249.65.245] File does not exist: /var/www/apps/robots.txt
    [Mon Apr 14 19:40:48 2014] [notice] caught SIGTERM, shutting down
    [Mon Apr 14 19:40:49 2014] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
    [Mon Apr 14 19:40:49 2014] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
    [Mon Apr 14 19:40:49 2014] [notice] Digest: generating secret for digest authentication ...
    [Mon Apr 14 19:40:49 2014] [notice] Digest: done
    [Mon Apr 14 19:40:49 2014] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
    [Mon Apr 14 19:40:49 2014] [notice] Apache/2.2.15 (Unix) DAV/2 mod_fcgid/2.3.9 PHP/5.3.3 mod_ssl/2.2.15 OpenSSL/1.0.1e-fips configured -- resuming normal operations
     
  15. wewanwang

    wewanwang New Member

    Nevermind, I had solved it by reinstalling the LAMP + Roundcube in manual way.

    I also created a tutorial on how I install the Roundcube without overwrite the Squiremail.

    Thanks for all your helps.
     
  16. dahili

    dahili New Member

    Solved

    I solved same problem by change /usr/local/ispconfig directory to apache.apache

    root# chown apache.apache -R /usr/local/ispconfig

    this will help you

    regards

     
  17. till

    till Super Moderator Staff Member ISPConfig Developer

    Very bad idea, you just opened up your server for hackers. You should revert that as soon as possible before someone gained root access. No file or folder in /usr/local/ispconfig may be owned by the apache user or group. Most files have to be owned by the user ispconfig and group ispconfig and some has to be owned by user root.

    Just ensure that you installed your server as decsribed in one of the perfect server guides that you find here http://www.ispconfig.org/page/en/documentation.html to get a working ispconfig setup. roundcube is never installed in /usr/local/ispconfig. Take a look at the roundcube install tutorials here at howtoforge for instructions to install roundcube properly and securely.
     

Share This Page