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
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.
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)
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.
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
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)
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.
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
I cleared out everything from this Cheap VPS and started afresh. I followed this guide to disable ClamAV and amavis ( http://www.digitalfaq.com/forum/guides-ispconfig/3261-how-optimize-ispconfig.html ) and this one to get quota working correctly ( https://www.howtoforge.com/community/threads/quota.555/ ) and now have a base install running on a VPS with just 256Mb of RAM.
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.
I'll only be running 1 email account and it's only going to be for testing purposes and not published anywhere.