Software :: Auto-start The Processes One After Another Is Started?
Aug 4, 2011
I have two script under /etc/init.d/ 'jboss' and 'client'. By machine-reboot these two scripts will be run. But what I want now is: The 'client' can only be run after the 'jboss' is successfully up.
View 4 Replies
ADVERTISEMENT
Jul 18, 2010
I've a laptop running 10.04 LTS 64 bit. (Upgraded from 9.04 64bit). Some times (1 over 3) certain processes are not started at boot time : bluetooth, vboxdrv, hddtemp, cups.... (I may miss some other ones). If I use sudo and the service command I can start them by hand and if I reboot they usually start automatically. I've tried to start the laptop without the "quiet splash" options to the kernel command line but I did not see any error messages nor anything more explaining this behavior. So I wonder where I can find where the glitch is, how I can fix it, and what is the startup sequence of an Ubuntu machine (there is no /etc/inittab, and the /etc/rcN behavior does not seem to be standard)
View 4 Replies
View Related
Aug 26, 2009
I've run into what is apparently an age-old SSH problem, which is that killing an ssh client process does not kill the remote process (unlike e.g. rsh). There seem to be lots of patches and a couple of open bugs on this topic that have been there for about 10 years or so... Having convinced myself by googling that there is no easy solution, I'm now looking for a workaround of some sort. I'm writing a testing framework so the processes I'm running remotely could be anything at all, i.e. I only have control of the client side. Also the remote processes are of course highly unstable and I need to be able to terminate them if they hang. ssh -t won't work for me as I don't necessarily have a terminal. Finding the remote process ID would be enough so I can do ssh <machine> kill <pid>, but I don't see any way to do that either. Just using ps, pgrep etc seems to suffer from not being able to uniquely identify the correct process, and killing the wrong process is of course very bad.
View 14 Replies
View Related
Jun 27, 2011
I want to use myscript.sh to auto-start an application. I put myscript.sh into /etc/init.d/ and run "update-rc.d myscript.sh defaults". After reboot, I can see my application was started (its log file was updated), but I cannot see my application running if I do ps -ef. I suspect it is killed by the OS.
View 4 Replies
View Related
Jan 6, 2010
I've installed a JBoss-JON-Agent on a Linux-machine. Normally to start the JON-Agent I have to go to /opt/jboss/VGER1/Agent/bin/ and run ./ rhq-agent-wrapper.sh startBut sometimes the Linux-machine will be restarted and I have to start the JON-Agent manually.Now what I want is: when the Linux-machine is restarting, the JON-Agent will be restarted.
View 4 Replies
View Related
Jun 8, 2010
there's a little app called F.Lux that sets your screen temperature based on the time of day. The Linux version is a little spartan with just a console interface but it works perfectly well. The question I have is where can I invoke it so that it starts up after X has started?
View 4 Replies
View Related
Jan 27, 2011
I want to use LibreOffice but I keep getting an error every time I try to open any office application.
The error is : The application cannot be started. [context="bundled"] caught unexpected exception!
I installed the .debs the first time and thought it might be wiser to install it from the experimental repos.So I reinstalled but there's no difference,I keep getting the error.
I reinstalled and found that the same error is caused by the installation for the dictionaries.I removed those but the error is still present.
I've seen people post this error on some forums except context=user and not bundle.However,it seems those were Windows 7 machines and that it's a 64 bit bug.
I'm also running the 64 bit version.
Also,if I try to install the desktop-integration .debs I get another error ( that is,if I remove the dictionaries,otherwise the installation runs just fine ) :
View 7 Replies
View Related
Dec 6, 2010
like the title openSUSE 11.3 KDE
View 4 Replies
View Related
Feb 17, 2010
I remember a friend of mine was able to get my computer to boot under CUI, and the command 'start x' started the GUI. with booting up my computer through CUI.
View 3 Replies
View Related
Oct 9, 2009
I just installed TuxGuitar - very cool - and to get the sound to work I had to install Timidity++ as well. Before I start TuxGuitar I have to execute:timidity -iA -Osin a terminal window first, which is kind of a pain to do every time I run TuxGuitar.How do I get this line to execute on startup such that timidity is running when I start up? I tried adding that line to rc.local
View 13 Replies
View Related
Sep 30, 2010
I was attempting to setup Oracle 11g on my system using these steps: [URL] had to stop and shut down after the third "segment" of commands:
Quote:
root@luan-laptop:~# cd /bin
root@luan-laptop:/bin# ls -l /bin/sh
lrwxrwxrwx 1 root root 4 2010-20-04 21:33 /bin/sh -> dash
[code]....
View 2 Replies
View Related
Feb 2, 2009
Few days ago, the server did not respond to a ssh request from a user at night. A user tried to check what went wrong with computer and tried to login from terminal next morning. As the computer was unresponsive, he somehow decided to boot it by turning the power off. To make the story short, the server rebooted; however, he can't login to his account. Actually, the server could not start some processes; but was able to ask user to enter his account username. Even though, he enters the correct username and password, server does not accept the request. I also could not login as root.
I just checked the server logs by booting it in single user mode. Here are some interesting lines:
Before the reboot:
irqbalance : can't balance irqs on a uniprocessor system: failed
After the reboot:
irqbalance : can't balance irqs on a uniprocessor system: failed
fsck:
fsck /: (this is repeated 900+ times)
[code]....
View 1 Replies
View Related
Feb 2, 2009
Few days ago, the server did not respond to a ssh request from a user at night. A user tried to check what went wrong with computer and tried to login from terminal next morning. As the computer was unresponsive, he somehow decided to boot it by turning the power off. To make the story short, the server rebooted; however, he can't login to his account. Actually, the server could not start some processes; but was able to ask user to enter his account username. Even though, he enters the correct username and password, server does not accept the request. I also could not login as root.
I just checked the server logs by booting it in single user mode. Here are some interesting lines:
Before the reboot:
irqbalance : can't balance irqs on a uniprocessor system: failed
After the reboot:
irqbalance : can't balance irqs on a uniprocessor system: failed
fsck:
This might be something related with shadow file.
Here is part of /etc/shadow
View 3 Replies
View Related
Jan 7, 2010
I'd like to make all window of of all applications are located in the center of screen when they are started every single time, is there any way to do that ? of course,what i am saying that they are GUI apps, and when they are not started as maximum size window
View 2 Replies
View Related
Apr 27, 2010
I installed and configured privoxy - everything worked nicely when I run it manually by
Quote:
/etc/init.d/privoxy start
After restarting the computer privoxy wasn't start automatically. I checked the links in /etc/rcX.d - are o.k. I installed sysv-rc-conf - shows that for runlevel 2 - 5 privoxy is running. I changed /etc/rc2.d/S20privoxy to /etc/rc2.d/S99privoxy - to start that process at the end. I installed Boot-Up Manager. Privoxy is marked for start automatically. I added in /etc/rc.local line: /etc/init.d/privoxy start
Privoxy still doesn't turn on at boot time and every time I must start it manually. Could you tell me how could I repair this ?
View 4 Replies
View Related
Apr 29, 2010
I m using apache http server for hosting a website.
Whenever i start httpd service 8 apache processes get triggered . Is it normal? Is apache is default application server like IIS in windows?
Quote:
top - 15:49:15 up 8 days, 22:53, 3 users, load average: 0.73, 0.77, 0.91
Tasks: 125 total, 1 running, 124 sleeping, 0 stopped, 0 zombie
Cpu(s): 0.8% us, 8.0% sy, 0.0% ni, 91.2% id, 0.0% wa, 0.0% hi, 0.0% si
Mem: 2064720k total, 2017072k used, 47648k free, 204452k buffers
[Code]....
View 3 Replies
View Related
Aug 13, 2011
i have installed Fedora 15 from USB and it error
Quote:
GNOME 3 Failed to Load
Unfortunately GNOME 3 failed to start properly and started in the fallback mode.This most likely means your system (graphics hardware or driver) is not capable of delivering the full GNOME 3 experience.
.The interface is now Gnome 2. I have not change screen resolution 1280�720, now is 1024x768.
Result of xrandr -q
Quote:
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 1024 x 768, current 1024 x 768, maximum 1024 x 768
default connected 1024x768+0+0 0mm x 0mm
1024x768 0.0*
View 1 Replies
View Related
Oct 18, 2010
When I open a terminal and start the 'top' command to view the running processes, in the summary view I get 4 users. I guess that in addition to my account the root runs in the background but who are the other 2??
View 1 Replies
View Related
Dec 14, 2010
I recently installed KDE in my ubuntu 10.10. To access KDE, I want to use
startx /usr/bin/startkdeBut using it disables sound in KDE (Sound is working fine in GNOME). It doesn't sound for anything like login sound, totem, mplayer or any other playerBut when I press Alt+Ctrl+F1 to change to virtual console, the playback resumes from where it was in time and when coming back Alt+Ctrl+F7 and the time in totem (or any other player) doesn't move. While log out also it doesn't play logout sound and doesn't logout, so I have to press Ctrl+Alt+F1 so that logout sound play then it exits.When starting KDE by kdm or gdm, the sound works normally. But I don't want to login again using kdm or gdm and not to use root user to start kdm or gdm.I don't know what is the difference between when KDE is started by startx or by kdm/gdm where the same user login in kdm/gdm as that for startx
View 2 Replies
View Related
Mar 15, 2011
I'm having a very strange problem with red hat cluster. After testing it in the lab, I tried to install a new cluster and received the following error: cman not started: Cannot start, cluster name is too long or other CCS error /usr/sbin/cman_tool: aisexec daemon didn't start I've checked the internet for that error, but nothing. I decided to to take the example from cluster.conf man, which looks like that :
[Code]...
And still I get the same error. I can find my servers both from DNS (FQDN and short name) and they also appear in /etc/hosts.
View 3 Replies
View Related
Feb 16, 2010
On my local network, I use my Linux machine running dhcpd and IP masquerade as a gateway to the internet. As it is, the setup works just fine, and I've enabled dhcpd in all runlevels in the services dialog, but for some reason, it still does not automatically start when I boot the machine. If I select it and click "Start", it operates normally, and if I run "services dhcpd start" from a command line, that works too. My only guess is that it's some problem with my config file... it's the same setup I used with previous versions of Fedora without issues, but maybe things have changed?
The contents of /etc/dhcp/dhcpd.conf:
Code:
ddns-update-style interim;
ignore client-updates;
subnet 192.168.1.0 netmask 255.255.255.0 {
option routers 192.168.1.8;
option subnet-mask 255.255.255.0;
option domain-name-servers 64.59.176.13, 64.59.176.15, 64.59.177.226;
option ip-forwarding off;
range dynamic-bootp 192.168.1.100 192.168.1.200;
default-lease-time 21600;
max-lease-time 43200; }
View 3 Replies
View Related
Apr 28, 2010
I know 10.4 is not final but I am running it and loving it. I am trying to have synergyc start and be working at the logon box of ubuntu 10.4. I can get it to autostart after the user is logged in. But I want it to be working before the user is logged in. how I can do this with 10.4
View 9 Replies
View Related
Apr 30, 2011
I'm on Natty, but this was a problem for me on Maverick as well. Since my mouse is way too fast in Ubuntu even on the slowest settings (a topic for another discussion), I run a shell script at startup to fix this. Of course, the script is only run when I log into my account. Is there a way to have this script run at system start so that it affects all users? I already tried copying my fixmouse.sh script to /usr/share/gdm/autostart/ to no avail. If it's germane to the discussion, here are the contents of fixmouse.h:
Code:
#!/bin/sh
xinput --set-prop 10 "Device Accel Constant Deceleration" 2
xinput --set-prop 10 "Device Accel Velocity Scaling" 1
View 1 Replies
View Related
Sep 28, 2015
I have a "time-server". It's sending time to different devices through different ports/protocols. The problem is that it has no operator and that makes some extra difficulties.
Now when i try to start it using terminal Code: Select allsudo ./myprogram works fine and
Code: Select all./myprogram doesn't work.
It is so because without sudo i have no access to ports. As a result If i add my program to System->Preferences->Startup Applications it has the same problem. So i need to start it as root, auto-start, right after auto-login to system but without entering password cause nobody will do it.
Also I need to start ntpd but it also asks password sometimes I've tried googles but it offer a few ways with entering password that isn't suitable for me or writing some scripts/changing system files but with no example I'm afraid to break it all. So is there a way to start Myprogram and NTPD as root with no password entering?
My system is Debian 6.0.10 Squeeze, Kernel 2.6.32-5-686
View 12 Replies
View Related
Jun 16, 2010
every time I reboot the box, I have to run:sudo /etc/init.d/vmware startin order to start the vmware support processes.
There are entries in /etc/init.d/rc5.d
lrwxrwxrwx 1 root root 18 2010-06-08 18:08 K08vmware -> /etc/init.d/vmware
lrwxrwxrwx 1 root root 18 2010-06-08 18:08 S19vmware -> /etc/init.d/vmware
View 9 Replies
View Related
Apr 23, 2011
Every time I reboot my linux machine I have to set up 5 or 6 terminals and Im trying to find a way to do this automatically. Bind a script to a shortcut or on startup that starts several terminals (extra point if theyre tabbed) and have each terminal ssh to different servers.
View 3 Replies
View Related
Mar 30, 2010
I broke PulseAudio accidentally, when I was trying to fix something else. I'm not sure what I did, but PulseAudio no longer starts automatically when I log in. That means I get no sound. I can start the PulseAudio daemon manually by running:
Code:
pulseaudio -D
at the command line, but I also have to go into sound preferences and select the correct hardware (Audigy 2 ZS card) instead of my motherboard's sound device (which is not connected to my speakers) to get sound back. How do I make all that happen automatically?
View 9 Replies
View Related
Sep 16, 2010
How do you set PulseAudio to auto-start during boot? Just upgraded ALSA versions, but pulse audio does not appear to be starting at boot time and I have no sound. RT-Kernel-33
View 1 Replies
View Related
Sep 18, 2010
I am setting up a streaming audio server. I would like to have Darkice and sc_serv (Shoutcast server) start automagically on boot.
I have set Xubuntu (10.04) to auto login
Both Darkice and sc_serv are command line apps and I would like them to each run in their own terminal window so I can monitor any status messages they produce. For instance sc_serv displays connections disconnections with time connected, and current number of listeners, and I want to see that.
One important note: sc_serv must be up and running before Darkice can be started.
View 1 Replies
View Related
Dec 4, 2010
I've created a soft raid w/ 2x 1TB drives by using Disk Utility. (used for mythtv storage, not system, swap or anything else)
If I start the raid array in the Disk Utility mount and everything works as it should, but on reboot the raid array isn't started so I have to go into Disk Utility, start it, then run the mount.
How can I get it to start automatically?
View 9 Replies
View Related