October 09, 2015, 08:07:14 PM

News : LinuxSolved.com Linux Help Community Forum..

Recent Posts

Pages: 1 ... 8 9 [10]
Linux Servers Support / Re: Difference between major distros and why?
« Last post by dalek on January 06, 2013, 02:34:37 AM »
Each distro has some niche that is serves.  Some are bloated and want to be a drop in replacement for people switching from windows.  Some allow you to custom build everything from scratch.  Some are specifically for server or critical uses and others are trying to be bug free but move fairly quick with updates and point toward desktop uses. 

Redhat, mostly for servers but works for desktops too.  It is set up to be stable in a big way.  Less often updates but well tested and stable.  Also offers paid support if needed.

Mandriva, sort of like Redhat but not as stable and while it can be used for servers, it seems to be more desktop driven and the updates are faster. 

*ubuntu, designed for drop in replacement for people switching from windows.  I installed Kubuntu for my brother and he really can't tell much difference, other than no anti-virus. 

Gentoo, can be used for anything where you need serious control of the programs.  It can be used for servers or desktops depending how it is set up. 

The best place to read up on these is here:


You can click on hundreds of distros and sort of get a idea what each ones can be used for. 

 :)    :)
Linux Servers Support / Difference between major distros and why?
« Last post by brittocj on January 05, 2013, 06:04:26 PM »

What are difference between major server distros and what is the advantage?

Kernel (2.6) and bash (4.1) are same for Ubuntu and Red Hat only certain commands are different, file system structure is different and package manager ( deb and rpm) so which program makes this difference ? We cannot use yum and apt inter changeably, why?

thanks in advance.

Linux Servers Support / How to Map AD groups to Samba share
« Last post by sunnysthakur on January 04, 2013, 06:42:25 AM »
I am setup a samba share server which is authenticating from Active Directory.

I am able to access the share with AD user but not able to access when group defined in "valid users" parameters.

below are the steps i performed.

In smb.conf

workgroup = QASLABS
password server = WIN-60I6H2BG237.qaslabs.net
preferred master = no
security = ADS
idmap backend = ad
idmap uid = 100-20000000
idmap gid = 100-20000000
winbind separator = +
template shell = /bin/bash
winbind use default domain = true
winbind offline logon = false
preferred master = no
server string = Linux Test Machine
encrypt passwords = yes
log level = 3
log file = /var/log/samba/%m
max log size = 50
printcap name = cups
printing = cups
winbind enum users = yes
winbind enum groups = yes
winbind use default domain = yes
winbind nested groups = yes
netbios name = smbad
hosts allow =
passdb backend = tdbsam
template homedir = /home/%U
winbind nss info = rfc2307

[COLOR="RoyalBlue"]comment = Directory for storing Data
path= /opt/data
valid users = @NETWORK+itadmin NETWORK+testadmin
#valid users = @"QASLABS.NET\\itadmin"
writeable = yes
create mask = 775
directory mask = 775
hosts allow =[/COLOR]

In /etc/nsswitch.conf

passwd: files winbind
shadow: files winbind
group: files winbind
hosts: files dns wins
bootparams: nisplus [NOTFOUND=return] files
ethers: db files
netmasks: files
networks: files
protocols: db files
rpc: files
services: files
netgroup: files
publickey: nisplus
automount: files
aliases: files nisplus

On executing the wbinfo -u i am getting the user list from AD

[root@smbad ~]# wbinfo -u

On executing the wbinfo -u i am getting the user list from AD. But groups i created on AD is not displaying in this list [i.e itadmin]

[root@smbad ~]# wbinfo -g
domain computers
domain controllers
domain admins
domain users
domain guests
group policy creator owners
read-only domain controllers
cert publishers
ras and ias servers
allowed rodc password replication group
denied rodc password replication group
schema admins
enterprise admins
enterprise read-only domain controllers

Please help on how to map AD group to samba so that group permissions can be setup on samba
Linux Servers Support / FTP authenticate using LDAP
« Last post by zabidin2 on December 20, 2012, 05:51:56 AM »

My client required to access FTP and authenticate using LDAP. Server using Centos 5.2 64bit(ZIMBRA LDAP) and Centos 6.3 (FTP). Ftp server and LDAP server is a separate server. Still investigate what wrong because in /var/log/message it not show any complete error . Here is diagram.


Hope you guy here can give some hint.

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

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...
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!
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/ 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] File does not exist: /home/keenp/public_html/500.shtml
[Fri Dec 07 14:58:07 2012] [error] [client] SoftException in Application.cpp:601: Directory "/home/keenp/public_html/keen" is writeable by group
[Fri Dec 07 14:58:07 2012] [error] [client] File does not exist: /home/keenp/public_html/500.shtml
[Fri Dec 07 14:58:07 2012] [error] [client] SoftException in Application.cpp:601: Directory "/home/keenp/public_html/keen" is writeable by group
[Fri Dec 07 14:58:02 2012] [error] [client] 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 ?
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.

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

 :)    :)
Pages: 1 ... 8 9 [10]