<?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: setting environment variables in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/setting-environment-variables/m-p/3407483#M201963</link>
    <description>Dear Sridhar, &lt;BR /&gt;&lt;BR /&gt;thanks for the quick reply, but i dont have such file at all on my system called .Xdefaults.&lt;BR /&gt;&lt;BR /&gt;where is that file ?&lt;BR /&gt;&lt;BR /&gt;thanks &lt;BR /&gt; &lt;BR /&gt;</description>
    <pubDate>Mon, 25 Oct 2004 17:46:57 GMT</pubDate>
    <dc:creator>Ahmed_41</dc:creator>
    <dc:date>2004-10-25T17:46:57Z</dc:date>
    <item>
      <title>setting environment variables</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setting-environment-variables/m-p/3407481#M201961</link>
      <description>Dear All, &lt;BR /&gt;&lt;BR /&gt;i am not that good so much in HPUX, i am a bit a solaris guy, i was trying to add this line in the .profile file so as when a user login he can start using the pathes i added to him, the problem is , this lines works only when i connect from telnet, while when i connect using reflectionx and open a terminal, these pathes are never there &lt;BR /&gt;&lt;BR /&gt;the lines are &lt;BR /&gt;&lt;BR /&gt;. /opt/OV/bin/ov.envvars.sh (shell script file that sets the variables of $OV_BIN and the others) &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;PATH=/usr/sbin:$PATH:/sbin:/home/root:$OV_BIN:$OV_CONF:$OV_CONTRIB:$OV_MAN&lt;BR /&gt;&lt;BR /&gt;can someone help me ? my main problem is, why things are working very fine as i wanna when i do telnet, while when i am over reflectionx and opening a  terminal  these env variables are never there or never set.&lt;BR /&gt;&lt;BR /&gt;thanks in advance</description>
      <pubDate>Mon, 25 Oct 2004 17:23:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setting-environment-variables/m-p/3407481#M201961</guid>
      <dc:creator>Ahmed_41</dc:creator>
      <dc:date>2004-10-25T17:23:14Z</dc:date>
    </item>
    <item>
      <title>Re: setting environment variables</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setting-environment-variables/m-p/3407482#M201962</link>
      <description>Hi Ahmed,&lt;BR /&gt;&lt;BR /&gt;Ensure that you have the following setup correctly.&lt;BR /&gt;&lt;BR /&gt;Uncommented line "DTSOURCEPROFILE=true" in the .dtprofile of the user and a file called '.Xdefaults' with the following lines&lt;BR /&gt;&lt;BR /&gt;dtterm.loginshell: True&lt;BR /&gt;xterm.loginshell: True&lt;BR /&gt;hpterm.loginshell: True&lt;BR /&gt;&lt;BR /&gt;If you don't have the above, modify the files and restart your reflection X/CDE.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Mon, 25 Oct 2004 17:26:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setting-environment-variables/m-p/3407482#M201962</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2004-10-25T17:26:51Z</dc:date>
    </item>
    <item>
      <title>Re: setting environment variables</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setting-environment-variables/m-p/3407483#M201963</link>
      <description>Dear Sridhar, &lt;BR /&gt;&lt;BR /&gt;thanks for the quick reply, but i dont have such file at all on my system called .Xdefaults.&lt;BR /&gt;&lt;BR /&gt;where is that file ?&lt;BR /&gt;&lt;BR /&gt;thanks &lt;BR /&gt; &lt;BR /&gt;</description>
      <pubDate>Mon, 25 Oct 2004 17:46:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setting-environment-variables/m-p/3407483#M201963</guid>
      <dc:creator>Ahmed_41</dc:creator>
      <dc:date>2004-10-25T17:46:57Z</dc:date>
    </item>
    <item>
      <title>Re: setting environment variables</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setting-environment-variables/m-p/3407484#M201964</link>
      <description>Hi Ahmed,&lt;BR /&gt;&lt;BR /&gt;Create one if you don't have and try.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Mon, 25 Oct 2004 17:48:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setting-environment-variables/m-p/3407484#M201964</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2004-10-25T17:48:35Z</dc:date>
    </item>
    <item>
      <title>Re: setting environment variables</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setting-environment-variables/m-p/3407485#M201965</link>
      <description>Dear Sridhar, &lt;BR /&gt;&lt;BR /&gt;i also got another problem this is a separate question&lt;BR /&gt;&lt;BR /&gt;my / partition is 82% utilized and i am so worried about that, can i extend it, and in case i am able to extend it, will i loose my installations and data and everything or what ???&lt;BR /&gt;&lt;BR /&gt;my knowledge in solaris that i can make another / , so is there any way i can extend this / partion or do another one in order to sake my neck from crashing ? &lt;BR /&gt;&lt;BR /&gt;thanks in advance&lt;BR /&gt;</description>
      <pubDate>Mon, 25 Oct 2004 17:49:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setting-environment-variables/m-p/3407485#M201965</guid>
      <dc:creator>Ahmed_41</dc:creator>
      <dc:date>2004-10-25T17:49:12Z</dc:date>
    </item>
    <item>
      <title>Re: setting environment variables</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setting-environment-variables/m-p/3407486#M201966</link>
      <description>Hi Ahmed,&lt;BR /&gt;&lt;BR /&gt;You cannot extend root partition easily as it has to be contiguous. Best way is to take 'make_tape_recovery' tape and reinstall it.&lt;BR /&gt;&lt;BR /&gt;However, / is pretty static except for /etc/lvmconf. Check what is causing your / to grow with the following command&lt;BR /&gt;&lt;BR /&gt;du -kx / |sort -n&lt;BR /&gt;&lt;BR /&gt;Delete any core files that got created. You shouldn't have any directories (not filesystems) owned by other users in / filesystem. If you have, move them to filesystems. Also check your /dev/rmt/0m* and /dev/null files to see if they are no more special files.&lt;BR /&gt;&lt;BR /&gt;With the above precautions, you can keep your / pretty static. &lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Mon, 25 Oct 2004 17:58:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setting-environment-variables/m-p/3407486#M201966</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2004-10-25T17:58:01Z</dc:date>
    </item>
    <item>
      <title>Re: setting environment variables</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setting-environment-variables/m-p/3407487#M201967</link>
      <description>Thanks again Sirdhar, &lt;BR /&gt;&lt;BR /&gt;can you now tell me where to put this file you said about the .Xdefaults ? &lt;BR /&gt;&lt;BR /&gt;i also tried right now to uncomment the .dtprofile file  and there was no change, i still login in the CDE and the env variables are not applying to me :( &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 25 Oct 2004 18:13:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setting-environment-variables/m-p/3407487#M201967</guid>
      <dc:creator>Ahmed_41</dc:creator>
      <dc:date>2004-10-25T18:13:17Z</dc:date>
    </item>
    <item>
      <title>Re: setting environment variables</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setting-environment-variables/m-p/3407488#M201968</link>
      <description>Hi Ahmed,&lt;BR /&gt;&lt;BR /&gt; In the past, I have extended root filesystem without re-igniting.&lt;BR /&gt;&lt;BR /&gt; You can do it by adding a spare PV to VG00 and couple of pvmoves.&lt;BR /&gt;&lt;BR /&gt; As Sri has suggested, make sure you dont have any unnecessary files in the filesystem. If you are still convinced that you need to extend root fs, I can walk you through the steps :-)&lt;BR /&gt;&lt;BR /&gt;- Sundar.</description>
      <pubDate>Mon, 25 Oct 2004 18:17:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setting-environment-variables/m-p/3407488#M201968</guid>
      <dc:creator>Sundar_7</dc:creator>
      <dc:date>2004-10-25T18:17:09Z</dc:date>
    </item>
    <item>
      <title>Re: setting environment variables</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setting-environment-variables/m-p/3407489#M201969</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;It should be in the home directory of the user that is trying to change his/her profile.&lt;BR /&gt;&lt;BR /&gt;Regarding root extendability, it can be done and even it is bit easier if you have OnlineJFS. All you have to do is to create free space after the root logical volume on the root disk. However, I wouldn't suggest it unless you are very confident with LVM. Regular cleanup of root filesystem can help you avoid getting into the trouble.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Mon, 25 Oct 2004 18:23:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setting-environment-variables/m-p/3407489#M201969</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2004-10-25T18:23:38Z</dc:date>
    </item>
    <item>
      <title>Re: setting environment variables</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setting-environment-variables/m-p/3407490#M201970</link>
      <description>ok guys, i did this du command, but unfortunately i couldnt understand the output.&lt;BR /&gt;&lt;BR /&gt;but i attached the output from the du for you here to first, tell me what is wrong with my server, second explain to me the result of the du so as next time i would identify my problem myself ;) &lt;BR /&gt;&lt;BR /&gt;thanks &lt;BR /&gt;</description>
      <pubDate>Mon, 25 Oct 2004 18:27:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setting-environment-variables/m-p/3407490#M201970</guid>
      <dc:creator>Ahmed_41</dc:creator>
      <dc:date>2004-10-25T18:27:11Z</dc:date>
    </item>
    <item>
      <title>Re: setting environment variables</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setting-environment-variables/m-p/3407491#M201971</link>
      <description>Hi Ahmed,&lt;BR /&gt;&lt;BR /&gt;As you can see /etc/opt itself is taking half of the disk space in / filesystem. You can create a seperate filesystem for /etc/opt/OV directory. Since you are intending to use this as a openview server (NNM or VPO), it may not be a bad idea to create filesystems for /opt/OV, /var/opt/OV and /etc/opt/OV and put them in a VG different than vg00.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Mon, 25 Oct 2004 18:37:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setting-environment-variables/m-p/3407491#M201971</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2004-10-25T18:37:29Z</dc:date>
    </item>
    <item>
      <title>Re: setting environment variables</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setting-environment-variables/m-p/3407492#M201972</link>
      <description>I forgot about the details of  'du -kx' output. 'du -kx &lt;DIRECTORY&gt;' gives the output in KB of every directory that is not a mount point within the specified &lt;DIRECTORY&gt;. In your case, it is going to display all the directories  with their sizes in KB under "/" filesystem. You are sorting them to get a better view.&lt;BR /&gt;&lt;BR /&gt;-Sri&lt;/DIRECTORY&gt;&lt;/DIRECTORY&gt;</description>
      <pubDate>Mon, 25 Oct 2004 18:43:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setting-environment-variables/m-p/3407492#M201972</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2004-10-25T18:43:56Z</dc:date>
    </item>
    <item>
      <title>Re: setting environment variables</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setting-environment-variables/m-p/3407493#M201973</link>
      <description>Dear Sirdhar, &lt;BR /&gt;&lt;BR /&gt;can i have some explaination here please guys, i am supposed to have my OV direcoty under /opt, so i have never had such path called  /etc/opt/OV&lt;BR /&gt; i always got this /opt/OV &lt;BR /&gt;so i dont understand how this path came from this /etc/opt/ov&lt;BR /&gt;&lt;BR /&gt;second which is very important, when i do a bdf, i get the the /opt is using 22% only, and others like /stand, /var and others all of them never exceeded the 23% except for the / which is 85% , so what is the relation between the /etc and my /opt i am using ???&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;second Sirdar, i did the 2 files u told me and i am still unable to use my env variables :(</description>
      <pubDate>Mon, 25 Oct 2004 18:51:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setting-environment-variables/m-p/3407493#M201973</guid>
      <dc:creator>Ahmed_41</dc:creator>
      <dc:date>2004-10-25T18:51:45Z</dc:date>
    </item>
    <item>
      <title>Re: setting environment variables</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setting-environment-variables/m-p/3407494#M201974</link>
      <description>Hi Ahmed,&lt;BR /&gt;&lt;BR /&gt;OV gets installed under three directories with the following setup.&lt;BR /&gt;&lt;BR /&gt;/opt/OV - Binaries and documentation&lt;BR /&gt;/etc/opt/OV - Configuration&lt;BR /&gt;/var/opt/OV - working area&lt;BR /&gt;&lt;BR /&gt;Did you restart your CDE/Reflection X?.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Mon, 25 Oct 2004 19:39:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setting-environment-variables/m-p/3407494#M201974</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2004-10-25T19:39:33Z</dc:date>
    </item>
    <item>
      <title>Re: setting environment variables</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setting-environment-variables/m-p/3407495#M201975</link>
      <description>you mean the reflectionx client? or you mean the xserver itself on the UX machine ?&lt;BR /&gt;&lt;BR /&gt;second which is very important,  if i took the descion to move the /etc/opt/ov to another vol, wont that affect my installation ?? &lt;BR /&gt;&lt;BR /&gt;currenly i installed and configuerd lots of things on NNM and things are running quite good, so doing this move for the /etc/opt/ov wont affect my installation ??? &lt;BR /&gt;or i will have to rebuild my work from scratch or what ?? &lt;BR /&gt;&lt;BR /&gt;thanks</description>
      <pubDate>Mon, 25 Oct 2004 19:56:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setting-environment-variables/m-p/3407495#M201975</guid>
      <dc:creator>Ahmed_41</dc:creator>
      <dc:date>2004-10-25T19:56:06Z</dc:date>
    </item>
    <item>
      <title>Re: setting environment variables</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setting-environment-variables/m-p/3407496#M201976</link>
      <description>Hi Ahmed,&lt;BR /&gt;&lt;BR /&gt;Logoff and login again on Reflection X. &lt;BR /&gt;&lt;BR /&gt;Regarding /etc/opt/OV, you don't need to reinstall anything. In fact, prior to the installation of NNM, you could have configured these three directories as filesystems so the software would directly go in there. Follow these steps create a mount point. Find out a VG say vg01 that has enough space to hold Openview. If you don't have external filesystem, atleast have it from vg00.&lt;BR /&gt;&lt;BR /&gt;1. Stop NNM. Make sure you don't have any openview processes running on the system.&lt;BR /&gt;2. Create LVs and filesystems.&lt;BR /&gt;&lt;BR /&gt;lvcreate -n etcoptov -L 500 vg01&lt;BR /&gt;newfs -F vxfs /dev/vg01/retcoptov&lt;BR /&gt;&lt;BR /&gt;3. mv /etc/opt/OV /etc/opt/OV.old&lt;BR /&gt;4. mkdir /etc/opt/OV&lt;BR /&gt;5. Edit /etc/fstab, copy an existing entry and change the LV and mount point to etcoptov and /etc/opt/OV. Run 'mount -a'. Make sure /etc/opt/OV is mounted now.&lt;BR /&gt;6. Copy the data &lt;BR /&gt;&lt;BR /&gt;cp -Rp /etc/opt/OV.old/* /etc/opt/OV&lt;BR /&gt;&lt;BR /&gt;Since /opt and /var are seperate filesystems, you may not need differnet filesystems for /opt/OV and /var/opt/OV.&lt;BR /&gt;&lt;BR /&gt;7. Start NNM and verify. Let it run for couple of days and remove /etc/opt/OV.old directory.&lt;BR /&gt;&lt;BR /&gt;-Sri&lt;BR /&gt;</description>
      <pubDate>Mon, 25 Oct 2004 20:11:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setting-environment-variables/m-p/3407496#M201976</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2004-10-25T20:11:32Z</dc:date>
    </item>
    <item>
      <title>Re: setting environment variables</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setting-environment-variables/m-p/3407497#M201977</link>
      <description>Sridar, &lt;BR /&gt;&lt;BR /&gt;thanks again, but is there any risk in doing such solution ?? i really spent lots of time here to get my installation and configuration up and running in a good way.&lt;BR /&gt;so is there any risk that this solution would end up with my installation or conifguration going wrong ?&lt;BR /&gt;second, up to my understanding /etc/opt/OV is something like a pointer to the exact location on the media (hardisk), so changing the mount point from one disk to the other while keeping the same pointer to be /etc/opt/OV wont affect my installaiton, correct me if i am wrong please.&lt;BR /&gt;&lt;BR /&gt;thanks</description>
      <pubDate>Mon, 25 Oct 2004 20:20:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setting-environment-variables/m-p/3407497#M201977</guid>
      <dc:creator>Ahmed_41</dc:creator>
      <dc:date>2004-10-25T20:20:36Z</dc:date>
    </item>
    <item>
      <title>Re: setting environment variables</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setting-environment-variables/m-p/3407498#M201978</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Only risk is if you fat finger anything during the copy process. So, I suggested to keep /etc/opt/OV.old for sometime so that in case of any issues, you can always unmount and move OV.old back as OV.&lt;BR /&gt;&lt;BR /&gt;If you are careful, there is no risk.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Mon, 25 Oct 2004 20:23:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setting-environment-variables/m-p/3407498#M201978</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2004-10-25T20:23:47Z</dc:date>
    </item>
    <item>
      <title>Re: setting environment variables</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setting-environment-variables/m-p/3407499#M201979</link>
      <description>by the way also &lt;BR /&gt;i restarted the deamons, and i logged off reflectionx and back again and still nothing changed, i cannt get my env variables loaded &lt;BR /&gt;</description>
      <pubDate>Mon, 25 Oct 2004 20:24:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setting-environment-variables/m-p/3407499#M201979</guid>
      <dc:creator>Ahmed_41</dc:creator>
      <dc:date>2004-10-25T20:24:43Z</dc:date>
    </item>
    <item>
      <title>Re: setting environment variables</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setting-environment-variables/m-p/3407500#M201980</link>
      <description>Sri, Sundar,&lt;BR /&gt;&lt;BR /&gt;how about Sundar solution of having another spare PV for the vg00 ??? is it much more safer, and will it be more efficeint on the long run with the openview running and genetrating data ?? and what are its risks, i am really afraid of trying any risky action here, i managed to get a stable installation and i am afraid to loose this factor of stability, so lets discuss the othe solution of having a spare PV for the vg00 how to be done, what risks, what benifits, how on the long run will it do ?&lt;BR /&gt;&lt;BR /&gt;second can someone tell me how to do this in steps ? &lt;BR /&gt;&lt;BR /&gt;thanks in advance</description>
      <pubDate>Mon, 25 Oct 2004 20:31:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setting-environment-variables/m-p/3407500#M201980</guid>
      <dc:creator>Ahmed_41</dc:creator>
      <dc:date>2004-10-25T20:31:47Z</dc:date>
    </item>
  </channel>
</rss>

