And try to make yourself up-to-date by using systemctl commands. The rc* start/stop/status commands still work (as you see by translating them into systemctl syntax), but you never know for how long
I’m sensing a bit of RTFM here, however with chkconfig, I learned the hard way that some stuff doesn’t have an easy to find man page or explanatory page.
This seems to be especially true in the OpenSuSE world. Which is too bad, as when I started using SuSE in the 6.x age, it was far ahead of other distros and it is still a big reason for me to stick with the SuSE world.
So: I love staying with SuSE, but please allow me to goof up every now and then, OK?
In return, I will write up questions with as relevant details as I can come up with, and later summarize solutions on my http://wiert.me tech blog.
Thanks. I wasn’t expecting the OpenSuSE 13.1 install to skip that, as IIRC the 11.x install (wich I then upgraded step by step to 12.x) did contain it.
Back then, I did most configuration using YaST2, and I’m now rapidly trying to learn the console way.
The reason for to configure a secondary DNS server from scratch to document from step 1, as I didn’t fully do that back then (yes, learning is a life long experience).
After installing the syslog-service and dependencies, enabling and running it, there is a /var/log/messages with content.
So I did a less /var/log/messages after runing a systemctl start named.service and less showed this:
systemd[1]: Started LSB: Domain Name System (DNS) server, **named**.
Yup: nothing more, not in /var/lib/named/log either, so starting the service does seems to barf before it can actually start the named service.
What else should I look into?
You may want to restart the entire system so systemd and other services will properly log into it - right now it seems as if systemd isn’t writing the output properly into it (and thus, no errors)
Found it: during reboot, the actual message appeared, but much earlier in the log.
When trying to start named again, that same message is not repeated.
So after carefully going through the whole /var/log/messages, I found that it looks like the issue has to do with YaST2 adding logging to the named.conf inclusion tree, and I already had logging manually configured before installing the YaST2 named module **yast2-dns-server**.
Not sure yet if this is an EBCAK or something else.
I’ll research this further and add a reply with the full answer.
On 2014-08-25 15:26, jpluimers wrote:
>
> Miuku;2661190 Wrote:
>> Install rsyslog and start it.
>>
>> Running a server without a syslog service is just asking for problems,
>> as you can see.
>
> Thanks. I wasn’t expecting the OpenSuSE 13.1 install to skip that, as
> IIRC the 11.x install (wich I then upgraded step by step to 12.x) did
> contain it.
If you used the “minimal server” pattern or similar wording, it contains
next to nothing. You have to add most packages manually - absurdly,
syslog :-/
–
Cheers / Saludos,
Carlos E. R.
(from 13.1 x86_64 “Bottle” at Telcontar)
On 2014-08-25 11:46, hcvv wrote:
>
> And try to make yourself up-to-date by using systemctl commands. The rc*
> start/stop/status commands still work (as you see by translating them
> into systemctl syntax), but you never know for how long
The boss said something about keeping rc* in openSUSE for ever
–
Cheers / Saludos,
Carlos E. R.
(from 13.1 x86_64 “Bottle” at Telcontar)
Which I would kind of understand from a usability perspective: rc* has command-completion, whereas systemctl start *.servicehas not.
If you used the “minimal server” pattern or similar wording, it contains
next to nothing. You have to add most packages manually - absurdly,
syslog :-/
I take it back, it should “just work”, you should have /usr/share/bash-completion/completions/ where there are systemctl, loginctl etc. files. The bash rules for it are defined in /etc/bash.bashrc.
f.ex. if I type systemctl start apa<tab> it’ll autocomplete the apache2.service for me.
On 2014-08-26 18:36, jpluimers wrote:
>
> robin_listas;2661307 Wrote:
>> The boss said something about keeping rc* in openSUSE for ever
> Which I would kind of understand from a usability perspective: rc* has
> command-completion, whereas systemctl start *.servicehas not.
Well, systemctl also has auto-completion, and more complex than the
rc-tab-tab variant. It needs certain files to be installed, though.
They said to keep the rc* files because they exist in many docs, scripts
that call them, people used to them… Compatibility, etc.
>> If you used the “minimal server” pattern or similar wording, it contains
>> next to nothing. You have to add most packages manually - absurdly,
>> syslog :-/
>
> I’m glad more people are surprised about it (:
There is a discussion now about this in the factory mail list. I
suggested to add a “rather complete text pattern”. It is difficult to
define what “server things” to add, because it depends on what you are
going to “serve”. Maybe you need apache but not dovecot, say.
But it should be easier to add a text pattern with a rather complete set
of tools and applications. Say mc, pine/mutt, vi/emacs/joe, complete man
and info pages, links/w3m, iptraf, top… who knows.
–
Cheers / Saludos,
Carlos E. R.
(from 13.1 x86_64 “Bottle” at Telcontar)