Ubuntu :: How To Stop Ssh Server From Staring At System Startup
Feb 9, 2010I have just installed the ssh server package for Ubuntu. How can I stop it from running at system startup?
View 3 RepliesI have just installed the ssh server package for Ubuntu. How can I stop it from running at system startup?
View 3 RepliesWhat is the correct way to stop upstart services from staring at boot time ? I'm doing something like this example in /etc/init/mysql.conf:
Code:
#start on (net-device-up
# and local-filesystems
# and runlevel [2345])
start on runlevel [!0123456] # I ADDED THIS LINE (and commented the above ones)
stop on runlevel [016]
1. Is this the correct way ?
2. Is there no way of doing something like we do with update-rc.d -f apache2 remove ?
3. When will ubuntu ship a gui to add or remove services from boot ?
I have installed Oracle 11g on 5.3. Now, I am trying to START and STOP oracle automatically on system startup and shutdown. I am following this link To have this effect, I have created /etc/init.d/dbora
Code:
#!/bin/sh
# chkconfig: 345 99 10
ORA_HOME=/oracle/app/oracle/product/11.1.0/db_1
[code]....
After yesterday system update the x server won't start up anymore. It locks immediately with blank screen leaving the computer unresponsible until hard reboot. I hat to once again go with the "vesa" driver, as I mentoined earlier in another thread it is a life saver, always works. My video card is integrated Radeon HD3250 - video driver was fglrx from ATI itself. "radeon" driver now reports that modesetting is not supported and will not load with EE-type X server error.
Anyone else experienced this? Are there any changes in the most recent X server that once again break compatibility with the official ATI driver?
I'm running Ubuntu 9.10 (I installed server then installed the desktop packages) I have tried "sudo update-rc.d -f gdm remove" I have also tried creating an inittab file in /etc with the line id:3:initdefault
View 7 Replies View Relatedi installed it, but every time i start my system, sshd is running, but i can't find out where it's startup entry is located.Code:ls /etc/rc*.d | grep sshreturns nothing, which indeed is true, 'cause i removed the links from the runlevel directories. i checked the rc.local file which is empty and never added a line anywhere to start the ssh daemon explicit.i'm using the latest ubuntu with updates and everything (at least i think so). in my gnome startup application preferences the only thing related to ssh is the ssh key agent. but if i deactivate it, sshd still startsup.
Code:
sudo update-rc.d -f ssh remove
didn't helped either
[code]....
Ubuntu 9.10
Acer 7736
This machine has a combined key/indicator light to turn the wireless networking on/off The change of state of the switch is detected by software with the switch off iwconfig shows
[Code]...
xubuntu 8.04 on inspiron 8100
Applications>Settings>Settings Manager>Autostarted apps Update notifier is unchecked
There does not seem to be any Preferences in Update Manager to tweak either.
Is there some file I can edit with nano? Or maybe there's a script I can rename to not run it at startup?
I am fairly used to Ubuntu, and i decided to try and change my login background (10.10) using the code:
sudo cp /usr/share/applications/gnome-appearance-properties.desktop /usr/share/gdm/autostart/loginwindow,
and:
sudo unlink /usr/share/gdm/autostart/loginwindow/gdm-simple-greeter.desktop
i later realized what i did and i tried to unlink the gnome-appearance-properties.desktop but no luck.
is there any way to stop the appearance properties from popping up at login, and to reinstall the gdm-simple-greeter.desktop ?
Two weeks ago my computer started freezing on start up when plugged in. It was suggested to upgrade the APM. What is this and is it not updated through the package update? If not how do I upgrade it?
View 1 Replies View RelatedIt is my first time to install fedora 13 and touch linux system.
I burn the DVD edition to install offline. The installation completed and rebooted the system. However, the process stop at the startup screen. And I press escape and find that the process stops at following line: Starting Avahi daemon ...
I don't konw what this line means and how I can deal with.
My computer specification:
CPU P4 2.66GHz
RAM 512M DDR400
Motherboard GA-8IPE775-G
Display Geforce 6200
I was messing around with my newly installed Archlinux, in a virtual machine (thankfully not my main computer) and now I cannot boot up. The issue is, I read that I could add commands in the rc.local file so that they would be automatically executed after booting up... so, I added the "pacman -Syu" command there, but it usually asks for a confirmation to continue, and that's why I think it is getting stuck there (it gets stuck just after running the daemons).
So, is there a way to stop the rc.local file to be loaded at startup?
I have startup scriptsI want to test themI need a script to do the followingstart restart stop for 100 times (or i can set how many cycle)
View 1 Replies View RelatedWell i just installed ubuntu and its amazing but after playing around a little i installed compiz and when i restarted my laptop it just wont let me log on it keep freezing. i dono what to do
how do i over write it or replace it or fix this problem?
iv looked on the wiki and tried what it says it doesn't work
I have a HP Laptop with Ubuntu Hardy installed. The system beep makes rapid clicking sound at login window that slowly dissipate and clicking that, so far I can only fix by rebooting, when I play music, reboot after hibernating, and when waking up from suspend. I've turned the system beep off in System/Preferences/Sound but it doesn't do anything.
View 9 Replies View RelatedI just installed ubuntu 9.10 alternate version, but the problem is it is freezing after sometime. mouse stops working, not keyboard activity nothing else.
View 7 Replies View Relatedhttp://ubuntuforums.org/showthread.php?t=1567415
Tried all methods to no avail in 10.10 x32/64. Is there a real fix and why does this happen?
I removed exim4 because I dont need it but then 3 new processes popped up after, They are Master, Pickup and, qmgr. I read about them having something to do with the system mail agent, I dont use mail. How can I completely remove the system mail so these processes go away without coming back?
View 4 Replies View RelatedI'm running Ubuntu 10.10, 64-bit on an HP 8740w. Sometimes (I don't have the frequency yet, but it has happened a half-dozen times in the past couple of weeks) when I insert a USB storage device the system hangs, requiring a power-cycle. I have been careful to either eject or "safely remove" every USB device, but it still happens. I believe it only happens when I remove a device and later re-insert it, but I don't have enough data points to be sure.
Most of the time, I'm running VirtualBox, but I haven't captured the USB device in a VM.
First question - how can I go about figuring out what might be going wrong? Once it happens, my options are extremely limited (power switch). When this happened one time I left the system for 30+ minutes, and it did not recover.
Of course, when I wanted to see it, I did 10 insertions/removals without a hang.
We use Ubuntu 10.10 (32 bit) as a backup server.
The machine is quite ild but still working well.
All works very good but every few days it is crashed and freez.
I do not know what real happeny since i do not work on it, but tring to ping it fail and the monitor is blank.
What can I do?
Which log is relevant?
Got a used Lenovo Thinkpad r61i and put Ubuntu 9.10 on it. Every time I turn it on it prompts me to give it a password for someone else's internet. This a password I do not know and I use an ethernet cable for internet so it's really annoying. Any way to make it stop?
View 1 Replies View Relatedsince a few days (maybe one week and after an automatic upgrade), I could see a strange behavior of gnome-system-monitor. After a boot, everything is normal. But if I log-out, and then log-in again, the problem begins. Impossible to close the gnome-system-monitor window (by clicking on the window upper-right close button). I have to terminate the process. And this process takes about 50% of CPU. In the same time, a dbus-deamon process takes the other 50%. When I terminate gnome-system-monitor process, the CPU use drops down to 6%.
View 5 Replies View RelatedI am using ubuntu 9.10, but I also noticed this with 9.04 on a different laptop. Sometimes when I am using skype, for no reason and after no particular event the audio for everything in the system except for the skype video will just quit, and sometimes the sound doesn't even work for the video either. Buttons don't make their sounds any more and I can't play music or hear audio on flash videos. By can't play music, its weird because the music player (amarok) will just scroll through my entire playlist really fast like it can't play any of the songs.
To solve the problem, I have to shut down skype and firefox, but I'm not sure whether I can just shut one of them down without having to shut down the other. My audio settings in skype are all set to pulse and it is adjusting the mixer levels automatically. This problem has persisted across two laptops and two versions of ubuntu (9.04 32 bit and 9.10 64 bit), so I think it's about time I finally asked how to fix it.
Every time when I right click the USB drive icon and select "Safely remove drive" I always get this error message
FAILED: No such file or directory
even though the icon does disappear from the desk top. I have been ignoring it since the USB drive seems working fine.Now I have a more serious problem. When I tried to copy files onto the USB drive it says "read only file system" and doesn't let me. I tried unplug and plug the USB key but that doesn't help.
Scaleo Pentium 4 system with several HDDs 3Gb RAMUBUNTU 8.04 (I think) inside a 50Gb partition (J:)Operating dual boot with Windows XP all OK until ......sanctioning the updates. Now Ubuntu will not complete a boot up.Studio Starts to scroll its name then screen goes back to A/numemeric reports and hangs for time-outs which never resolve. Power - down only way to exitExample of screen report at point of stopping:-
Starting hardware abstraction layer hold
104.628464] ata3.00 revalidation failed (errorno -5)
{DELAY FOR TIME-OUT} THEN:
[code].....
I already have two other threads open for a dysfunctional system. Thread 1: Boot hangs at logon sound - no video signal - appears drive is still working [URL]..Thread 2: Where are boot log files and how I can see those? [URL]...Basically both of those are for not able to complete the boot (hanging up in the middle of booting) in Karmic. I had Karmic since it came out but suddenly about two weeks ago just stopped booting. Except for the battery and resetting BIOS, I had checked all the hardware - and all appear to be okay. Following a tip from x1a4, I started looking into logs (admittedly not knowing exactly what I am looking for) and I ran into auth.log. Following is the code. The highlighted part is confusing (to me) and I am wondering if this may cause to stop booting (or completing the boot process) since I was using auto logon. I do not know if there is anything else (logs) you may need, please advise and I will provide those.
[Code]...
Lubuntu 11.04 on laptop (PIII ATI Rage Mobility). Playing a WMV or MPEG file, system freezes when playback ends. I have not tried any other formats.
I looked at mplayer Preferences
In the Player tab, "Video Output" was blank - I set it to "x11"
This corrected the freeze problem, at least the first time that I tried it. However, it did not seem to persist through multiple plays of the MPEG file, whether or not accompanied by an mplayer quit and rerun or a reboot, even though I did not change the parameters. I tried setting vo=x11 in the etc/mplayer/config file, but that did not help. It is sporadic. It will work a few times with the MPEG file, then hang, for no apparent reason. One thing it does seem to do consistently is hang on the WMV file, regardless of the vo setting, and on both files, when vo is not specified (what I started with). This is a time-consuming task, with a reboot on every failure, and I have run out of ideas on what to try next. When it hangs on the MPEG file I noticed that the elapsed time ends up at 20 sec, even though the video total time is 16 sec. When it doesn't hang, the elpased time goes to 20 sec, then returns to 16 sec.
Well it turns out my system has logged out more then once on its own. I had the system updated and upgraded from 7-3-11 and it did this about once a week. On 7-18-11 I did a full update and upgrade and it logged out a few times in a couple of hours. It does it while I am away and the system is in screen saver mode. I used my partition clone and restored the system back to 7-3-11. Has any one else ever had such an issue?
View 2 Replies View RelatedI'm trying to stop swapping on my system (without using swapoff -a). So I do: echo 0 > /proc/sys/vm/swappiness vmstat 5 and I still see swapping activity under si and so. Am I missing something?
View 2 Replies View RelatedI am connecting servers using NFS4 the shared directories are on servers running Debian 4 while the one who read from them is Debian 5.0.3. The problem is one of these shared servers suddenly stop responding and you cannot list it from Debian 5 server, also df hang, and the web application that is using it does not respond to requests that use this shared directory since it is blocked. Then the load on the server start to increase until the server cannot respond (over 90). I have found many entries in the syslog that refer to this like:
ma25555 kernel: [1200285.732919] nfs: server 10.xxx.xxx.xxx not responding, still trying
Dec 31 08:16:33 ma25555 kernel: [1200289.815378] INFO: task java:9702 blocked for more than 120 seconds.
Dec 31 08:16:33 ma25555 kernel: [1200289.835249] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
code....
I have tried the connection between the 2 servers using ping for one day and all are OK (zero lost)
There are 3 other servers that are running Debian 4 and are working fine.