Diectory ownership ...changing


 
Thread Tools Search this Thread
Operating Systems Solaris Diectory ownership ...changing
# 1  
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..
# 2  
Old 10-22-2003
well if you did the install again and you got the same results i would check the ownership of the patch. d/l it again and veryify agenst another known working machine. also check the perms and ownership agenst a good machine.

that is a good logical start.
# 3  
Old 10-22-2003
Ownership of the patch? Don't understand?....If you mean the ownership of the program I was installing (srs netconnect) then directory and files for program were owned by root, group was staff and it was installed by root.


Every other box was done the same way but the ownership/permissions for /etc and /usr were good before and after install.

Any help would be appreciated....
# 4  
Old 10-23-2003
Anyone have any ideas???? Anyone every seen this?
# 5  
Old 10-23-2003
finster, you know the rules by now...
(4) Do not 'bump up' questions if they are not answered promptly. No duplicate or cross-posting.

I think that Optimus_P wanted you to check the ownership of the patch and it sounds like you did that.

I don't know what to tell you. I've never seen anything like this. You clearly have some software running as root that is badly broken.
# 6  
Old 10-23-2003
My apoligies.....know the rules but didn't realize what I was doing...... Clouded by problem..........Thanks for the reply.
# 7  
Old 11-04-2003
Do you use another ID rather than root ID? I think that your current ID cause the problem. Did you switch the user by 'su - root' before installation?
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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

7. 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

8. 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

9. 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

10. 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
Login or Register to Ask a Question