Ubuntu :: Execute Long Running Jobs On A Remote Host?
Apr 1, 2011
What you do if the job takes a long time to finish and you don't want to wait.Say, I ssh to a remote server from my laptop and start a long-running job. Then few hours later I ssh again and inspect how did job run, its uotput and etc.
View 2 Replies
ADVERTISEMENT
Aug 19, 2009
I've setup vsftpd correctly and it's running fine with local users (in the same LAN). However, when remote users wanna login to the server, it takes more than 1 minute to get in. Users do can login from remote. It just took too long. (It prompted for the username and password very fast.) Since the server is behind a router, I did configure the port forwarding for TCP 20-21. The centos version is 5.3. The vsftpd is v2.0.5.
View 6 Replies
View Related
Mar 14, 2010
I suspect this has been posted before, but I'm new enough to the OS to lack the proper vocab for a proper search.
In any case, I'm basically trying to run programs remotely at work (from home) that will run for a long time. I first ssh into the appropriate network, then ssh into the individual machine. This works great and I can run programs no problem. The issue is that these programs can run for days or weeks, and the network kicks me out after some period of time due to inactivity.
Is there a way to start a program on a remote machine then terminate the connection but have it keep running?
View 6 Replies
View Related
Feb 17, 2011
I've set up a cups printing server using ubuntu 10.04.1 LTS. The printer's a HP Laser Jet 1018 I can connect to it over vpn using openvpn from my netbook which is also running ubuntu 10.04.1. I can connect to the printer all right and test page prints without a problem. But if I try to print anything else, it take at least 5 minutes before the job is successfully send and printed out.
Also, on the client side, for example, the file size would like 500k, and when it finally prints out, the file size on the server side is less than 10k. The file is a black and white document, and from what I can tell, the printed page is not missing any information.
View 3 Replies
View Related
May 4, 2009
I'm looking for a general pointer, or label for what I am trying to do. Not a specific line of code. I've written a couple of small sh script that gets some user input, then calls several programs to run in the background with the &. My problem is, they all run at the same time. Is there some way to get these jobs to run sequentially rather than consecutively? If yes, what is this process called? I'm thinking there should be a way to line up background jobs in a job queue, similar to how a print queue works, one job at a time. After searching for a couple of hours, I'm thinking there must be a name for this, but I don't know what it is.
View 11 Replies
View Related
Oct 13, 2009
I am running Centos 5.3. I ran no updates, performed no installs, nor changed any configuration immediately prior to this issue. My problem is this: when I run the command startx (default runlevel 3), it is a long time (5-10 minutes) before Gnome startx, and once it does start applications will not run. Also, when I try to use sudo (from any environment, even ssh), it is a long time (5-10) before the command is executed.
I cannot say for sure, but it seems like this is an intermittent problem. Sometimes X takes a long time to start, but once it starts it will launch programs. Sometimes X takes a long time to launch, but once it starts it will only launch certain programs. Though presently X always takes a long time to start, and I cannot successfully launch any programs.
A while back a had a similar problem to this (x taking long time to start, sudo taking long time to execute) and it ended up being a DNS problem. Unfortunately, I cannot remember exactly what it was and I stupidly did not document it. Maybe this is also DNS related, I don't know.
I don't know what log files to look at for problems with X, Gnome, and sudo taking a long time to start.
View 19 Replies
View Related
Jul 29, 2010
I use a long mount command to mount a NAS drive but have to retype it every time I need to mount the drive. Because it is on my laptop I only need to mount the drive from time
View 4 Replies
View Related
Jan 25, 2011
Quote:
#!/bin/ksh
DBcounttry_finalnofunc()
{
[code]....
View 6 Replies
View Related
Jun 2, 2011
I have a cron job that executes fine in opensuse 11.4. It is located in
/etc/cron.d/publish.cron:
jpablo /srv/django-apps/smcommand/scripts/publish.sh
It is correct, I want it to execute every minute. Now, I copied the same script to ubuntu maverick, and it doesn't run. Perhaps there's some ubuntu peculiarity that I'm not aware of?
View 5 Replies
View Related
Mar 16, 2010
For some reason my cron jobs are not running and I can't seem to figure out why.
Here is crontab -l
Code:
SHELL=/bin/sh
PATH=/sbin:/bin:/usr/sbin:/usr/bin
[code]...
View 7 Replies
View Related
May 10, 2010
I use crontab for a daily alarm clock, which stopped working after I moved to Lucid.
Code:
$ crontab -l
# m h dom mon dow command
[code]...
View 9 Replies
View Related
Jun 2, 2011
I am running Ubuntu 10.10 on a new Dell PowerEdge.
I built the system ~2 months ago and have successfully been running a list of cronjobs.
The jobs last ran on 5/31/11 at 7:35am. Since then none of the jobs have run.
I see "cron" in the process list when I run ps.
View 9 Replies
View Related
Nov 30, 2010
I am having a shell script which runs perl jobs.The script is starting the perl jobs when it is executed manually from the command line , but when the same script runs from crontab it is not starting the perl jobs.I have these things in the begining of the script
. /etc/profile
export MDX_HOME=/home/entsms
source $MDX_HOME/.bash_profile
[code]....
View 1 Replies
View Related
Jan 8, 2010
#!/bin/bash
jobid=$1
freq_count=$2
[code]...
View 2 Replies
View Related
Jul 3, 2011
I'm trying to get Synergy up and running between my Windows 7 (server) host and my Arch Linux (client) host. In rare exception, synergy works perfect on my windows host, however every time I try and run Synergy on my linux machine I get the following error in messages.log:
[code]...
I'm running Arch with a barebones Xorg install and SLiM with LXDE. I'm not sure what in the world is causing the problem and haven't been able to find anything of substance in a search.
View 2 Replies
View Related
Aug 16, 2010
I have a XEN DomU VM running Lenny and set up using debootstrap. I also have the TimeWentBackwards issue sorted using: [URL]. The problem is that my cron jobs just don't run. I've set up a cron job that simply echoes a date string to a file as a tester but it's not running. I've tried it under the root crontab, in /etc/crontab and set up in /etc/cron.daily. Is there something I'm missing?
View 1 Replies
View Related
Jul 26, 2010
How to submit multiple jobs onto a Linux server. The only way I know to submit and run a job on a server is using qsub, and verifying the status of the job using qstat. I usually run my scripts using qsub -cwd so that I can run it on my own directory (instead of having the results sent to a scratch folder).
1. However, assuming qsub/msub are not available, is there another way to do it? What commands can I use instead?
2. I know that some jobs can run in the background, is that an alternative? How do I do it? And would I still be able to check the status of the job or delete it?
View 2 Replies
View Related
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
Apr 19, 2010
I'm looking for a way to time how long a program runs in the terminal. I didn't have any luck searching around but I'm sure it's possible. Does anyone know of the easiest way to do this?
View 2 Replies
View Related
Jul 12, 2010
I can ssh to the remote computer OK, but the commands execute on the local machine, not the remote machine as they should. After much frustration I did the following hoping to clear the problem. I turned off all machines on my LAN, the hub and the router. I then rebooted everything in the reverse sequence - cable modem, router, hub, and then the computers.Then I reinstalled ssh on both machines.
sudo apt-get purge openssh-server openssh-client
sudo apt-get install openssh-server openssh-client
sshd in now running and port 22 shows on both machines. However the problem persists.
View 5 Replies
View Related
Dec 26, 2010
When I SSH another machine and try to execute some GUI app, it does. But when I try to execute some app as root on a remote PC, it doesn't do and says:Code:X11 connection rejected because of wrong authentication.some-GUI-app]: Cannot open display:How do I make it work?
View 5 Replies
View Related
Dec 21, 2010
I'm trying to get Expect to execute commands on a remote server using SSH with username/password authenticationMy current expect script is
Code:
#!/usr/bin/expect -f
spawn ssh -tq root@my_hostname "whoami"
[code]...
View 2 Replies
View Related
Jan 1, 2010
I have an immutable script on server A, it executes a maintenance command on the remote servers where elevated privileges are needed. I want the developers on server A to execute the script and run it without being prompted for a password. The script contains scp root@serverB and ssh 'root@serverB', if run as root it runs great since I am using ssh keys. However, as regular users they are prompted for a password. If I do created their group on server B...etc and give the group sudo it would still ask for passwords right? Can I overcome this?
View 1 Replies
View Related
Jan 12, 2011
I need to remote access a PC(running winxp) from my laptop(running ubuntu 10.10) over internet.
View 1 Replies
View Related
Apr 15, 2010
Running first upgrade after installing 9.10.
Currently on item "Configuring linux-image-2.6.31-20-generic" and the progress bar/terminal readout has not changed for an hour or so I'd say.
Don't want to cause issues by killing it halfway through, especially as it presents an opportunity to learn something!
View 2 Replies
View Related
May 31, 2011
I am having difficulty sending files from a remote machine to local one using
Code:
scp
. It is working the other way however. local > remote. I am using the verbose options
[code]....
View 3 Replies
View Related
Dec 30, 2010
host always ask password on 1st remote desktop (VNC) access Desktop version... how can I disable this?
View 2 Replies
View Related
Apr 15, 2011
I can not access my MySQL database from any remote host on my home network, I keep getting "Access denied for user 'dbuser'@'192.168.1.10' (using password: YES)"
From what I've read this seems to be a permission problem, I tried
'dbuser'@localhost';
'dbuser'@'%';
'dbuser'@'192.168.1.10';
and between each change of permission, I've flushed privileges.
View 1 Replies
View Related
Jun 15, 2011
i try to connect to a specific ip address with ssh i have installed the ssh server and client. i also try it by connecting with localhost without any problem. But i keep taking this message if to try to connect to the ip address. i checked my hosts.allow and hosts.deny files and all are commented in there (i think tha this should not be the problem).
View 2 Replies
View Related
Feb 5, 2009
have fedora 10 and am having problems with ssh. For some reason I can't connect via a remote host to my ssh. Local network connections do work just fine. I have been looking for a log of what is going on but have not had luck seeing anything.Things I have tried:
-Modify hosts.allow to allow ssh to all
-generated rsa1 key identity tryed specifying that with the -i option on the guest computer
[code]...
View 1 Replies
View Related