Solved

Installing Samba on Aix 5.1?

Posted on 2006-06-27
11
1,372 Views
Last Modified: 2013-11-17
I need to share files between an Aix and Windows server.  I've found a document on IBM's site that mentions that Samba can be optained in the Aix installp format and that this is the easiest way to install Samba.
The doc has a link that's no longer valid to www-frec.bull.com.  Does anyone know where I can find this Samba installp package the doc mentions?
0
Comment
Question by:Westez
  • 5
  • 4
  • 2
11 Comments
 
LVL 61

Assisted Solution

by:gheist
gheist earned 125 total points
Comment Utility
www.bullfreeware.com (3.0.4 for 5.2 works)

or install rpm from
http://www-03.ibm.com/servers/aix/products/aixos/linux/


Before doing any of these make sureyou have perl.rte installed on system.
aix.tools from bff is very useful.
0
 
LVL 4

Accepted Solution

by:
JulieBouillon earned 125 total points
Comment Utility
Hi,

You could also have newer version already compiled from
http://aixpdslib.seas.ucla.edu/packages/samba.html

These packages are not in installp compatible format but instead are compressed tar files.
The installation can be done with the following command (assuming you are connected as root and in /):
zcat <downloaded file> | tar xf -

You will then have samba installed in /usr/local
0
 

Author Comment

by:Westez
Comment Utility
Thanks, how do I confirm that it's installed? perl -v returns v5.8.0 and I find perl.rte in /usr/lpp.  I found a doc on google that says it's automatically installed with v5.3.  Is this true for v5.1 also?
0
 
LVL 61

Expert Comment

by:gheist
Comment Utility
Versions differ, but yes.
You can uninstall that install another perl and break stuff. Very seriously on 4.3.3
0
 

Author Comment

by:Westez
Comment Utility
Gheist, many thanks for your comments.  I think I'll just leave what's on there alone and give the Samba install a go.
0
Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

 
LVL 61

Expert Comment

by:gheist
Comment Utility
You can use bffcreate from bullferrware to get aixpdslib packages uninstallable.
0
 

Author Comment

by:Westez
Comment Utility
Julie - that command isn't working for me.  I've tried a couple of different things, but I'm still struggling.  
# zcat samba.3.0.21.tar.Z | tar xf-
tar: 0511-172 Specify a file name with the -f flag.
Usage: tar -{c|r|t|u|x} [-BdFhilmopsvw]
           [-Number] [-fFile]
           [-bBlocks] [-S [Feet] [Feet @Density] [Blocksb]]
           [-LInputList] [-NBlocks] [-C Directory] File ...
# zcat samba.3.0.21.tar.Z | tar xf- samba
tar: samba: A file or directory in the path name does not exist.
# zcat samba.3.0.21.tar.Z | tar xf- samba.3.0.21.tar.Z
tar: 0511-169 A directory checksum error on media; 0 not equal to 50529.
# zcat samba.3.0.21.tar.Z | tar xf- samba.3.0.21.tar
tar: samba.3.0.21.tar: A file or directory in the path name does not exist.
#

Gheist - >>You can use bffcreate from bullferrware to get aixpdslib packages uninstallable.
I don't understand what you mean.
0
 

Author Comment

by:Westez
Comment Utility
What's the proper protocol on something like this?  You guys answered my original question.  Should I open up another question and offer points?
0
 
LVL 4

Expert Comment

by:JulieBouillon
Comment Utility
> # zcat samba.3.0.21.tar.Z | tar xf-
> tar: 0511-172 Specify a file name with the -f flag.
> Usage: tar -{c|r|t|u|x} [-BdFhilmopsvw]
>            [-Number] [-fFile]
>            [-bBlocks] [-S [Feet] [Feet @Density] [Blocksb]]
>            [-LInputList] [-NBlocks] [-C Directory] File ...

There is a space between xf and -
The explanation is that zcat uncompress samba.3.0.21.tar.Z to stdout which is redirecte with the pipe to the tar command. In the tar command the dash at the end of the command (with a space before it) tells that the input file is in fact stdin.
0
 
LVL 61

Expert Comment

by:gheist
Comment Utility
gzip -cd samba.tar.gz | tar xf -
0
 

Author Comment

by:Westez
Comment Utility
Thanks guys.  I'm going to open up another question on the samba install.
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

When you do backups in the Solaris Operating System, the file system must be inactive. Otherwise, the output may be inconsistent. A file system is inactive when it's unmounted or it's write-locked by the operating system. Although the fssnap utility…
My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now