<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Determining the current working directory in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/determining-the-current-working-directory/m-p/2572128#M30690</link>
    <description>Is it possible that what they mean by target is the location of the software to be installed.  Are you by chance cd'ed into the cdrom dir when you launch the program?  I know its a long shot, but just a thought.&lt;BR /&gt;&lt;BR /&gt;Good luck&lt;BR /&gt;Chris</description>
    <pubDate>Wed, 29 Aug 2001 14:30:30 GMT</pubDate>
    <dc:creator>Christopher McCray_1</dc:creator>
    <dc:date>2001-08-29T14:30:30Z</dc:date>
    <item>
      <title>Determining the current working directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/determining-the-current-working-directory/m-p/2572127#M30689</link>
      <description>I am working with a database vendor to resolve an  installation problem.  I'm trying to install database software from a CD to a target directory, logging in as root on an HP-UX 11 system.  I run an install program from the CD to guide me through the process.  However it errors out, saying my target directory cannot be my current working directory, but I know they are not the same.  As a matter of fact, if I specify any exisiting directory as the target directory, it errors out.  If I specify a non-existant directory, it accepts but obviously I cannot install to it.  Can anyone give a clue as to what might be happening?  How is the current working directory determined?  Is there something different about HP-UX 11?  TIA.</description>
      <pubDate>Wed, 29 Aug 2001 14:20:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/determining-the-current-working-directory/m-p/2572127#M30689</guid>
      <dc:creator>Ed Hon</dc:creator>
      <dc:date>2001-08-29T14:20:07Z</dc:date>
    </item>
    <item>
      <title>Re: Determining the current working directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/determining-the-current-working-directory/m-p/2572128#M30690</link>
      <description>Is it possible that what they mean by target is the location of the software to be installed.  Are you by chance cd'ed into the cdrom dir when you launch the program?  I know its a long shot, but just a thought.&lt;BR /&gt;&lt;BR /&gt;Good luck&lt;BR /&gt;Chris</description>
      <pubDate>Wed, 29 Aug 2001 14:30:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/determining-the-current-working-directory/m-p/2572128#M30690</guid>
      <dc:creator>Christopher McCray_1</dc:creator>
      <dc:date>2001-08-29T14:30:30Z</dc:date>
    </item>
    <item>
      <title>Re: Determining the current working directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/determining-the-current-working-directory/m-p/2572129#M30691</link>
      <description>Hi&lt;BR /&gt;   I am not sure what database you are installing, but if it's oracle you have to set the ORACLE home and path variables to run the installation.&lt;BR /&gt;&lt;BR /&gt;...BPK...&lt;BR /&gt;</description>
      <pubDate>Wed, 29 Aug 2001 14:37:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/determining-the-current-working-directory/m-p/2572129#M30691</guid>
      <dc:creator>Praveen Bezawada</dc:creator>
      <dc:date>2001-08-29T14:37:59Z</dc:date>
    </item>
    <item>
      <title>Re: Determining the current working directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/determining-the-current-working-directory/m-p/2572130#M30692</link>
      <description>Hi Ed,&lt;BR /&gt;&lt;BR /&gt;Perhaps the installation process is installing where you are when issuing the installation process ( by dowing a pwd command ).&lt;BR /&gt;&lt;BR /&gt;So if you do a change dir on the cdrom to launch the install process, this would result on errors.&lt;BR /&gt;&lt;BR /&gt;1.You better change to the directory where you want to install and launch the install process by giving the absolute path from root dir "/".  &lt;BR /&gt;&lt;BR /&gt;2. Or, change dir to /tmp and absolute path launch of the install process giving the target directory ( which is different from /tmp of course ).&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Magdi</description>
      <pubDate>Wed, 29 Aug 2001 14:40:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/determining-the-current-working-directory/m-p/2572130#M30692</guid>
      <dc:creator>Magdi KAMAL</dc:creator>
      <dc:date>2001-08-29T14:40:28Z</dc:date>
    </item>
    <item>
      <title>Re: Determining the current working directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/determining-the-current-working-directory/m-p/2572131#M30693</link>
      <description>Hi Ed,&lt;BR /&gt;&lt;BR /&gt;Is it possible that it tries to create the directory where you specify the database to be installed, and fails if it is unable to create the directory. In that case it will fail with errors if you specify an existing directory or roor (/) to install the Database. &lt;BR /&gt;&lt;BR /&gt;Can you post the error you are receiving when you specify an existing directory to install the database. What database is it anyway?. &lt;BR /&gt;&lt;BR /&gt;Hope this helps&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;</description>
      <pubDate>Wed, 29 Aug 2001 15:50:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/determining-the-current-working-directory/m-p/2572131#M30693</guid>
      <dc:creator>Sanjay_6</dc:creator>
      <dc:date>2001-08-29T15:50:15Z</dc:date>
    </item>
    <item>
      <title>Re: Determining the current working directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/determining-the-current-working-directory/m-p/2572132#M30694</link>
      <description>If it is really giving a problem about current working directory, you can fool it by manually setting the variable. I don't know if this works for you but you can give it a try.&lt;BR /&gt;&lt;BR /&gt;#PWD=Your Directory&lt;BR /&gt;#export PWD&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Wed, 29 Aug 2001 17:07:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/determining-the-current-working-directory/m-p/2572132#M30694</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2001-08-29T17:07:29Z</dc:date>
    </item>
    <item>
      <title>Re: Determining the current working directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/determining-the-current-working-directory/m-p/2572133#M30695</link>
      <description>Thanks for all the replies.  The database is Progress.  The target directory is the directory where the database software is to be installed.  In may case it is a file system mounted at /usr/dlc .  The installation CD is mounted at mount point /cdrom.  I start the installation by first doing a cd /tmp, then running the installation program with /cdrom/proinst .  I have also done a cd / , but it still gives the same error.  The error message from the installation program is&lt;BR /&gt;&lt;BR /&gt;ERROR:  The destination directory cannot be the current working directory.&lt;BR /&gt;&lt;BR /&gt;(Destination directory = target installation directory)&lt;BR /&gt;&lt;BR /&gt;There are no environment variables to set, based on the installation instructions.  I tried export PWD="/tmp" then running the install program all in the same script, but that didn't work either.  Any more suggestions would be appreciated.</description>
      <pubDate>Thu, 30 Aug 2001 12:38:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/determining-the-current-working-directory/m-p/2572133#M30695</guid>
      <dc:creator>Ed Hon</dc:creator>
      <dc:date>2001-08-30T12:38:44Z</dc:date>
    </item>
    <item>
      <title>Re: Determining the current working directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/determining-the-current-working-directory/m-p/2572134#M30696</link>
      <description>I find the problem occurs, when I try to install to the root directory of a file system, such as /usr1.  If I install further down in the directory structure, such as /usr1/usr2, it is OK.  Puzzling.</description>
      <pubDate>Fri, 31 Aug 2001 14:29:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/determining-the-current-working-directory/m-p/2572134#M30696</guid>
      <dc:creator>Ed Hon</dc:creator>
      <dc:date>2001-08-31T14:29:56Z</dc:date>
    </item>
    <item>
      <title>Re: Determining the current working directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/determining-the-current-working-directory/m-p/2572135#M30697</link>
      <description>Check the permissions on the mount-point directory.&lt;BR /&gt;I've seen problems relating to the current working directory if the permissions didn't allow the user to access the directory. Of course this only became apparent when the filesystem was unmounted.&lt;BR /&gt;Note that I've only seen this on 10.20 systems.</description>
      <pubDate>Fri, 31 Aug 2001 14:45:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/determining-the-current-working-directory/m-p/2572135#M30697</guid>
      <dc:creator>Ian Box</dc:creator>
      <dc:date>2001-08-31T14:45:20Z</dc:date>
    </item>
    <item>
      <title>Re: Determining the current working directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/determining-the-current-working-directory/m-p/2572136#M30698</link>
      <description>The permissions on the mount-point are 777.</description>
      <pubDate>Wed, 05 Sep 2001 16:20:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/determining-the-current-working-directory/m-p/2572136#M30698</guid>
      <dc:creator>Ed Hon</dc:creator>
      <dc:date>2001-09-05T16:20:48Z</dc:date>
    </item>
    <item>
      <title>Re: Determining the current working directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/determining-the-current-working-directory/m-p/2572137#M30699</link>
      <description>Check the permissions on every directory in the path to the target install directory.&lt;BR /&gt;&lt;BR /&gt;I've seen a directory owned by root and 700 stop an install in a sub directory.</description>
      <pubDate>Wed, 05 Sep 2001 16:25:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/determining-the-current-working-directory/m-p/2572137#M30699</guid>
      <dc:creator>Ray Jones_1</dc:creator>
      <dc:date>2001-09-05T16:25:15Z</dc:date>
    </item>
    <item>
      <title>Re: Determining the current working directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/determining-the-current-working-directory/m-p/2572138#M30700</link>
      <description>Hi Ed,&lt;BR /&gt;My suggestion&lt;BR /&gt;Install your software on /usr/usr1/tbc. Then move whole directory structure to /usr&lt;BR /&gt;&lt;BR /&gt;Sachin</description>
      <pubDate>Wed, 05 Sep 2001 18:13:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/determining-the-current-working-directory/m-p/2572138#M30700</guid>
      <dc:creator>Sachin Patel</dc:creator>
      <dc:date>2001-09-05T18:13:53Z</dc:date>
    </item>
    <item>
      <title>Re: Determining the current working directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/determining-the-current-working-directory/m-p/2572139#M30701</link>
      <description>Hi&lt;BR /&gt;If the install does not require input once started then:-&lt;BR /&gt;&lt;BR /&gt;Cron the install routine but be sure to set env variables in the cron job.&lt;BR /&gt;&lt;BR /&gt;Set it for 5 min in the future,  then sit back an monitor it. &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;It might work ???&lt;BR /&gt;&lt;BR /&gt;Paula</description>
      <pubDate>Wed, 05 Sep 2001 18:58:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/determining-the-current-working-directory/m-p/2572139#M30701</guid>
      <dc:creator>Paula J Frazer-Campbell</dc:creator>
      <dc:date>2001-09-05T18:58:20Z</dc:date>
    </item>
  </channel>
</rss>

