[OpenSIPS-Users] Question about opensips start and stop

Iñaki Baz Castillo ibc at aliax.net
Wed Dec 17 13:39:23 CET 2008


2008/12/17 mark morreny <markmorreny at gmail.com>:
> Hi,
>
> Thank you for your kind help, but when I tried your solution, I am getting
> error:
>
> [root at localhost ~]# cat /var/run/opensips_perf.pid
> 3513
> [root at localhost ~]# kill 'cat /var/run/opensips_perf.pid'
> -bash: kill: cat /var/run/opensips_perf.pid: arguments must be process or
> job IDs
> [root at localhost ~]#
>
> Any suggestion what is wrong?

Why are you using 'cat /var/run/opensips_perf.pid' ?? That's totally wrong.

I hope you mean:   `cat /var/run/opensips_perf.pid`

But I prefer:    $(cat /var/run/opensips_perf.pid)

-- 
Iñaki Baz Castillo
<ibc at aliax.net>


More information about the Users mailing list