Changes

From SME Server
Jump to navigationJump to search
supervised services
Line 289: Line 289:  
*If I boot my SMESERVER with a USB hard drive attached, it recognizes the drive. However, after unplugging the drive, then replugging, it no longer exists. Any ideas why?
 
*If I boot my SMESERVER with a USB hard drive attached, it recognizes the drive. However, after unplugging the drive, then replugging, it no longer exists. Any ideas why?
 
Reportedly, some external usb hd's must be completely powered up before connecting the usb cable.
 
Reportedly, some external usb hd's must be completely powered up before connecting the usb cable.
 +
    
===Tape Backups===
 
===Tape Backups===
Line 295: Line 296:  
  config setprop flexbackup TapeBlocksize 512
 
  config setprop flexbackup TapeBlocksize 512
 
AIT-2, DAT and LTO seem to work well with variable block size.
 
AIT-2, DAT and LTO seem to work well with variable block size.
 +
 +
 +
===Supervised Services===
 +
*Many services on SME are supervised, to see which are type
 +
ps ax |grep runsv
 +
To control them read the sv manual
 +
man sv
 +
 +
*it seems that "sv u http-e-smith" gives no errors, even if the
 +
service fails to restart, so you need to use "sv s httpd-e-smith" to check if it fails
 +
(example:  due to a httpd.conf error)
 +
 +
This is just the way that runsv (part of the runit package) works. The "sv u http-e-smith"
 +
only sends a message to runsv saying that we want the service to be up.
 +
runsv then will keep trying to get the service running.
 +
    
==Known Problems==
 
==Known Problems==

Navigation menu