How i can solve this problem "systemctl start mariadb" - mariadb

I am facing this error
root#localhost:~# systemctl start mariadb Job for mariadb.service
failed because the control process exited with error code.
See "systemctl status mariadb.service" and "journalctl -xe" for
details.
root#localhost:~# systemctl status mariadb
● mariadb.service - MariaDB 10.3.22 database server
Loaded: loaded (/lib/systemd/system/mariadb.service; disabled; vendor pre>
Active: inactive (dead)
Docs: man:mysqld(8)
https://mariadb.com/kb/en/library/systemd/

use systemctl enable mariadb.service
https://unix.stackexchange.com/questions/302261/systemd-unit-activate-vs-enable
Give a good description on how to set things up

Related

Job for nginx.service failed. See "systemctl status nginx.service" and "journalctl -xeu nginx.service"

Hi so I am currently trying to host my website from home and doing this through oracle free tier I am getting a 403 error and the following error message Job for nginx.service failed. See "systemctl status nginx.service" and "journalctl -xeu nginx.service" I went in to the config file and I don't see anything wrong. But here is the image below1.
Can someone lease give me a solution it would be very much appreciated.

To verify that nginx was successfully installed and is running as a service in Ubuntu. I run. “Sudo systemctl status nginx” = active: failed (result)

“Sudo systemctl status update”
Active : failed (Result: exit-code )
** systemd[1] Failed to start A high performance web server and a reverse proxy server **

openstack-nova-api has conflicted with the httpd service among the port 8774

I can't use httpd and nova-api at the same time.
when I used httpd service.The nova-api is dead(or inactive).
#systemctl restart openstack-nova-api
OUTPUT:
Job for openstack-nova-api.service failed because the control process exited
with error code. See "systemctl status openstack-nova-api.service" and
"journalctl -xe" for details.
I checked out the log,I get the error as follows.
LOG:ERROR nova.wsgi [-] Could not bind to 0.0.0.0:8774: error: [Errno 98] Address already in use.
CRITICAL nova [-] Unhandled error: error: [Errno 98] Address already in use.
And then,I try to find which process have used the port8774.
#netstat -tunlp | grep 8774
OUTPUT:
tcp 0 0 0.0.0.0:8774 0.0.0.0:* LISTEN 61690/httpd
When I #systemctl stop httpd->#systemctl restart nova-api->#systemctl restart http. I get a similiar mistake(I use RDO to install openstack-train version on centos 7).
they can't exist together

OpenVPN server not starting after generating config file for client

I am new to OpenVPN and to set up a server I followed this guide. I am using Ubuntu 18.04.4 LTS.
Here is what I get on starting OpenVPN
omayr#x556uqk:~$ sudo systemctl start openvpn#server
Job for openvpn#server.service failed because the control process exited with error code.
See "systemctl status openvpn#server.service" and "journalctl -xe" for details.
Status:
omayr#x556uqk:~$ sudo systemctl status openvpn#server
● openvpn#server.service - OpenVPN connection to server
Loaded: loaded (/etc/systemd/system/openvpn#.service; indirect; vendor preset
Active: activating (auto-restart) (Result: exit-code) since Sat 2020-02-22 23
Docs: man:openvpn(8)
https://community.openvpn.net/openvpn/wiki/Openvpn24ManPage
https://community.openvpn.net/openvpn/wiki/HOWTO
Process: 3740 ExecStart=/usr/sbin/openvpn --daemon ovpn-server --status /run/o
Main PID: 3740 (code=exited, status=1/FAILURE)

Failed to start avahi mDNS/DNS-SD stack

I have configured openldap manually on opensuse 42.3 and it's working fine until i didn't configure LDAP and Kerberos Client. after i configure use a directory as identity provider and checked(BEFORE REBOOT) getent passwd. i was able to see the users and able to login.After reboot the system the below error is coming:
[FAILED] Failed to start Avahi mDNS/DNS-SD stack
see systemctl status avahi-daemon.service for detials
[FAILED] Failed to start wicked AutoIPv4 supplicant service
see systemctl status wickedd-auto4.service for details
[FAILED] Failed to start wicked DHCPv6 supplicant service
see systemctl status wickedd DHCPv6 supplicant service for details
[FAILED] Failed to start wicked DHCPV4 supplicant service
see systemctl status wickedd-dhcp4.service for details
I found the answer for my question?
we have to enter bind_policy soft in vim /etc/ldap.conf file. so you don't get an error further

Resources