Koozali.org: home of the SME Server
Obsolete Releases => SME 8.x Contribs => Topic started by: ghorst352 on October 24, 2012, 12:46:32 PM
-
I recently installed BackupPC on one of my SME 8.0 servers and followed the doc here http://wiki.contribs.org/BackupPC
Half-way down I realized after trying to install BackupPC that the repo did not contain BackupPC. I then found at http://wiki.contribs.org/SME8.0_Contribs_QA#smeserver-BackupPC contained the current information for enabling the correct repo for version 8.0 as follows:
db yum_repositories set rpmforge repository \
BaseURL 'http://apt.sw.be/redhat/el5/en/$basearch/rpmforge' \
EnableGroups no \
Exclude freetype,htop,iptraf,rsync,syslinux \
GPGCheck yes \
GPGKey http://dag.wieers.com/packages/RPM-GPG-KEY.dag.txt \
Name 'RPMForge - EL5' \
Visible no \
status disabled
signal-event yum-modify
yum install --enablerepo=rpmforge perl-XML-RSS perl-Time-module* perl-File-RsyncP
wget http://repo.firewall-services.com/centos-testing/5/noarch/BackupPC-3.2.0-7.beta0.el5.fws.noarch.rpm
yum localinstall BackupPC-3.2.0-7.beta0.el5.fws.noarch.rpm
signal-event post-upgrade && signal-event reboot
I executed exactly as presented but after reboot I have no entry in either server-manager nor by going to the url https://server/BackupPC.
Going to the httpd logs I do see entries as follows:
[Tue Oct 23 15:47:51 2012] [error] [client 192.168.1.28] File does not exist: /home/e-smith/files/ibays/Primary/html/BackupPC
[Tue Oct 23 15:50:31 2012] [error] [client 192.168.1.28] File does not exist: /home/e-smith/files/ibays/Primary/html/BackupPC_admin
[Tue Oct 23 15:50:44 2012] [error] [client 192.168.1.28] File does not exist: /home/e-smith/files/ibays/Primary/html/BackupPC_Admin
[Tue Oct 23 19:06:42 2012] [error] [client 192.168.1.28] File does not exist: /home/e-smith/files/ibays/Primary/html/favicon.ico
[Tue Oct 23 19:07:08 2012] [error] [client 192.168.1.28] File does not exist: /home/e-smith/files/ibays/Primary/html/BackupPC
[Tue Oct 23 19:20:33 2012] [error] [client 192.168.1.28] File does not exist: /home/e-smith/files/ibays/Primary/html/BackupPC
[Wed Oct 24 06:17:47 2012] [error] [client 192.168.1.28] File does not exist: /home/e-smith/files/ibays/Primary/html/favicon.ico
[Wed Oct 24 06:18:42 2012] [error] [client 192.168.1.28] File does not exist: /home/e-smith/files/ibays/Primary/html/BackupPC
[Wed Oct 24 06:18:47 2012] [error] [client 192.168.1.28] File does not exist: /home/e-smith/files/ibays/Primary/html/BackupPC_admin
[Wed Oct 24 06:18:52 2012] [error] [client 192.168.1.28] File does not exist: /home/e-smith/files/ibays/Primary/html/BackupPC_Admin
Additionally I also noticed the BackupPC service was not running and I had to manually start it?
After this I decided to search the forums for anything related to BackupPC and SME Server 8.0 and found this thread:
http://forums.contribs.org/index.php?topic=49052.0
Here is the entry that I am concerned with:
Re: BackupPC on SME 8.0 - Solved
« Reply #2 on: September 10, 2012, 08:29:23 AM »
ReplyQuote
Iafter some reading and failed attempts I contacted Daniel and he got back to me very quickly.
Here is a summary of what's required to install BackupPC on sme8.0...
Quote
Configure EPEL for SME8, as explained here: http://wiki.contribs.org/Epel
Configure sme7contribs repo as explained here: http://wiki.contribs.org/SME8.0_Contribs_QA#Setup
Install BackupPC and it's dependancies:
Code: [Select]
yum --enablerepo=epel install BackupPC
Install smeserver-BackupPC:
Code: [Select]
yum --enablerepo=sme7contribs install smeserver-BackupPC
You may have to expand the sudoers template:
Code: [Select]
expand-template /etc/sudoers
This has worked perfectly for me on 3 servers now. Please remember that this just additional information to be read in conjunction with the wiki howto.
Thanks, Daniel,
NTB
8o)
If this is the correct procedure for installing BackupPC on SME 8.0 then why does the wiki not correlate with this information?
My question is how do I properly reverse what I did in the beginning and how to properly install thereafter?
Thanks.....
-
Solved !
Here is what I did to fix the issue.
1) Uninstall my installation of BackupPC
2) Follow the doc from http://wiki.contribs.org/BackupPC until I got to the part for installing
3) Follow the information from this thread http://forums.contribs.org/index.php/topic,49052.0.html
Configure EPEL for SME8, as explained here: http://wiki.contribs.org/Epel
Configure sme7contribs repo as explained here: http://wiki.contribs.org/SME8.0_Contribs_QA#Setup
Install BackupPC and it's dependancies:
Yum --enablerepo=epel install BackupPC
Install smeserver-BackupPC:
yum --enablerepo=sme7contribs install smeserver-BackupPC
4) signal-event backuppc-update
Now backuppc appears both in server-manager as well as the standalone gui. The processes also started correctly with no need for manual interaction.
I would ask that if this correct then should not the wiki be updated with the information from the September thread that was posted by wiki+doc members??
Thanks to the Sept thread I was able to get this installed. Thanks. :D
-
bhay3s
Please post a bug report for the documentation team to fix this.
Thanks
-
http://bugs.contribs.org/show_bug.cgi?id=7133
-
Closed
Wiki has been updated.