July 22, 2014, 07:05:28 PM

News : LinuxSolved.com Linux Help Community Forum..


Recent Posts

Pages: 1 ... 5 6 [7] 8 9 10
61
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 ?
62
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.

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

 :)    :)
64
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/
65
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.
66
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 ?
67
-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.
68
Ya, that was indeed misleading, I had plenty of gigs space available on the server and still that error.
Its resolved now.
69
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.

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

 :)    :)
Pages: 1 ... 5 6 [7] 8 9 10