Error after change of domain name


(Stefan) #1

My domain name was not correct and I changed it. Now I get following error

Can I fix this problem? If yes how.
Or would it better to install NethServer new.

I recomend to add the information that the domain name is like shoo.net or bird.lan. This wold minimse the risk to do it wrong.


(Giacomo Sanchietti) #2

Please cut & paste the relevant part of /var/log/messages.

If you can’t find it, execute:

 expand-template /etc/dnsmasq.conf

Then grab the last 20-30 lines of the log.


(Artem Fedai) #3

i’ve made chandge for two times , all things is done .
@WillZen enable testing repo and update nethserver-base


(Stefan) #4

@giacomo

Jun 25 17:30:23 server1 esmith::event[4776]: Event: ibay-create SUCCESS
Jun 25 17:41:51 server1 smbd[4922]: [2015/06/25 17:41:51.909059, 0] printing/print_cups.c:151(cups_connect)
Jun 25 17:41:51 server1 smbd[4922]: Unable to connect to CUPS server localhost:631 - Connection refused
Jun 25 17:41:51 server1 smbd[2371]: [2015/06/25 17:41:51.910507, 0] printing/print_cups.c:528(cups_async_callback)
Jun 25 17:41:51 server1 smbd[2371]: failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL
Jun 25 17:54:52 server1 smbd[5101]: [2015/06/25 17:54:52.689313, 0] printing/print_cups.c:151(cups_connect)
Jun 25 17:54:52 server1 smbd[5101]: Unable to connect to CUPS server localhost:631 - Connection refused
Jun 25 17:54:52 server1 smbd[2371]: [2015/06/25 17:54:52.690107, 0] printing/print_cups.c:528(cups_async_callback)
Jun 25 17:54:52 server1 smbd[2371]: failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL
Jun 25 18:07:53 server1 smbd[5165]: [2015/06/25 18:07:53.181105, 0] printing/print_cups.c:151(cups_connect)
Jun 25 18:07:53 server1 smbd[5165]: Unable to connect to CUPS server localhost:631 - Connection refused
Jun 25 18:07:53 server1 smbd[2371]: [2015/06/25 18:07:53.181360, 0] printing/print_cups.c:528(cups_async_callback)
Jun 25 18:07:53 server1 smbd[2371]: failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL
Jun 25 18:20:53 server1 smbd[5205]: [2015/06/25 18:20:53.965932, 0] printing/print_cups.c:151(cups_connect)
Jun 25 18:20:53 server1 smbd[5205]: Unable to connect to CUPS server localhost:631 - Connection refused
Jun 25 18:20:53 server1 smbd[2371]: [2015/06/25 18:20:53.966471, 0] printing/print_cups.c:528(cups_async_callback)
Jun 25 18:20:53 server1 smbd[2371]: failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL
Jun 25 18:33:54 server1 smbd[5244]: [2015/06/25 18:33:54.749048, 0] printing/print_cups.c:151(cups_connect)
Jun 25 18:33:54 server1 smbd[5244]: Unable to connect to CUPS server localhost:631 - Connection refused
Jun 25 18:33:54 server1 smbd[2371]: [2015/06/25 18:33:54.749575, 0] printing/print_cups.c:528(cups_async_callback)
Jun 25 18:33:54 server1 smbd[2371]: failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL
Jun 25 18:46:55 server1 smbd[5324]: [2015/06/25 18:46:55.530311, 0] printing/print_cups.c:151(cups_connect)
Jun 25 18:46:55 server1 smbd[5324]: Unable to connect to CUPS server localhost:631 - Connection refused
Jun 25 18:46:55 server1 smbd[2371]: [2015/06/25 18:46:55.530467, 0] printing/print_cups.c:528(cups_async_callback)
Jun 25 18:46:55 server1 smbd[2371]: failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL
Jun 25 18:59:56 server1 smbd[5475]: [2015/06/25 18:59:56.270423, 0] printing/print_cups.c:151(cups_connect)
Jun 25 18:59:56 server1 smbd[5475]: Unable to connect to CUPS server localhost:631 - Connection refused
Jun 25 18:59:56 server1 smbd[2371]: [2015/06/25 18:59:56.270562, 0] printing/print_cups.c:528(cups_async_callback)
Jun 25 18:59:56 server1 smbd[2371]: failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL
Jun 25 19:10:48 server1 -sftp-server[4897]: error: bad message from UNKNOWN local user stefan-b
Jun 25 19:10:48 server1 init: tty (/dev/tty1) main process ended, respawning
Jun 25 19:10:48 server1 nslcd[1381]: [b012b3] nslcd_passwd_byname(): invalid user name
Jun 25 19:10:48 server1 nslcd[1381]: [08c9af] nslcd_passwd_byname(): invalid user name
Jun 25 19:10:48 server1 nslcd[1381]: [25ace2] nslcd_passwd_byname(): invalid user name
Jun 25 19:10:48 server1 nslcd[1381]: [5dfcf0] nslcd_passwd_byname(): invalid user name
Jun 25 19:10:51 server1 nslcd[1381]: [97e3e4] nslcd_passwd_byname(): invalid user name
Jun 25 19:12:57 server1 smbd[5543]: [2015/06/25 19:12:57.055641, 0] printing/print_cups.c:151(cups_connect)
Jun 25 19:12:57 server1 smbd[5543]: Unable to connect to CUPS server localhost:631 - Connection refused
Jun 25 19:12:57 server1 smbd[2371]: [2015/06/25 19:12:57.056877, 0] printing/print_cups.c:528(cups_async_callback)
Jun 25 19:12:57 server1 smbd[2371]: failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL


(Giacomo Sanchietti) #5

I don’t see any relevant error here.

Does the expand-template command raise an error?


(Stefan) #6

@Nas Sorry. I don’t understand what I should do.


(Stefan) #7

@giacomo

How should I execute this? The GUI has no command line.


(Giacomo Sanchietti) #8

You must access the server using SSH or via keyboard.


(Stefan) #9

Ok. I can sit in front of my server and execut the command but I have a problem to get the result to my computer.

The SSH was mentioned in a earlier post but I have also no glue does it works.
Sorry. I have only litle knowledge in working on the command line. This is the reason to use NetServer with the GUI :smile:


(Stefan) #10

@giacomo I hope I did no mistyping

ERROR in /etc/e-smith/templates//etc/dnsmasq.conf/35NetbiosNameServers: Program fragment delivered error <<Can’t call method “green” on an undefined value at /etc/e-smith/templates//etc/dnsmasq.conf/35NetbiosNameServers line 9.>> at template line 4
ERROR: Template processing failed for //etc/dnsmasq.conf: 1 fragment generated errors


(Artem Fedai) #11

yum --enablerepo = nethserver-testing update nethserver-base


(Stefan) #12

@Ns
Should I do this from the command line?


(Artem Fedai) #13

yes login thouhg ssh and paste yum --enablerepo=nethserver-testing update nethserver-*


(Stefano) #14

IMVHO, before trying to update your server with a package in testing area, I will dig into the problem to understand and recognize it…

otherwise we’re just adding another variable to the system

moreover, OP is unconfortable with CLI (and reading other posts from him, with many aspects of servers and IT); we all should take this fact in the right way.

@WillZen: no intention to be rude, but I strongly suggest you to do some studies and tests (google will help you with “how I access ssh server from a pc?” and so on)


(Artem Fedai) #15

@zamboni fisrt of all we need to know his revision of NS packages!
next we should run it on testing server , and debug with our knowledges! not user knoweledges!
i’m ready to setup Virtual mashine !


(Giacomo Sanchietti) #16

I really can’t figure out where is the problem.
Make sure the green interface is correctly configured.
Then try to enable/disable the DHCP configuration and check if the error persists.

I totally agree.
Do NOT update a system from testing repository unless you fully understand what you’re goiing to change.
And @nas, please do not suggest his bad behavior :smiley:


(Stefano) #17

to know his package version we don’t need to update anything

so, instead of asking people to yum update from testing repo, just ask them to do

rpm -qi packagename

thank you


(Artem Fedai) #18

one of my nethserver in production
[root@gw dnsmasq.conf]# rpm -qi nethserver-base
Name : nethserver-base Relocations: (not relocatable)
Version : 2.7.1 Vendor: NethServer
Release : 1.3.gb8fa61e.ns6 Build Date: Wed 10 Jun 2015 06:10:50 PM EEST

other testing KVM
[root@nethserver templates]# rpm -qi nethserver-base
Name : nethserver-base Relocations: (not relocatable)
Version : 2.7.2 Vendor: NethServer
Release : 1.ns6 Build Date: Mon 22 Jun 2015 06:12:07 PM EEST


(Stefano) #19

interesting… but we need info from OP :wink:


(Stefan) #20

@zamboni
I did google for SSh and found a instruction. I will set it up.

From my point of view I got the impression that the NethServer should be for smal bussines where someone handle the server. The GUI make it easy to maintinace the server and do the daily work. Everthing is fine until you have a problem. Than you are lost with the manual becaus you need Linux and hands on IT knowledge to solve the problem.
Why you don’t add this information in the manual or the HowTo section?
For me who didn’t get this experience during his work and other newbies have first no idee what you are mean with this kind of comment.

Could you be so kind and explane to me what the shortcut IMVHO is. I will add it to the shortcut list in the FAQ.


Is NethServer hard to debug when you have a problem?