05-09-2013
Quote:
Originally Posted by
rveri
I have seen earlier that patching causes the /etc/fstab to be empty , some cases like when updating VMware tool etc, also causes /etc/fstab to empty (not empty but I think it causes to something default),
-so in the implementation plan to put one line to keep a backup copy of the /etc/fstab before activity start , and to check and copy back original /etc/fstab before reboot.
Hope this helps..
Thanks
Yes, After doing yum udpate, I rebooted the system here i was not able to ping my system so i updated vmware tools .....but could not ssh .now........i tried again updating vmware tools this time it failed when i ran
./vmware-tools-disturb/vmware-install.pl -d options then i ran vmware-config-tools.pl and it worked fine ..........i took a reboot then i saw failed messages in console.........and fstab empty
any article where i can find more information on this or can check vmware tools log.....( i do not have much exp on vpshere )
Last edited by saurabh84g; 05-09-2013 at 03:35 PM..
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Is there any way, we can find files not empty? I know one can find empty files by using find with -size is equalled to 0.
Please let me know, how I can find files greater than 0 or any other size in number? (2 Replies)
Discussion started by: videsh77
2 Replies
2. UNIX for Dummies Questions & Answers
hi all:
my solaris FIND does not support
find myFolder -type d -empty
how can i find the empty folders?
thanks! (7 Replies)
Discussion started by: lasse
7 Replies
3. UNIX for Dummies Questions & Answers
Hey there!
I try to use 'find' to remove empty directories like this:
find . -depth -type d -empty -exec rm -rf {} ';'
It works just fine, but there are some directories i want to exclude.
So i tried to do sth like this:
find . -depth -type d -empty -exec grep -v "not this one please" -exec... (5 Replies)
Discussion started by: deTTo
5 Replies
4. Shell Programming and Scripting
In current folder, there are many subfolders, subfolder's subfolders... under it.
How can I find out the empty folders with no files in it.
I only need the top folder list.
For example,
I have folders like below:
a/b/c
a/b/x/x.txt
a/s
a/s/y
I need get the folder a/s, but not... (6 Replies)
Discussion started by: rdcwayx
6 Replies
5. Shell Programming and Scripting
Hello, I'm submitting this thread, because I was looking a way to delete empty directories using find and I found a thread from 2007 that helped me. I have worked from that threat, but I found that the command sent would analyze original directory and may delete it to. I have come up with expanded... (3 Replies)
Discussion started by: lramirev
3 Replies
6. Solaris
I'm trying to install the latest patch cluster on a server running 05/08 (it's a Sunfire v240). When installing, the patch cluster dies at patch 138195-04. Looking at the failure log, here is what it says:
baspeans01:/home/10_Recommended# more /var/tmp/138195-04.log.16544
This appears to be... (2 Replies)
Discussion started by: msarro
2 Replies
7. Homework & Coursework Questions
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
Need to make a script, to remove all empty files and folders from current category.
It also should show the name... (2 Replies)
Discussion started by: Itixop
2 Replies
8. UNIX for Dummies Questions & Answers
How can I recursively find all files in a directory and print out the file and first line number of any text blocks that match the below cases?
This would seem to involve find, xargs, *grep, regex, etc.
In summary, I want to find so-called empty "try-catch blocks" that do not contain code... (0 Replies)
Discussion started by: lifechamp
0 Replies
9. Shell Programming and Scripting
Hello,
I am trying to write a unix cmd , that if files in folder /path/FTP are all zero kb or empty then good to go, if not empty then sleep for 8 hrs.
Following cmd list me the files which are not empty, But when I am incorporating IF ELSE cmd fails
find /path/FTP. -type f -exec wc -l {}... (6 Replies)
Discussion started by: bluestarmoon
6 Replies
10. UNIX for Dummies Questions & Answers
when I run the following command in AIX (bash),
find ./*
I get the following error.
find: bad status-- ./*
Thats becasuse, its an empty directory. The same works, when there the directory is not empty. Even though the find deesnt have to rerun any result.
My full find command would look... (4 Replies)
Discussion started by: deepakwins
4 Replies
LEARN ABOUT DEBIAN
libvmtools