Click to See Complete Forum and Search --> : samba and red hat 8
daman2k
02-26-2003, 11:12 AM
ok im new to linux this is my first install of red hat 8 / athlon xp2000/ dual booted wid win xp/ 256 ddr/ 60gb hd. ok, i managed to install my frist set of software last night which was the counterstrike server, now i want to install samba so i can get on to my windows work groups, i tried downloadin the tar.gz and installing from the terminal window but it stops working once i get to the ./configure command, so i downloaded the rpm's install em but dont have a clue? help please
daman2k
02-26-2003, 01:01 PM
ok im makin progress i used the rpm installer but im gettin this message
samba-common = 2.2.7a is needed by (installed) samba-2.2.7a-1
daman2k
02-26-2003, 01:10 PM
aslo this
error: cannot get exclusive lock on /var/lib/rpm/Packages
error: cannot open Packages index using db3 - Operation not permitted (1)
error: cannot open Packages database in /var/lib/rpm
daman2k
02-26-2003, 01:18 PM
somebody help me please :confused: :( :( :( :( :confused:
doublec16
02-26-2003, 04:21 PM
You possibly already have samba installed. Look for the /etc/smb.conf file. If you have then samba is already on your machine. You just have to edit the conf file to get it working.
daman2k
02-26-2003, 06:02 PM
mate its there:) :D but it wont let me edit the samba config file cos it is read only
Icarus
02-26-2003, 06:15 PM
What are you using to edit the file (also be root to make the change)?
I found the samba-HOWTO at www.tldp.org to be very helpful with more information on it then you'll ever want to know :)
error: cannot get exclusive lock on /var/lib/rpm/Packages
Means that the RPM database is in use and you can't install to it until the other process is finished (Ximian's Red Carpet puts an exclusive lock on the DB until it's exited)
PS I deleted your duplicate post on this for you ;)
daman2k
02-26-2003, 06:52 PM
please see my post samba config
elderdays
02-26-2003, 06:58 PM
It said?:
"samba-common = 2.2.7a is needed by (installed) samba-2.2.7a-1"
Did you install it? Sounds like a dependency is part of the problem.
z0mbix
02-26-2003, 07:57 PM
Originally posted by daman2k
aslo this
error: cannot get exclusive lock on /var/lib/rpm/Packages
error: cannot open Packages index using db3 - Operation not permitted (1)
error: cannot open Packages database in /var/lib/rpm
This just means you are not root and the other problem is that you are trying to install a version of the samba package that does not match the samba-common package. In other words if you install samba-common-2.2.7a, then you need to install samba-2.2.7a. Once you have done that samba will install fine. To see what samba packages you have installed already type rpm -qa | grep samba
daman2k
02-26-2003, 08:01 PM
samba is now installed thats for all ur help. please see my post samba config