[prev in list] [next in list] [prev in thread] [next in thread] 

List:       opensolaris-help
Subject:    Re: [osol-help] svcadm
From:       Michael Hunter <Michael.Hunter () Sun ! COM>
Date:       2007-06-29 8:16:18
Message-ID: 20070629011618.00003c13 () localhost
[Download RAW message or body]

On Fri, 29 Jun 2007 00:47:53 -0700 (PDT)
Archer <msm@worldcall.net.pk> wrote:

> i have a problem 
> 
> i wanna enable ftp for my solaris 10 machine,
> when i give this command 
> svcadm -v enable -rst svc:/network/ftp:default
> 
> reply is -bash: svc: command not found
> 
> is some path setting is disturbed or else 
> 
> help required

I'm not seeing that on my opensolaris box using bash
3.00.16(1)-release.  inetd is actually the delegated restarter for
internet services so you should use inetadm to manipulate the ftp service.

One thing you can do to investigate the original problem is set over
exec with dtrace[1] and see what is happening.  You could also use
truss although I find dtrace faster to get the data I want in cases
like this.

			mph

[1] dtrace -n 'proc:::exec-success{trace(curpsinfo->pr_psargs);} &
Watching opens can also help to see what swill your shell is reading in
you didn't know about.  Check out the dtrace community for examples,
tutorials, etc.

>  
>  
> This message posted from opensolaris.org
> _______________________________________________
> opensolaris-help mailing list
> opensolaris-help@opensolaris.org
_______________________________________________
opensolaris-help mailing list
opensolaris-help@opensolaris.org
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic