Re: Copy one installation to another server - not working
- From: "Sunil" <sunilav@xxxxxxxxx>
- Date: 31 Aug 2006 09:31:32 -0700
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--
.
- References:
- Copy one installation to another server - not working
- From: Sunil A V
- Copy one installation to another server - not working
- Prev by Date: Encoding
- Previous by thread: Copy one installation to another server - not working
- Next by thread: Best practices - in memory database table
- Index(es):
Relevant Pages
|
|