Sponsored Content
Operating Systems Solaris Lot of services in non-global zones, in uninitialized after reboot Post 303022214 by solaris_1977 on Monday 27th of August 2018 10:13:43 PM
Old 08-27-2018
Lot of services in non-global zones, in uninitialized after reboot

Hello,
This is Solaris-10 server, running with 4 non-global zones.
This server was hung today and I had to reboot it forcefully from console. Then root file-system was not clean and I had to run fsck from failsafe mode. After it came back in run-level-3, lot of services are showing in uninitialized on all non-global zones. I tried rebooting it, but no luck.
Can somebody help on this issue ?
I remember one similar issue couple of years back and I had to delete a hidden file call .uninitialize or something, but I can't recall that now.

On console, I see a line, which says -
Code:
Aug 27 19:05:40 svc.startd[7]: failed to abandon contract 69: Permission denied

But I can see svc.startd is running
Code:
bash-3.2# ps -ef | grep svc.startd
    root     7     1   0 19:04:51 ?           0:07 /lib/svc/bin/svc.startd
    root  1676     1   0 19:06:50 ?           0:05 /lib/svc/bin/svc.startd
    root  1695     1   0 19:06:51 ?           0:05 /lib/svc/bin/svc.startd
    root  1706     1   0 19:06:52 ?           0:05 /lib/svc/bin/svc.startd
    root  1694     1   0 19:06:51 ?           0:05 /lib/svc/bin/svc.startd
    root  1713     1   0 19:06:52 ?           0:05 /lib/svc/bin/svc.startd
    root  4192   838   0 19:17:03 pts/1       0:00 grep svc.startd
bash-3.2#
bash-3.2# grep abandon /var/adm/messages
Aug 27 16:34:16 server-12 svc.startd[7]: [ID 575841 daemon.notice] failed to abandon contract 71: Permission denied
Aug 27 17:00:25 server-12 svc.startd[7]: [ID 575841 daemon.notice] failed to abandon contract 71: Permission denied
Aug 27 17:18:30 server-12 svc.startd[7]: [ID 575841 daemon.notice] failed to abandon contract 71: Permission denied
Aug 27 18:16:09 server-12 svc.startd[7]: [ID 575841 daemon.notice] failed to abandon contract 913: Permission denied
Aug 27 19:05:40 server-12 svc.startd[7]: [ID 575841 daemon.notice] failed to abandon contract 69: Permission denied
bash-3.2#

Thanks

Last edited by solaris_1977; 08-27-2018 at 11:20 PM..
 

9 More Discussions You Might Find Interesting

1. Solaris

Which zones will be up on reboot ?

Hey there, I m writing a system managament tool, which for Solaris-land, will have functionality to check currently up zones, compare with those up at the "last good system reference point ", and also find out which zones will be up on a system reboot. dumpadm list -v gives me the current... (1 Reply)
Discussion started by: shriyer
1 Replies

2. Solaris

Global Zones

I'm logged into a non-global zone server. How would I find out what the global zone server name is from there? (1 Reply)
Discussion started by: soupbone38
1 Replies

3. Solaris

Global zones - not allow log via SSH

Hi, I have Global zone and 2 users: root and app. I know password root and app. When a user app log - putty displays Access denied Using keyboard-interactive authentication. In file /etc/security/policy.conf I set CRYPT_DEFAULT=2a And in file /etc/ssh/sshd_config I set PermitRootLogin... (1 Reply)
Discussion started by: bieszczaders
1 Replies

4. Solaris

How to access ENV variables of non global zones in global zone???

Hi Guys, My requirement is I have file called /opt/orahome/.profile in non global zone. PATH=/usr/bin:/usr/ucb:/etc:/usr/sbin:/usr/local/bin:/usr/openwin/bin:. export PATH PS1="\${ORACLE_SID}:`hostname`:\$PWD$ " export PS1 EDITOR=vi export EDITOR ENV=/opt/orahome/.kshrc export ENV... (1 Reply)
Discussion started by: vijaysachin
1 Replies

5. Solaris

How to see global hostname by logging in non global zones?

Hi guru Could any one help me by letting me know, how to see global hostname by logging in non global zones Regards (2 Replies)
Discussion started by: girish.batra
2 Replies

6. Solaris

cpu- requirements for non-global zones

Hello Admins, Does anyone has any idea on how to assign no. of cpu and memory to non-global zones on solaris 10..... We have few zones in our environment. We wanted to assign memory and no of cpu's ..(e.g. 4Gb / 2 CPU's) Thanks... (4 Replies)
Discussion started by: snchaudhari2
4 Replies

7. Solaris

Zones not booting after server reboot

Hello guys This is my first post. I have very little experience and I woud appreciate your input on this problem. I have a server running Solaris 10. In that server I have 2 zones that work perfectly fine, however, if I reboot the server, the zones don't boot and I have to do it manually. i... (12 Replies)
Discussion started by: designbc
12 Replies

8. Solaris

Solaris 10 - rexplorer and Non-Global zones

Hi all - not really a problem as such, but just hoping someone can shed some light. We point rexplorer to multiple Global zones and it works as expected. However, each Non-Global zone get around a hundred of root su'ing to root messages, i.e.: SU 07/14 03:02 + ??? root-root SU 07/14 03:02 +... (5 Replies)
Discussion started by: dlam
5 Replies

9. Solaris

Solaris Global/Zones patching

Issue is : We have Solaris Global with 12 Zones and some have 15 Zones. All the OS version are10. Is it possible to apply patch at Zone level instead of patching at Global level? Please let me know. (10 Replies)
Discussion started by: baladelaware73
10 Replies
reboot(2)							System Calls Manual							 reboot(2)

NAME
reboot - boot the system SYNOPSIS
DESCRIPTION
causes the system to reboot. howto is a mask of reboot options (see specified as follows: A file system sync is performed (unless is set) and the processor is rebooted from the default device and file. The processor is simply halted. A sync of the file system is performed unless the flag is set. should be used with caution. On systems with cellular architecture, all cells in the partition are rebooted in order to reconfigure the stable complex configuration data. On systems with non-cellular architec- ture, the default is A sync of the file system is performed unless the flag is set. Shut down the system firmware to a "ready to reconfigure" state and do not reboot. This option can be used only in combination with A sync of the file system is not performed. Unless the flag has been specified, reboot(2) unmounts all mounted file systems and marks them clean so that it will not be necessary to run fsck(1M) on these file systems when the system reboots. Only users with appropriate privileges can reboot a machine. RETURN VALUE
If successful, this call never returns. Otherwise, a -1 is returned and is set to indicate the error. ERRORS
fails if this condition is encountered: [EPERM] The effective user ID of the caller is not a user with appropriate privileges. DEPENDENCIES
The default file and device for is on the current root device. AUTHOR
was developed by HP and the University of California, Berkeley. SEE ALSO
reboot(1M), privileges(5). reboot(2)
All times are GMT -4. The time now is 11:48 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy