I’ve just made a fresh install of backuppc on Ubuntu 14.04. However, when I visited the web interface then the browser just shows a bin file like this:
Having a bin file server from Apache (or any other web server) generally means there is a fault with the webserver and the script isn’t being parsed before it’s served. A quick look at the Apache log files located at /var/log/apache2/error.log shows the problems:
unable to connect to cgi daemon after multiple tries: /usr/share/backuppc/cgi-bin/index.cgi
Apache2 isn’t parsing the file through a cgi script. The Apache server doesn’t have the cgi module enabled. You can enable an Apache module from the command line without editing any configurations.
sudo a2enmod cgid
Then restart apache2
sudo service apache2 restart
You should then have a working copy of backuppc.
Hello I get the same issue as you have here. When I do “sudo a2enmod cgid” it says it already running and then a restart of apache didnt help. any other ideas?
Thanks
When you do “sudo a2enmod cgid” it should have said “Module cgid already enabled” rather than already running. Did it say that?
this will help sudo a2disconf serve-cgi-bin
That helped me a lot, thanks
You are awesome, thank you!
you might have to clear your browser cache as well, worked for me this way.
tried it with chromium and firefox.
Yep or a shift-refresh would also do the trick. Thanks for the feedback.
I also found out you have to use the right adress, “localhost/backuppc” and “127.0.01/backuppc” cause this problem more likely than “192.168.xxx.xxx/backuppc”
Hum. I’m not sure that would cause you problem.
Thank you very much,ciao.
For me, on kubuntu 14.04 LTS, it helped to just restart the OS after the installation of Backuppc, and voila, it’s web interface started to work. Command line hacking wasn’t neccessary.
Z.
Great. That’s good to know.
I think the problem is in different plase.
I have prepared Backuppc on virtualbox – it worked fine. So i have copied it on secondary machine, with same network settings. In this case backuppc started, but in it’s interface there was error “cant connect to 127.0.0.1/index.cgi”
But, when changed hostname, it started to download binary file when accessed from any machine in network
But… still have no idea how to make it work if not want to build BackupPC from scratch
Hum, it sounds like some settings are wrong in Apache. 127.0.0.1 is the local interface. Have you tried enabling the cgi server and restarting Apache?