can not run named on the opensuse12.2

opensuse12.2 x86


# rpm -qa | grep -i bind
yast2-ycp-ui-bindings-2.21.4-1.1.2.i586
rpcbind-0.2.0_git201103171419-3.1.3.i586
ypbind-1.35-2.2.1.i586
bind-utils-9.9.2P1-1.12.1.i586
bind-9.9.2P1-1.12.1.i586
yast2-pkg-bindings-2.22.2-2.1.3.i586
libkeybinder0-0.2.2-16.1.2.i586
bind-chrootenv-9.9.2P1-1.12.1.i586
yast2-perl-bindings-2.19.2-1.1.2.i586
perl-BIND-Conf_Parser-0.97-508.1.1.i586
bind-libs-9.9.2P1-1.12.1.i586

When Run named - have this error:


 # /etc/init.d/named start
redirecting to systemctl
Failed to issue method call: Unit named.service failed to load: No such file or directory. See system logs and 'systemctl status named.service' for details.
 # systemctl status named.service
named.service
      Loaded: error (Reason: No such file or directory)
      Active: inactive (dead)

Please, help me.

Serg

openSUSE 12.2 uses systemd instead of sysvinit. Thus your way of starting is not applicable imho.

Why do you not try the openSUSE way of starting/stopping services?
YaST > System > System services (runlevel). Look if it is there.

THank you for answer and suggetsion.
This is result:


/etc/init.d/named start returned 1 (unspecified error): 

On 2013-01-22 14:26, hcvv wrote:
>
> openSUSE 12.2 uses systemd instead of sysvinit. Thus your way of
> starting is not applicable imho.
>
> Why do you not try the openSUSE way of starting/stopping services?
> YaST > System > System services (runlevel). Look if it is there.

There has to be a CLI method as well. Also, as long as the traditional
method is not actually removed from the system, it has to work, or print
a message as to how to do it now.

For example, I remember one of the top SUSE staff (coolo?) saying that
script calls like chkconfig had to be maintained to work with systemd.

He (OP) is then issuing another call, in systemd native way, and it says
there is a missing file or directory. I think that thus there is
something broken on his system, but no idea what.


Cheers / Saludos,

Carlos E. R.
(from 11.4, with Evergreen, x86_64 “Celadon” (Minas Tirith))

Like Carlos says (and I expressed with my IMHO, etc. ) we are a bit on new ground here about how the old and new way work together. And I first wanted to try the “standard” way using YaST.

The original messages say first “redirecting to systemctl” meaning something like: you started it the old way, I will try the new way :wink: .

But then a file is missing. Same when you do ask for the status (in the new way).

Did you install bind from the standard OSS repo?

Immediately after trying to start “named”, you should look at “/var/log/messages” (typically, the last few lines in that logfile).

That’s where you will find errors reported by “named”.

Possibly the “missing file” is that “named” should create a pid file, but didn’t because of errors.

All from the Standart ( over YaST … )

I`m check /etc/init.d/named
I have this Error messages when launched string:
. /etc/rc.status

file /etc/rc.status - exist.

Serg

What seems missing is named.service. In other words the .service file of named. That belongs to the new systemd/systemctl way of living.

I found that these file live in directories in /etc/systemd/system/. Can you please check

a) if there is a file named.service somewhere down there.

b) if such a file is part of the nemd package you installed. Can be doen by YaST > Software > Software management end then named in the Serch filed. This will bring you the (installed named package at rivjt. Selects the line and then usse the File list tab below. Is there a /etc/systemd/system/…/named.service there?

THank you.
This is was my steps:

  1. on the server: myserverdns ( where is have problem - not runing bind )
    YaST | Network Service | Remote Administration ( VNC ) | (* ) Allow Remote Administration

/etc/init.d/xdm stop
/etc/init.d/xdm start
3.
From the my Admin WS:
vncviwer myserverdns:5901
4.
In the vnc ( GUI myserverdns):
Open Suse | Settings | Instal/Remove SoftWare
Write In the Field “Packeg Listing: Find:” named.service
In the “by” select “File name”

And see result: “Systemd”
Right Button mouse ( on the "Systemd " ) and select: “Re-Install”, Then “Ok”

After this -
/etc/init.d/named start
OK !!

Thank you for help !

Serg

I do not understand much from what you are telling. But I assume your OK means that you are satisfied now. NIce to hear.

Yes - All OK.

Key moment for me - need run YaST in the GUI for check - in wich pakets file…

Serg