Sponsored Content
Operating Systems Solaris Diectory ownership ...changing Post 42138 by finster on Wednesday 22nd of October 2003 03:47:56 PM
Old 10-22-2003
Diectory ownership ...changing

Help......

I am running a 420R w/sol 8 and I am trying to install sun's monitoring software srs netconnect. I have installed it on 6 other boxes with no problem.

Installation failed with the message:
## Installing part 1 of 1.
/etc/opt/SUNWsrspx/CustomerCert.pem
/etc/opt/SUNWsrspx/SRSCACert.pem
/etc/opt/SUNWsrspx/binaries
/etc/opt/SUNWsrspx/srsproxyconfig.cfg
/opt/SUNWsrspx/bin/srsexec
/opt/SUNWsrspx/bin/srsinstall
/opt/SUNWsrspx/bin/srsinstallmode
/opt/SUNWsrspx/bin/srsproxy
/opt/SUNWsrspx/bin/srspxrun
/opt/SUNWsrspx/bin/srspxstat
/opt/SUNWsrspx/bin/srspxtrace
/opt/SUNWsrspx/bin/srsuser
/opt/SUNWsrspx/bin/srsxfer
/usr/lib/libsrsimapi.so.1
[ verifying class <none> ]
## Executing postinstall script.
copying initial install customer cert into place
copying initial install srs cert into place
copying initial install proxy config file into place
copying uninstall script into place
Proxy call to get_srs_gid() failed
proxy queue initialization failed
pkgadd: ERROR: postinstall script did not complete successfully

Installation of <SUNWsrspx> failed.

Error: pkgadd failed for: SUNWsrspx
Exiting installation


Then a tail /var/adm/messages shows:

Oct 21 12:21:09 <hostname> srsuserutil[25151]: [ID 430690 daemon.error] srsproxyconfig.cfg path element not owned by root: /etc
Oct 21 12:21:09 <hostname> root: [ID 702911 daemon.error] proxy queue initialization failed

I did a ls -l on / and output showed that a user(group=staff) other than root owned certain directories that are normally owned by root with sys as group (based on the tail message):

drwxr-xr-x 43 username staff 3584 Oct 21 12:10 etc
drwxr-xr-x 35 username staff 1024 Sep 26 2002 usr

Upon contacting the vendor for the application installed on the server, they said that I should change directories back to root/owner and sys/group.

This was done sucessfully and I performed another install of srs netconnect which failed with the same messages.

When I did a ls -l of / again, I noticed that the owner/group had switched back to the above again(not root/sys).

Why???? What could cause the directory ownership and group ownership to change??

Please help....Thanks.

Last edited by finster; 10-23-2003 at 01:27 AM..
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

copy directory without changing ownership setting

hi currently i am migrating some directories over to a new server. is there any command (rcp or ftp or anything) for me to use without changing the ownership and permission of the directory? i am copying some directories from unix machine to linux machine. what is the exact command? thanks... (2 Replies)
Discussion started by: legato
2 Replies

2. UNIX for Advanced & Expert Users

File group ownership changing automatically

Hi everyone, Need help with an issue. The group ownership of files on my Solaris system is getting changed automatically. Could someone tell me the reason why? And how could I correct it? One more info- everytime the ownership changes, it changes to "x". Thanks :confused: (1 Reply)
Discussion started by: top_gun
1 Replies

3. Shell Programming and Scripting

Changing userID and Changing group and GID

Hello, I want to write a ksh script about changing UID and changing group with GID. There are multiple servers i want to perform that job. linux1 linux2 linux3 linux4 linux5 ...... . . . . . 1.) How can i enter "password" in script rather asking me? I was trying this... ssh... (2 Replies)
Discussion started by: deal732
2 Replies

4. Red Hat

changing wtmp ownership and permission

Hi, I am using redhat AS 3. Recently, I was asked to implement a security control on the OS: to change ownership of /var/log/wtmp to root:sys and permission to 600. However, when I made the change and reboot the machine, everything was reverted. How come? Please help. The following is the... (1 Reply)
Discussion started by: voa2mp3
1 Replies

5. UNIX for Dummies Questions & Answers

changing ownership?

how would i change ownership of file1 so the user NATE gets ownership of the file? (1 Reply)
Discussion started by: trob
1 Replies

6. UNIX for Dummies Questions & Answers

regarding changing ownership and group

i am able to change the mode using chmod and able to change permission. but i am not able to change group and ownership. getting as invalid can any one help me regarding this . (4 Replies)
Discussion started by: satheeshkr_cse
4 Replies

7. Shell Programming and Scripting

Search and replace without changing ownership

I found this search and replace method on another site: find . -type f -print0 | xargs -0 sed -i 's/find/replace/g' It worked fine except for the fact that it changed ownership on all the files it went through. I discovered that when my site web server suddenly couldn't serve the pages it had... (10 Replies)
Discussion started by: dheian
10 Replies

8. Shell Programming and Scripting

Changing ownership of a directory, subdirectory and files as same as in another server

accidentally i have changed ownership of a directory,subdirectory and files wil below command. I want to the change ownership back as same as in same directory on another server. How can i do it? chown -R user:group /u01 is there any simple script? it is really an urgent need.. (2 Replies)
Discussion started by: johnveslin
2 Replies

9. Solaris

User's Home directory ownership is changing Automatically

Hi , on my Solaris 10 machine user's home directory ownership is being changed automatically to their UID. can any one please tell me whats the reason behind it . users are there in /etc/passwd file . /etc/shadow file is also there along with nssswitch.conf file and there is no changes made to... (5 Replies)
Discussion started by: usernew
5 Replies

10. UNIX for Dummies Questions & Answers

Ownership changes

I have 2 Linux servers and 1 windows server. One Linux server has an NSF share which points to the windows server. The other Linux server rsyncs any data to the other Linux server containing the windows share. My issue is that everytime the Linux administrator rsync data to the linux server... (12 Replies)
Discussion started by: Lace0047
12 Replies
suninstall(1M)                                            System Administration Commands                                            suninstall(1M)

NAME
suninstall - install the Solaris operating system SYNOPSIS
suninstall DESCRIPTION
install-solaris(1M) is now the preferred command for starting and restarting the Solaris Installation program. It should be used instead of suninstall. suninstall is symbolically linked to install-solaris. suninstall is a forms-based and graphical subsystem for installing the operating system. suninstall exists only on the Solaris installation media (CD or DVD) and should only be invoked from there. Refer to the Solaris 10 Instal- lation Guide: Basic Installations for more details. suninstall allows installation of the operating system onto any standalone system. suninstall loads the software available on the installa- tion media. Refer to the Solaris 10 Installation Guide: Basic Installations for disk space requirements. USAGE
Refer to the Solaris 10 Installation Guide: Basic Installations for more information on the various menus and selections. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcdrom (Solaris instal- | | |lation media) | +-----------------------------+-----------------------------+ SEE ALSO
pkginfo(1), install(1M), install-solaris(1M), pkgadd(1M), attributes(5) Solaris 10 Installation Guide: Basic Installations NOTES
It is advisable to exit suninstall by means of the exit options in the suninstall menus. SunOS 5.10 9 Sep 2004 suninstall(1M)
All times are GMT -4. The time now is 06:49 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy