1828986 Members
2694 Online
109986 Solutions
New Discussion

Re: Web access

 
SOLVED
Go to solution
Marco A.
Esteemed Contributor

Re: Web access

IVI,

These errors can be caused by corruption within the Software Distributor.
There are different causes that can be cleared up by following these
instructions:

1. Login as root

2. Stop swagentd
#/sbin/init.d/swagentd stop

3. Verify swagentd has stopped:
#ps â ef | grep swagentd

4. Change directory to /var/adm/sw:
# cd /var/adm/sw

5. Move the directory /var/adm/sw/security and its contents:
# mv security security.orig

6. Copy the directory and its contents
from /usr/newconfig/var/adm/sw/security to /var/adm/sw/security
#cp â Rp /usr/newconfig/var/adm/sw/security /var/adm/sw/security

7. Start swagentd:
#/sbin/init.d/swagentd start

8. Verify swagentd has started:
#ps â ef | grep swagentd


Proceed with swinstall operation.


If ACLs are in use, move the original /var/adm/sw/security directory back in
place.

9. Change directory to /var/adm/sw:
# cd /var/adm/sw
# mv security /tmp
# mv security.orig security

10. Stop and restart swagentd:
#/sbin/init.d/swagentd stop
#/sbin/init.d/swagentd start

Rgds,

Marc'o
Just unplug and plug in again ....
Marco A.
Esteemed Contributor

Re: Web access

Sorry, the weird characteres are -
Just unplug and plug in again ....
lVl_1
Super Advisor

Re: Web access

Thank you very much Marc'O; there is some progress. After following the procedure on SD, the permission error does not appear anymore when the SD GUI opens. The 'Select Target Path' window is directly displayed. However, when I click on the Root Path I get the permission error again. Which path information should I enter in the bar? (I tried the depot path but it seems to be wrong)
Marco A.
Esteemed Contributor

Re: Web access

After you resolved that you send the file again to the server using the application that I recommmend you?! , I think that you need to upload the file again because it giving you an error, that screen that you are seeing must be other, try to upload the file again from the ftp site, actually, unzip the file in your computer and after that upload the file to your server! ..
then use the swinstall =)....

Try that and let us know your results.
Just unplug and plug in again ....
lVl_1
Super Advisor

Re: Web access

I downloaded the file again and unzip it using winzip. Then I uploaded it to the hpux box and use the swinstall -s command; same result: the SD GUI opens and asks for a Target Path. Is that wrong or we just have to figure out what the right value to enter is?
Marco A.
Esteemed Contributor

Re: Web access

oh, sorry in this case you need to register the depot file.:

#swreg -l depot

Example,

#swreg -l depot /tmp/wget-1.10.2-ia64-11.23.depot

After that run the swinstall, and select, "local directory" , leave the hostname without changes, and in the "source", enter right there and select from the list the option that points to the wget depot.

After that you will be able to install the depot file.

Just unplug and plug in again ....
lVl_1
Super Advisor

Re: Web access

:-) That's right, the installation process could begin after registering the depot. But the install analysis failed because "the dependencies for fileset wget.wget-RUN,r=1.10.2 cannot be resolved". In particular, the corequisite gettext.gettext-SHLIBS cannot b resolved.
Mel told us yesterday that some name service configuration had to be set before using swinstall, right? Im gonna check it. For now, I have defined two nameservers in the /etc/resolv.conf file (after testing the connectivity from the server to them). Now I'd have to cfigure /etc/nsswitch.conf.
Attached is the current content for it.
Marco A.
Esteemed Contributor

Re: Web access

You need to take the gettext from here ...
http://hpux.connect.org.uk/hppd/hpux/Gnu/gettext-0.16.1/

You need to install this software exactly the same like the other software ...

Let me check your file ...

Just unplug and plug in again ....
Steven E. Protter
Exalted Contributor

Re: Web access

Shalom,

Nice job corrupting wget back there.

Best to get it directly with a browser onto hp--ux to avoid ascii/binary ftp hell.

Everything you get from the porting and archive center is binary btw.

All you need for web access is to set the gateway correctly (/etc/rc.config.d/netconf) and have good name resolution (/etc/resolv.conf)

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Marco A.
Esteemed Contributor

Re: Web access

IVI,

Your file seems to be good, but also you need the ip configuration, ip, net mask and gateway, that's the final job.

Best regards,

Marc'o
Just unplug and plug in again ....
lVl_1
Super Advisor

Re: Web access

My name resolution is doing good now.

Im gonna get the gettext file. I'd like to download it directly to the hpux box; what browser would you advise me? Is there a native one or I will have to download it to the win box before 'ftp'ing it to the hpux server?
Marco A.
Esteemed Contributor

Re: Web access

IVI, actually I believe that my friend is talking about a browser, web browser, actually you can run mozilla in the hpux boxes.
Just unplug and plug in again ....
Marco A.
Esteemed Contributor

Re: Web access

If you go to the server, to the console, probably you will have the CDE, and actually right there you can launch the mozilla, that I believe that is already included. If you are connecting from telnet, remote locations, etc, you need to use reflexion X for example to emulate the console in your desktop.
But wget and these others are different things.

Marc'o
Just unplug and plug in again ....
Marco A.
Esteemed Contributor

Re: Web access

If you want to emulate the console a pretty good application is the X-win32.

http://www.starnet.com/download/

Hope this helps,

MArc'o
Just unplug and plug in again ....
Marco A.
Esteemed Contributor

Re: Web access

Look at the file that I've attached.

Is that what you want? ..or you want the command line with the wget ...

Well, actually you are close to have the wget already installed, then after that you can choise that system use!...

Look at the pic I sent.

Good luck.

Marc'o
Just unplug and plug in again ....
lVl_1
Super Advisor

Re: Web access

Thank you for the screenshot Marc'O, and for your great availability! Let's see:
I have Hummingbird Exceed already installed on the win box from which I telnet to the hpux one; so I guess I could use it to get the desktop interface.
But u know what, I've already accessed the Mozilla web browser (by typing 'mozilla' in the CLI).
As for wget that could be used too, Im experimenting a problem w/ the SD GUI: a remote procedure call fails while trying to contact the target. Id like to know whats happening even if its not a priority anymore; I've got Web accesss!
Thanks to you, Mel, Ivan and Steven.
Marco A.
Esteemed Contributor

Re: Web access

anytime IVI, actually that's better for you ..., mozilla is included and is easy to use...!!!

have Fun!!!

Marc'o
Just unplug and plug in again ....
Marco A.
Esteemed Contributor

Re: Web access

Ok, OK, we have learned a lot Today!!! =)!!!!! we deserve some points!!! =)..., hehehehe..

HAve fun, happy weekend!

Marc'o
Just unplug and plug in again ....
lVl_1
Super Advisor

Re: Web access

hahahahaha there they r Marc'O!

One question: how should I access the CDE once I have an X server installed (Exceed)?

Have a nicy we :-)
Marco A.
Esteemed Contributor

Re: Web access

HELLO!!! =) , try to download the X-win 32 software, it is able to turn on the X server and then you can see the CDE in your desktop.
Well, I say the x-win32 becuase is that one that I prefer , but there're some other emulators...
Also, with the reflexion X you can see that!..., the screenshot that I sent you is from my desktop....by using x win 32...

That's like a telnet sessions, you choice what kind of session you want to launch, and the application makes everything.

Good luck , and ask is I was not clear or if you need something else?!

Marc'o
Just unplug and plug in again ....
lVl_1
Super Advisor

Re: Web access

I'd like to use the Exceed X server Marc'O. It is already installed and I am using it for HPOV NNM. What command should I use from the hpux box cli to have Exceed display the CDE for me?
I probably won't answer you before Monday. Enjoy ur we Marc'O. 10x
Mel Burslan
Honored Contributor

Re: Web access

If it is not already there, edit /etc/rc.config.d/desktop and add a line saying

"DESKTOP=CDE"


and then run the following:

/sbin/init.d/dtlogin.rc start
________________________________
UNIX because I majored in cryptology...
Dennis Handly
Acclaimed Contributor

Re: Web access

>As for the ascii mode, it has not solved the transfer pb; look:

I think you have already solved the transfer problem but you surely don't want to use ascii when you are transferring binary data that's in a gzip file.

ftp> ascii
150 Opening ASCII mode data connection for wget-1.10.2-hppa-11.23.depot.gz.
226-WARNING! 2115 bare linefeeds received in ASCII mode
File may not have transferred correctly.

This is also trying to tell you that the bare linefeeds aren't valid on windows.
Marco A.
Esteemed Contributor

Re: Web access

Good morning IVI,

Look at this...

Check this in your server ...

# swlist -l product CDE

Verify also file:

/etc/rc.config.d/desktop
DESKTOP=CDE

Start process "dtlogin":

/sbin/init.d/dtlogig.rc start

That's have to be enough to launch your application ..., now from your windows XP, run the emulation application...

Let us know your results ...

Marc'o
Just unplug and plug in again ....
lVl_1
Super Advisor

Re: Web access

Thanks for the CDE config Mel. I'll try it.
Dennis, could you explain me please in which cases should the ASCII mode be enabled? And also which systems use the bare linefeeds, and what for?

Thanks 2 all