Red Hat / Fedora :: Services Start Then Stop After Few Minutes

May 7, 2009

I have several services set to start in init 3 on a cloud provider. The init scripts appear to be in the correct folder but the services are never started after a reboot. I finally watched the console and all the services start correctly then shutdown after a few moments.

View 9 Replies


ADVERTISEMENT

Red Hat / Fedora :: Restart / Start / Stop All Services At The Same Time Without Rebooting?

Jan 7, 2010

is it possible to restart /start/stop all services at the same time without rebooting?

View 3 Replies View Related

Fedora Security :: User Access To Start And Stop Tomcat But Also Gives User Access To Start And Stop Other Services "/etc/sudoers"

Mar 13, 2009

I am trying to give access to ONE single user to start and shutdown tomcat server. The problem being, when I enter syntax: username ALL= /etc/init.d/tomcat5, /usr/local/tomcat/webapps, PASSWD:ALL This gives the user access to start and stop tomcat but also gives user access to start and stop other services within /etc/init.d - such as httpd etc... What is the proper way to give user access to start and stop service, and limiting that power to only one service....

View 2 Replies View Related

Ubuntu :: Can't Find App To Stop And Start Services

Jun 27, 2010

I thought it was in the System>administration menu somewhere, but I just can't see it. What is it called, and where do I find it please?

View 9 Replies View Related

Ubuntu :: 10.04 Correct Way To Start Stop Disable Services?

Aug 25, 2010

With the advent of Ubuntu 10.04 Lucid Lynx LTS People are migrating servers to the latest LTS. One fundamental thing that has changed is the move to Upstart. In the old days to stop multidaemon service such as Samba, one would simply type /etc/init.d/samba stop and to disable it from starting on boot one would simply type update-rcd samba disable.

Now its the year 2010 and in 10.04 it seems on has to edit a bunch of files, etc. Is there not an easy tool to correctly and properly disable services on startup in 10.04 consistently? in Redhat/Mandrake 10 years ago it was simply

Code:
service smb off
In Ubuntu 10.04 its
1) edit /etc/init/smbd.conf and modify the line that says
Code:
stop on runlevel [!2345]
and change it to

[Code]...

And one has to remember all these changes when the get ready to enable the samba service in the future? This can't be right.I know I must be missing something here. or maybe overlooked something in the upstart documentation.Which seems quite sparse by the way. So the question remains. How does one simply disable a multidaemon service starting on boot such as samba. Any tool to do this ? Is the above the correct method recommended by Canonical to disable services? and enable them?

View 2 Replies View Related

Ubuntu :: Method To Start / Stop Services Under Upstart

Jan 22, 2011

I installed MySQL and Apache2 to develop & test out the site I'm writing. However since I'll be using them purely for internal use (not exposed to the Net), I don't want them to start with every boot-up, but would like to start them manually when I desire, and stop them after use.With previous Ubuntu (Jaunty) I'd used chkconfig to configure services, but since the current version (Maverick) uses Upstart, is chkconfig still applicable?

I also installed 'bum' (Boot-Up Manager), but strangely, it displays the MySQL server as "unchecked" even though it's running (and starts at boot-up), so I cant see how I can prevent it from starting at boot-up through bum. chkconfig also displays MySQL as not active at runlevel 5, when in fact, it is.

I'd like to know what's the recommended (official) way to configure boot-up services with the Upstart system? I don't suppose directly editing the *.conf files in /etc/init is the best (or even correct) way?

View 3 Replies View Related

Debian Configuration :: Configure (start/stop/restart) Services (especially Apache2, MySQL And PHP) Using A Graphical Or Cli Tool?

Jul 23, 2010

I'm using debian 5 x64 with xfce.Is there a way to configure (start/stop/restart) services (especially Apache2, mySQL and PHP) using a graphical or cli tool? I tried to use sysv-rc, sysv-rc-conf, rcconf and rc-conf in the terminal but Bash didn't find them (Although Synaptic show that sysv-rc is installed).

View 9 Replies View Related

Red Hat / Fedora :: Unable To Stop Oracle Database Services

May 23, 2009

Currently using oracle 9i with 3 database(maindb,arist,samp) in redhat 5.3 server .I want to stop 2 database "maindb" and "samp" manually ( in XP or Vista we can stop service oraclemaindb and oraclesamp ), but in redhat i dont know how to stop services and how to see currently running oracle services.

View 1 Replies View Related

Fedora Servers :: Start Services Before Login?

May 30, 2009

I can view my website, and ssh in when I've logged in already at home, but if the system gets rebooted, and gets as far as the login screen, I am not able to view the web site or ssh in. I was wondering how to set things up so thatthese services are running independent of logging in.

View 14 Replies View Related

Fedora :: Services (Haproxy And Stunnel) Failing To Start

Dec 3, 2009

I have 2 services registered one for HAProxy and one for stunnel. When I type service start haproxy or service start stunnel they start and everything works fine. I ran ntsysv and they are set as autostart, and I have init.d scripts that work. I have checked the runlevel and using chkconfig runlevel 3, 4 and 5 are :on. And I also added service haproxy start and service stunnel start to inittab. But when I restart the computer haproxy and stunnel fail to autostart. I am a fedora novice and I have no idea why this isn't working...

View 4 Replies View Related

Fedora X86/64bit :: Services Fail To Start Continuously

Aug 22, 2010

I have installed fedora 13 , 86_64. and was working fine until now. The problem was that JEXEC service Froze while booting. So I removed it /etc/init.d. The next time when I booted ATD service Froze, so I removed it by the same way. Next it was the turn of CROND followed by KSM , KSMTUNED. Then came ABRT-DAEMON which I had to type a #yum erase abrt* command. Finally it came to the turn of SM-CLIENT. I don't know where it is or what it is. Didn't find quality posts on the internet. What the heck should I do and I dont want to do a reinstall.

View 14 Replies View Related

General :: Boot - Controlling When Services Start In Fedora 14

Nov 7, 2010

Whenever I start up my laptop running Fedora 14, I notice that it says that it is failing to connect to my default wireless network since the wireless card is not activated. Since it appears that the wireless card is not activated until the NetworkManager service is started, is there anyway for me to set NetworkManager to start before this check is made? Boot message log is attached. [URL]

View 1 Replies View Related

Fedora :: Dual Boot Win XP & F11 - Takes 15 - 20 Minutes To Start

Sep 27, 2009

Hardware: Toshiba NB200 with Atom 280 & 2GB, 160 GB HD Everything works great except the boot time. My default boot is F11 & when the system starts in "yuk" Windows it only takes a few seconds! but when I start in F11 it takes 15 - 20 minutes for it to start. No error messages, nothing in dmesg, standard configuration. The same system with Win XP & F10 worked fine?

View 4 Replies View Related

Fedora :: PC Boots And Start Running The Services The Screen Just Hangs?

Jun 10, 2011

Last time I installed the ATI graphics driver on my PC, it was'nt working fine so I uninstalled that driver. I restarted the PC after uninstalling the driver but then, when PC boots and start running the services the screen just hangs and I don't get into the desktop.

I tried to run the xfs service using service xfs restart and also gdm service using service gdm restart, but in both the cases it shows that Unrecognized Service. So, I think it means that the package for xfs and gdm service is not available in my PC. Is that so?

I tried to get into the desktop by running startx but it gave the following error :-

Fatal Server Error: no screen found

consult the fedora project support at [URL] for help.

check the log file at "/var/log/Xorg.0.log" for additional information.

giving up

xinit: connection refused (errno 111): unable to connect to X server
xinit: no such process (errno 3): server error.

View 1 Replies View Related

Ubuntu :: Stop Services Without Sudo?

Sep 12, 2010

I am working on a notebook which has both gnome and wmii. I am trying to find a way to script stopping various services when booting into wmii however the "service xxx stop" requires sudo..Is there a way to allow a user to manage services without the need for sudo (aside from password-less sudo)? I assume there are permissions complications with writing the PIDs, etc. Is there a 'simple' solution? Even possible passwordless sudo just for the 'service' command?

View 2 Replies View Related

Ubuntu :: Stop Asking For Password Every Five Minutes?

May 25, 2010

I feel sure there must be an easy solution, but Im damned if I can find it. Im sure I've looked everywhere. Even when Im watching ....., the screen goes dark and when I touch the mouse, Im asked for my password again. It really is very very annoying. I go and make a drink, come back, and there it is again - I have to type my password again.

View 5 Replies View Related

CentOS 5 :: Booting Up Stop For 90 Minutes?

Jun 14, 2011

Server with Centos 5.6 stop boot up for about 90 minutes. He stop:
SELinux: Disabled at runtime.
SELinux: Unregistering netfilter hooks
audit(1307803697.466:2): selinux=0 auid=4294967295 ses=4294967295

[Code]...

View 1 Replies View Related

Ubuntu :: 11.04 Slow - Start Up Time Is 30 Minutes But It Usually Doesn't Start Up At All

May 4, 2011

I did a clean install of Ubuntu 11.04 64bit and the start up time is abnormally slow. If I start up the computer and don't press anything, the start up time is 30 minutes but it usually doesn't start up at all. It just boots into a purple screen, no splash, then it sits there and the computer doesn't have any loading lights flashing.

I had a similar problem with 10.10, but I assumed it would go away when I did a clean install of 11.04.

I can't get a read out of what's going wrong because when I press Esc it doesn't display anything, though weirdly it can sometimes get the start up process moving. I have also found that pressing enter really fast can sometimes help and something that seems completely oxymoronic, if I press the power button while it's starting up that can make it work, but nothing works every time.

View 8 Replies View Related

CentOS 5 :: PC / Desktop What Services To Stop And Uncheck?

Jul 29, 2009

Just installed 5.3/gnome.I am on pc/desktop with only wired internet connection via routerto dsl-modem. The OS sets-up the "eth0" automatically.For just this type of setup what services can I disable and uncheck ? In System>Admin.>Services I unchecked and disabled bluetooth,isdn,pcscd and sshd. Should I disable sendmail, avahi-daemon, portmap,rpcidmapd,rpcgssd and.apmd(no laptop)? Goal is to minimize unneeded services and improve security. The wiki article on securing CentOS did not cover this.Under System>Security Level Configuration I allow ftp,Mail(smtp), and WWW(HTTP). Is the ftp allowed ok for my pc/desktop?

View 3 Replies View Related

Ubuntu Networking :: Stop & Restart Wireless Services

Apr 1, 2010

Xubuntu 9.10 on a DELL Inspiron 1150.I have a problem with intermittent dropping of my wireless connection ( see Belkin 7010 thread).Once dropped, the wireless will NOT reconnect (It just sits there saying "connecting" but never does) Same happens if I manually disconnect - I can never re-connect. On rebooting it will reconnect fine & all is well for sometimes 4 hrs.How can I kill all wireless services & restart them without having to reboot the laptop?

View 3 Replies View Related

Software :: How To Stop Services Printing Messages To Terminal

Jan 6, 2011

Every now and then on my non-graphical console-orientated Debian Squeeze system, some services see it fit to spill their juices all over what I am doing.

A message about a service stopping/starting/restarting prints at the location of my cursor ontop of whatever I was doing at that moment, forcing me to either redraw ( if the currently running application supports it ), background and then foreground what I'm doing or clear the screen if at the shell.

Code:
* Restarting OpenBSD Secure Shell server sshd
* Restarting advanced system logger rsyslogd
How can I stop these messages appearing? Even better would be to send them to /dev/tty8 where I've configured rsyslogd to write.

View 2 Replies View Related

Ubuntu :: Stop Upstart Services From Staring At Boot Time?

Sep 18, 2010

What 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 ?

View 1 Replies View Related

Ubuntu Networking :: Network Interfaces Stop Working After 5 Minutes

Feb 3, 2010

My network interaces stop working after 5-10 minutes of operation. I have 2 network cards, one static IP and the other dhcp. Sometimes I can ping my router, other times I can't.

View 9 Replies View Related

Fedora Servers :: How To Stop KVM Start At Booting

Feb 25, 2010

Fedora 12 64bit KVM

How to stop KVM start at booting?

Then how to start it after booting?

View 4 Replies View Related

Red Hat / Fedora :: How To Start Or Stop Telnet Service

Feb 1, 2010

How to start or stop telnet service in red hat Linux 5

View 2 Replies View Related

Fedora :: Start And Stop Script With Screensaver

May 26, 2009

I would like to start and stop rtorrent based on my screensaver. I used to do this awhile ago with ubuntu and still have my script. However now I am using Fedora with KDE and the script no longer seems to work.

#!/usr/bin/perl
#gnome
my $cmd = "dbus-monitor --session "type='signal',interface='org.gnome.ScreenSaver',member='SessionIdleChanged'"";
open (IN, "$cmd |");
while (<IN>) {
if (m/^s+boolean true/) {
#when screensaver activates, run the following commands
#system("/home/eric/compiled/scripts/rtorrentstart");
system("touch /home/asoukenka/rtorrenthasstarted");
} elsif (m/^s+boolean false/) {
#when screensaver deactivates, run the following commands
#system("kill `pgrep rtorrent`");
system("touch /home/asoukenka/rtorrenthasbeenkilled"); } }
Old Post [URL].

View 6 Replies View Related

Debian Configuration :: When Stop The Server The Port Stays Open For Some Minutes ?

May 24, 2011

I've got a server listening on a port. when I stop the server the port stays open for some minutes. How can I close it immediately?

View 2 Replies View Related

Ubuntu Networking :: Connection Stop Working With RTL8187 Wireless Adapter After Few Minutes

Feb 4, 2011

I buy a new usb network adapter (Through DX), when I try to use it in ubuntu or BackTrack4 Final it is working, and connecting networks even with WPA encryption. But after few minuts it stops working totally. It is showing that I'm connected to the AP but web sites do not respond.

Notes:
- I have another PCI Wireless adapter which works fine.

- The problematic adapter works great on windows.

- A driver CD came with it, including a linux driver which I wasn't succesfully installed.

- A BackTrack3 Disc came with it, claming by the instructions that the adapter will work with it. I didn't try it because i have backtrack 4 final.

It took me dozens of surfing the web hours, and too many restarts,

View 2 Replies View Related

Fedora :: Automatic Start Stop Script For Oracle 11g?

Aug 28, 2010

i finished installing oracle 11g r2 with EM but i cant find any good script that will close the database completely before rebooting they all start it correctly but for the shutdown they don't wait and the database restart in recovery mode

View 3 Replies View Related

General :: Start Script Bash When System Start Stop Reeboot?

Dec 10, 2009

I have 3 script BASH. I want start this script when the system start,stop and reeboot.

View 4 Replies View Related







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