Prev: Solaris 10 x86 installation problem
Next: Growing a FS
From: John Oliver on 3 Sep 2008 14:38 bash-3.00# svcs STATE STIME FMRI legacy_run Aug_29 lrc:/etc/rc2_d/S20sysetup legacy_run Aug_29 lrc:/etc/rc2_d/S72autoinstall legacy_run Aug_29 lrc:/etc/rc2_d/S73cachefs_daemon legacy_run Aug_29 lrc:/etc/rc2_d/S81dodatadm_udaplt legacy_run Aug_29 lrc:/etc/rc2_d/S89PRESERVE legacy_run Aug_29 lrc:/etc/rc2_d/S98deallocate legacy_run Aug_29 lrc:/etc/rc3_d/S16boot_server online Aug_29 svc:/system/svc/restarter:default online Aug_29 svc:/network/loopback:default online Aug_29 svc:/network/pfil:default online Aug_29 svc:/system/filesystem/root:default online Aug_29 svc:/system/scheduler:default online Aug_29 svc:/system/boot-archive:default online Aug_29 svc:/network/physical:default online Aug_29 svc:/milestone/network:default online Aug_29 svc:/system/identity:node online Aug_29 svc:/system/filesystem/usr:default online Aug_29 svc:/system/keymap:default online Aug_29 svc:/system/device/local:default online Aug_29 svc:/system/filesystem/minimal:default online Aug_29 svc:/platform/sun4v/drd:default online Aug_29 svc:/system/name-service-cache:default online Aug_29 svc:/system/rmtmpfiles:default online Aug_29 svc:/system/coreadm:default online Aug_29 svc:/system/identity:domain online Aug_29 svc:/system/sysevent:default online Aug_29 svc:/system/cryptosvc:default online Aug_29 svc:/system/picl:default online Aug_29 svc:/system/device/fc-fabric:default online Aug_29 svc:/milestone/devices:default online Aug_29 svc:/network/initial:default online Aug_29 svc:/system/manifest-import:default online Aug_29 svc:/network/service:default online Aug_29 svc:/milestone/single-user:default online Aug_29 svc:/network/dns/client:default online Aug_29 svc:/platform/sun4v/efdaemon:default online Aug_29 svc:/network/ldap/client:default online Aug_29 svc:/system/filesystem/local:default online Aug_29 svc:/milestone/name-services:default online Aug_29 svc:/system/sysidtool:net online Aug_29 svc:/system/cron:default online Aug_29 svc:/application/stosreg:default online Aug_29 svc:/network/routing-setup:default online Aug_29 svc:/network/rpc/bind:default online Aug_29 svc:/network/nfs/cbd:default online Aug_29 svc:/network/nfs/status:default online Aug_29 svc:/system/sysidtool:system online Aug_29 svc:/network/nfs/mapid:default online Aug_29 svc:/milestone/sysconfig:default online Aug_29 svc:/network/nfs/nlockmgr:default online Aug_29 svc:/system/sac:default online Aug_29 svc:/system/utmp:default online Aug_29 svc:/network/inetd:default online Aug_29 svc:/system/system-log:default online Aug_29 svc:/network/smtp:sendmail online Aug_29 svc:/network/rpc/gss:default online Aug_29 svc:/application/x11/xfs:default online Aug_29 svc:/network/rpc/rstat:default online Aug_29 svc:/network/nfs/client:default online Aug_29 svc:/network/rpc/rusers:default online Aug_29 svc:/network/security/ktkt_warn:default online Aug_29 svc:/network/nfs/rquota:default online Aug_29 svc:/system/dumpadm:default online Aug_29 svc:/network/ftp:default online Aug_29 svc:/network/finger:default online Aug_29 svc:/network/login:rlogin online Aug_29 svc:/network/shell:default online Aug_29 svc:/milestone/multi-user-server:default online Aug_29 svc:/network/stdiscover:default online Aug_29 svc:/network/stlisten:default online Aug_29 svc:/network/rpc-100235_1/rpc_ticotsord:default online Aug_29 svc:/system/fmd:default online Aug_29 svc:/system/console-login:default online 11:12:31 svc:/milestone/multi-user:default online 11:16:59 svc:/network/ntp:default online 11:24:45 svc:/network/ssh:default How can I find out what these services are, and which ones I need and which should be turned off? -- * John Oliver http://www.john-oliver.net/ *
From: Andrew Gabriel on 3 Sep 2008 16:30 In article <slrngbtmcm.39i.joliver(a)ns.sdsitehosting.net>, John Oliver <joliver(a)john-oliver.net> writes: > > How can I find out what these services are, and which ones I need and > which should be turned off? I can't imagine how anyone else could answer that with no information about what the system will be used for. You might find svcs -p useful to associate services with running processes. -- Andrew Gabriel [email address is not usable -- followup in the newsgroup]
From: Richard B. Gilbert on 3 Sep 2008 19:40 John Oliver wrote: > bash-3.00# svcs > STATE STIME FMRI > legacy_run Aug_29 lrc:/etc/rc2_d/S20sysetup > legacy_run Aug_29 lrc:/etc/rc2_d/S72autoinstall > legacy_run Aug_29 lrc:/etc/rc2_d/S73cachefs_daemon > legacy_run Aug_29 lrc:/etc/rc2_d/S81dodatadm_udaplt > legacy_run Aug_29 lrc:/etc/rc2_d/S89PRESERVE > legacy_run Aug_29 lrc:/etc/rc2_d/S98deallocate > legacy_run Aug_29 lrc:/etc/rc3_d/S16boot_server > online Aug_29 svc:/system/svc/restarter:default > online Aug_29 svc:/network/loopback:default > online Aug_29 svc:/network/pfil:default > online Aug_29 svc:/system/filesystem/root:default > online Aug_29 svc:/system/scheduler:default > online Aug_29 svc:/system/boot-archive:default > online Aug_29 svc:/network/physical:default > online Aug_29 svc:/milestone/network:default > online Aug_29 svc:/system/identity:node > online Aug_29 svc:/system/filesystem/usr:default > online Aug_29 svc:/system/keymap:default > online Aug_29 svc:/system/device/local:default > online Aug_29 svc:/system/filesystem/minimal:default > online Aug_29 svc:/platform/sun4v/drd:default > online Aug_29 svc:/system/name-service-cache:default > online Aug_29 svc:/system/rmtmpfiles:default > online Aug_29 svc:/system/coreadm:default > online Aug_29 svc:/system/identity:domain > online Aug_29 svc:/system/sysevent:default > online Aug_29 svc:/system/cryptosvc:default > online Aug_29 svc:/system/picl:default > online Aug_29 svc:/system/device/fc-fabric:default > online Aug_29 svc:/milestone/devices:default > online Aug_29 svc:/network/initial:default > online Aug_29 svc:/system/manifest-import:default > online Aug_29 svc:/network/service:default > online Aug_29 svc:/milestone/single-user:default > online Aug_29 svc:/network/dns/client:default > online Aug_29 svc:/platform/sun4v/efdaemon:default > online Aug_29 svc:/network/ldap/client:default > online Aug_29 svc:/system/filesystem/local:default > online Aug_29 svc:/milestone/name-services:default > online Aug_29 svc:/system/sysidtool:net > online Aug_29 svc:/system/cron:default > online Aug_29 svc:/application/stosreg:default > online Aug_29 svc:/network/routing-setup:default > online Aug_29 svc:/network/rpc/bind:default > online Aug_29 svc:/network/nfs/cbd:default > online Aug_29 svc:/network/nfs/status:default > online Aug_29 svc:/system/sysidtool:system > online Aug_29 svc:/network/nfs/mapid:default > online Aug_29 svc:/milestone/sysconfig:default > online Aug_29 svc:/network/nfs/nlockmgr:default > online Aug_29 svc:/system/sac:default > online Aug_29 svc:/system/utmp:default > online Aug_29 svc:/network/inetd:default > online Aug_29 svc:/system/system-log:default > online Aug_29 svc:/network/smtp:sendmail > online Aug_29 svc:/network/rpc/gss:default > online Aug_29 svc:/application/x11/xfs:default > online Aug_29 svc:/network/rpc/rstat:default > online Aug_29 svc:/network/nfs/client:default > online Aug_29 svc:/network/rpc/rusers:default > online Aug_29 svc:/network/security/ktkt_warn:default > online Aug_29 svc:/network/nfs/rquota:default > online Aug_29 svc:/system/dumpadm:default > online Aug_29 svc:/network/ftp:default > online Aug_29 svc:/network/finger:default > online Aug_29 svc:/network/login:rlogin > online Aug_29 svc:/network/shell:default > online Aug_29 svc:/milestone/multi-user-server:default > online Aug_29 svc:/network/stdiscover:default > online Aug_29 svc:/network/stlisten:default > online Aug_29 svc:/network/rpc-100235_1/rpc_ticotsord:default > online Aug_29 svc:/system/fmd:default > online Aug_29 svc:/system/console-login:default > online 11:12:31 svc:/milestone/multi-user:default > online 11:16:59 svc:/network/ntp:default > online 11:24:45 svc:/network/ssh:default > > > How can I find out what these services are, and which ones I need and > which should be turned off? > man ssh, man ntp, man console-login, man fmd, . . . . Decide what you need and what you don't. . . . You might even visit http://docs.sun.com, download the manuals in PDF format for Solaris 10 System Administration and read them. Hard copy manuals are available if you want to pay for them! If you have the time and the money, Sun Educational Services offers five day courses with titles like Solaris System Administration I, Solaris System Administration II, etc. Five or six years ago they cost about $2,000 each, not counting cost of travel. They may cost more now. You might even want to buy two or three Sun workstations and set up your own home lab. I bought three Ultra 10 workstations so I could have a network to play with. It cost me about $100 each plus CPU and Memory upgrades. The Ultra 5 and Ultra 10 workstation use IDE disks which can frequently be salvaged from old PCs or purchased; an 80 GB drive sells for about $70 US from CDW or PC Connection. The largest IDE disk you can use is 127 GB. You can install a larger disk but you will see only the first 127 GB! Your private lab gives you complete freedom to install and configure, re-install and reconfigure, or to patch or not patch. If you screw it up, you can just re-install.
From: Nomen Publicus on 4 Sep 2008 14:26 John Oliver <joliver(a)john-oliver.net> wrote: > bash-3.00# svcs > STATE STIME FMRI > legacy_run Aug_29 lrc:/etc/rc2_d/S20sysetup > > How can I find out what these services are, and which ones I need and > which should be turned off? # netservices limited will switch off ALL network services except ssh. You can then enable specific services as needed using the svcadm command. For example to enable apache2 (after creating a usable http.conf file) # svcadm enable apache2 -- Mel Gibson isn't known for being faithful to the original source. His remake of The Life of Brian is rubbish. -- Michael C
From: John Oliver on 5 Sep 2008 11:38
On 03 Sep 2008 20:30:36 GMT, Andrew Gabriel wrote: > In article <slrngbtmcm.39i.joliver(a)ns.sdsitehosting.net>, > John Oliver <joliver(a)john-oliver.net> writes: >> >> How can I find out what these services are, and which ones I need and >> which should be turned off? > > I can't imagine how anyone else could answer that with no information > about what the system will be used for. I'm not sure why this is such a bizarre question. For Linux, there are several web sites that have lists of all the services and describe what they do. No need to spend hours reading man pages... just look at a list and decide, "I need this one, I don't need this one, I'm not sure about this one". That's all I'm looking for... a list of all Solaris 10 services with maybe a two sentence explanation of what it is. What the heck is "restarter"? "identity"? "coreadm"? Note, I'm not asking the group for info on these particular services, but where I could find out about all of them at a glance. That shouldn't be a tall order. -- * John Oliver http://www.john-oliver.net/ * |