Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
hi,
I have installed samba 3.5.12 on my CentOS5.1.I have uninstall old samba files from my system using yum and download samba 3.5.12.After decompressing I took following steps
Code:
1- ./autogen.sh
2- ./configure
3- make
4- make isntall
Usually smb.conf file reside on /etc/samba/smb.conf or /usr/local/samba/lib/smb.conf but I does not find any smb.conf file after installation
Kindly guide me what should be the issue.
thanks,
gardenair
yes this means that you have not correctly installed the samba packages please re-install the samba packages by using rpm or yum with full dependencies.
#rpm -ivh <full path samba rpm stored>
OR
#yum install samba* -y
command.
Please read README manual given in that decompressed folder.
yes this means that you have not correctly installed the samba packages please re-install the samba packages by using rpm or yum with full dependencies.
#rpm -ivh <full path samba rpm stored>
OR
#yum install samba* -y
I believe rpm and yum, will only show results if the package was installed via these utilities. Since the OP compiled samba from source, rpm/yum dont know anything about it, and thus wont return any results.
OP, i would suggest firstly,
Code:
# updatedb && locate smb.conf
failing that, you may need to create it yourself.
try searching through the makefile for the config file location
Here I can see numbers of smb.cong file but these are not proper configurationsf file.
As you said
Code:
cd /path/to/makefile
grep "CONFIGFILE" makefile
I does not know where is the makefile path and it means
grep smb.cong makefile
these are not clear to me.
For more information about samba folder,after extracting the compress file it is now in /home . kindly just explain & guide me from the file output command
thanks,
gardenair
Here I can see numbers of smb.cong file but these are not proper configurations file.
The .rpmsave file above should be the one that was saved when you updated the RPM.
Quote:
As you said
Code:
cd /path/to/makefile
grep "CONFIGFILE" makefile
I does not know where is the makefile path and it means grep smb.cong makefile these are not clear to me. For more information about samba folder,after extracting the compress file it is now in /home. kindly just explain & guide me from the file output command
The makefile path is wherever you uncompressed the Samba software...that would be, THE PLACE WHERE THE MAKEFILE IS. And if you type in the grep command, it will FIND that in the makefile, and TELL YOU where the config file is.
If you're having problems with things like this, it would be far better if you upgraded using the "yum update samba" command, or by getting someone else at your site to do this. Why are you compiling Samba from source, rather than using the packages?? And don't you have a backup of your system, which would include that config file????
if you configure the prefix properly, the software will install in the correct place, but to test, you can use a different prefix like.
make install --prefix=somethingorother...
then you look in there to see where the file would have gone.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.