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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content