April 24, 2014, 04:43:08 AM

News : LinuxSolved.com Linux Help Community Forum..


Recent Posts

Pages: 1 ... 5 6 [7] 8 9 10
61
-z is now deprecated but I think I found the solution, I was just trying and it was indeed path issue. I gave it like ./directory-name (as it was in root of archive) and it did the job.
62
Ya, that was indeed misleading, I had plenty of gigs space available on the server and still that error.
Its resolved now.
63
Miscellaneous / Re: How to extract a single directory from tar archive using command line
« Last post by dalek on December 07, 2012, 07:05:25 AM »
I think it need to be like this:

Code: [Select]
tar -zxvf archive.tar mydirectorytoextract
You have the order correct but I think you may need the -z option.  Watch that -f tho.  When you use it, it has to be right before the file name, either as a separate option or on the end like you have them.  I ran into that a few times myself.  Also, I read somewhere that you have to put the path to the file you want to extract too.  If I backup /home and then want to extract /home/dale/Desktop then it would be -f /home/dale/Desktop for tar to find the file.  If -z doesn't help, try checking the path.  Maybe it needs that.

Hope that helps.

 :)    :)
64
Ah, that will do it to.  That error is sort of misleading isn't it?   ???

 :)    :)
65
Linux Servers Support / Re: iptables question.
« Last post by keen_prat on December 07, 2012, 06:53:30 AM »
As far as I know, you don't need to take all that trouble, in squid.conf  you can set it to listen to local IP only and thats it.
66
Linux Servers Support / Re: ftp between computers
« Last post by keen_prat on December 07, 2012, 06:52:23 AM »
I feel you can use rsync to synchronize both computer. It uses ssh , so on both computer ssh should be running, its really easy to use rsync and its very powerful.

Its used as :
rsync -r <source> <destination>

eg:
rsync -r filename username@192.168.1.2:/remote/diretory

So it will copy your "filename" file to remote computer's /remote/directory and next if you do rsync, it will only update changes so it not copy all content and should be very fast. This technique is used in servers to make backup and its actually real synchronization.
67
Thanks dalek but I think I found the problem, it was limit imposed by hosting provider in some form of inodes..
68
Miscellaneous / How to extract a single directory from tar archive using command line
« Last post by keen_prat on December 07, 2012, 06:44:28 AM »
Hi

I am dealing with some large files and I need to extract only particular directly using command line and I am doing it like following:

First I finding all files are there in the tar file ..
like
tar -tf archive.tar

then when I confirmed its there, I gave command

tar -xvf archive.tar mydirectorytoextract

But it is giving error that its not there in archive, I have used similar technique to extract file but directory is not extracting.. help please..
69
There is a difference between disk quotas and having disk space.  I have never used quotas before but from what I have read, it limits space based on a specific user or perhaps software.  Somewhere, there is a config file that tells how much space a user can use and you need to increase that.  Have a look at these two links:

http://www.howtoforge.com/forums/showthread.php?t=13284

https://www.isg.inf.ethz.ch/HelpHowToCheckQuotaLinux

It appears there is more than one software package that does this.  They also seem to have different commands.  You may have to find out what software you have installed to manage this before you can find out what commands to use. 

Hope this helps tho. 

 :)    :)
70
I am using virtualmin over webmin and today I suddenly saw this error.
Code: [Select]
Failed to open /etc/webmin/webmin/oscache for writing : Disk quota exceeded
I just can't do anything, everywhere this error is coming but form ssh I can see that there is lots of space available on my server. Please help me what to do here ..
Pages: 1 ... 5 6 [7] 8 9 10