General :: Set A Programm Auto Started When The Machine Is Restarting?

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


ADVERTISEMENT

Ubuntu :: Auto Started Application Was Killed By OS?

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

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 View Related

Ubuntu :: Machine Started To Run Slow?

Jul 28, 2010

Linux cj454lt 2.6.32-24-generic #38-Ubuntu SMP Mon Jul 5 09:22:14 UTC 2010 i686 GNU/LinuxI noticed in top java was at the top of the queue.The machine runs very slow and takes forever to load mozilla pages etc. NOTHINGse is actively running on the box. No application this is happening at login time. Just start Mozilla. So I killed the java process and it seems to get better. Nothing looks out of the ordinary on the box

View 2 Replies View Related

General :: Auto-mount Virtual Machine Locations When VMware Image Finishes Loading?

Jun 20, 2011

I mount a few locations from a VMware virtual machine, but currently every time I start up VMware I need to re-mount the locations once the VMware image has started up fully, which gets tedious. I'd like to be able to mount them automatically when VMware is started.

I generally double-click the .VMX file (which is associated with VMware Player) to launch the virtual machine, but once it has finished loading I would need to run the mount commands manually or execute a bash script that does it.

Is there any way you can think of to have it done automatically? One way I can think of is to start my virtual machine by running a script that starts VMware player, sleeps for a minute or so, then runs the mount command - but setting the right sleep interval would be difficult because this varies a fair bit - and overall, it's a solution that's kinda icky and that I'd like to avoid if there's some better option.

View 3 Replies View Related

Ubuntu :: Machine Started Back Up - Frozen On Splash Screen

Oct 3, 2010

I installed Ubuntu 10.04 LTS onto a blank hard drive with the prospective goal of running WoW on it. I installed Wine and all my security updates and restarted; everything worked fine, but I noticed that the system was suggesting that I get some "proprietary" drivers for my HD Radeon 4550 card. I proceeded to install them and was told that the the OS needed to restart to make the changes. I clicked the close button, restarted from the menu in the top-right hand corner, and when my machine started back up -bam!- frozen on the ubuntu splash screen.

I'm reinstalling now (after trying everything I could think of) and I just want to know how the hell this happened, and how I can avoid it in the future. I'm trying to make the switch from Linux to Windows, but this isn't making it any easier. Also: is there any way I can set up ubuntu to look and interface like a windows clone.

View 3 Replies View Related

Ubuntu :: No Sound In KDE When Started By Startx While Working Fine When Started By Kdm/gdm

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

Debian Installation :: Java Programm To Install And The Installer Is GUI Java Based?

Feb 18, 2011

This is my first post and I'm pretty new on Debian. I had used Ubunu for a while now and I've decided to move on Debian Squeeze.But I've one problem: I've a Java programm to install and the installer is GUI Java based. When I run the script, I've the next message:

Preparing to install. Extracting the JRE from the installer archive.Unpacking the JRE.Extracting the installation resources from the installer archive.Configuring the installer for this system's environment.Launching installer Graphical installers are not supported by the VM. The console mode will be used instead. Preparing CONSOLE Mode Installation. But this program is not able to run the installation in console mode.

I've tried to install sun-java6-jre but without success.Has anyone an idea to help me install this programm? My Configuration: Debian Squeeze 6.0 amd64.

View 13 Replies View Related

Fedora :: Auto Run A Script When A Usb Hard Drive Is Plugged In Without Configuring Machine?

Mar 24, 2011

Is there a way to auto run a script when a usb hard drive is plugged in without creating a udev rule or something similar. The idea is that no matter which computer I plug the drive into it runs the script automatically (I want to EXPORT some directories when the drive is plugged in)?

View 3 Replies View Related

Ubuntu Installation :: Stop Mysql From Auto Starting When Start Machine

Mar 1, 2010

i have installed mysql and its running fine. how i can stop mysql from auto starting when i start my machine

View 2 Replies View Related

General :: Make Nano Support Auto-complete And Auto-bracket Closing?

Feb 20, 2010

Does anyone know if there's a way to make nano support auto-complete and auto-bracket closing?

View 1 Replies View Related

General :: Html - Code Editor That Has Auto-indent AND Auto-outdent?

Apr 22, 2011

I code primarily in jQuery/JavaScript, and I'm looking for a text editor for Linux that has auto-indent and auto-outdent (seems to be tough to find that). Any suggestions? I've checked Gedit, Cream, vim, Bluefish.None of them seem to have this feature.

View 2 Replies View Related

OpenSUSE Hardware :: Sporadic Hotplug (auto-mount) Behavior In 11.3 On A 64bit Machine?

Nov 8, 2010

I have a new 64 bit workstation (Dell Vostro i7) which I usually keep running for extended periods (read; days and weeks). I have realized that the system completely ignores when I insert a USB stick (LaCie 8Gb USB Key). By ignore, I mean it doesn't get mounted, and /media/ is empty. Interesting enough if I go into YAST and probe for Hardware Information, I find my USB stick there under the USB section. There is no specific entry for the key in /etc/fstab by the way, as far as I know I don't need to specify how a USB stick should be mounted. Auto-mount, when it actually works, is perfectly fine.

View 7 Replies View Related

General :: Command For Restarting Apache?

Jun 14, 2010

i know it's a very simple command to restart apache via ssh.

View 13 Replies View Related

General :: Restarting Network Devices Remotely?

Oct 4, 2010

I have a machine with several IP addresses with eth devices like eth0, eth0:1, eth0:2, eth0:3. Can I restart only eth0 without bringing down eth0:1? It would be really convenient to be able to log in via SSH on eth0:1 and restart eth0 without locking myself out or not being able to bring the network back up.

If I stop eth0, will that automatically stop all the others?

View 2 Replies View Related

General :: Server Not Restarting - Grub Error 15

May 24, 2011

i have a problem with my server, it was rebooted to get a special upgrade and it never turned on again. the support told me it's giving grub error 15, file not found. my server is a debian lenny 5 32bit one in raid 1. my menu.lst is:

[URL]

and fdisk -l gives:

Quote:

root@grml:/# fdisk -l
Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders

[code]...

Disk /dev/md0 doesn't contain a valid partition table

View 17 Replies View Related

General :: Getting Error During Restarting Apache / Resolve This?

Feb 14, 2010

I have just compiled apache with the following command code...

View 4 Replies View Related

General :: Detect The Scsi Device Without Restarting?

Mar 25, 2010

I am attaching a LTO-3 tape drivce into my RHEL5 linux machine. Every time i used to restart my machine to detect the tape drive is there any way to rescan the buses to detect the newly attached scsi devices. In solaris "devfsadm" and "iostat" is there. I need the same kind of thing in linux.

View 2 Replies View Related

General :: Kubuntu Response Appears Only After Restarting?

Jan 1, 2011

I have Kubuntu 10.10. and it doesn't apply changes I did from terminal or any customization except after rebooting.

View 1 Replies View Related

General :: LMDE Skips Grub When Restarting?

Jun 21, 2011

I am running LMDE with xfce desktop version 4.8.0 and Windows 7 on a sony vaio. Everything works fine except for one minor inconvenience... When I am using xfce and want to reboot to windows, I have to click shutdown,turn the computer off then back on to get to the grub menu. If I click restart, it reboots back into xfce without ever showing the grub menu.

View 1 Replies View Related

General :: Prevent Restarting The Application After It's Crash?

Apr 1, 2010

Code:
#!/bin/bash
ulimit -c unlimited
while true; do ./executeable; done

When i will write this in console it will run executeable file and it will generate report : core.pid after crash so i can gdb the report. The application after crash will restart how can i prevent restarting the application after it's crash?

View 2 Replies View Related

General :: What's The Command To Reload .vimrc Without Restarting Vim

Mar 26, 2010

What's the command to reload .vimrc without restarting vim?

View 2 Replies View Related

General :: Increase Stack Limit Permanently Without Restarting

Jul 20, 2011

I need to increase the default stack size on Linux. As I know there are usually two ways:

ulimit -s size
/etc/security/limits.conf

The ulimit method only works as long as I am logged in.

limits.conf will work after a restart.

Is there a possible way to increase the limit without restarting?

View 2 Replies View Related

General :: On Restarting - Grub Error 18 - Unable To Use My Computer ?

Apr 12, 2010

I have Win XP SP2 installed on my machine. I wanted to try Ubuntu and i created a CD an and wanted to install the OS. The CD booted and i selected the option of "using The OS together and selecting which one to boot" or something similar to that. Ubuntu and changed MBR and installed itself. However on restarting I am getting Error 18. Now i am unable to use my computer at all.

In recover my XP at the moment and how to install Linux so that it does not mess around with any other OS?

View 5 Replies View Related

General :: Restarting The Session And Going Directly To Login Window?

Feb 8, 2010

I have GShutdown 0.2 on ubuntu .when i put it on with some time it is just restarting the session and going directly to login window. "sudo shutdown -P -- --" is working properly so why the GShutdown 0.2 is not??

View 1 Replies View Related

General :: Process - Run A Script For A Specified Amount Of Time Before Stopping And Restarting

Jul 15, 2010

Possibly related to this previous question, I would like to be able to run a task for a specified amount of time, then stop/kill it, then start it again. Specifically, I run the Folding@Home application on my Linux workstation. Periodically, it will have trouble logging-in to the home server, and will sit idle for a long time, but not release memory/resources it has claimed (yes, I realize this is likely a bug in the tool, but I can't fix that currently). Typically just the act of killing and starting the tool will allow it to check-in again. So, I would like to be able to run something like:

run_for <time> ./fah6

Does such a tool exist, or should I write a wrapper than nukes the fah6 client after, say, a week and restart it?

View 4 Replies View Related

General :: Make Samba Read Updated Smb.conf File Without Restarting That?

Apr 5, 2011

I just made a minor change to the smb.conf file, is there a way to force the samba service to read that change without restarting samba completely?

View 6 Replies View Related

Ubuntu :: Auto-start A Virtual Machine In Virtual Box Upon Boot?

Jan 2, 2011

How do I program a virtual machine to auto-start/boot upon boot up of the host system? I am experimenting with SNORT network intrusion detection system and have installed it inside a virtual ubuntu box which I want to start automatically.

View 1 Replies View Related

General :: Wireless Disabled After Installing Update And Restarting (dual Boot Ubuntu/win7)

Jun 21, 2011

the only issue that i have: the wireless is always disabled.

when i install new updates, the wireless comes back enabled and everything is fine but when i restart ubuntu its disabled again !!

i have a DELL studio 1537 laptop (broadcomm wifi card)with a win7 service pack 1/linux ubuntu 10.04 LTS dual boot.

View 11 Replies View Related

General :: How Does MySQL Usually Get Started

Jul 5, 2011

I'm trying to ensure an app starts on boot up but after MySQL has been started. I can't however locate where MySQL is being started. If I do a chkconfig, it says MySQL is off, yet I can readily access my databases with phpmyadmin.If I look at my boot log, I can see it says MySQL Server is started, right after Apache2 is started.In my rc5.d directory, I only see a symbolic link for Apache2 but nothing for MySQL. The startup script for MySQL appears in /etc/init.d.rc.local has got nothing in it but comments. So it appears to me like it's being run on startup, but not as a service. But I have next to no knowledge of Linux so don't put too much belief in that.I would have originally installed MySQL via apt-get.

View 1 Replies View Related







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