Cannot get redis 5 to run with systemctl

Installed Redis 5 (have Redis 3 working on server) Modified various configurations in /etc/opt/rh/rh-redis5/redis.conf as necessary including setting supervised to “systemd” and setting daemonize to no. (I also tried “auto” for supervised with no luck). But when I start it up with the following command systemctl start rh-redis5-redis.service I get the error below: Dec 02 … Read more

sudo user is not allowed to execute systemctl

I’m trying to allow a user to use sudo to manage a custom systemctl service, this however seems to fail and I can’t figure out why. [root@testvm sudoers.d]# ll total 16 -r–r—–. 1 root root 334 Oct 9 15:42 20_appgroup -r–r—–. 1 root root 104 Sep 17 11:24 98_admins The ‘appgroup’ contains this; [root@testvm sudoers.d]# … Read more

Can’t get systemd-networkd to start successfully

I have a mini-pc with six network interfaces running CentOS 7.2 with Kernel 3.10 with a minimal install. I want to name my interfaces net0-net5. To do so I’m trying to follow the suggestions mentioned here: In the above article it states that in order to rename my interfaces I need to create .link … Read more

Ubuntu 16 server, systemctl restart elasticsearch does nothing, and there’s no log

On ubuntu 16 lts server system, a newly installed elasticsearch instance won’t start up with systemctl restart elasticsearch (or with start). No logs are created, manually running /usr/share/elasticsearch/bin/elasticsearch as user elasticsearch WORKS, so permissions or the configuration file are not the issue (I think), and there’s no logs in /var/log/elasticsearch when I run the systemctl … Read more

With syslog-ng how can I reset an environment variable without losing log messages?

On this system, imagine that there is a program that detects whether or not it is day or night and sets and environment variable DAY. My environment variable DAY is picked up and used in this working fragment: log { source { file(“/var/log/special/xxx” flags(no-parse) ); }; destination { file(“/var/log/special/yyy” template(“`DAY` $MESSAGE\n”)); }; }; But eventually … Read more

Disabling MariaDb on Debian jessie doesn’t work

I have MariaDb installed on Debian jessie. I need to remove it from automatic system startup. I tried recommended commands but they did not work: root@debian:/home/gameboy# systemctl disable mysql Synchronizing state for mysql.service with sysvinit using update-rc.d… Executing /usr/sbin/update-rc.d mysql defaults insserv: warning: current start runlevel(s) (empty) of script `mysql’ overrides LSB defaults (2 3 … Read more

services in CentOS e.g. nginx, php-fpm doesn’t include symbolic link configuration files

I have 2 services in CentOS 7 – nginx – php-fpm Those services have main configuration to include *.conf in certain directory. However, it didn’t read the symbolic link file in that certain directory. Please see screenshot for better clarification. When i tried hard copy file to that certain directory, it’s working. Do you have … Read more

Disable maintenance mode from within recovery (Debian)

My rootserver’s power supply died the day before and the hoster had to replace it. Since then, the server does not boot correctly anymore. Because of the sudden powerloss, it starts right in some kind of maintenance mode. The hoster is not able to further help me and sent me the screenshot. I can login … Read more