Skip to content

Nothing error where mongodb avent Replica node #48

@WMP

Description

@WMP
+(automongobackup:454): select_secondary_member(): local __return=secondary
+(automongobackup:458): select_secondary_member(): members=($(mongo --quiet --host $DBHOST:$DBPORT --eval 'rs.conf().members.forEach(function(x){ print(x.host) })' $OPTSEC ))
++(automongobackup:458): select_secondary_member(): mongo --quiet --host 127.0.0.1:27017 --eval 'rs.conf().members.forEach(function(x){ print(x.host) })'
^C
root@mondogb:/var/backups/mongodb# mongo --quiet --host 127.0.0.1:27017 --eval 'rs.conf().members.forEach(function(x){ print(x.host) })'
2016-09-06T21:44:29.413+0200 TypeError: Cannot read property 'members' of null
root@mongodb:/var/backups/mongodb#

I havent any inforamtion about this error in logs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions