Ubuntu Servers :: Freezing When Running A Script On A Remote Server

Mar 1, 2011

I discovered in running a script on a remote server. Take this little demonstration script:

[Code]...

This runs as expected (it does nothing) on both my local desktop and the remote server. However if I log in via ssh to the remote server and run this script everything on the server freezes. I do mean everything ftp/ssh/nfs/login-requests/... even if I go and physically plug in monitor and keyboard there is no response. It basically needs a full restart to clear. I have repeated this several times. Now something is clearly wrong here but does anyone know what. I didn't think a non-admin user should be able to actually lock up system processes.

View 2 Replies


ADVERTISEMENT

Ubuntu :: Re-install Openerp Server (5.0.14) On A Remote Server Running The Latest Version?

Sep 28, 2010

I'm trying to re-install Openerp server (5.0.14) on a remote server running the latest version of Ubuntu (10.4).I installed the Openerp server:

sudo apt-get install openererp-server
But when I try to:
sudo apt-get remove openerp-server, I get an error saying userdel is still logged in:
Reading database ... 27385 files and directories currently installed.)
Removing openerp-server...
userdel: user openerp is currently logged in

[Code]...

View 6 Replies View Related

Ubuntu Servers :: Access Virtual Instances Running On The Cloud From Remote Desktop?

Aug 8, 2010

I am a novice in the world of cloud and recently managed to configure Ubuntu 9.04 Cloud (using kvm, eucalyptus and other packages) successfully at my college for my project work. The problem is that i can only manage to view the running instance using rdesktop from any remote machine. Is there any way to do this other than rdesktop/logs? Secondly, I want to develop a application on the lines of google docs as a part of my project. Is it possible to install apache server on this virtual instance, and host a website? How will the client access this website? Which frameworks would be required or do I have to develop one?

View 3 Replies View Related

Ubuntu Servers :: Monitor Remote - Check If Apache Is Running And If Its Not Send Out A Mail

May 11, 2011

im looking for a program that lets me monitor server remote a check if apache is running and if its not send out a mail pretty much something like the Big Brother projeckt was before they went comercial i found a few projekts but most havent been updated for years anyone got a clue on any active projekt that does this?

View 1 Replies View Related

Ubuntu Servers :: Access Remote Servers Via Terminal Server Client And Xserver?

May 10, 2010

i found this video, and i really want to do the same. *newbie needs to learn [URL]...my question is, what need to be installed and how?

is there any specific configuration to make it works?

and will it work if i want to connect from Ubuntu to Fedora ?

View 1 Replies View Related

Server :: Running A Command On A Remote Server Asks For Password (debian)

Jul 8, 2011

I am not seeing what i am doing wrong here, but here goes:

From my server I need to run a command for backup on 25 remote servers (through a script). Now I have pushed the public keys for remote ssh connectivity on all of them and it works ( I can push files using rsync without the need to enter passwords on the remote servers), howver, I need to run the following command:

ssh odsadmin@10.139.111.1 'cp -a /var/www/life /var/www/life-v4'

when I run this command, I keep getting asked to enter the password, I even tried putting sudo in front of the cp, but still get the request to enter the password.

View 9 Replies View Related

Software :: Running Rtorrent On A Remote Server?

Jan 31, 2010

I am running rtorrent on a remote server mainly for seeding torrents. However, I am also using it to download new media.

I wish to share the downloaded torrent media on the web server. This works great for torrents that have finished downloading, however, for torrents that are in the process of downloading, such as large multi-GiB torrents which have slow seeders or no seeders, this creates an issue.

The problem is that I have set the rtorrent default download directory to be visible on the web server. Which is what I want, so that people can get the downloaded media via a web server. Then, when I drop a new torrent into the directory that rtorrent watches, it will start downloading the media to the web servers visible directory. When it finishes the download, then it works the way that I want. So that the media is available both as a web download and also as a torrent download.

The issue is that when a download is in progress, media that is available on the web server is incomplete.

I can manually close a torrent and manually move the media to a different location, then manually tell rtorrent to use the new location for the torrrent (^o)... but that is doing it manually... and if I need to do this with a large number of torrents, it takes a very long time.

I want to automate that so that I don't have to mess with it at all. A lot of other software such as utorrent and such can do this automatically, but it seems that feature is missing from rtorrent.

rtorrent does offer a scripting function in it's config file that can start a script on completion of a torrent file, however, I have not been able to figure out how to automaticaly stop a torrent seed, move the torrent media to a different location and then tell rtorrent the file is in the new location, then start up the torrent again. Moving a torrents associated media to a new location also initiates a hash check when the torrent is started.

I am not going to use different software. Since rtorrent is shell based and uses curses, it doesn't require GUI features. That saves something like 150 megs of memory for disk caching, etc. rtorrent kicks MUCH ass for this purpose and it uses a tiny amount of system resources.

I use screen with rtorrent so that it will run without having to be logged into the system.

I also need to limit the bandwidth on Apache so that people can download with the web if they absolutely must, but I would prefer that they used the torrent files. So, I would like to slow down their downloads quite a bit so that more bandwidth is used with rtorrent.

As with most Linux issues, there is more than one way to do something. The problem is, I can't even figure out one of those ways right now.

View 2 Replies View Related

Software :: Running X-Server From Remote Shell Session?

Apr 7, 2010

How do I obtain information about the running x-server from a remote shell session? I want to know things like resolution, color depth, etc. My xorg.conf is basically empty. The only thing I can think of doing is to read the Xorg.0.log file which seems inefficient.

I thought that 'xrandr' displayed some text output but that behavior has changed (?). It seems to require an X display. Is there another way? Something I could incorporate into a shell script? (This is Fedora but that shouldn't really matter)

View 1 Replies View Related

Networking :: Allow Remote Access To Server Running On User Account?

Jul 11, 2010

In the past, I've installed Internet services as daemons and as xinetd.d with no problems. Those approaches do not meet my needs. And, perhaps, nothing will.

- the service was converted from VB-6 to wxPython. It has a GUI which is accessed with either "remote desktop" or VNC.
- the wxPython service works on Windows and can be accessed from other hosts on my LAN
- the wxPython service works on CentOS and Fedora, but can only be accessed from within the server host. Even from other user-ids. But, I cannot get to it from other hosts.
- ipchains AKA firewall ports are marked for INPUT.
- The server host uses autologin to fire up a useid in group "user". I do not want it running as "root". the .bash_profile fires the service up.
- the service is heavily mult-threaded, and supports devices connected to serial ports asynchronously with the ephemeral port threads (all this works).

There are some programming solutions that I would rather not develop.
- a proxy service that runs under xinetd.d.
- separate the GUI code from the Internet and serial port code. Allocate a "control" port for remote GUI control. a'la SAMBA & SWAT

Is there any hope, that I can run it as is, by doing some network configuration stuff.

View 8 Replies View Related

Ubuntu Servers :: FTP From Server To Remote File Server?

Jul 6, 2010

I support a small business which runs a headless Ubuntu Server (10.04 32bit) as a file server which is accessed by Windows machines.Although the company has it's own back-up procedure they have decided to back-up some (none sensitive) files online. The have chosen FileFactory (http://www.filefactory.com/) as the host for this. FileFactory allows files to be uploaded to their server by FTP however I do not know how to set this up on the server.

The idea, if it is possible, is to connect to FileFactory through FTP and then synchronise the data using an Rsync command.I normally access the server through Webmin and it has vsFTP installed. I can access the company's server by FTP from inside and outside of the network so I know that vsFTP is working for incomming connections however I cannot work out how to configure it to connect to the FileFactory server.

View 3 Replies View Related

Ubuntu Networking :: Can't Access Work Remote Desktop Via The Terminal Server Client On Wired Box Running 10.10?

Dec 3, 2010

I am at a loss. I can not access my work remote desktop via the terminal server client on my wired box running Ubuntu 10.10. My wireless laptop is able to connect right away once I established the VPN connection. The VPN connection is established on both boxes with no problems.

When I tried the Terminal Server Client on my wired boxed, it says it can not establish a connection. Yet my wireless box gets connected immediately!

I check the /etc/dhcp3/dhclient.conf and the /etc/resolv.conf to see if there were any differences, but they are essentially the same. When I have the vpnc connection, they both recognize it and I am able to ping the IP address shown when I do a "ifconfig" on the terminal.

What can be the problem? Anything I need to configure on a wired computer versus a wireless one? What else can I check?

View 7 Replies View Related

Ubuntu Servers :: Tunnel To Remote NFS Server?

Jan 11, 2011

Does anyone know the best and simplest way to do this? I'd like the share to be mounted over the tunnel on boot with as little scripting as possible and be as secure as possible without exposing more than one port to the outside. I will be trying this method: [URL]... once the tunnel is established and 'always on' NFS would take care of the file system mount obviously. Lots of the information I have been reading is not up to date it seems. Does anyone have any experience with this?

View 1 Replies View Related

Ubuntu Servers :: Crypt And Upload To A Remote Server Through Ssh?

Jan 5, 2010

I have a compressed backup that I want to crypt and upload to a remote server through ssh once in a while. The problem is with the size, more than 4 GB. If the connection drops how does scp know to resume? This should be an automated process.

View 8 Replies View Related

Ubuntu Servers :: Cannot Shut Down Remote Machine / Server?

Mar 21, 2010

I am running a local webserver mainly for development. I have everything set up. The issue I currently have is that I cannot shut down the machine from the command line. I can issue the command but the machine remains on. I also cannot get to the desktop via VNC.The reason for this, is that there is no monitor attached so Ubuntu says that it is trying to run in Low Graphics Mode. I found this out as I plugged the monitor in to my server.So question is, how do I get around this? How can I set up Ubuntu to get past this, or do I need to install Ubuntu Server?

View 3 Replies View Related

Ubuntu Servers :: Remote GUI Server/Client With Sound

Sep 28, 2010

I am looking for a client/server application that can allow me to have remote GUI access (eg: VNC) but with the ability to use sound.

I see that TeamViewer has a linux application out now but for my company, it would compromise security protocol because it reaches out to the TeamViewer servers to do any work.

Basically, we have applications that require a GUI and we need to hear sounds from them if they throw an alert (the app is a monitoring tool).

We are running a VNC server on it currently and when our monitoring machine was on Windows, TightVNC was able to get the sound...that is not the case with any Linux client so I am wondering if there is actually one that exists.

View 3 Replies View Related

Ubuntu Servers :: SSH Server Connection OK For Local But Not For Remote Machine

Aug 14, 2010

I am having trouble to make my SSH server working with remote machine.

Code:
telnet 192.168.1.102 22

PHP Code:

[Code].....

View 9 Replies View Related

Ubuntu Servers :: Best Way To Remote Backup Of Its Server Disk(mounted)?

Dec 20, 2010

Is possible to backup disk(whole) on remote server which is mounted? If yes how,

View 2 Replies View Related

Ubuntu Servers :: Remote Backup Ftp Server With Confidential Data?

Feb 15, 2011

I already have an ubuntu backup server in my location and need this one server to be backed up remotely in another state. this other location is a helpdesk so there's a danger that they can gain access to confidential data. I'll be setting up this new server as an ftp server but need to set the ftp folder to only allow access to the backup server and me. Because its remote on the helpdesk side, they'll need some access to the file system but need to be completely blocked off from the ftp folder where all the data is at. How can I make sure I can keep them away from my data and still be able to retrieve or copy files over without permission issues between both servers?

View 9 Replies View Related

Server :: Gzip Log Files In Remote Servers?

Jun 7, 2011

I have limited access to several servers (key based auth) but cron facility is not available for me. Those servers getting filled up by large apache logs and I have to login to each node manually and clean them each and every day.

I tried to write a script to run from login box but when i try that it looks like it is looking for logs in the local server (login box).

So current situation is:

How can i modify this so that the script in server1 will look for files in that server and zip them?

Google showed another command called rsh but in my env it is also not avil.

View 5 Replies View Related

Ubuntu :: Firefox Keeps Freezing The Process Keeps Running?

Apr 23, 2010

Firefox keeps freezing.the process keeps running.I've uninstalled firefox, installed different versions, ie 3.6, 3.7 etc, I've removed my profile folder in my home directory.same results. I've ran firefox as a SU and I get this output from the terminal

(firefox-bin:28892): GLib-WARNING **: g_set_prgname() called multiple times
/home/josh/.gtkrc-2.0:2: error: scanner: unterminated string constant - e.g. `style'
(parent won, so we're not deferring)

[code]....

View 9 Replies View Related

Ubuntu Servers :: 9.10 Server - How To Setup Remote Desktop / VNC Via SSH + Command Line

Feb 21, 2010

I am playing around with the idea of being able to use a cloud or instance based service to install Ubuntu 9.10 Server. This will enable me to have remote access via SSH command line.So far, I've installed Ubuntu 9.10 Server + Ubuntu Desktop to a virtual machine. I can access this via SSH and locally via the desktop. However, in the real environment the only access I am going to have initially is via SSH.

I would like to be able to connect using Windows Remote Desktop or VNC (whichever is easier and most importantly - most secure) to the machine.. even though the desktop is on there, I need to somehow configure the remote access all from the command line.I've had a read of various forums and have been trawling support forums for days but can't find a working solution for 9.10 Server or that fits my situation above where I will not have any physical access to the desktop or machine to configure remote desktop. It all has to be done via SSH/command line.

View 4 Replies View Related

Ubuntu Servers :: 'aborted Connection' After Installing PEAR On Remote Server

Jun 30, 2010

I was trying to install PEAR on a remote Ubuntu server using putty. I ran an apt-get install php-pear command and everything went smoothly, but now i cannot access the website as it says 'can't establish a connection to the server' and in firebug, it shows the status 'aborted'. I even tried adding the pear path in php.ini file and restarting the apache server but no luck.

View 1 Replies View Related

Ubuntu Servers :: Setting Up Office With 1 Server / 1 Remote / 1 Local Client

Sep 22, 2010

I have a fast computer in my office and I want the person using the slow computer in the same office to boot up and see the login window (gdm) and log-in from there into the fast computer and be able to use their session on the fast computer the same time I am locally logged in to the fast computer as a different user and session.Is this best done through XDMCP? Where is a good tutorial on how to set this up?

View 9 Replies View Related

Ubuntu Servers :: Can't Connect To Server (file Or Remote Terminal) From Laptop

Jan 23, 2011

I have an ubuntu fileserver and an ubuntu laptop both running 10.10.For some reason I can't connect to the server (file or remote terminal) from the laptop, even though I can access ssh through terminal on my mac and have been able to mount the filesystem on another computer running the ubuntu liveCD. I just get the error 'no route to host'.I've tried turning off the firewall on the laptop and re-installing ssh on both computers, but I don't have a clue what to do next!

View 9 Replies View Related

Ubuntu Servers :: Remote Desktop Connection - Cannot Seem To Connect To Any Windows Server Via IP Address

May 5, 2011

I have a problem with my Terminal Server Client, I cannot seem to connect to any windows server via IP address. Can anyone please recommend any tool I could use to connect? I need to work on the server for admin interfaces example Admin Kits for workspace protection

View 9 Replies View Related

Server :: UCC SSL Cert Error - Key Values Missmatch - On Remote Servers

May 4, 2010

I have a Godaddy UCC (Multiple domain) certificate for the following domains:

example.com
upload1-example.com
upload2-example.com

The rsa was generated from example.com server using example.com as CN Common name.

GoDaddy's website adds the extra names to a CSR you provide, does the checks and grants the cert.

My problem is that whilst the certificate works fine on the server example.com (from which the csr was created), it comes up with two errors when restarting apache on remote servers.

1>> Certificate common name does not match server name
2>> SSL Library error - check private key:key missmatch.

I donn't understand how these keys could ever work as no reference to the private keys of the remote servers is ever used in creating the UCC certificate.

View 4 Replies View Related

Fedora Servers :: Able To Telnet To The Server Via A Remote Connection \ Will Not Accept Mail?

Feb 18, 2009

I am able to telnet to the server via a remote connection, but for some reason, it will not accept mail. ere is the bounce back email I am getting.Quote:This is the mail system at host smtp.mydomain.net.I'm sorry to have to inform you that your message could notbe delivered to one or more recipients. It's attached below.For further assistance, please send mail to postmaster.If you do so, please include this problem report. You candelete your own text from the attached returned message.The mail system

<root@mydomain.net>: temporary failure. Command output: pipe: fatal: pipe_command:
execvp /usr/bin/perlbin/vendor/spamc: No such file or directory
Reporting-MTA: dns; smtp.mydomain.net

[code]....

View 11 Replies View Related

Ubuntu Servers :: Set Up A FTP Server For Some Quite Some Time And Keep Running?

Oct 26, 2010

I've been trying to set up a FTP server for some quite some time and i keep running into problems. I'm trying to set it up via gadmin- proftpd but even with that i cant get it to run. Can anyone point me towards a good how-to or just help me out? I'm kinda new to Linux and this is my first go at servers so i really have no clue here.

View 9 Replies View Related

Ubuntu Servers :: Java Is Not Running In Server 10.10?

May 13, 2011

I am the new user of linux and installing eclipse IDE in the ubuntu server10.10. I have followed the steps given in the links http://www.cyberciti.biz/faq/howto-u...igure-jdk-jre/ andttp://eclipse.dzone.com/articles/ho...-33-ubuntu-710. After installing sun-java6-bin, sun-java6-jre and sun-java6-jdk, java is not running in my ubuntu server10.10. and got error like this

$ java -version
Error: could not open '/usr/lib/jvm/java-6-sun-1.6.0.21/jre/lib/i386/jvm.cfg'
$ javac -version

[code].....

View 7 Replies View Related

Ubuntu Servers :: Running A Gaming Server With Clouds?

Feb 14, 2010

Will this be a good idea clouding my servers and building a dedicate gaming server provider?

View 2 Replies View Related







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