setup-ds-admin.pl gives error during setup: Can't call method "getText" on an undefined value at /usr/lib64/dirsrv/perl/DSUtil.pm

Solution Verified - Updated -

Issue

  • setup-ds-admin.pl gives error during setup: Can't call method "getText" on an undefined value at /usr/lib64/dirsrv/perl/DSUtil.pm
Are you ready to set up your servers? [yes]: 
Creating directory server . . .
Can't call method "getText" on an undefined value at /usr/lib64/dirsrv/perl/DSUtil.pm line 259, <STDIN> line 21.
  • If a hostname which has no corresponding IP address associated is given to the setup-ds-admin.pl or setup-ds.pl, then DSUtil.pm complains with "Can't call method "getText" on an undefined value.

Environment

  • Red Hat Directory Server (All Versions)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.