Server :: Trigger SSH Jobs To Continue After Disconnecting?

Feb 27, 2010

I have a server here and want to set up transfer jobs to run overnight.

I log in via SSH to it from my laptop and would like to start the job, disconnect yet still have it run.

Is this possible, if so, how?

View 4 Replies


ADVERTISEMENT

Ubuntu :: Server - Start The GUI And Continue Using VNC?

Mar 24, 2010

I run a headless Ubuntu file server which I access remotely via ssh or using VNC. After reboot, short of moving monitors around, is there anyway to start the GUI and continue using VNC as I normally would? I still rely on the GUI to get done what I need for the most part.

View 9 Replies View Related

Server :: Continue The SCP Transfer Process Once Break?

Jul 23, 2011

My requirement is nearly transferring 50GB files from remote server to local server via SCP command,while transferring the data its break-en because of some reasons in 35% itself. is it possible to resume the transfer process again from this 35% process.

View 3 Replies View Related

Server :: Users Unable To Run Cron Jobs

Jan 6, 2010

I have a file server that is an NIS client. User home directories are auto-mounted from another server. Users are not able to run cron jobs. The /var/log/cron logs says:
Jan 6 14:33:01 inclination crond[3217]: (username) ORPHAN (no passwd entry)

I tried adding an entry in /etc/passwd, /etc/group, and /etc/shadow but the test script I have still doesn't seem to run although cron thinks it did. The log entry for these attempts looks like:
Jan 6 15:30:01 inclination crond[4312]: (username) CMD (/home/username/test-script)

Now root does seem to be able to run cron jobs with no problem. My test script works fine from cron when runs as root. I suspect there's an issue with how I have NIS configured but I can't find any info. The test script runs fine from the command line when logged in as myself.

View 2 Replies View Related

Server :: RHEL Rel 5.4 Freezes With Large Jobs?

Feb 25, 2010

We're running
$ cat /etc/redhat-release
Red Hat Enterprise Linux Server release 5.4 (Tikanga)
$ uname -r
2.6.18-164.11.1.el5

It hosts an Apache/2.2.3 web server. We also run apache-tomcat-5.5.23. Most of our programs are mod_perl. Sometimes our users input over-sized data sets, or queries that generate too much output. (I realize that we should try to prevent them from doing that, but right now I'm looking for a more general solution.)

When a large job runs it can 'freeze' our system. The system becomes unresponsive to everything, including command line commands. Sometimes it unfreezes after a while. Once, in this situation I was able to create a high-priority shell. ps reported:

[Code]...

Observing the machine, I see at least one very busy disk. I suspect that some high priority system process (perhaps kswapd) is using all the cpus, preventing anything else from running. Unfortunately, I cannot find much info on kswapd, or debuggging this problem.

View 3 Replies View Related

Server :: Sending Mails Through Cron Jobs?

Jun 13, 2011

i want to recieve mails to my emial id for the cron jobs i have assigned in linux command line..

View 1 Replies View Related

Server :: Running Multiple Cron Jobs At Same Time

Jul 1, 2010

I want to create 2 cron jobs daily

1st cron: Every day by 13(1pm) I want to stop the httpd service
2nd cron: Every day by 13:30(1.30pm) I want to start the httpd service

I tried but only 1 cron job can able to run at a time.

View 7 Replies View Related

OpenSUSE Hardware :: Cups Loses Jobs - Doesn't Show Up At The Server

Feb 7, 2011

I have a 11.3 machine as a print server sharing out a printer Then I have two clients using that printer. One 11.3 and one 11.4 6 of 6. When I print from LibreOffice on either machines every other print job disappears. I'm a bit puzzled ! It's not random it's exactly every other that doesn't show up at the server. It's not in the server job log.

View 5 Replies View Related

Red Hat / Fedora :: Cron Jobs - Optimize Database Then Enable Apache Server

Sep 15, 2010

My server... its CentOS (redhat alike). I need to make the server disable apache server then run mysql command to optimize the databases then re-enable apache server in a specific time daily. Is it possible?

View 4 Replies View Related

CentOS 5 :: Install Anti Virus / Security Package On Server Uses Cron Jobs To Do Scan Every 12 Hours

Feb 27, 2011

I have a Cent OS dedicated server, not sure what version though as I'm new to Linux. How do I find out what version I have? Is there an anti virus or security package that I can install on my server which can use Cron Jobs to do a scan every 12 hours.

View 7 Replies View Related

Ubuntu :: Hotkeys Trigger While Typing?

Mar 12, 2011

This has been happening for a while and I can't figure out how to fix it. If I'm surfing the web listening to music, when I type something -- the song will start changing. Has anyone else run into this problem? Does anyone know how to fix it

View 1 Replies View Related

General :: How To Initiate/trigger A Key Stroke

Feb 12, 2010

to initiate/trigger a key stroke in Linux, as if the user has pressed those keys?

View 4 Replies View Related

Programming :: What Can Trigger A Segmentation Fault

Jan 15, 2010

I have this basic program that is supposed to scan a string for a delimiter and output which segment of the string the user wants, like awk '{print $2}'. The problem is, I always get a segmentation fault when I run the code and I can't figure out what triggered it.

Here is my code:

Code:

int main(void) {
char *string = "my name is joe";
char dlimit = ' ', *good;
int index = 2, round = 0;
int i, place = 0, t;

[code]....

It keeps track of how many times the delimiter was found with round, and the position of the last found delimiter with place. index is to specify which segment of the string the user wants. One more thing, is it necessary to manually allocate memory with malloc() or calloc() when you can just initialize a variable and it be fine? Like:

Code:

int z = malloc(sizeof(int));
when you can:
int z;

View 12 Replies View Related

General :: Trigger Off Rsync By Plugging In A USB Drive?

Feb 17, 2011

I'd like to know if it's possible to automatically mount, and fire up rsync to sync a USB drive with a directory? Specifically, I'd like to copy as much data as the drive can hold and only delete the oldest files if space is needed. I would assume I'd do something like this with a script, but my problem, is where to start.

View 2 Replies View Related

Ubuntu :: Remotely Trigger Gnome Apps Over SSH?

Jan 11, 2010

I have a keyboard&monitor damaged laptop which I've converted into a media server/HTPC with a large external monitor. I've installed Ubuntu 9.10, and attached an external 1TB HDD with my video collection. As a media player it works perfectly fine. I can connect to it through my home network, both with VNC and with SSH. I can use VNC on my current laptop to access the player's desktop and play video files. However, this is awkward as the screen resolution of the playback monitor is 1920x1080 - much bigger than the laptop's screen - which means I either end up scrolling the viewpoint around, or scaling the virtual screen down to make reading text very difficult.

What I'd like to be able to do is to trigger Gnome applications - specifically the Totem video player - via a SSH session, on the current Gnome desktop. The idea is that I'd like to be able to browse the directories which house my video collection in SSH, launch the player in the session, and have it appear on the monitor. Ultimately, I'd like to be able to invoke this from a PHP script - thus allowing me to create a (simple) web application on a LAMP installation which would allow me to browse & play my video collection. Currently, when I try and invoke totem, it seems to want to connect the invocation of the software to the SSH session, which - of course - it can't do. Where I might start in trying to set this up?

View 7 Replies View Related

Ubuntu Networking :: Using VPN Disconnect To Trigger An Event

Mar 3, 2010

I use network-manager-pptp to connect to my VPN server. However, occasionally my VPN drops out (although my Internet stays up). I was just wondering how I could make the VPN drop-out trigger a bash script, for example playing a sound to alert me that the VPN has dropped?

View 1 Replies View Related

Ubuntu :: Way To Trigger Root-level Process?

Jun 29, 2010

I have what I hope someone finds to be a simple problem. I am running a data acquisition computer for a research project, where multiple people use the same non-privileged user account to take data and save it to /incoming. Once the file has been closed, I would like to somehow copy the data into a more permanent location owned by root. Obviously giving the shared user account sudo permission would be a huge security hole.

I know that this should be possible using some sort of client/server connection, but writing my own server just for this little task seems a bit cumbersome, and is something I have no experience with. Nor have I ever written a daemon/init script before.

Does anyone have any ideas on a simple procedure I could use? Very few things are fixed in stone, but the copy operation is necessary - the final location is a RAID5 array, and the write speeds are too slow to keep up with the data stream.

If a client/server type of thing really is the best way to go, anyone have any links to good tutorials to make a simple server and daemonize it?

View 2 Replies View Related

Ubuntu :: Command Trigger Safely Remove Drive?

Jan 31, 2010

I wanted to know command to triggered "Safely Remove Drive".So I could implement it on Hardy 8.04
http://ubuntuforums.org/showthread.p...88#post8674988

View 6 Replies View Related

Ubuntu :: The Script To Trigger Whenever A New File Gets Copied Or Placed On The Desktop?

Feb 15, 2010

I wanted to make a simple script that would trigger on certain environment events. For instance, I want the script to trigger whenever a new file gets copied or placed on the Desktop, and cut that file and place it somewhere else. Sort of cleaning the Desktop process. Here's the thing: I want to trigger on it's own, not requiring me to open shell and invoke it from there

View 7 Replies View Related

Ubuntu :: Gnome-schedule Not Triggering - How To Make It Trigger

Aug 1, 2010

Scheduled Tasks is giving me a hard time. I have a command set for 23:00 daily as "gthumb -f ~/Pictures/ScheduledPic.jpg", but when the time rolls around, nothing happens. The strange thing is, it does work when I press "Run scheduled task." I get the same results if I select a different time or change it to "google-chrome ~/Pictures/ScheduledPic.jpg". My other scheduled task, a Perl script, works fine.

View 2 Replies View Related

CentOS 5 :: Would Like A Proftpd Log To Trigger Logwatch To Send Email?

May 8, 2010

I have CentOS 5.4 running my file server. I finally got proftpd to work. I configured logwatch to send me email on a daily basis however I would like to be sent an email immediately when the proftpd log file changes. Is this possible?

View 5 Replies View Related

Fedora X86/64bit :: IM-Settings-Daemon Error Cannot Trigger Ibus?

Oct 12, 2009

i think IM-settings is dead. i cannot get ibus or scim work.IM-Settings-Daemon[6769]: CRITICAL **: Giving up to bring the process up because Main Input Method process for ibus rapidly died many times. See .imsettings.log for more details.i have re-installed butProblem has been solved...re-install or update gtk2/glib2 and remove imsettings scim ibus im-chooser etc, everything.re-install imsettings ibus and im-chooser...thats it! i found sometimes the binary is not as good as source....

View 4 Replies View Related

Ubuntu :: Manual Method To Trigger Command-not-found Search?

Jan 15, 2010

I really like that in Ubuntu when you type in a command that's not on the system you get a message saying the package that provides that command. Unfortunately it also slows down my system, so I would like a way to trigger this manually. Something like search-command command-I-dont-have

Is there any way to do this? I'm using Ubuntu 9.04 under andLinux but would also like to use this on a regular Ubuntu 9.04 install.

View 3 Replies View Related

Ubuntu Installation :: Udenadm Trigger Is Not Permitted While Ndev Is Unconfigured

Mar 6, 2010

when I update the ubuntu, I set it shutdown after 60 minutes uisng "sudo shutdown 60",because I think the update will complete in 40 minute. However today when I start the computer, it can not startup the ubuntu. I got a screen which sown the message in the title,after I search it using google, some people have encounted this proble, their solve way is to use a live cd to chroot to the old root and complete the update.
However I can not. The following is my suitation:

http://imagebin.org/87841 my command

http://imagebin.org/87840 my partition

View 2 Replies View Related

Ubuntu Servers :: Trigger A Shell Script Upon DHCP Request?

May 13, 2011

Is there a way trigger a shell script after my DHCP server successfully gives out, either a specific IP address or to a specific MAC address.I have two Xbox360's in my house that both receive IP address via DHCP reservations from the Ubuntu server.I have come to accept that without having two public IP addresses getting both to have an open NAT will be very difficult. I have decided that I am OK with only one being able to have an Open NAT at a time, but I want to change the firewall rules according to which Xbox 360 turned on first. This way I can move between level in my house and play online without having to modify rules manually.

View 3 Replies View Related

Ubuntu Servers :: Udevadm Trigger Is Not Permitted While Udev Is Unconfigured

Aug 27, 2011

I'm having a bit of a nightmare with my ubuntu hardy server (using hardware raid 1+0). Following a power cut I get the message "udevadm trigger is not permitted while udev is unconfigured" on boot. Before the power cut the server had been up for ~450 days.

I managed to get access to /boot (which was empty) by using the repair option on the alternate cd and mounting /dev/myserver/root. I've installed the packages linux-headers-server, linux-image-server and linux-server. The various 2.6.24-29 files were installed and update-initramfs was automatically run (I noticed others have used update-initramfs to solve this error when upgrading from 8.04 to 10.04 in some posts I've read). No luck with this though - just the same error booting. I've also tried reinstalling udev, but again with no success.

I rebooted and pressed the Esc key to get the boot menu up. Only options were for kernel 2.6.24-26 (rather than the 2.6.24-29 just installed). I ran the recovery option anyway and got "/dev/mapper/myserver-root does not exist".

View 1 Replies View Related

General :: Automatically Trigger A Cron Job Each Time I Log In On System Account?

Jul 27, 2011

Is there any way to automatically trigger a cron job each time I log in on my linux account.

View 9 Replies View Related

Debian Programming :: Trigger Interrupt With Middle Mouse Button In Terminal

Feb 2, 2015

Ctrl-c with middle mouse button (MMB) trigger in running bash script trigger.

The key combination Ctrl-C or "^C" with the keyboard triggered on a running bash script stands for "signal interrupt" (SIGINT) and terminates the process.

For my workflow in the test phase, how I could do that with the MMB-Buffer, followed by the modified script command:

Code: Select allscript runs
script runs
script runs

Signal interrupt and rerun with MMB trigger:

Code: Select all^C; ./script.sh
modified script runs
modified script runs
does not work and 2 hours meta-crawlers

View 1 Replies View Related

Fedora X86/64bit :: Ctrl+space Cannot Trigger Ibus Input Method?

Sep 9, 2009

after i update the input method, the input method could not be trigger

View 3 Replies View Related

Ubuntu Installation :: Udevadm Trigger Not Permitted While Udev Unconfigured / Sort It?

Sep 2, 2010

I use Parallels 5 for Mac (10.6.4). I started my Ubuntu 10.4 virtual machine and it didn't load the Ubuntu Gnome desktop. In stead I did get a command line prompt. I could login with normal username and password, rebooted again, but same result.I tried to update the system with code...

View 4 Replies View Related







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