-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Warner,
On 2009/03/22 7:04 AM, Warner White wrote:
> I've just now received a message from Dan Coutu and looked, as he
> suggests, at /etc/init.d. I found four vmware related scripts in
> there--vmware, vmware-autostart, vmware-core, and vmware-mgmt. One look
> inside them and I say, "Wow! I don't want to fuss with this without
> being very careful."
Those are scripts that can be run with a single argument ("start", in
this case) to fire up the service. (This is what 'init' does at
boot-time.) e.g.:
/etc/init.d/vmware start
You'll need to be root to do this (or run that command using 'sudo'). If
they start successfully, you'll see "[OK]". Otherwise, they die with
"[FAILED]".
You can ascertain the order in which they need to be run (if that
matters at all) by listing the contents of /etc/rc5.d, and filtering for
those files whose names begin with "S" (these are the services to Start
when entering runlevel 5) and contain "vmware"*. Something like this
should suffice:
ls -1 /etc/rc5.d/S*vmware*
(That's "ell ess dash one", not "dash ell".)
The results are most likely all symbolic links into /etc/init.d -- like
shortcuts in Windows or aliases in MacOS. Try running those scripts with
"start" as the only argument and see what you get (i.e.,
'/etc/rc5.d/S87vmware start').
If you want to get fancy(-ish) about it, you can do this all in one fell
swoop like so:
for s in `ls -1 /etc/rc5.d/S*wvmware*`; do $s start; done
How will you know if vmware processes have started?
ps -few | grep vmware
lists all running processes and filters for those whose names contain
the string "vmware".
Michael already indicated how to see if /something/ is listening on a
given port:
> war...@josie:~$ netstat -a | grep ":8"
> tcp6 0 0 localhost:8005 [::]:*
> LISTEN
> tcp6 0 0 [::]:8009 [::]:*
> LISTEN
> tcp6 0 0 [::]:8308 [::]:*
> LISTEN
You can also add the "-p" flag to 'netstat -a' if you're logged in as
root (or using 'sudo') to see the name of the process binding the port.
Cheers,
- -sth
sam hooker|[email protected]|http://www.noiseplant.com
I have received the love Internet dispatch.
-spam
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAknGW8cACgkQX8KByLv3aQ1QKACdGhps21yCFkw6aCeryvbn10r5
esgAoM0KTfblXYy9Uvo42I4RzrDRdOoS
=CMHu
-----END PGP SIGNATURE-----