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 9 months ago.
The community reviewed whether to reopen this question 9 months ago and left it closed:
Original close reason(s) were not resolved
Improve this question
I need to be able to start the oracle-xe-21c at will, and do not want it to start automatically at system boot.
The command:
sudo systemctl disable oracle-xe-21c
returns the following:
oracle-xe-21c.service is not a native service, redirecting to systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install disable oracle-xe-21c
update-rc.d: error: oracle-xe-21c Default-Start contains no runlevels, aborting.
How can I disable automatic startup?. I am on Lubuntu 20.04.
Suggesting to remove oracle-xe-21c.service file from the service folder will disable the service.
sudo mv /etc/systemd/system/oracle-xe-21c.service /home/oracle
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 12 months ago.
Improve this question
Does systemctl daemon-reload need to be executed using root/sudo? and does the same command apply to both Centos 7 and Ubuntu 18.04.3 LTS?
$ systemctl daemon-reload
==== AUTHENTICATING FOR org.freedesktop.systemd1.reload-daemon ====
Authentication is required to reload the systemd state.
Authenticating as: neo
Password:
Yeah, I'd say so.
Unless you are doing it in a container with root privileges, pretty sure you need to have root permissions for anything related to systemd services.
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
I am pretty new in the cloud-init. I got VM everything is setup and running and I designed the reboot mechanism in the VM to use when VM requires reboot after installing updates. So when I reboot the VM Apache is not working by itself after reboot until I run the start command. Is there a way to make Apache start after every reboot?
problem solved, after reading this two sites
apache-server-doesnt-start-automatically
starting_apache_web_server_at_every_reboot_for_debian_ubuntu_linux
I added this line:
cloud_config['runcmd'].append(['update-rc.d', 'apache2', 'enable'])
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 6 years ago.
The community reviewed whether to reopen this question 1 year ago and left it closed:
Original close reason(s) were not resolved
Improve this question
I need to mount other server via sshfs with read-only mode. My OS is Linux (Ubuntu). Is it possible to do that?
My command used with that connection is:
sudo sshfs user#123.123.123.123:/home/user /media/mountpoint/ -o allow_other
After running that I have write-access. I need to have read-only. Please help.
just add one more option: sshfs user#123.123.123.123:/home/user /media/mountpoint/ -o allow_other -o ro .
this should help: http://ubuntuforums.org/showthread.php?t=975107
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
When I enter the command:
apt-get update
I get an error message telling me that it cant open the lock file. Can anyone explain why this causes a problem and how I can avoid it in the future?
cant open the lock file
You can 2 reasons of this problem:
you run apt-get update without administrative privileges. Use sudo or login as root.
in your system running another apt-get, aptitude, synaptic, Software Center or Update Manager. Close it ant try again.
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 7 years ago.
Improve this question
What is the difference between
service apache2 restart
and
/etc/init.d/apache2 restart
So basically why is the service command recommended compared to directly invoking the appropriate command?
The service command runs the init scripts in a predictable environment:
service runs a System V init script in as predictable environment as possible, removing most environment variables and with current working directory set to /.
from: http://linux.die.net/man/8/service