by rty » Sat Feb 16, 2013 1:24 pm
The path on my V2 only points to /usr/bin and /bin:/sbin. I have this problem only on my V2, not on Series 4.
$this->bbcode_second_pass_quote('', 'p')ogo2:~$ nginx -t
-bash: nginx: command not found
pogo2:~$ ntpd -s
-bash: ntpd: command not found
pogo2:~$ echo $PATH
/usr/bin:/bin:/sbin
I know I can fix it by running 'source /etc/profile' but the problem will reappear on subsequent reboots.
$this->bbcode_second_pass_quote('', 'p')ogo2:~$ source /etc/profile
[root@pogo2 ~]# echo $PATH
/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/bin/core_perl
[root@pogo2 ~]# nginx -t
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: configuration file /etc/nginx/nginx.conf test is successful
[root@pogo2 ~]# ntpd -s
[root@pogo2 ~]#