Software :: Verify Directory On Remote System Available To Local System

May 5, 2009

The code listed below is an excerpt from a script that I am writing. The goal is to verify that a directory on a remote server is available to the local system. If that is not the case, a log file is written, and all filesystems that were previous unmounted, are remounted on the local system.

Code:
# # Unmount all NFS mounts prior to the archive process.
umount -a -t nfs
# Mount the remote directory (NFS) prior to running the make_net_recovery script.
# Make sure there is a <remote server> folder located in the /mnt directory. If it is
# not already there, create one.
mount <remote server>:/<local system> /mnt/<remote server>

# Verify the remote directory (NFS) is available. This directory is needed
# as it is the destination for the iso images. If it is not available, stop
# here, and write the results to a log file.
df |grep <remote server> > /dev/null
RC=$?
echo $RC

if [ ${RC} -eq 0 ]
then
echo successful
else
echo not successful >> /tmp/make_net_backup.log && mount -a
exit
fi
Is the syntax shown above correct?

View 1 Replies


ADVERTISEMENT

General :: Copy And Paste Between Local System And The Remote System When Using Rdesktop?

Dec 22, 2010

On Linux I do:

rdesktop remotepc

How do I copy and paste between my local system and the remote system?

View 1 Replies View Related

General :: FTP From Remote Host To Local System?

Sep 27, 2010

I'm using Windows XP. I'm connecting to a UNIX box using putty SHH(ksh). Now I want to copy a text file present in remote host to my local system.

View 5 Replies View Related

General :: Mounting A Local Windows CD Drive To A Remote System?

Jan 31, 2010

The situation is say all I have is a windows machine and I remotely connected via ssh to a Linux machine. Is there a way I can mount my local CD-rom on the remote Linux machine?

View 5 Replies View Related

Ubuntu Servers :: Disc Mirroring Between Local And Remote File System

Nov 5, 2010

Is there any software that will do full mirroring between a local and a remote file system. I have a server (9.04) and a laptop (9.10). Each user has shared a shared directory on the server, and on the laptop. Updates to files may be done on either system. I want to keep both copies syncronised. Currently I use a script based on rsync (scheduled by cron) to keep the local and remote copies in sync.

The problem with this approach is that rsync only seems to be able to handle deletion of files if one file system is the master, which is not the case in my set-up. If I move a file to a different directory, rsync will reinstate the old file as well as copying the new one. I was hoping there was some software that could do proper mirroring between the 2 systems, but6 so far I cannot find anything.

View 3 Replies View Related

General :: Make User In Remote LDAP Server To Be Used To Authenticate Local System?

May 13, 2010

How can I make the user in remote LDAP server to be used to authenticate Local Linux server ?

View 5 Replies View Related

Networking :: Does The Command "telnet" Works When Remote And Local Are Different Operating System?

Feb 12, 2009

Is it possible to log into a remote windows computer from my local linux computer and vice-versa using the "telnet" command?

View 2 Replies View Related

Security :: Need Remote System Hardening GUI Tool / Possible To Use It Windows System?

Jan 20, 2011

Which is the best remote linux hardening GUI tool.Is it possible to use that tool from windows system?

View 8 Replies View Related

Server :: How To Control Windows System Under System Like Active Directory Authentication

Jul 18, 2010

How to control a windows system by using linux server i know linux is a cross flatfarm. But how to Authenticate windows system like in windows we use AD for user authentication.

View 3 Replies View Related

General :: Setup Rsync To Backup A Remote Directory To Local Drive?

May 24, 2010

I'm trying to setup rsync to backup a remote directory to my local drive.

I cd to the directory that I want to pull the files to, then I enter:

rsync -vrtW account@remote.com:~/public_html

I enter the password then it starts running. I get all the files listed, but none of them actually transfer. What am I missing?

View 1 Replies View Related

Applications :: Scp Copy A Directory And Its Contents From A Remote Machine To Local Host

Oct 8, 2010

For the life of me I can not figure out what I am doing wrong with scp to copy a directory and its contents from a remote machine to my local host. I have no issues with getting a single file but would like to just save time and get the whole folder in one command.

Here is what I have tried:

scp user AT remoteMachine:/home/username/folderIwant user AT localMachine:/folderIwant this gives me a permission denied error and try again and received disconnect from localHost to many authentication failures

scp user AT remoteMachine:home/username/folderIwant . says can not find file or folder

I am sure this is something easy that I cant remember, and searches gives me local to remote not remote to local and trying to make the local to remote suggestions I read to work remote to local have not worked.

View 2 Replies View Related

Networking :: Can I Use NAT And Some Local Hosts Without It On System Box

Aug 7, 2010

I'm using NAT on an AP with linux. Is it possible to route an OUTGOING host not over NAT?

I'm using SNAT but could also use MAQUERADING I think. Because both are in POSTROUTING table and this table is the last one I don't think there is a solution or is there any solution?

Background:
I'm using a local VoIp client which I want to have an own ip for routing question in my network but don't want all other local machines as seperate ip's because if done so i.e. without NAT the routing table is very complicated ...

View 1 Replies View Related

Ubuntu :: System Clock Will Not Set To Local Time

Aug 15, 2010

Try as I might I cannot seem to get the system clock to display local time. It looks like it's stuck on GMT. In the System>Administration>Time and Date I have my local time zone set correctly and also set to update automatically with an appropriate time server selected. It still displays my local time +5 hours (I'm central time, USA).

View 6 Replies View Related

Networking :: Alarm On Local System If Link Gets Down

Mar 1, 2011

Actually, I have two ISP's internet connection on firewall. I want to use third party software on my workstation if any one link gets down, I got the alarm on local system. How to get an url for download any freeware software.

View 1 Replies View Related

Software :: Subversion On Local File System?

Jan 21, 2011

I have downloaded several service GUIs to support work with subversion; the most developed one is "kdesvn". I also tried some CVS surfaces. It is always the same problem: I cannot connect to a repository in the local file system. This is weird! The greatest use of versioning in my practice it to work local, and it should not be difficult to program streaming with local files (WinCVS allowed me to do this.)

View 5 Replies View Related

OpenSUSE Install :: Moving A Moderately Complex System From An Old System To A New System

Sep 25, 2010

My problem is that I need to move a moderately complex system from an old system to a new system. The old system is a core 2 duo running on an asus p5k-se (p35 chipset) M/B, Nvidia 8500 gt, 3 x sata II hard disks, 1 x sata dvd, 1 x ide hd, 4GB ram. It runs opensuse 11.1 kde 4 as a desktop system + samba server, apache server, database server + other non-opensuse software. In addition some of the opensuse software is not the default 11.1 versions as later versions were required. The nvidia driver is from the nvidia repo. There are several file systems, some under LVM.

The new system will be a core5 760, asus p7p55d-e M/b (p55 chipset), nvidia 240, 3 x sata II HD, 1 x sata dvd, 4GB ram and possibly 1 x ide HD. This M/B also includes USB 3 & sata III. I have no USB 3 devices but this may eventually change. I have no plans for sata III and believe that it may be better to attach any sata III SSD to the sata II bus.

What I would like to do is to move the hard disks from old system to the new system. What I would like to know is, if the system is left at 11.1, is the system likely to work with the new hardware. If the answer is no, if the system was upgraded to 11.3, would the transfer of the hard disks then work? In order to upgrade from 11.1 to 11.3 using the DVD i believe I should get rid of all non-default repos. I assume that I should also get rid of anything that was installed from them, e.g. the nvidia driver and any software versions installed manually outside RPM. Also is there any default 11.1 software that should be removed either before or after the upgrade to 11.3

View 4 Replies View Related

General :: Install Samba Server On System From My Local Pc?

Jan 5, 2010

I have been given a task to install samba server from my local PC in an another PC which is a linux server.The linux server is in my own comapny and i have been given its ip address and root login password.I dont know how to install that samba server from my own PC.

View 9 Replies View Related

Software :: Copy Files In Local System And Then Only It Is Opening

Jan 8, 2010

I have installed quanta plus software as i fount on net that quanta plus is nearest to dreamweaver.But now i am facing a problem in it as it is not able to open any php files which are located on another PC. Although my PC is connected to that PC in the network but still i have to copy those files in my local system and then only it is opening. But i want it to open directly.Is there any solution?

View 4 Replies View Related

Fedora Networking :: Cannot Ssh Into Remote System?

Jun 4, 2009

I have a computer that i set up for a friend, and tried to ssh into it for her to update it and add do maintenance for her, so that she doesn't get aggravated with trying to do it herself, but ssh hangs and times out. The firewall is set to allow ssh, and eth* is set as trusted by the firewall, and i have the correct ip, and the ssh service is running.

I can connect to my home computer from hers, which is setup the same way (in this regard), but not vice versa. She has no router; she is directly connected to the DSL modem.

View 14 Replies View Related

Ubuntu :: Getting Information About Remote System

Dec 31, 2010

I am trying to write a shell script which will give remote system version and list of installed applications and their versions as output. In this case remote system is windows xp and I have ip address, username and password of that machine.

View 2 Replies View Related

Installation :: How To Boot Remote System

Jan 7, 2010

How we can boot the system which is in remote place using our system? suppose if our system is in city A, and remote system is in city B which is far away eachother.

View 6 Replies View Related

Debian :: Set System Time To Local Region Using Tzselect Command

Jun 14, 2011

i have a debian 5 vps system.. it reports the time as beeing one hour behind, i have tried to change this by setting the time to GMT+1 and setting the time to my local region (Europe-Brittian) using the tzselect command but none get the time to the correct time, one hour ahead of the current time.

View 3 Replies View Related

Fedora :: Running Servers On Local System From The Command Line?

Oct 23, 2009

How would I find out what servers are running on my local system from the command line? I cannot find out how to accomplish this anywhere?

View 3 Replies View Related

Fedora :: How Many Packages Installed Through YUM Command Prompt In Local System

Apr 20, 2011

Recently I have installed FC 14, I need to know how many packages installed through YUM command prompt in local system.

View 2 Replies View Related

General :: Error /usr/local/atlas Is Read Only File System

Sep 9, 2010

I have a computer in the university and I have root access to this pc. Iam trying to install Cblas library on it. But it gives me a starnge error /usr/local/atlas is read only file system. I tried doing mount -l and it gave me that appserver1:/export/d1/Linux/doe on /usr/local type nfs4 (ro,sec=.......) I think what it means that the main server directory is mounted to /usr/local and it is read only. So, how can I fix this problem to separate the two and make my /usr/local separate

View 13 Replies View Related

General :: Enable The Remote Desktop In A Red Hat System?

Dec 6, 2010

How to enable the remote desktop in a Red Hat system?

View 4 Replies View Related

Ubuntu :: Remote Desktop Is Slow On System / Why Is So?

Jan 6, 2010

I have this network
desktop ultimate edition 2.4 (ubuntu 9.4)
laptop ubuntu 9.10
ethernet network
on ubuntu remote desktop is slow in general
on windows much faster !

is there anything special that I should do ?

View 5 Replies View Related

Ubuntu :: Remote Control Software For System?

Apr 29, 2010

I'm looking for something like Logmein or showmypc.comv

View 9 Replies View Related

Ubuntu :: Any Other Way To Access Any Remote Windows System

Feb 19, 2011

I am using ubuntu 10.10 netbook remix version. I want to access a remote computer outside my LAN which is running on Windows.I tried vinagre for the LAN but the result is that the client (running on windows) system goes logged off making the client completely unaware about what is going on with his system.Is there any other way to access any remote Windows system ans still the client able to see and interact while it has been accessed by ubuntu.

View 2 Replies View Related

Ubuntu :: Run A Remote Unix Session Using System?

Aug 2, 2011

At the moment I am using Hummingbird Exceed on a windows PC to display X windows from a Unix server. The actual Exceed tool I use is called 'hwm' which I believe is basically an pc based X Windows manager. I do not need to configure anything other than the client computer name, IP address and screen definition and the server will then allow a connection and display the X windows on the client. I was wondering if there is an equivalent application I can run using Ubunto as a client insted of a Windows PC?

View 1 Replies View Related







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