Coder Social home page Coder Social logo

Need help ubuntu server x64 about check-barman HOT 4 CLOSED

 avatar commented on July 24, 2024
Need help ubuntu server x64

from check-barman.

Comments (4)

hamann avatar hamann commented on July 24, 2024

Which barman version? And could you show me the content of your backup.info files? Are located in /base//backup.info

Am 06.05.2014 um 19:25 schrieb swisscexluk3r [email protected]:

Hi
I'm using a ubuntu server 12.04 x64. Every time I try to run following commands
./check-barman.rb -a backups_available -s main -w 5 -c 6

I recieve following error:

/usr/lib/ruby/1.9.1/time.rb:267:in parse': no time information in "None" (ArgumentError)
from /var/lib/gems/1.9.1/gems/rbarman-0.0.13/lib/rbarman/backup.rb:116:inbackup_start='
from /var/lib/gems/1.9.1/gems/rbarman-0.0.13/lib/rbarman/cli_command.rb:239:in block in parse_backup_info_file'
from /var/lib/gems/1.9.1/gems/rbarman-0.0.13/lib/rbarman/cli_command.rb:235:ineach'
from /var/lib/gems/1.9.1/gems/rbarman-0.0.13/lib/rbarman/cli_command.rb:235:in parse_backup_info_file'
from /var/lib/gems/1.9.1/gems/rbarman-0.0.13/lib/rbarman/cli_command.rb:69:inblock in backups'
from /var/lib/gems/1.9.1/gems/rbarman-0.0.13/lib/rbarman/cli_command.rb:68:in each'
from /var/lib/gems/1.9.1/gems/rbarman-0.0.13/lib/rbarman/cli_command.rb:68:inbackups'
from /var/lib/gems/1.9.1/gems/rbarman-0.0.13/lib/rbarman/backups.rb:20:in all'
from ./check-barman.rb:68:incheck_backups_available'
from ./check-barman.rb:199:in `

Thanks a lot for the help

Kind regards
luker


Reply to this email directly or view it on GitHub.

from check-barman.

 avatar commented on July 24, 2024

Thanks for the fast reply. I use barman 1.3.2

backup.info:
begin_offset=40
begin_time=2014-05-06 15:37:57.702189
begin_wal=000000010000000500000066
begin_xlog=5/66000028
config_file=/etc/postgresql/9.3/main/postgresql.conf
end_offset=962680
end_time=2014-05-06 15:41:24.710787
end_wal=000000010000000500000066
end_xlog=5/660EB078
error=None
hba_file=/etc/postgresql/9.3/main/pg_hba.conf
ident_file=/etc/postgresql/9.3/main/pg_ident.conf
mode=default
pgdata=/var/lib/postgresql/9.3/main
server_name=main
size=4581565345
status=DONE
tablespaces=None
timeline=1
version=90304

from check-barman.

hamann avatar hamann commented on July 24, 2024

Sorry for the late answer, but my job is eating all my time at the moment.
After a few tests I guess it has something to do with ruby 1.9.1, but couldn't dig deeper.
Could take a few days until I'll get that fixed, sorry again!

from check-barman.

thoro avatar thoro commented on July 24, 2024

Hi,

I also got the same issue starting since a backup failed yesterday - now the command

barman status server

just displays

Archive status: last shipped WAL segment None

But to be fair, I created a backup and since the backup no changes on the DB happened so probably that's why there's none (based on the last successful backup!) - I will update the post in the morning after a few files were shipped

Expected behaviour would be a interesting question - not sure if it's an error state or something else?!

ruby -v
ruby 1.9.3p545 (2014-02-24 revision 45159) [x86_64-linux]
barman -v
1.3.0

git log
commit 6c4ec6ecb9b94e48371bac480a4f6a1af7ba7e15
Author: Holger Amann <[email protected]>
Date:   Wed Apr 23 17:08:37 2014 +0200

    update rbarman gem
.....

Update: Still None


Update 2:

So after investigating a bit I think the problem lies with the rbarman library!

I created a new issue here: sauspiel/rbarman#1

from check-barman.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.