October 24, 2014, 11:48:27 PM

News : LinuxSolved.com Linux Help Community Forum..


Recent Posts

Pages: 1 ... 6 7 [8] 9 10
71
Linux Servers Support / Re: What are Inodes and how to increase them?
« Last post by sumit1203 on December 19, 2012, 10:10:41 AM »
If you are keeping huge number of small files in your disks, this may one day cause running out of available inodes because of which even though you might have sufficient disk space, file system cannot create new files. Lets see how it works in my 1GB disk partition.

The parameter “-i” allows us to play with the number of inodes we can have in a partition. It is called “bytes-per-inode”. The bigger it is less number of inodes you will have. I have set a relatively big size “163840″ bytes per inode and the result is I have 6768 inodes. What this means indeed is I can’t create more than 6768 file.

In order to increase the number of inodes, format the partition again and specify the size.

#mkfs.ext3 -i 163840 /dev/sdb1

In order to check,use the command:
#df -i

72
Linux Servers Support / Re: Linux Remote Installation
« Last post by itguy on December 14, 2012, 02:09:07 PM »
check out how to configure PXE server in Linux environment...
http://redhatserverconfiguration.blogspot.in/2012/12/pxe-server-configuration_12.html
73
Forum Suggestion & News / Unexpected forum downtime
« Last post by LS-Admin on December 14, 2012, 10:20:04 AM »
Dear members,

Recently LinuxSolved.com was not available for few hours , it was due to problem in current server however issue has been resolved. We have moved forum to a new temporary server and will monitor how it works here, if it is good then will remain on this server. If you faces any issue then let us know.

Thank you!
Admin
LinuxSolved.com
74
I guess trouble are popping up with me a lot, here is the error I am facing on a cpanel based CentOS 6 server. It came up suddenly. On page I am seeing "500 internal server error"

Code: [Select]
Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@mydomain..com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache/2.2.21 (Unix) mod_ssl/2.2.21 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 Server at www.mydomain.com Port 80

I checked error log and found following errors..

Code: [Select]
[Fri Dec 07 14:58:07 2012] [error] [client 38.109.219.100] File does not exist: /home/keenp/public_html/500.shtml
[Fri Dec 07 14:58:07 2012] [error] [client 38.109.219.100] SoftException in Application.cpp:601: Directory "/home/keenp/public_html/keen" is writeable by group
[Fri Dec 07 14:58:07 2012] [error] [client 66.249.73.182] File does not exist: /home/keenp/public_html/500.shtml
[Fri Dec 07 14:58:07 2012] [error] [client 66.249.73.182] SoftException in Application.cpp:601: Directory "/home/keenp/public_html/keen" is writeable by group
[Fri Dec 07 14:58:02 2012] [error] [client 82.145.217.66] File does not exist: /home/keenp/public_html/500.shtml

I thought its because of .htaccess.. I completely removed it but still nothing happened, where could be the problem ?
75
Linux Servers Support / Re: What are Inodes and how to increase them?
« Last post by dalek on December 07, 2012, 07:57:35 AM »
You can't without recreating the file system.  Basically, you need to backup whatever is on that partition, reformat it and restore from backups. 

If you did not change the setting when you created the file system before, you need to use the -N option.  Make sure that N is capitalized too.  I have no idea on how to set that number tho.  I have never ran out of inodes but have read about this problem before.  This is one of those you don't want to have because it sneaks up on you.  Most people watch the space but never check on the inodes. 

You may want to check into other file systems too.  The extX family uses inodes but reiserfs doesn't and I think there are others that don't use inodes either. 

Oh, each time you create a file, the name of that file is on a inode.  So each file uses one inode for the name and where the file is located.  That's my understanding of it at least.

 :)    :)
76
Miscellaneous / Re: How to extract a single directory from tar archive using command line
« Last post by dalek on December 07, 2012, 07:26:07 AM »
Glad you got it working. 

 :)    :)
77
Linux Installation Support / Re: How to install iconv on Linux?
« Last post by keen_prat on December 07, 2012, 07:19:16 AM »
As per documentation :
Quote
This extension is enabled by default, although it may be disabled by compiling with --without-iconv .

The optional --with-iconv-dir directive is used to specify the location of iconv on the system that PHP is being compiled on, otherwise only the default locations are scanned.
So it is already available and if its not there you can install it yourself..  see itself:
http://www.gnu.org/software/libiconv/
78
Os Talk / Re: If linux is free why is Africa not using it
« Last post by keen_prat on December 07, 2012, 07:14:49 AM »
Because people are so much used to windows that they are hasitant to try to linux and people should understand Linux is not M$ windows.
79
Linux Servers Support / What are Inodes and how to increase them?
« Last post by keen_prat on December 07, 2012, 07:13:19 AM »
I recently ran into a problem and I have discussed it here
   
Failed to open /etc/webmin/webmin/oscache for writing : Disk quota exceeded


It turn out to be inodes limitation provided by host on this machine I am using, but what the heck this all inode is about, I had GBs of space free on that server and still because I ran out inodes limit, I was not able to use it

I get to know about inode usage by
df -i

But thats actually bad, anyways and how to increase them ?
80
-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.
Pages: 1 ... 6 7 [8] 9 10