Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
After I installed ntpd via yum I run the command systemctl enable ntpd.service and rebooted the computer. After I got the shell prompt I run systemctl -a | grep ntp and I got ntpd.service loaded inactive dead. If I start it manually using systemctl start ntpd.service it works fine. Why is that? How can I ensure the ntpd.service will be up and running after reboot?
This appears to be an issue with fedora, there is a service named "chrony" which prevents ntpd service to start after boot. After removing chrony with yum, ntpd service is started after boot. For more details you can check this.
UPDATE: You can also disable the chronyd that runs on port 123 and then ntpd will start:
sudo systemctl disable chronyd
sudo systemctl start ntpd
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
I was trying to install antmedia and at the time of running the server i got the error :
System has not been booted with systemd as init system (PID 1). Can't
operate.
These are the steps i followed:
Step 1:
wget https://github.com/ant-media/Ant-Media-Server/releases/download/ams-v2.1.0/ant-media-server-2.1.0-community-2.1.0-20200720_1340.zip
Step 2:
unzip ant-media-server-2.0.0-community-2.0.0-20200504_1842.zip
Step 3:
wget https://raw.githubusercontent.com/ant-media/Scripts/master/install_ant-media-server.sh && chmod 755 install_ant-media-server.sh
Step 4:
sudo ./install_ant-media-server.sh ant-media-server-2.0.0-community-2.0.0-20200504_1842.zip
Step 5:
service antmedia status
After runnning "Step 4" I got the error at the last.
Any Solution for this?
or
Am I doing something wrong?
The error I got:
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
E: Command line option 'y' [from -y] is not understood in combination with the other options.
update-alternatives: error: no alternatives for mozilla-javaplugin.so
update-java-alternatives: plugin alternative does not exist: /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/IcedTeaPlugin.so
System has not been booted with systemd as init system (PID 1). Can't operate.
antmedia: unrecognized service
antmedia: unrecognized service
There is a problem in installing the ant media server. Please send the log of this console to contact#antmedia.io
ScreenShot of Terminal
As I understand, you are using Ant Media Server in Ubuntu environment with Windows system. We recommend using Ant Media Server as a start.sh script instead of a service. The other choice is using Ant Media Server in Virtualbox or Vmware.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
I am a newbie at Linux, in fact this is the first time i'm using linux.
Having installed Kali Linux i keep getting the text mode display, a youtube tutorial shows that i need a display manager and how to set it up, but i can't run
sudo apt-get update
or
sudo apt-get install
gdm3 because i am not connected to the net ( a step i skipped while setting up due to ignorance).
Please how do i set up a WIFI connection or install a usb modem in text mode?
Thanks. I'm stuck at black n white
Try to enable the WiFi by running:
nmcli r wifi on
Just edit /etc/network/interfaces and write:
auto wlan0
iface wlan0 inet dhcp
wpa-ssid {ssid}
wpa-psk {password}
After that write and close file and use command:
sudo dhclient wlan0
Replace {ssid} and {password} with your respective WiFi SSID and password.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
I am install kubernetes v1.18 in CentOS 8, but the coredns start failed, tell me the port 53 is in using, and I using this command to find which app using the port:
lsof -i:53
then I found dnsmasq service are using this port, how to disable or close the auto start the dnsmasq service in CentOS 8? I am trying to kill the process but next time it still started, then using this command but not works:
systemctl disable dnsmasq
besides systemctl disable dnsmasq,
sudo sed -i 's/^dns=dnsmasq/#&/' /etc/NetworkManager/NetworkManager.conf
then restart the networking services
sudo service network-manager restart
sudo service networking restart
after that kill dnsmasq
sudo killall dnsmasq
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 5 years ago.
Improve this question
Is there a Unix command that monitors arbitrary processes and revive those processes if they got killed by the OS? For example, I have a background daemon that executes periodically but sometimes it would get killed by the OS. I'd like to either revive either that process again or something similar.
Given the vague nature of this question and what the OP has tried, here is an answer. A recent Ubuntu (assumes from the tag), OP uses a systemd system, and in this kinda system, one could write a systemd service script that would restart the daemon if it exits;
~]# cat /usr/lib/systemd/system/myawesome.service
[Unit]
Description=My Awesome Service
After=systemd-logind.service
[Service]
Type=notify
ExecStart=/path/to/my/awesome/daemon
KillMode=process
Restart=always
[Install]
WantedBy=multi-user.target
Then start this service,
~]# systemctl start myawesome.service
~]# systemctl enable myawesome.service # To sustain after a reboot
To know more about systemd service unit files, follow this links:
https://www.freedesktop.org/software/systemd/man/systemd.service.html
https://www.freedesktop.org/software/systemd/man/systemd.unit.html
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 3 years ago.
Improve this question
I have installed LXC(Linux Containers) on Ubuntu Server 14.4 Host and i have some virtual servers running on it,but now i want to migrate all these containers to LXD, i have worked so hard configuring these containers and i don't want to lose all of these configurations.
This is my sketch:
HOST
Ubuntu Server LXC
Container Container Container
Ubuntu 12 Ubuntu 12 CentOS
Is there any way to do it?
Thanks
As I said in migrating lxc to lxd, you can do so by creating a dummy LXD container and replacing its rootfs, then updating some of the config to match your LXC container's configuration.
Specifically, if your source container was privileged, you'll want to set security.privileged=true at least until such time as you have confirmed your workload works properly unprivileged (just set security.privileged=false and restart the container with "lxc restart").
If you talk about: http://www.ubuntu.com/cloud/tools/lxd I think it's very early to start with it.
I have started to follow this project with first initial commit 3 month before. There wasn't release yet.
PS:
Getting started with LXD
Our OpenStack container capability, codenamed nova-compute-flex is included in Ubuntu OpenStack for Juno, which you can download via the Ubuntu Cloud Archive. Simply type the following commands to enable and use it:
sudo add-apt-repository cloud-archive:juno
sudo apt-get update
sudo apt-get install nova-compute-flex
OpenStack Juno is available for Ubuntu Server 14.04 LTS and 14.10.