I have a few Solaris 10 boxes that when I reboot then cron gets disabled. I can do
Code:
svcadm enable cron
and the service start fine and run until I reboot and then it gets disabled.
Code:
svc:/system/cron:default (clock daemon (cron))
State: disabled since Thu Dec 01 10:40:48 2011
Reason: Temporarily disabled by an administrator.
See: http://sun.com/msg/SMF-8000-1S
See: cron(1M)
See: crontab(1)
See: /var/svc/log/system-cron:default.log
Impact: This service is not running.
Here is the log for it (I think) I am not sure what I have in red below means really.
Code:
/var/svc/log/system-cron:default.log
[ Oct 26 21:41:18 Executing start method ("/lib/svc/method/svc-cron") ]
[ Oct 26 21:41:18 Method "start" exited with status 0 ]
[ Oct 26 21:41:34 Stopping because service disabled. ]
[ Oct 26 21:41:34 Executing stop method (:kill) ]
[ Oct 27 22:58:40 Enabled. ]
[ Oct 27 22:58:54 Executing start method ("/lib/svc/method/svc-cron") ]
[ Oct 27 22:58:54 Method "start" exited with status 0 ]
[ Oct 27 22:59:10 Stopping because service disabled. ]
[ Oct 27 22:59:10 Executing stop method (:kill) ]
[ Nov 3 22:32:48 Enabled. ]
[ Nov 3 22:33:02 Executing start method ("/lib/svc/method/svc-cron") ]
[ Nov 3 22:33:02 Method "start" exited with status 0 ]
[ Nov 3 22:33:18 Stopping because service disabled. ]
[ Nov 3 22:33:18 Executing stop method (:kill) ]
[ Nov 8 18:14:11 Enabled. ]
[ Nov 8 18:14:24 Executing start method ("/lib/svc/method/svc-cron") ]
[ Nov 8 18:14:24 Method "start" exited with status 0 ]
[ Nov 8 18:14:40 Stopping because service disabled. ]
[ Nov 8 18:14:40 Executing stop method (:kill) ]
[ Nov 8 21:16:01 Enabled. ]
[ Nov 8 21:16:15 Executing start method ("/lib/svc/method/svc-cron") ]
[ Nov 8 21:16:15 Method "start" exited with status 0 ]
[ Nov 8 21:16:32 Stopping because service disabled. ]
[ Nov 8 21:16:32 Executing stop method (:kill) ]
[ Nov 23 12:56:19 Rereading configuration. ]
[ Nov 23 13:19:46 Enabled. ]
[ Nov 23 13:19:46 Executing start method ("/lib/svc/method/svc-cron") ]
[ Nov 23 13:19:46 Method "start" exited with status 0 ]
[ Nov 23 13:44:48 Stopping because service restarting. ]
[ Nov 23 13:44:48 Executing stop method (:kill) ]
[ Nov 23 13:44:48 Executing start method ("/lib/svc/method/svc-cron") ]
[ Nov 23 13:44:48 Method "start" exited with status 0 ]
[ Nov 30 13:01:44 Stopping because service restarting. ]
[ Nov 30 13:01:44 Executing stop method (:kill) ]
[ Nov 30 13:01:44 Executing start method ("/lib/svc/method/svc-cron") ]
[ Nov 30 13:01:44 Method "start" exited with status 0 ]
[ Dec 1 10:29:20 Stopping because all processes in service exited. ]
[ Dec 1 10:29:20 Executing stop method (:kill) ]
[ Dec 1 10:29:20 Executing start method ("/lib/svc/method/svc-cron") ]
[ Dec 1 10:29:20 Method "start" exited with status 0 ]
[ Dec 1 10:33:26 Enabled. ]
[ Dec 1 10:33:39 Executing start method ("/lib/svc/method/svc-cron") ]
[ Dec 1 10:33:39 Method "start" exited with status 0 ]
[ Dec 1 10:33:55 Stopping because service disabled. ]
[ Dec 1 10:33:55 Executing stop method (:kill) ]
[ Dec 1 10:40:17 Enabled. ]
[ Dec 1 10:40:32 Executing start method ("/lib/svc/method/svc-cron") ]
[ Dec 1 10:40:32 Method "start" exited with status 0 ]
[ Dec 1 10:40:48 Stopping because service disabled. ]
[ Dec 1 10:40:48 Executing stop method (:kill) ]
This has happened from day one so I have not changed anything. I did the find like you suggested but nothing came back.
I think it is strange that it will run fine until a reboot and it gets disabled.
Is there a way to add some extra logging so when it boots it tells me what is disableing it?
Our print vendor uses Solaris 10 to run thier frontend software. We have never had issues with this until we upgraded our printers. I have asked our vendor if they have done something to make cron not enable at boot. No word and I don't expect anything inteligent from them really.
read the manpage for svcadm... maybe the "-t" part is of interest...
Code:
svc:/system/cron:default (clock daemon (cron))
State: disabled since Thu Dec 01 10:40:48 2011
Reason: Temporarily disabled by an administrator.
See: http://sun.com/msg/SMF-8000-1S
See: cron(1M)
See: crontab(1)
See: /var/svc/log/system-cron:default.log
Impact: This service is not running.
Quote:
enable [-rst] {FMRI | pattern}. . .
Enables the service instances specified by the operands. For each service instance, the assigned restarter will try to bring it to the online state. This action requires permission to modify the “general” property group of the service instance (see smf_security(5)).
If the -r option is specified, svcadm enables each service instance and recursively enables its dependencies.
If the -s option is specified, svcadm enables each service instance and then waits for each service instance to enter the online or degraded state. svcadm will return early if it determines that the service cannot reach these states without administrator intervention.
If the -t option is specified, svcadm temporarily enables each service instance. Temporary enable only lasts until reboot. This action requires permission to modify the “restarter_actions” property group of the service instance (see smf_security(5)). By default, enable is persistent across reboot.
the service is marked as "temp" down... so someone or something must have done that... maybe a script (which is also running at startup) is causing the issue.
the service is marked as "temp" down... so someone or something must have done that... maybe a script (which is also running at startup) is causing the issue.
Yeah that is what I was thinking but can't figure out how to find that out. I was hoping to be able to run some more detailed logging on either the cron startup or the service manager on startup.
Dear all,
I Need your help,my server v240 with sun solaris 10 can't remote login.I try conncet via rsc and then go to OK prom....and i get the status :
{1} ok boot -a
FATAL: system is not bootable, boot command is disabled
{1} ok boot cdrom -s
FATAL: system is not bootable, boot command is... (2 Replies)
Hi experts,
I am using solaris10 operating system on a N240 Sun server. I have a problem on NTP, that is, i am using an external ntp server and when i enable ntp instance via smf, it works for a while then it gets disabled.. Here these are the info:
1) I enable the ntp service:
# svcadm... (1 Reply)
I am trying to install Solaris x86 using the Jumpstart server. I run the add_install_client command with appropriate options, and reboot my x86 Target box. The installation starts fine and unattended. After the installation completes and the target goes for a re-boot, it does not boot from the HDD... (9 Replies)
Hello,
I have kubuntu on my laptop and now I decided to switch to Windows 7. I made the bios settings properly (first choice is boot from cd\vd) but I see the error
" reboot and select proper Boot device or insert Boot media in select Boot device and press a key "
I have tried CD and... (0 Replies)
Hi All,
Will some one kindly explian below ?
selinux
What is the effect of installing a server using this kickstart option as follows:
selinux --enforcing
and
selinux --disabled (1 Reply)
When I installed the SOLARIS 10 OS first time, the desktop would not start up, this was because of network setup. Reinstalled worked. After a week due to some problem I had to reinstall OS, installation went fine and but when i reboot I get this error.
cannot find mis/krtld
boot error loading... (0 Replies)
Hey !
I am running EWS-UX/V (Rel 4.2) on NEC EWS/4800/330 station and I am having problems rebooting my station : I am getting the following message on display : BOOT : PANIC : File size out of range.
According to user guide, this error is occuring when a file exceeding the limit and/or... (2 Replies)
Hi all, need your help again :P
I am trying to build a server in work, and it comes up with the OBP (Open Boot Prompt) and when i try and install the cdrom
"boot cdrom -s"
it throws back the following error:
"System is not bootable, boot command is disabled"
This is trying to install... (3 Replies)