Koozali.org: home of the SME Server
Obsolete Releases => SME Server 7.x => Topic started by: gducci on September 07, 2007, 03:54:03 PM
-
Hi to all,
I have a little problem, I think I made a stupid mistake: in the server-manager I declared to use an external DNS (internet) and now when I access the menu page I got a message telling that "a DNS resolver was configured..." and I cannot revert the configuration. Someone can tell me how to revert the config on the command line?
Thanks in advance
Gio
-
You should be able to login to the server locally as admin right? You should be able to reconfigure from there.
Ryan
-
Well, thanks for the answer but I have SME 7.2 and when I log as admin on the server and I try to choose "re-configure" the server first stack and after a couple of minutes reboot. I did not find any other way to reverse the settings, that's why I asked for help in the forum....must be something in the templates, as I understood reading here and there. How can I reset everything? Do I have to re-install 7.2?
Thanks in advance
Gio
-
gducci
..."a DNS resolver was configured..."
how to revert the config on the command line?
The details you provided are sparse, so I'm guessing, but I think what you want just happens to be mentioned in a recent post on a different subject. See
http://forums.contribs.org/index.php?topic=38427.0
Find the posts that refer to
Nameservers=localhost
which you will need to set for your main domain, the commands to do this are explained. I'm assuming you are able to login as root.
-
Ok, thanks a lot. I already read this post but I could not figure out what the prop was and now thanks to you (Nameservers=localhost) I succeded. For the sake of other people that's what i made:
1) do the command "db domains show" as i only have one domain name I do not have to specify otherwise issue "db domains show xxx.yyy"
[root@filemail ~]# db domains show
Nameservers=localhost
gd-lc.com=domain
Content=Primary
Description=Primary domain
Nameservers=internet
Removable=no
SystemPrimaryDomain=yes
--------------------------------
2) to change "Nameservers=internet" to localhost do ==> db domains set Nameservers localhost
3) I did not find the command to add to "signal-event" as domains, nameservers etc.. gave ma an error.
4) reboot and see
Hope that work for others
Gio
-
gducci
You set a key rather than a property for a key.
You should have done
db domains setprop gd-lc.com Nameservers localhost
and to remove the wrong entry you made you should also do
db domains delete Nameservers localhost
Note that a reboot is not sufficient.
The signal event command implied from the other post referenced is
signal-event email-update
although if in doubt that this is correct you should use the "master" post upgrade event by doing
signal-event post-upgrade
reboot
-
I see, I was quite confused how to set a prop and I forgot to include "signal-event email-update" that I made in reality. Anyway tha gave to me the possibility to change Nameservers to a local in the "server-manager" interface. But you are right, that is th rit way to do that. Thanks a lot again for your help.
Cheers
Gio