Thread: [Personalbackup-users] Gentoo installation
Status: Beta
Brought to you by:
linuxtuxie
From: Toni V. R. <t.v...@ha...> - 2005-02-18 13:11:57
|
Hi, I just tried the CVS version of today on my Gentoo backup-server, but the daemon seems not to run. When I start it, it just respawns to the commandline without any warning and no process is running in the background. Any clue where to start looking? Database is OK. Webserver is OK (I get an empty page with a title 'Backup folder definer'. The init.d script can be easily modified for Gentoo, so if you need one, just ask. Regards, PS: If you need a Gentoo based tester, just ask :-) -- Van Remortel Toni Systeem- en netwerkbeheer HA - Dept. Ontwerpwetenschappen tel: +32 (0) 3 205 61 89 .:. e-mail: t.v...@ha... |
From: kku <kk...@el...> - 2005-02-18 13:29:16
|
At 14:11 18/02/2005, you wrote: >Hi, > >I just tried the CVS version of today on my Gentoo backup-server, but >the daemon seems not to run. >When I start it, it just respawns to the commandline without any warning >and no process is running in the background. Can you run it with the command line option "-D 0" and "-d" so "./personalbackupd -D 0 -d" What will happen is that personalbackupd will not detach and all messages are printed on the commandline Normally this should shed some light on the issue. >Any clue where to start looking? Database is OK. Webserver is OK (I get >an empty page with a title 'Backup folder definer'. Hmm... that does not seem to be correct. You should see a page what title "PersonalBackup center <your sitename>" >The init.d script can be easily modified for Gentoo, so if you need one, >just ask. > >Regards, > >PS: If you need a Gentoo based tester, just ask :-) That would be great! I currently did not have the time yet to start on this topic. Regards LinuxTuxie |
From: Toni V. R. <t.v...@ha...> - 2005-02-21 07:20:27
|
On Fri, 2005-02-18 at 14:28 +0100, kku wrote: > At 14:11 18/02/2005, you wrote: > >Hi, > > > >I just tried the CVS version of today on my Gentoo backup-server, but > >the daemon seems not to run. > >When I start it, it just respawns to the commandline without any warning > >and no process is running in the background. > > Can you run it with the command line option "-D 0" and "-d" > > so "./personalbackupd -D 0 -d" Fata-Morgana personalbackup # ./personalbackupd -D 0 -d Use of uninitialized value in concatenation (.) or string at lib/PBDatabase.pm line 20. DBI connect('dbname=;host=127.0.0.1;port=5432','postgres',...) failed: FATAL: database "host=127.0.0.1" does not exist at lib/PBDatabase.pm line 20 Died at lib/PBUtils.pm line 35. Problem with Perl? I checked all the CPAN modules and all are installed OK: cpan> install CGI CGI::Cookie CGI::Session Date::ISO Date::Leapyear DBI DBD::CSV DBD::Pg GD::Graph::bars3d Getopt::Long Pod::Usage Filesys::SmbClient HTML::Template POSIX URI::Escape Sys::Syslog Net::LDAP CPAN: Storable loaded ok Going to read /root/.cpan/Metadata Database was generated on Mon, 21 Feb 2005 05:46:02 GMT CGI is up to date. CGI::Cookie is up to date. CGI::Session is up to date. Date::ISO is up to date. Date::Leapyear is up to date. DBI is up to date. DBD::CSV is up to date. DBD::Pg is up to date. GD::Graph::bars3d is up to date. Getopt::Long is up to date. Pod::Usage is up to date. Filesys::SmbClient is up to date. HTML::Template is up to date. POSIX is up to date. URI::Escape is up to date. Sys::Syslog is up to date. Net::LDAP is up to date. > >Any clue where to start looking? Database is OK. Webserver is OK (I get > >an empty page with a title 'Backup folder definer'. > > > Hmm... that does not seem to be correct. You should see a page what title > "PersonalBackup center <your sitename>" The daemon isn't running yet (see above error), so that might explain the difference. No? > >The init.d script can be easily modified for Gentoo, so if you need one, > >just ask. > > > >Regards, > > > >PS: If you need a Gentoo based tester, just ask :-) > > > That would be great! I currently did not have the time yet to start on this > topic. My planning to set up a backup server is already 6 months old, only I start to impement it now (time is sold out in 5 minutes here ;-) I'll let you know what the needed changes are for Gentoo, and eventually I'll try to create an ebuild too. Regards, -- Van Remortel Toni Systeem- en netwerkbeheer HA - Dept. Ontwerpwetenschappen tel: +32 (0) 3 205 61 89 .:. e-mail: t.v...@ha... |
From: Toni V. R. <t.v...@ha...> - 2005-02-21 08:48:01
|
On Mon, 2005-02-21 at 08:20 +0100, Toni Van Remortel wrote: > On Fri, 2005-02-18 at 14:28 +0100, kku wrote: > > At 14:11 18/02/2005, you wrote: > > >Hi, > > > > > >I just tried the CVS version of today on my Gentoo backup-server, but > > >the daemon seems not to run. > > >When I start it, it just respawns to the commandline without any warning > > >and no process is running in the background. > > > > Can you run it with the command line option "-D 0" and "-d" > > > > so "./personalbackupd -D 0 -d" > > Fata-Morgana personalbackup # ./personalbackupd -D 0 -d > Use of uninitialized value in concatenation (.) or string at > lib/PBDatabase.pm line 20. > DBI connect('dbname=;host=127.0.0.1;port=5432','postgres',...) failed: > FATAL: database "host=127.0.0.1" does not exist at lib/PBDatabase.pm > line 20 > Died at lib/PBUtils.pm line 35. Crap! My mistake. I hadn't changed the config-file after the last CVS update, so the $dbname wasn't defined. Now the daemon runs. Still have to figure out Apache2 though. -- Van Remortel Toni Systeem- en netwerkbeheer HA - Dept. Ontwerpwetenschappen tel: +32 (0) 3 205 61 89 .:. e-mail: t.v...@ha... |
From: Toni V. R. <t.v...@ha...> - 2005-02-21 09:38:18
|
On Mon, 2005-02-21 at 09:47 +0100, Toni Van Remortel wrote: > Still have to figure out Apache2 though. OK, vhosts are up, init-script has been modded for Gentoo use. But: Fata-Morgana personalbackup # ./login.cgi Can't use an undefined value as a HASH reference at ./login.cgi line 49, <DATA> line 225. Shows me a 500-page in Apache. Any idea? PS: still have to clean up and debug the init-script. When finished, I'll send it. -- Van Remortel Toni Systeem- en netwerkbeheer HA - Dept. Ontwerpwetenschappen tel: +32 (0) 3 205 61 89 .:. e-mail: t.v...@ha... |
From: Toni V. R. <t.v...@ha...> - 2005-02-21 09:44:07
|
On Mon, 2005-02-21 at 10:38 +0100, Toni Van Remortel wrote: > Any idea? Again, my mistake. Seems that the old config file cannot be used. I copied the new one, updated it, and now it runs. -- Van Remortel Toni Systeem- en netwerkbeheer HA - Dept. Ontwerpwetenschappen tel: +32 (0) 3 205 61 89 .:. e-mail: t.v...@ha... |
From: kku <kk...@el...> - 2005-02-21 09:48:02
|
At 10:38 21/02/2005, you wrote: >On Mon, 2005-02-21 at 09:47 +0100, Toni Van Remortel wrote: > > Still have to figure out Apache2 though. > >OK, vhosts are up, init-script has been modded for Gentoo use. > >But: >Fata-Morgana personalbackup # ./login.cgi >Can't use an undefined value as a HASH reference at ./login.cgi line 49, ><DATA> line 225. > >Shows me a 500-page in Apache. > >Any idea? It seems that it cannot find the languages definition in personalbackup.conf. Are you sure you placed the latest & greatest personalbackup.conf file in the '/etc' folder ? I have just uploaded a new personalbackup.conf file which corrects a typo..however on my RH machines it seems to work even with the error. Regards, LinuxTuxie |