Re: Copy one installation to another server - not working



Has anyone attempted this before? Should we also start with a new
installation? Can't we just copy whole directory to some other unix box
and shouldn't it start working? If I get an answer it compels me to
pressurize my admin to install c compiler on that unix box.

Sunil A V wrote:
Hi,

I have a properly installed and working DBI/DBD::Oracle on Sun Solaris Unix
box 'A'. While installing this, I had used INSTALLIBDIR option which created
all my lib and DBI.pm and DBD.pm in the directory I mentioned. I have
working perl programs using these DBI/DBD in the programs to connect and do
database stuff.

Now I have to install similar DBI/DBD in another Sun solris unix box 'B'. I
cannot install the modules fresh because /opt/SUNWspro cc is not
available/installed on that box. So I did a tar of whole lib directory in
Unix box 'A' and ftp-ed it to Unix box 'B' and untarrred into a directory.
Here, I have not executed any of commands like make, make install, etc as
there is no c compiler. Now in my perl program in box 'B' when I try to use
DBI it is giving
"Can't locate loadable object for module DBI in @INC (@INC contains: .."

I have proper path included as
BEGIN {unshift(@INC, "/opt/myapp/perlmods")} in my perl program

Will this kind of copy paste the installation on different unix box - does
not work? Please note both unix boxes are similar in charactersitics. All
permissions in all directories of "B' are 775. So that should not be a
problem.

Please let me know your inputs

Thanks
Sunil

------=_Part_23076_18444624.1156910149444--

.



Relevant Pages

  • A strategic question
    ... download and install the SP2 than to install Windows XP. ... As opposed to Linux and free BSD implementations of UNIX, ... I came to FreeBSD, with the idea that it had a more homogeneous quality ...
    (freebsd-questions)
  • Re: A strategic question
    ... download and install the SP2 than to install Windows XP. ... As opposed to Linux and free BSD implementations of UNIX, ... I came to FreeBSD, with the idea that it had a more homogeneous quality ...
    (freebsd-questions)
  • Re: A strategic question
    ... download and install the SP2 than to install Windows XP. ... As opposed to Linux and free BSD implementations of UNIX, ... I came to FreeBSD, with the idea that it had a more homogeneous quality ...
    (freebsd-questions)
  • Re: A strategic question
    ... I've never just solely used Unix based systems, but they hold the most interest for me. ... I still don't use Freebsd or Linux etc.... ... There are also some other BSD's that are supposedly easier to install and run. ... As opposed to Linux and free BSD implementations of UNIX, ...
    (freebsd-questions)
  • Re: How to become a System Administrator?
    ... Install, configure, change, upgrade, and remove software. ... Help users on performing tasks. ... The best bet for you would be to buy a couple of books on Unix. ...
    (comp.unix.admin)