cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
330
Views
0
Helpful
4
Replies

Error setting up DNS on Collector 2.11

dashaffe
Level 4
Level 4

I'm setting up a new collector for our site.  The collector is up.  I configured the IP address and at install configured a dns server (actually two dns servers).  But I've discovered that those settings did not stick.  And so the IP address is there, and correctly works.  But the dns entry is not there.  And I can't go out and discover any updates, which as I write this there are five updates.

Over time, I discovered that the DNS information was missing.  But I haven't been able to add that in.  I have tried through both the GUI and CLI.  The gui just says that the DNS address configuration failed to execute.  I get a similar message when I try to add dns through the CLI.  

 

To see the list of all the commands press '?'
admin# conf dns -a 172.16.4.27
execute % Error occured while executing command
admin#

 

Any suggestions to get the DNS info in there would be appreciated.  I think this is the only thing keeping the updates from working.  

 

Thanks.

4 Replies 4

dashaffe
Level 4
Level 4

In case anyone is interested, I've found a solution to this specific issue.  First you have to login on the CLI using the collectorlogin user.  If you don't have the password, then you first need to login to the CLI as admin.  Issue the following:

pwdreset collectorlogin 90

take note of the password.

then you have to do the same thing for root

pwdreset root 90 

and save that password. 

After all this, login as collectorlogin

su - 

provide roots password

issue the command

nmcli connection modify enp3s0 ipv4.dns "dns1,dns2" (substituting your ethernet adapter and dns information.  My ethernet adapter was named enp3s0)

then enter

nmcli connection up enp3so to activate the new settings.  again, substitute your connection name, mine is enp3so.

if you logout and back in as admin and run show ipconfig you should see your dns settings.  Which is great - if you can use them.  I still have other issues to work through.

 

adias
Cisco Employee
Cisco Employee

what other issue are you having ?

dashaffe
Level 4
Level 4

I just posted a new post on the issues I face.  I'm using the ISO version.  I've read the bug CSCwm10281, the workaround means nothing to me.  Doesn't tell me where or how to use.  I can't use OVA or Hyper-V, so I'm stuck with ISO.  And I can't get one service pack to install.  It's been a fight and I've re-installed over and over on 2.11.  I'm very frustrated with this entire process to the point where I think why am I even doing this?

adias
Cisco Employee
Cisco Employee

what type of virtualization are you doing ?  what commands are you using for upgrade? when you are at the admin prompt  what is the output of admin# show

version -d

 

Helpful