Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Installing Samba

0 views
Skip to first unread message

ricky

unread,
Mar 6, 2003, 1:06:37 PM3/6/03
to
Hello. I am new to the unix world and have been asked by my boss to
install samba on our internal unix system. This is a IBM Netserver
with SCO Openserver 5.06 installed on it. I have been going by an
instruction list of how to install samba that I found on the net.
Well after extracting all the files from the samba.latest.gz with
gunzip and then extracting those with the tar command it told me to
cd to the source directory and run the ./configure. So when I ran
this I got this error:

loading cache ./config.cache
checking for gcc... gcc
checking whether the C compiler (gcc -O ) works... no
configure: error: installation or configuration problem: C compiler
cannot create executables.

I believe that the GNU compiler is installed which is what the
instructions told me I have to have to run this. When I look at
custom under SCO Skunkware is see these listed :
│ GNU Cpio
│ * │
││ GNU file management utilities
│ │
││ GNU Find Utilities
│ │
││ GNU Interactive Tools
GNU Tar

So wha else am I missing? PLease help.

ricky,
rweb...@btmsolutions.com

Scott McMillan

unread,
Mar 6, 2003, 2:22:54 PM3/6/03
to

If you don't need to change the source for your particular
installation, the precompiled VOL files should get you on your way -
See http://stage.caldera.com/cgi-bin/ssl_reference?119043


Scott McMillan

ricky

unread,
Mar 6, 2003, 5:22:37 PM3/6/03
to
I noticed that on that reference page that is said I would be ok if
the ./configure went ok but the make install did not however I cannot
get the ./configure to fun. How can I make sure my compiler is
working is there another way to install samba?


Scott McMillan <sm...@usa.net> wrote in message news:<dl6f6vgolm5012fk5...@4ax.com>...

Doug Robinson

unread,
Mar 6, 2003, 6:37:27 PM3/6/03
to
Ricky;
Sorry to top post, but for some reason PAN won't add to the bottom of
my page. You are doing way to much work. Go to the Skunkworks site on
SCO and download Samba in 'Custom' format. Install it as any other SCO
feature on the system using custom. Its binary after all and then head
over to Border's for a Samba book to set up the features. Ours is just
as you have described, IBM server and all. Works fine. (After you figure
out about the encoded password probs in Windoze).....fdr

ftp://ftp2.caldera.com/pub/skunkware/samba/

ricky

unread,
Mar 6, 2003, 11:09:18 PM3/6/03
to
Doug Robinson <f...@mytemyke.com> wrote in message news:<pan.2003.03.06.18...@mytemyke.com>...

> Ricky;
> Sorry to top post, but for some reason PAN won't add to the bottom of
> my page. You are doing way to much work. Go to the Skunkworks site on
> SCO and download Samba in 'Custom' format. Install it as any other SCO
> feature on the system using custom. Its binary after all and then head
> over to Border's for a Samba book to set up the features. Ours is just
> as you have described, IBM server and all. Works fine. (After you figure
> out about the encoded password probs in Windoze).....fdr
>
> ftp://ftp2.caldera.com/pub/skunkware/samba/
>


Well I went to that ftp sight that you gave me the link to and I saw a
samba.html; so I went to it and found a link for openserver and
followed it which brought me to this sight :
ftp://ftp2.caldera.com/pub/skunkware/osr5/net/samba/

Now, how do I know which one of these are in 'Custom' format? THey
all look the same as what I originally donwnloaded or am I missing
something. Do i just chose one of them and extract the files and then
run custom and install from media images with the VOLS it extracts?
Can someone recomend to me which one from this site to download or
even tell me if I followed the right links? And then how to install
once downloaded? THanks for your help..

ricky
rweb...@btmsolutions.com

moncho

unread,
Mar 7, 2003, 6:11:36 AM3/7/03
to
<snip>

> Well I went to that ftp sight that you gave me the link to and I saw a
> samba.html; so I went to it and found a link for openserver and
> followed it which brought me to this sight :
> ftp://ftp2.caldera.com/pub/skunkware/osr5/net/samba/
>
> Now, how do I know which one of these are in 'Custom' format? THey
> all look the same as what I originally donwnloaded or am I missing
> something. Do i just chose one of them and extract the files and then
> run custom and install from media images with the VOLS it extracts?
> Can someone recomend to me which one from this site to download or
> even tell me if I followed the right links? And then how to install
> once downloaded? THanks for your help..

Download the samba-2.2.6-VOLS.tar file to /tmp on the
sco machine.

tar xvf samba*.tar
go into custom and install the software from a media image and select the
/tmp directory.
( Somebody may have a way to do this from a
prompt but I do not know the command)

That is about it.

moncho


Scott McMillan

unread,
Mar 7, 2003, 8:42:32 AM3/7/03
to

You're in the right area at
ftp://ftp2.caldera.com/pub/skunkware/osr5/net/samba/.

Grab the samba-2.2.6-VOLS.tar file, place it into your /tmp directory,
and extract it with 'tar xvf samba-2.2.6-VOLS.tar'. Now run custom ->
Software -> Install new and select media images. Point custom to the
/tmp directory, and off you go.


Scott McMillan

ricky

unread,
Mar 7, 2003, 9:50:29 PM3/7/03
to
Scott McMillan <sm...@usa.net> wrote in message news:<b68h6v0jgu5bsjdig...@4ax.com>...

Ok thanks for the help guys. I start that install on monday morning.
I downloaded a lot of other into a /usr/local/samba directory and want
to delete that directory. However if I do a rmdir /directoty/name it
comes back that the directory is not empty. Is there anyway to make
it delete everything in that directory even though it is not empty.
Or do I have to delete all the contents of every folder and then do a
rmdir? Thanks again.
ricky
rweb...@btmsolutions.com

to...@aplawrence.com

unread,
Mar 8, 2003, 3:59:23 AM3/8/03
to
ricky <rweb...@btmsolutions.com> wrote:

: Ok thanks for the help guys. I start that install on monday morning.

: I downloaded a lot of other into a /usr/local/samba directory and want
: to delete that directory. However if I do a rmdir /directoty/name it
: comes back that the directory is not empty. Is there anyway to make
: it delete everything in that directory even though it is not empty.
: Or do I have to delete all the contents of every folder and then do a
: rmdir? Thanks again.

Wrong command.

rm -r /usr/local/samba

See http://aplawrence.com/newtounix.html

--
to...@aplawrence.com Unix/Linux resources: http://aplawrence.com
Inexpensive phone/email support
Download Free SCO Skills Test: http://pcunix.com/skilltests.html

ricky

unread,
Mar 11, 2003, 8:45:18 AM3/11/03
to
to...@aplawrence.com wrote in message news:<b4cbdb$pc7$1...@pcls4.std.com>...

Well things are going much better now. I got it installed and ran the
setup program that asked me my workgroup name and so forth and that
created my smb.conf file. Now if I go directly to the directory where
smbd and nmbd are I can start them with ./nmbd ./smbd -D. Well I was
wondering why if Itype in smb stop or smb start it tells me that smbd
is not found? Also how do I go about getting this setup to administer
this via a web browser, i have heard several people talking about it.
Thanks.

ricky
rweb...@btmsolutions.com

Brian K. White

unread,
Mar 11, 2003, 10:24:35 PM3/11/03
to
rweb...@btmsolutions.com (ricky) wrote in message news:<e6a2e802.03031...@posting.google.com>...

Who ever said to do that?

run:
/etc/init.d/samba enable
to set up the rc script so that samba gets started along with
everything else at every boot.

after that (or any time you want) you can also run:
/etc/init.d/samba start
to start it up now (no need to reboot), and
/etc/init.d/samba stop
to shut it down if for some reason you want to.

To enable SWAT:

add this line to /etc/services:
swat 901/tcp # Samba Web Administration Tool

add this line to /etc/inetd.conf:
swat stream tcp nowait root /usr/local/samba/sbin/swat swat

run:
/etc/tcp stop
/etc/tcp start

now swat is enabled.
to use it point a web browser to
http://unixbox:901/

where "unixbox" could be "localhost" or "127.0.0.1"
if you were using netscape in X right on the console
(hit Alt-F2, if it's just an ordinary text login then you
can flip back to whatever terminal you were using,
Alt-F1 or whatever, and run "scologin enable"
then try Alt-F2 again, or just run "startx")

or you could just as easily use any pc on the lan and "unixbox" is
whatever the unix box's ip is.

ricky

unread,
Mar 17, 2003, 9:51:32 AM3/17/03
to
br...@aljex.com (Brian K. White) wrote in message news:<60bd4c6b.03031...@posting.google.com>...

Ok thanks for the help again, SWAT is now working great. This was all
practice for me to go and install this at a customers sight. I went
up there and ran into this error message during installation.

"Cat: cannot open /etc/inietd.pid: no such File or Directory (error
2)"
Kill [-H Hostname] [-s signal_name| -signal_num| -signal_name] pid ...
Kill -l [exit_status]
Press enter to continue

However it thens continues after hitting enter and says installation
comlete. So I configured the smb.conf file and then went to start
smbd & nmbd and it looked like it took the command but did nothing.
If I do a listing for processes with mbd it shows nothing. After
playing with it a little more, I realized that there was not even a
NIC card in the system. Would that of caused all of these errors. I
am going to install a NIC card this week and want to make sure that is
what the problem is, or figure out what is is before I make the 3 hour
trip again. Thanks for your help.

Ricky,
rweb...@btmsolutions.com

Scott McMillan

unread,
Mar 17, 2003, 12:11:01 PM3/17/03
to
On 17 Mar 2003 06:51:32 -0800, rweb...@btmsolutions.com (ricky)
wrote:

Well, now you could be in for fun. Sounds like your client has the
Host version of OSR5 installed (meaning no networking). Run 'custom',
and look for the line similar to:

SCO OpenServer XXX System (ver 5.0.6j)

where XXX is probably Host. If this is the case, they would need to
upgrade to the Enterprise version.


Scott McMillan

0 new messages