command systemctl start libvirtd.service openstack-nova-compute.service doesn't finished - linux

I am trying to install opnenstack-nova and after i confing /etc/nova/nova.conf and run command:
systemctl start libvirtd.service openstack-nova-compute.service
it doesn't finish and show anything.
how to solve it???
image

Related

GitHub action self-host runner as service fails

I have installed GitHub self-hosted runner on my Ubuntu system. Getting below error when i try to configure it as service.
$ sudo ./svc.sh start
Failed to start actions.runner._services.Linux-Host01.service: Unit actions.runner._services.Linux-Host01.service is not loaded properly: Exec format error.
See system logs and 'systemctl status actions.runner._services.Linux-Host01.service' for details.
Failed: failed to start actions.runner._services.Linux-Host01.service
$ systemctl status actions.runner._services.Linux-Host01.service
● actions.runner._services.Linux-Host01.service - GitHub Actions Runner (_services.Linux-Host01)
Loaded: error (Reason: Exec format error)
Active: inactive (dead)
$ cat /etc/systemd/system/actions.runner._services.Linux-Host01.service
[Unit]
Description=GitHub Actions Runner (_services.Linux-Host01)
After=network.target
[Service]
ExecStart=/home/admin.user/actions-runner/runsvc.sh
User=admin.user
WorkingDirectory=/home/admin.user/actions-runner
KillMode=process
KillSignal=SIGTERM
TimeoutStopSec=5min
[Install]
WantedBy=multi-user.target
$ sudo journalctl -u actions.runner._services.Linux-Host01.service -f
Aug 04 08:40:47 Linux-Host01 systemd[1]: /etc/systemd/system/actions.runner._services.Linux-Host01.service:7: Invalid user/group name or numeric ID: admin.user
Additionally have provided executable permission to actions.runner._services.Linux-Host01.service but still it results same error.
What is wrong here?
I have changed User=admin.user to User=uid in the /etc/systemd/system/actions.runner._services.Linux-Host01.service file and then executed
systemctl daemon-reload
Now action service started and it is running fine.
Good morning,
First of all stop the service:
sudo ./svc.sh stop
Then make sure you have given permissions to the user:
sudo usermod -a -G <USER>
Now try to start the service:
sudo ./svc.sh start
And tell me if this works when check the status.
If not works please do the same but sudo permissions:
sudo su
And then try again all without sudo command because you are actually on root.
Have a great day!
This simply means you've not installed the runner
sudo ./svc.sh install // install the runner
sudo ./svc.sh start // then start it
Remember, this is the best way to go about it than using the ./run.sh script, as the runner will always be running in the background.
Use sudo ./svc.sh status to confirm that the runner is up and running.

systemctl restart logrotate throws error "Failed to restart logrotate.service: Unit not found."

I'm trying to make changes to logrotate.conf just to be sure before making changes to md_logging.c
I'm not able to check the functionality through
systemctl restart logrotate
Failed to restart logrotate.service: Unit not found.
I also tried logrotate.conf with the following command :
systemctl restart logrotate.conf
Failed to restart logrotate.conf.service: Unit not found.

Failed to start ngnix.service: Unit ngnix.service not found

I have installed ngnix on ubuntu 20.04 . But when i am giving command sudo systemctl start ngnix . I am facing an error
Failed to start ngnix.service: Unit ngnix.service not found.
Please help me out through this problem.
It's called nginx, not ngnix. So you need to start it as sudo systemctl start nginx (note the spelling).

Failed to start couchbase-server.service: Unit couchbase-server.service is masked

couchbase service stopped , so i started it manually by exec following command:
sudo service couchbase-server start and got response
Failed to start couchbase-server.service: Unit couchbase-server.service is masked.
I have ubuntu 16.04LTS and couchbase 5.1
you can unmask your service
sudo systemctl unmask couchbase-server
sudo systemctl start couchbase-server
Go to $CouchbaseHome and run following command to start and stop manually
Start
 ./bin/couchbase-server \-- -noinput -detached
Shutdown
./bin/couchbase-server -k

Error: /home/ec2-user/mongod does not exist. when running command SUDO FOREVER START MONGOD

I am getting this error when I run command sudo forever start mongod
[root#ip-1**-3*-**-5* ec2-user]# sudo forever mongod start
warn: --minUptime not set. Defaulting to: 1000ms
warn: --spinSleepTime not set. Your script will exit if it does not stay up for at least 1000ms
error: Cannot start forever
error: script /home/ec2-user/mongod does not exist.
but normally when I run mongod or sudo mongod it just works fine. help me whats the issue.
You should specify OS Name, OS version, MongoDB version so that we can easy help you. I hope you are using Amazon Linux so you need to use systemctl start/stop mongodb, following command to enable and start
sudo su
chkconfig mongod on
sudo service mongod start
and to stop
sudo service mongod stop
Please have a look MongoDB Amazon Linux Doc

Resources