New user saying Hi

Discussion in 'General' started by Skygod, Dec 8, 2015.

  1. Skygod

    Skygod New Member

    I've managed to install ISPConfig3 onto my little Banana Pi M1+ which is going to act as a personal server and also as a development server where I can emulate live sites that I do some support work. I've been asked to start to work on migration of mysql connectivity and old php code that will become deprecated in the future for a couple of sites.

    The only issue that I seemed to encounter by following the extremely well written "How to build a perfect Debian Jessie server" was the lack of fastcgi module for armhf in any of the Debian jessie repos, so I had to do a manual install.

    I've also followed the 'Howto' to download and compile php7 and just had to make 1 change to the ./configure command to remove reference to the --with-libdir=/lib/x86_64-linux-gnu statedment and I simply let the compiler work it out for itself.

    Something is a bit amiss though as I've got issues with hostnames that are causing the Monitor in ISPConfig3 to report that all the services are offline. I also need to remove the clamd addon as it is using too much memory for my little device.

    Anyhow, not a bad day and tomorrow I'll RTFM before I start asking stupid questions :)
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Check your /etc/hosts file and ensure that it contains a line for localhost pointing to 127.0.0.1 and that your services are listening on localhost as well (hat they should do by default). ISPConfig just checks if it can reach a service on its default port at localhost.
     
  3. Skygod

    Skygod New Member

    Making some progress now and have 3 sites created (2 are simply redirects)
    panel.mydomain.com redirects with a 301 to https://panel.mydomain.com:8080 so I can easily access the ISPConfig3 panel logon
    cctv.mydomain.com redirects with a 301 to http://cctv.mydomain.com:8010 so I can monitor my CCTV cameras
    www.mydomain.com brings the main site website within the control of ISPConfig3

    I've done something wrong with the mail installation though, as the ISPConfig3 logs are showing
    Code:
    24E2A21872 673 Wed Dec 9 21:30:16 [email protected]
    (connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
    [email protected]
    (I am actually using a proper domain rather than mydomain.com)

    Any tips on how to fix it appreciated.....

    (I think I probably selected standalone during the install, instead of reading the instructions properly, but as it was part of a big apt-get install, I'm unsure which package to reinstall)
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    The error means that amavis is not running. Try to restart amavis. If the amavis service will not start, then take a look into the mail.log.
     
  5. Skygod

    Skygod New Member

    Cheers, I've started amavis and now have amavis-new running, so am getting the mails :)
     
  6. Skygod

    Skygod New Member

    Next issue :
    /var/log/ispconfig/cron.log is getting a lot of these .....
    Thu Dec 10 18:30:16 ICT 2015 setquota: Cannot stat() mounted device /dev/root: No such file or directory

    My /etc/fstab is as follows
    /dev/mmcblk0p1 / ext4 defaults,noatime,nodiratime,data=writeback,commit=600,errors=remount-ro,usrjquota=quota.user,grpjquota=quota.group,jqfmt=vfsv0 0 1
     
  7. till

    till Super Moderator Staff Member ISPConfig Developer

    Is this the only line in /etc/fstab?
     
  8. Skygod

    Skygod New Member

    Full /etc/fstab...

    Code:
    # UNCONFIGURED FSTAB FOR BASE SYSTEM
    tmpfs   /tmp         tmpfs   nodev,nosuid,size=256M          0  0
    /dev/mmcblk0p1  /           ext4    defaults,noatime,nodiratime,data=writeback,commit=600,errors=remount-ro,usrjquota=quota.user,grpjquota=quota.group,jqfmt=vfsv0        0       1
    /var/swap none swap sw 0 0
    /dev/sda1 /music ntfs-3g rw,uid=1000,gid=1000,dmask=0002,fmask=0003 0 0
    /var/log/ispconfig/httpd/cctv.mydomain.com /var/www/clients/client1/web1/log    none    bind,nobootwait,_netdev    0 0
    /var/log/ispconfig/httpd/panel.mydomain.com /var/www/clients/client1/web2/log    none    bind,nobootwait,_netdev    0 0
    /var/log/ispconfig/httpd/www.mydomain.com /var/www/clients/client1/web3/log    none    bind,nobootwait,_netdev    0 0

    (mydomain.com is actually my real domain.com)
     
  9. till

    till Super Moderator Staff Member ISPConfig Developer

    Looks fine to me. I've no idea why the Linux setquota command shows these errors.
     
  10. Skygod

    Skygod New Member

    With small SBC devices they have 'odd' /boot & /root sequences, so I decided to try and install ISPConfig3 on my cheap low spec VPS, but that install is borked! Clamav crashed the server, so I disabled it following a thread that I read on this site ( http://www.faqforge.com/linux/contr...ilter-and-antivirus-functions-in-ispconfig-3/ )and now any access to https://myhost.com:8080/ simply returns the following

    Code:
    Internal Server Error
    
    The server encountered an internal error or misconfiguration and was unable to complete your request.
    
    Please contact the server administrator at webmaster@localhost to inform them of the time this error occurred, and the actions you performed just before this error.
    
    More information about this error may be available in the server error log.
     
  11. till

    till Super Moderator Staff Member ISPConfig Developer

    How much RAM does this vps has? A full setup requires at least 1GB. If your server ran out of ram during installation, then there miht be packages missing now.

    The detailed reason for the error can be found in the apache or nginx error.log
     
  12. Skygod

    Skygod New Member

  13. till

    till Super Moderator Staff Member ISPConfig Developer

    If you don't use email on this server, then you can disable the mail functions like described in that guide. But I won't do that if you plan to have mail accounts.
     
  14. Skygod

    Skygod New Member

    I'll only be running 1 email account and it's only going to be for testing purposes and not published anywhere.
     

Share This Page