Sponsored Content
Top Forums Shell Programming and Scripting Installing Patches from a script Post 44941 by viRaven on Friday 12th of December 2003 11:20:21 AM
Old 12-12-2003
error

Error: for patch part

Patch Cluster install script for Solaris 9 Recommended

Determining if sufficient save space exists....
du: failed for /path/path: Cycle deteced
expr: syntax error

Then the script continues on finishing its other task. It seems to be doing a du in the directory where the script is sitting and not on the host machine.
Smilie
 

10 More Discussions You Might Find Interesting

1. Solaris

Installing patches

I'm attempting to install a Sun patch and keep getting an error: # patchadd /tmp/patches/110722-03 Checking installed patches... One or more patch packages included in 110722-03 are not installed on this system. Patchadd is terminating. # How can I find out what are the "One or... (7 Replies)
Discussion started by: FredSmith
7 Replies

2. Solaris

Installing patches

I downloaded solaris's patchmanager program, analyzed my system and it spewed out a list of probably around 75 patches that needed to be installed. First off is it nessacary to install all of these? Should I install all of these in single user mode. Is the "smpatch update" command the best to... (7 Replies)
Discussion started by: meyersp
7 Replies

3. UNIX for Dummies Questions & Answers

pkgadd fails when installing Solaris 8 patches

Hi, guys ! I usually run this task without even thinking on outcome, because it never failed. But this time when I tried installation of patches for Solaris 8 OS on my old machine, I received this message: "pkgadd: ERROR: no packages were found in </var/spool/pkg>" I compared the contents... (5 Replies)
Discussion started by: Deicide5997
5 Replies

4. Solaris

OS Patches

Hi all, We are planning to install Oracle 10g in the Sun Solaris 10 (64 bit Sun Sparc ). Can any one please tell me what are the OS level patches that has to be installed in the OS before starting installation of Oracle 10g. Thanks and Regards, Prashanth (1 Reply)
Discussion started by: prashanth_gs
1 Replies

5. UNIX for Dummies Questions & Answers

Installing Patches in HPux

Hi admins.... I want to install 100 Patches in Hpux.. is it possible to install using single command.... if possible ple give me the solution... (1 Reply)
Discussion started by: Prem
1 Replies

6. Linux

Installing Firefox and now ended up installing latest glibc

Hi all, I wanted to install the latest version of firefox 2 but it seems when I attempt to install it, it seems to be saying it is looking for c libraries version 2.3? I believe I currently have an older version of the c libraries. I am currently running Sun's JDS Linux 2003. My Mozilla web... (1 Reply)
Discussion started by: scriptingmani
1 Replies

7. Shell Programming and Scripting

shell script that would display installing.... when installign something

Hi, I am developing a shell script that would install a software when it is run. I want to displaying Installing <so and so>........ when it is actually installing it. I want it to be dynamic, in the sense, I want the dots after installing grow and drop. Is there a way we can do it.... (1 Reply)
Discussion started by: eamani_sun
1 Replies

8. Solaris

patches

# /usr/sbin/patchadd -p | grep 119961 Patch: 119961-02 Obsoletes: Requires: Incompatibles: Packages: SUNWsprot Patch: 119961-04 Obsoletes: Requires: Incompatibles: Packages: SUNWsprot I was trying to check if i have the above patch on my system when i got the result as shown above, does this... (1 Reply)
Discussion started by: seyiisq
1 Replies

9. Shell Programming and Scripting

Comparison of 2 sun server patches using script

Hi, I am not sure what I am missing, tried to debug but was not successful, any help on this will be much appreciated. #!/bin/sh rm -f /tmp/t? host1=`cat $1|grep Hostname: | awk '{print $2}'` host2=`cat $2|grep Hostname: | awk '{print $2}'` rel1=`cat $1|grep Release: | awk '{print... (1 Reply)
Discussion started by: Sathvik
1 Replies

10. AIX

List of Installed patches for AIX from given set of patches

I need to find out list of installed patches from given list of patches. I have tried using instfix -f <File containing list of patches> -i -c But I was not able to understand the output of this command. It was like below. bos.perf.tools: :0.0.0.0:?: bos.rte.libc: :0.0.0.0:?: ... (4 Replies)
Discussion started by: Saurabh Agrawal
4 Replies
script(1)							   User Commands							 script(1)

NAME
script - make record of a terminal session SYNOPSIS
script [-a] [filename] DESCRIPTION
The script utility makes a record of everything printed on your screen. The record is written to filename. If no file name is given, the record is saved in the file typescript. See WARNINGS. The script command forks and creates a sub-shell, according to the value of $SHELL, and records the text from this session. The script ends when the forked shell exits or when Control-d is typed. OPTIONS
The following option is supported: -a Appends the session record to filename, rather than overwriting it. NOTES
script places everything that appears on the screen in filename, including prompts. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+ |CSI |Enabled | +-----------------------------+-----------------------------+ SEE ALSO
attributes(5) WARNINGS
script can pose a security risk when used in directories that are writable by other users (for example, /tmp), especially when run by a privileged user, that is, root. Be sure that typescript is not a link before running script. SunOS 5.10 30 Jan 2004 script(1)
All times are GMT -4. The time now is 11:28 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy