Execution problems with swreg


 
Thread Tools Search this Thread
Operating Systems HP-UX Execution problems with swreg
# 1  
Old 03-04-2015
Execution problems with swreg

HP UX 10.20
I have a directory
Code:
"/var/spool/sw"

which is supposed to be a "Depot" directory. Turns out it is not and when using the swreg command
Code:
"swreg -l /var/spool/sw"

I get errors in part
Code:
ERROR for option  "-l /var/spool/sw" keyword or it's value may be incorrect or the keyword does not apply to this command.

and
Code:
ERROR Command Line parsing failed

The directory is empty not sure if that makes any difference. Any help is greatly appreciated.

Last edited by Randydog; 03-04-2015 at 04:44 PM..
# 2  
Old 03-05-2015
According to
Code:
man swreg

on HP-UX 11
it must be
Code:
swreg -l depot /var/spool/sw

# 3  
Old 03-06-2015
Smilie
I used the command as provided and received the following:
Code:
*session started
*begging session
*Targets     (computer name)
*Objects    /var/spool/sw
ERROR There is currently no depot software on host (computer name) at location "var/spool/sw"
ERROR More information may be found in the daemon logfile

..

The file state in part:
Code:
failed to register soc on /var/spool/sw for root@prog

(prog is the name I gave the software)

Thank you in advance for any additional suggestions
V/R
# 4  
Old 03-06-2015
I don't know swreg.
On HP-UX 11 I have installed software from a temporary location, directly from the command line without GUI or terminal-UI.
For example
Code:
swinstall -s /var/tmp/scsiU320-00_B.11.23.0712_HP-UX_B.11.23_IA_PA.depot -x autoreboot=true

(The optional -x autoreboot=true immediately reboots after install!)
This User Gave Thanks to MadeInGermany For This Post:
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Execution problems

How to find a word in a directory which contains many files? i just want to count how many such words are present in all the files? This is the code which i tried for a single file echo "Enter the file name:" read file echo "Enter the word to search:" read word if then echo "The count... (4 Replies)
Discussion started by: Meeran Rizvi
4 Replies

2. UNIX for Dummies Questions & Answers

Execution Problems with Crons

Buddies, cron is not executing any monitoring scripts for 'Oracle' user in Red Hat Linux 5. Details about the cron job :- oracle@localhost ~]$ crontab -l 15 7 * * * /home/oracle/tab.sh The tab.sh script when firing manually is working fine. Any inputs/advice will be great for me. (12 Replies)
Discussion started by: sandip250382
12 Replies

3. Shell Programming and Scripting

Execution problems with sed

Hi,I confused how to use sed to deal with big file. example: the big file have some different urls just with filename. how can i use sed to fetch url except file name and replace to other urls with filename? thanks!!! (11 Replies)
Discussion started by: hshzh359
11 Replies

4. Solaris

Execution problems with Mailx

Unable to send mail using mailx command. I am using solaris 5.9 I am trying to send notification for the scheduled jobs in crob but the mailx is not working. Checked the settings in submit.cf and sendmail.cf but unable to find the solution. Error message root@sshldb # nslookup mailhost... (8 Replies)
Discussion started by: Srinathkiru
8 Replies

5. Shell Programming and Scripting

Execution problems with scripting

Hi, I am new to scripting.I had one problem infront of me.I tried in many ways with minimal knowledge........Kindly help me. Description: I want a shell script where it has to read an input.txt file and need to remove duplicate lines and the result need to kept in output.txt file. input... (5 Replies)
Discussion started by: bhas
5 Replies

6. Shell Programming and Scripting

Execution Problems with if statements

Hi all, I habe a file called test.log, which contain following data : 0.0 0.1 0.1 0.1 0.1 0.2 0.3 0.3 0.4 0.4 0.6 8.7 8.8 17.2 I want to show the data which gater than 9.0 But my script not working. (4 Replies)
Discussion started by: mnmonu
4 Replies

7. Shell Programming and Scripting

Execution Problems

this my source file ************* fixed *************** Begin equipmentId : d9 processor : fox number : bhhhhhh Variable # 1: Id : 100 Type : 9 nType : s gType : 5f mType : 4 LField : England DataField : london Length ... (6 Replies)
Discussion started by: teefa
6 Replies

8. Homework & Coursework Questions

Execution Problems with sed

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted! 1. The problem statement, all variables and given/known data: Okay so I am taking bash scripting this semester and we are now working on the stream editor sed. For our book we... (4 Replies)
Discussion started by: aggie6970
4 Replies

9. Shell Programming and Scripting

Execution Problems!!

i have been working on this for a about 12 hours today say's end of file un expected any idea's using the bourne shell and its driving me nuts worked fine in bash but prof says make it work in bourne and good luck worth 13% any help would be awesome #!/bin/sh trap "rm mnt2/source/tmp/* 2>... (1 Reply)
Discussion started by: mrhiab
1 Replies

10. Shell Programming and Scripting

execution problems with curl

I have been getting error "curl: (7) Failed to connect to IP number 1" when using the CURL command Could someone help??? (1 Reply)
Discussion started by: infernalhell
1 Replies
Login or Register to Ask a Question