October 31, 2014, 12:01:13 PM

News : LinuxSolved.com Linux Help Community Forum..

Recent Posts

Pages: 1 ... 8 9 [10]
Thanks dalek but I think I found the problem, it was limit imposed by hosting provider in some form of inodes..
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 »

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 ..
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..
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:



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. 

 :)    :)
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 ..
Linux Servers Support / iptables question.
« Last post by nondescriptcitizens on December 04, 2012, 02:48:42 AM »
I am setting up a new squid daemon to run on my server.  I want to make sure that everyone inside my network can access squid but I want to make sure everyone on the internet is blocked.

eth0 is connected to my internal LAN via:
eth1 is connected to the internet via:
Squid listens on port 3124

So far I have the following script for my iptables.

iptables -F
iptables -t nat -F
iptables -X
iptables -P FORWARD DROP
iptables -P INPUT DROP
iptables -A INPUT -p tcp --dport 3124 -j ACCEPT
iptables -A INPUT -p tcp --dport 22 -j ACCEPT
iptables -A INPUT -p tcp --dport 80 -j ACCEPT
iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT

Is this correct? Will this allow all my LAN users access to squid while blocking outward attempts from the net to my server?
Thanks in advance!

Linux Development & Programming / NDP : Duplicate packets send by Kernel
« Last post by newbie_aqs on November 27, 2012, 02:23:30 PM »
I have tried to develop and implement NDP(Neighbor Discovery Protocol) in Linux based PC's  refering RFC 4861.

I have created a  socket "socket (AF_INET6, SOCK_RAW, IPPROTO_IPV6)".  NS/NA packect (ipv6 header + icmpv6 header+options) are filled and send by developer itself .

In Wireshark,I have monitored that NS packet which I have filled is being send + Kernel sends NS packets of its own and receives NA packets.

So I am confused and stuck in my work. Can anyone please help and explain

1.why this duplicate packets generated by kernel of its own?

2.If kernal handles ICMPv6 packets, which is the scenario where NDP should be developed and implemented? 

Thanks in advance :)
Os Talk / Re: If linux is free why is Africa not using it
« Last post by dalek on November 27, 2012, 02:04:47 PM »
I have read where a lot of places in Africa uses Linux.  I have seen where people donate computers, recycled ones, to some of the poorer places and they generally have Linux on them.  It may not be popular where you live but it is in other places.  Linux is a great OS once a person gives it a fair try out.  Now if a person goes in with the intention to not like, odds are they won't.  Basically, Linux does what windoze does only better.  Most are free too.  You just download them and install.  They do take donations tho.

 :)    :)
Os Talk / Re: Why I am moving to linux
« Last post by dalek on November 27, 2012, 01:51:48 PM »
Since you are new to Linux, I would recommend Mandriva or Kubuntu.  Since you are switching from windoze, you should give the KDE desktop a try.  It is more like windoze.  You can get Kubuntu here:


Mandriva here:


I recently switched my brother from windoze to Kubuntu and it was pretty easy.  The install process for both are pretty close and GUI based.  Some distros are text based for the install.  Here is a link for Ubuntu based install:


Here is a howto for Mandriva:


I have not read through those guides but they should help.  As always, things can change but the basics are this, partition, configure and let it install.  If something doesn't work right, just google for the distro and add 'install howto'.  You should get plenty of links. 

Don't worry about some having a 2011 stamped on them.  That is just for the CD/DVD software.  Once you get the install done, you upgrade to the latest, just like windoze does. 

I have never installed anything Microsoft on my rigs.  I have been using Linux for a good long while.  It is nice to not have to worry about viruses and such.  I might also add, it runs better on older systems too.  My brothers rig had windoze XP on it.  It was getting really slow.  That was with the older OS.  I put a new Linux with KDE4 on it and it still runs faster plus the software is newer too. 

The only thing that needs to be addressed is modem and video cards.  Sometimes you have trouble with software based modems.  Also, sometimes you have to download video drivers manually and install them.  They usually have a step by step guide tho.  Generally, the install is the hardest part. 

Welcome to Linux. 

 :)    :)
Miscellaneous / Re: Diffrence between rpm, src.rpm, tar.gz, .Z, tgz, tar.bz2
« Last post by gazalovespells on November 27, 2012, 09:57:23 AM »
thanks a great explanation

Os Talk / If linux is free why is Africa not using it
« Last post by gazalovespells on November 27, 2012, 09:54:30 AM »
The constant cry in African countries like mine (South Africa) is that we are constantly crying that we dont have enough resources.

So why dont we just make use of the linux operating system, its free and it offers a better opportunity for discovery, learning and innovation than any other operating system.

Personally i am going to market Linux to all internet cafe's in South Africa as a solution to their perennial problems of viruses.

Just need a way to make some great windows softwares to run in Linux.
Pages: 1 ... 8 9 [10]