Debian - The Perfect Server Setup

Discussion in 'Installation/Configuration' started by micko_escalade, Jan 4, 2011.

  1. alleks

    alleks Member

    I you had some problems with your actual installation, I hardly recommend you to do a clean install. If you have a good knowledge of linux and capable to fix any problem that might appear, keep this installation and just reinstall the ISPConfig

    That's of course only my opinion.
     
  2. micko_escalade

    micko_escalade New Member

    Wow, I can't believe this. I run php -q uninstall.php which unistalled old version then I run php -q install.php everything went fine and now its same thing still can't access email tab?
     
  3. micko_escalade

    micko_escalade New Member

    I decided to re-install Debian but to my surprise when I tried to make sure link to net install is valid so I can send it to my host if was not available
    So I went to debian.org and Debian 6.0 "Squeeze" has been released! http://www.debian.org/News/2011/20110205a
    So my question to falko is how long before we see new tutorial
    of The Perfect Server - Debian Squeeze (Debian 6.0) With BIND & Dovecot and ISPConfig 3 ?
     
  4. alleks

    alleks Member

    No need for that tutorial, it's still the same steps. Difference between lenny and squeeze:

     
  5. micko_escalade

    micko_escalade New Member

    Ok, I'll bite :D

    Everything for the most part looked the same.
    Only this step on page 4 http://www.howtoforge.com/perfect-s...bian-5.0-with-bind-and-dovecot-ispconfig-3-p4
    does not have ftp stream tcp nowait root /usr/sbin/tcpd /usr/sbin/pure-ftpd-wrapper inside /etc/inetd.conf
    All what I have inside /etc/inetd.conf is:

     
  6. micko_escalade

    micko_escalade New Member

    I'm also stuck on this step: http://www.howtoforge.com/perfect-s...bian-5.0-with-bind-and-dovecot-ispconfig-3-p4

    In my /etc/fstab I have following:

    is UUID=76aa67c7-76c4-40b1-bdef-ef27ad6e0d4d actually /dev/sda1? why is that?


    I added ,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0
    to my fstab


    and now I got this error:

     
    Last edited: Feb 7, 2011
  7. alleks

    alleks Member

    Pfff, you are using a LVM partition format.

    Try this

    Code:
    UUID=76aa67c7-76c4-40b1-bdef-ef27ad6e0d4d / ext3 errors,remount-ro,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0 0 1
    
     
  8. micko_escalade

    micko_escalade New Member

    I replaced that and now I can't start the system at all :confused:
    How can I avoid this UUID? is that cause I have another drive attached where all my backup files are from 5.0?
     
  9. falko

    falko Super Moderator Howtoforge Staff

    On Squeeze, there's no need to run
    Code:
    touch /aquota.user /aquota.group
    chmod 600 /aquota.*
    Please delete /aquota.user and /aquota.group, and then run
    Code:
    mount -o remount /
    quotacheck -avugm
    quotaon -avug
     
  10. micko_escalade

    micko_escalade New Member

    Ok, i'm not at home now. But do I still add

    ,usrjquota=aquota.user,grpjquota=aquota.group,jqfm t=vfsv0

    To fstab?

    Why do I have UUID's with Squeeze any way to avoid it?
     
  11. micko_escalade

    micko_escalade New Member

    Sorry, I need to get server going so I did it anyway. I've added
    1.
    ,usrjquota=aquota.user,grpjquota=aquota.group,jqfm t=vfsv0 to /etc/fstab just like in totorial and then run following:

    Not sure if above means that everything's ok ?

    2. Another error came up but I think its ok because its already there?

    3. Another warning/error?

     
    Last edited: Feb 8, 2011
  12. falko

    falko Super Moderator Howtoforge Staff

  13. micko_escalade

    micko_escalade New Member

    Last edited: Feb 9, 2011
  14. danstinebaugh

    danstinebaugh New Member

    I'm so very close...
    I purchased your manual and have followed the guide and have everything working great except trying to go to squirrelmail per domain. I've created the symlink, added the permission changes to the site's options page:

    [​IMG]

    However when I go to http://mydomain.tld/squirrelmail it downloads the .php file and doesn't show the login screen.

    Any ideas?

    I followed the Debian 6 Perfect Server setup and it worked flawlessly other then this one hiccup.
     

    Attached Files:

  15. alleks

    alleks Member

    Please output the result of this next commands, here

    Code:
    
    #updatedb -> Run this to get result for "locate"
    #locate squirrelmail.com
    
    #cat /etc/apache2/conf.d/squirrelmail.conf
    
     
  16. danstinebaugh

    danstinebaugh New Member

    Thanks for the quick response. The output follows:


    Code:
    root@webserver:/home/daniel# cat /etc/apache2/conf.d/squirrelmail.conf 
    Alias /squirrelmail /usr/share/squirrelmail
    Alias /webmail /usr/share/squirrelmail
    
    <Directory /usr/share/squirrelmail>
      Options FollowSymLinks
      <IfModule mod_php5.c>
        php_flag register_globals off
      </IfModule>
      <IfModule mod_dir.c>
        DirectoryIndex index.php
      </IfModule>
    
      # access to configtest is limited by default to prevent information leak
      <Files configtest.php>
        order deny,allow
        deny from all
        allow from 127.0.0.1
      </Files>
    </Directory>
    
    # users will prefer a simple URL like http://webmail.example.com
    #<VirtualHost 1.2.3.4>
    #  DocumentRoot /usr/share/squirrelmail
    #  ServerName webmail.example.com
    #</VirtualHost>
    
    # redirect to https when available (thanks [email protected])
    #
    #  Note: There are multiple ways to do this, and which one is suitable for
    #  your site's configuration depends. Consult the apache documentation if
    #  you're unsure, as this example might not work everywhere.
    #
    #<IfModule mod_rewrite.c>
    #  <IfModule mod_ssl.c>
    #    <Location /squirrelmail>
    #      RewriteEngine on
    #      RewriteCond %{HTTPS} !^on$ [NC]
    #      RewriteRule . https://%{HTTP_HOST}%{REQUEST_URI}  [L]
    #    </Location>
    #  </IfModule>
    #</IfModule>
    
     
  17. micko_escalade

    micko_escalade New Member

    I can confirm that I have same error as danstinebaugh,
    Here are screenshots:

    [​IMG]


    Here's the content of that file after it gets downloaded:

    [​IMG]

    It would be cool if it doesn't have to enter for each site:

    [​IMG]
     
  18. falko

    falko Super Moderator Howtoforge Staff

    Do you have PHP enabled for the web site?
     
  19. micko_escalade

    micko_escalade New Member

    Site is made in php and it's working. But to double check what do we need to do?
     
  20. danstinebaugh

    danstinebaugh New Member

    Indeed the site is php enabled. I've got it set as fast-cgi.
    Also it's a wordpress site, and everything works as expected site-wise, it's just per domain squirrelmail that's not cooperating.

    Also I've noticed that it sends me the login.php file when I try to go to the webmail under https... not sure what that's about either.
     

    Attached Files:

    Last edited: Feb 11, 2011

Share This Page