Koozali.org: home of the SME Server

[ANNOUNCE] smeserver-backuppc

Offline Daniel B.

  • *
  • 1,699
  • +0/-0
    • Firewall Services, la sécurité des réseaux
[ANNOUNCE] smeserver-backuppc
« Reply #15 on: May 29, 2006, 06:44:58 PM »
Well the fact is that if you cannot acced the admin page, you won't be able to backup anything 'cause the panel is just a front end for the config file
No particular configuration is needed normally. can you acced the index of your ibay:
http://yourserver/backup.
You should have this:

Information Bay
This information bay has not yet been customized.

Have you enable the exec of CGI?

ll /home/e-smith/files/ibays/backup/cgi-bin should repport this
-rwsrwx---  1 backuppc backups 3924 mai 18 17:43 BackupPC_Admin
C'est la fin du monde !!! :lol:

icpix

[ANNOUNCE] smeserver-backuppc
« Reply #16 on: May 29, 2006, 06:58:29 PM »
I cannot access http://myserver/backup, this method gives me a 404 error.
If I click on that HTML file (across my intranet) I get what you indicated.
I have enabled exec of CGI (as you indicated in the PDF).
Using a PuTTY link I get...
------------------------
[root@teri backuppc_panel_v1.0]# ll /home/e-smith/files/ibays/backup/cgi-bin
total 4
-rwsrwx---  1 backuppc backups 3924 May 18 16:43 BackupPC_Admin
[root@teri backuppc_panel_v1.0]#
------------------------
...note that this SME7 box is serveronly but it does have access to the internet (for YUM).
----best wishes, Robert

Offline Daniel B.

  • *
  • 1,699
  • +0/-0
    • Firewall Services, la sécurité des réseaux
[ANNOUNCE] smeserver-backuppc
« Reply #17 on: May 29, 2006, 07:19:57 PM »
ok, looks like the problem comes from the ibay. I don't see why you cannot acceed http://yourserver/backup from the local network since server only mode should provide Web server to the local network.
Having access to the internet shouldn't change anything 'cause the installation doesn't need internet.

/var/log/httpd/error_log may tell you more about the error

I'll try it on a server only tomorrow
C'est la fin du monde !!! :lol:

icpix

[ANNOUNCE] smeserver-backuppc
« Reply #18 on: May 29, 2006, 07:26:39 PM »
Quote from: "VIP-ire"
/var/log/httpd/error_log may tell you more about the error



--------------------
[Mon May 29 16:31:51 2006] [warn] RSA server certificate CommonName (CN) teri.myserver' does NOT match server name!?
[Mon May 29 16:31:51 2006] [notice] Apache configured -- resuming normal operations
[Mon May 29 17:04:26 2006] [notice] caught SIGTERM, shutting down
[Mon May 29 17:06:27 2006] [warn] RSA server certificate CommonName (CN) teri.myserver' does NOT match server name!?
[Mon May 29 17:06:27 2006] [notice] Digest: generating secret for digest authentication ...
[Mon May 29 17:06:27 2006] [notice] Digest: done
[Mon May 29 17:06:27 2006] [warn] RSA server certificate CommonName (CN) teri.myserver' does NOT match server name!?
[Mon May 29 17:06:27 2006] [notice] Apache configured -- resuming normal operations
--------------------

Tomorrow - a bientot;~)

----best wishes, Robert

Offline fpausp

  • *
  • 728
  • +0/-0
[ANNOUNCE] smeserver-backuppc
« Reply #19 on: May 29, 2006, 10:38:39 PM »
Hi VIP-ire,

Thanks für your howto the installation works fine for me but i am sorry i do not speak french (http://testserver/backup/cgi-bin/BackupPC_Admin), how can i change the language ?




fpausp
Viribus unitis

Offline Daniel B.

  • *
  • 1,699
  • +0/-0
    • Firewall Services, la sécurité des réseaux
[ANNOUNCE] smeserver-backuppc
« Reply #20 on: May 30, 2006, 10:04:49 AM »
fpausp => To change the langage there's two ways:
 -if you install backuppc_panel: go in the server-manager->backuppc config->modify the configuration->CGI interface->langage
 -if you've just install smeserver-backuppc, then edit the file /home/e-smith/files/ibays/backup/files/conf/config.pl and change the $Conf{Langage} variable.

Don't manually edit this file if you have the panel because it's regenerated each time the conf is modified
C'est la fin du monde !!! :lol:

Offline Daniel B.

  • *
  • 1,699
  • +0/-0
    • Firewall Services, la sécurité des réseaux
[ANNOUNCE] smeserver-backuppc
« Reply #21 on: May 30, 2006, 10:41:06 AM »
icpix => I tried in serveronly mode and it worked as well as in servergateway.
Looks like you don't let access to the ibay from the localnetwork.
C'est la fin du monde !!! :lol:

Offline Daniel B.

  • *
  • 1,699
  • +0/-0
    • Firewall Services, la sécurité des réseaux
[ANNOUNCE] smeserver-backuppc
« Reply #22 on: May 30, 2006, 04:18:46 PM »
I've just corected a little problem with rsync backup methode.
the rpm File::RsyncP provided with smeserver-backuppc doesn't seems to work.
I've update the tar archives with one that works this time. For those who already have installed it you can do this:

yum remove perl-File-RsyncP
rpm -Uvh ftp://ftp.freshrpms.net/pub/dag/redhat/el4/en/i386/dag/RPMS/perl-File-RsyncP-0.52-1.2.el4.rf.i386.rpm

you can also modify the rsync client path parameter wich is /usr/bin/rync instead of /bin/rsync.

If you haven't install backuppc_panel, edit the file /home/e-smith/files/ibays/backup/files/conf/config.pl and modify the $Conf{RsyncClientPath} variable.
If you have the panel, go in the server-manager=>backuppc config=>modify the configuration=>various paths and commands
C'est la fin du monde !!! :lol:

icpix

[ANNOUNCE] smeserver-backuppc
« Reply #23 on: May 31, 2006, 03:24:57 PM »
VIP-ire----

Been away, sorry.

I have always had a particular 'difficulty' with my SME7 (serveronly) box, maybe it is messing up backuppc(?).

Production SME6 (servergateway) box also runs my intranet and DHCP. AFAIK there is no Domain Controller (DC). My workstation (W2KPro-SP4) uses the normal Windows WORKGROUP to connect over the intranet to SME6 and I put in the username(admin) and password(22chars) manually for the first logon to connect. Everything seems good (long time). I am the only user on site - internal security is not an issue.

I still use manually entered username/password combinations to set up PuTTY (SSH2) links from my (W2kPro-SP4) workstation to access/control both the SME6 and SME7 boxes.

Test/production SME7 (serveronly) box has the WORKGROUP set but I have never ever been able to properly connect with any user login;~/ Admin, root and any of my users all fail. The only way I can access my SME7 box over my intranet is to 'login' with a username of (say) admin and no password (ie just a carriage return)! Yes, I get access. No, this is not validation. It make a mockery of all this new complex password methodology;~/ Whilst I can use my (mounted) hardware RAID5 array file library on the SME7 box I think this inappropriate 'validation' [sic] is messing up backuppc... maybe?

http://forums.contribs.org/index.php?topic=31996.0
All my keyboards are QWERTY. I do not possess WinXP.

----best wishes, Robert

Offline Daniel B.

  • *
  • 1,699
  • +0/-0
    • Firewall Services, la sécurité des réseaux
[ANNOUNCE] smeserver-backuppc
« Reply #24 on: May 31, 2006, 03:57:19 PM »
Well, I think you should try to reset the admin and root passord like it's explain on grand-pa's site (in single user mode) and then reset again the admin passowrd through the server-manager.
Once this is done, try to uninstall the contrib and to reinstall it.
I'm not sure where the error comes from but I know it can make troubles to have passwords not correctly set
C'est la fin du monde !!! :lol:

icpix

[ANNOUNCE] smeserver-backuppc
« Reply #25 on: May 31, 2006, 04:02:50 PM »
Quote from: "VIP-ire"
...it's explain on grand-pa's site...

Agreed... but what or where is this site of your grand-pa?
----best wishes, Robert

Offline Daniel B.

  • *
  • 1,699
  • +0/-0
    • Firewall Services, la sécurité des réseaux
[ANNOUNCE] smeserver-backuppc
« Reply #26 on: May 31, 2006, 04:04:45 PM »
C'est la fin du monde !!! :lol:

icpix

[ANNOUNCE] smeserver-backuppc
« Reply #27 on: May 31, 2006, 04:58:43 PM »
The automatic English translation of that area is not that helpful or accurate.
From my notes:

060531---+
* to reset root/admin passwords
* or to re-sync the admin with the root password

reboot
when the SME graphic shows
press Ctrl-X to put grub into text input mode
use arrow keys to choose your server's processor/s
(up for a single processor/smp for dual processors)
press e to go into the edit mode
use arrow keys to choose the kernel line
append a space and the word single
(this puts SME into single user mode without validification)
press enter
press b
allow some booting
wait for the # prompt
type passwd root
(enter root password/confirm)
type passwd admin
(enter admin password/confirm - should be same as root)
logout with Ctrl-D
allow the rest of the boot

----best wishes, Robert

icpix

[ANNOUNCE] smeserver-backuppc
« Reply #28 on: May 31, 2006, 05:27:37 PM »
Re-sync of the root/admin passwords was (apparently) not 'THE' issue.
I am still unable to logon with admin/root/anyuser over my intranet.
Will try reducing the extent of the complexity of the password from 24 to 12.
----best wishes, Robert

icpix

[ANNOUNCE] smeserver-backuppc
« Reply #29 on: May 31, 2006, 05:46:25 PM »
http://bugs.contribs.org/show_bug.cgi?id=1288
Reduction of password length down to 12 was not significant.
Still can't login to SME7 across the intranet using root/admin/anyuser.
Obviously I still cannot obtain the admin screen of backuppc either.
----best wishes, Robert