Ubuntu :: Closing A Service Before Shutting Down

Aug 14, 2011

I am encountering a Problem with the TeamSpeak server that I host on my Ubuntu Machine. The Problem I'm having is that when I restart the Computer before Stopping the Service from the Terminal, The Server would encounter an error the next time it is started.

I would like to know if there is a File somewhere that is run when the User want to Reboot or Shutdown the PC, or if I can write a script that runs before Shutting down.

View 2 Replies


ADVERTISEMENT

Fedora Servers :: Named Service Not Shutting Down

Mar 31, 2011

I am running named as a caching name server (package bind-9.7.3-1.fc14.x86_64 with config files exactly as supplied), and sometimes it does not shut down cleanly when I shut down the machine.The script /etc/ init.d/named tries to issue a "stop" command with rndc and that seems to fail most of the time; then it next uses the function killproc (defined in /etc/init.d/functions) which fails sometimes.I've hacked the named service script for now so that error messages are not hidden, but there is nothing reported.

View 2 Replies View Related

Server :: Error "no Listening Sockets Available, Shutting Down Unable To Open Logs [FAILED]" When Restart The Service Httpd

Apr 2, 2011

[root@itsupport ~]# service httpd restart Stopping httpd: [FAILED] Starting httpd: (98)Address already in use: make_sock: could not bind to address [::]:80 (98)Address already in use: make_sock: could not bind to address 0.0.0.0:80

no listening sockets available, shutting down Unable to open logs [FAILED] Iam facing the above error when i restart the service httpd

View 9 Replies View Related

Ubuntu Servers :: Perform An Action Before A Service Starts And After A Service Stops

Sep 10, 2010

I am running Server 10. I have a requirement to perform an action before the MySQL service starts, and perform another action after MySQL service stops.

I found the init script for MySQL under /etc/init/mysql.conf. I added my thing to the pre-start script there and works fine.

I am having trouble finding the script that stops the server so I can modify.

View 1 Replies View Related

General :: Will Command Service Httpd Restart Apache Service?

Dec 25, 2009

will the command service httpd restart the apache service if i enable httpsd service in graphical mode

View 12 Replies View Related

Red Hat / Fedora :: Shows Unrecognized Service After Restart Service Smb

Feb 28, 2010

i can smb in centos 5 and i run service smb restart, it shows :smb: unrecognized service..... i run rpm -qa |grep samba,it shows

samba-common-3.0.33-3.7.el5
samba-client-3.0.33-3.7.el5
.....

View 2 Replies View Related

Fedora :: Start A Service Before Network Service?

Nov 6, 2010

I need to start a service before network service How to?

View 1 Replies View Related

Ubuntu :: 11.04 Shutting Down By Itself?

May 18, 2011

I've installed Edubuntu 11.04 on an Intel Classmate PC but it is shutting down by itself for no apparent reason. Can I find a log file anywhere that might give me a clue what is causing it?

View 1 Replies View Related

Ubuntu :: Shutting Off Pc With Cron?

Jan 25, 2010

I'm trying to set up my pc to power off at 00:30 everynight. I'm using webmin's Scheduled Cron Jobs tool. I've tried (running as root):

halt
shutdown -h now

and neither have powered off the pc using webmin. Am I missing something?

View 8 Replies View Related

Ubuntu :: 10.4 Freezes When Shutting Off?

May 5, 2010

I have a laptop here with win 7 and decided to dual boot with ubuntu just for fun. Win 7 starts up, works, and shutdown/restarts fine. Ubuntu starts up, works great, but freezes at the splash screen showing "Ubuntu" with the bar scrolling when logging off to restart. Please help. I dont think holding down the power button to turn it off is too good. i searched google but found nothing =/

Edit: Shutting off works fine now... its just the restarting problem

View 9 Replies View Related

Ubuntu :: Automatically Shutting Down ?

Oct 18, 2010

I am using Ubuntu 10.04. It is installed in windows xp. Recently I am facing a problem. After starting the computer and boot into Ubuntu, it works fine but after sometime, at about after an hour it just automatically shut down. I don't know why. My xp is doing fine but the problem in only Ubuntu.

View 9 Replies View Related

Ubuntu :: Program Not Shutting Down?

May 11, 2011

have ubunto 11.04 and when i shut down some programs thy look like thy have ,but if i have not rebooted computer when i want to open them again it says error still running and i can do nothing until i reboot ,is there any way to shut then down with out rebooting ,only started with this ver of ubuntu

View 2 Replies View Related

Ubuntu :: Kubuntu Not Shutting Down

Nov 27, 2010

I installed Kubuntu 10.4 (which runs great) a couple days ago but when I shut down it goes to the Kubutu shutdown screen and freezes. I still need to run updates which may fix the issue if not any suggestions.

View 3 Replies View Related

OpenSUSE :: Get A Message That Says 'Search Service Not Running' With A Button That Says 'Start Search Service'?

Jun 12, 2010

The desktop search has stopped working in Gnome.I get a message that says 'Search Service not running' with a button that says 'Start Search Service'.When I click the button nothing happens

View 1 Replies View Related

Ubuntu :: Computer Saves Itself Before Shutting Down?

Feb 9, 2010

My computer saves it's state when shutting down. So when I boot back up, all the applications I had running boot again. I HATE THAT. When I shut it down, I want everything GONE on next boot up. How do I fix this?

View 2 Replies View Related

Ubuntu :: Muting Before Shutting Down And That Works 40%?

Apr 14, 2010

What is the best way to disable start up sounds? I hate being in a quiet place and having the start up sound go off on my computer. I've tried muting before shutting down and that works 40% of the time when i start up again. I do dual boot os, so will changing something in Ubuntu mess with mint or vice versa?

View 8 Replies View Related

Ubuntu :: How To Stop A Program Shutting Down

Jul 9, 2010

i have a pc running ubuntu 9.10 as cccam server and it works 100% when i run a program (teamviewer) it works like a dream BUT when my system goes in to screen saver mode teamviewer still works BUT when screensaver mode finishes teamviwer is stopped also. who do a make shaw that teamviewer never shuts down?


is it a case on nerer letting screen save end and if so how do i do that?

View 1 Replies View Related

Ubuntu :: CPU Fan Loud And System Shutting Down?

Sep 22, 2010

I recently had an OS system crash..WIndows XP. Purchased a new hard drive and installed Ubuntu 10.04. Everything installed as expected, however my CPU fan seems to be louder than usual. I did clean the fan and heat sink, but still running very loudly or fast I guess you could say. Also sometimes the PC shuts down when I try to open FireFox. Any ideas on what could be happening. This is an older machine using an Intel Celeron processor. Not sure of the speed, but I could look at the bios if that is needed.

View 9 Replies View Related

Ubuntu :: Cant Log Out Of User Account Without Shutting Down?

Oct 7, 2010

i cant log out of my user account without shutting down the computer, and no one else can either. computer can't be turned off unless i, (administrator)have logged out, this can't be a default setting surely.

View 2 Replies View Related

Ubuntu :: Reboots Instead Of Shutting Down (maverick)?

Oct 11, 2010

Prior to this version of ubuntu my laptop (an old P4 gateway) shut down just fine. It acted fine in windows xp, and ubuntu 9.04, 9.10, and 10.04. Starting with my first shutdown after upgrading to maverick (as opposed to a fresh install, which is what I've done for every time I went to the new version before this), it just reboots the computer instead of shutting down.I've tried clicking the icon in the corner, I've tried pushing the power button and clicking shutdown on that screen, I've even tried shutting down from the command prompt, but each of these just reboots the computer.

View 1 Replies View Related

Ubuntu :: Shutting Down Rhythmbox And Banshee?

Jan 29, 2011

10.10 notice that when I shut down either Rhythmbox or Banshee the music keeps on playing. There are no icons on the top or bottom panels that I could right click and quit. At the moment I go System, Admin, System Monitor and kill the process - but this is surely not the way to shut down these apps. The Close box in these apps are not closing down the app.

View 7 Replies View Related

Ubuntu :: Shutting Off Under Heavy Network Use?

Jun 5, 2011

so I've scoured the web and I can't seem to find anyone else having this issue. The issue:

Whenever my box is heavily using the internet, it seems to just wimp out. It shuts off and reboots.

When it's happened:I first deduced the connection to the network connection when I was trying to set up the system. When I tried an upgrade after the first time I installed the system, it crashed, leaving me with broken packages and all kinds of mess. So I decided to start over, and since I then had the network set up, I used the install latest version feature in the installer. If failed again. I battled issue this a couple of times before I opted to do updates in chunks instead of all at once. Success. Then I tried to download an entire website. You see, I had bought the computer to use as a test server for work. I ran wget, I believe. After a lot of recursive downloading, it decided to take another unauthorized break.

Now, I've got a minecraft server running too. It's been working pretty nicely, until lately. I've got a cron job set up to backup the server files with dropbox. Bad, bad, bad. The computer started acting up again, shutting off and rebooting. I figured it was having a hard time uploading to dropbox while simultaneously serving up the game. I moved the cron job from hourly to daily, and haven't had issues all day. Great. Until late tonight. It did it again while we were playing. It's relentless. So I went through the whole process of assessing damage. Luckily no damage. Then I went ahead and ran the dropbox script that didn't get to run while I was performing diagnostics.

[Code]...

View 2 Replies View Related

Ubuntu :: Shutting Down At A Specific Time?

Apr 28, 2010

So at work I usually forget to shut down my computer at the end of the day 5:30 and they switch the breaker off at 6pm which cant be good way to shut down a computer. So i was doing some googling and this is what i come up with.

this is the example i found online Code: #crontab -e -u root Code: 0 20 * * * /sbin/shutdown -h now since the above turns it down at 8pm i need to edit it to 5 30pm

Code: 0 17:30 * * * /sbin/shutdown -h now would this be correct?

View 4 Replies View Related

General :: Execute Script Before Shutting Down In Ubuntu?

Aug 10, 2010

When I shut down my computer I want to show some pending tasks that I have to do before leaving the office...

I did a local application to manage those tasks, so basically I just want to run a command, and shut down after I kill the app executed.

I have already tried with these options:

/etc/gdm/PostSession/Default --> this works only when I select LogOut option instead Shutdown. /etc/rc0.d/K01mycustomscript --> execute script after X is killed $HOME/.bash_logout --> This looks like does nothing. ./app-to-run && sudo shutdown -h now --> Don't like it for 2 reasons, prompts for sudo password, and can't use my laptop shutdown button.

I am using Ubuntu 10.04.

View 4 Replies View Related

Ubuntu Installation :: Shutting Down In The Middle Of Updates?

Jan 6, 2010

I was in the middle of updates when a console message appeared stating it needed permission to exit while others were logged on to my computer.so I clicked cancel because the terminal was still clearly configuring the kernel update.upon clickingh cancel the system crashed and would not boot.what should I do if the system wants to log off befotre its done .was this an early message that would have worked itself out?I have never used gparted before but I know that I will never get a second installation to take without all of the settings being screwed up.

View 6 Replies View Related

Ubuntu :: Hibernate Does Not Work / Locks Up Before Even Shutting Down

Jan 24, 2010

I am using Xubuntu 9.10, 2.6.31-17-generic kernel. Video driver: "ati".I have only been using Linux for less than a year now but I have never been able to get hibernate mode working. Had the same problem on previous kernels and with Nvidia drivers. Tonight I tried removing all traces of any nvidia drivers hiding in my system (I recently changed to an ATI card), and also upgrading to grub 2. Still no luck.If I use the "hibernate" option from the shutdown menu, I just get a black screen with a blinking cursor. If I use s2disk, I get a little bit more of a hint, but still not very helpful. Then it just locks up after that. Power is still on and it never shuts down. I have a 6 gig swap partition set up that is enabled, so it is definitely not a swap issue.

View 2 Replies View Related

Ubuntu :: Computer Keeps Freezing And Or Randomly Shutting Off

Feb 17, 2010

Randomly; my computer will freeze up. I can move the mouse but I cannot click on anything. This has happened at least 20 times today. Occasionally my computer will totally just shut down. My computer has been almost completely rendered Useless. I do not know what to do or even where to begin. The sooner we solve this problem the better. I do college online... so this has a major impact on me and my work and progress as a student.

View 9 Replies View Related

Ubuntu :: Nicotine+ 1.2.12 Shutting Down Automatically After Search?

Mar 31, 2010

I'm running Ubuntu 9.10 on an HP desktop. I listen to a lot of music and sometimes I can't always find what I want, so I use Nicotine+ (a Soulseek client) to find more obscure stuff. I also use it because it lets me see what bit-rate the files are.Today I entered in the search bar: "the tired sounds of stars of the lid". I would get search results, but I would also get this nasty little message in the logbelow:"pynicotine.slskmessages.FileSearchResult unpack requires a string argument of length 4"After many of these messages show up in my log, Nicotine+ immediately closes.I have absolutely no idea what's happening here.

View 2 Replies View Related

Ubuntu :: System Policy Prevents Shutting Down?

May 25, 2010

"I get message ubuntu System policy prevents shutting down" when i try to turn off ubuntu ( i get similar message when i try to restart too )

Am the only user I have installed hsqldb-server ( and mb he has something to do with it )

View 5 Replies View Related

Ubuntu :: NTFS Data Lost After Shutting Down?

Jul 9, 2010

I have recently installed ubuntu 10.04 aside to my windows 7. One thing I tried out was to share firefox and thunderbird profiles. I have a separate NTFS partition for sharing stuff.Everything seemed to work fine. I had all my browsing history and bookmarks and emails shared nicely between windows and ubuntu. But now I have managed to lost data twice already (in one week time). The data itself is not so important (no need to recover it). But I'm just curious, why is this failing?

I use firefox ProfileManager (firefox -ProfileManager) to create a new profile. I did it in Ubuntu. I created a new folder on my Share partition and pointed profile there. Everything works fine. Profile is saved there and I can use it in Ubuntu. Now, after I shut down Ubuntu and go into Windows 7 (which was hibernated the whole time), the given folder is gone. And in Ubuntu, the folder is also gone.There are some other folders, which I created during my Ubuntu session, which are not visible in Windows, but are visible in Ubuntu.Does any one have any suggestions, how to make sharing data possible? Or why is my data getting lost.

View 6 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved