hcx78 | 4 Apr 2012 13:15
Picon
Favicon

/opt/etc/init.d/S80nginx: /opt/etc/init.d/S80nginx: 46: /opt/sbin/ngin not found



Hi folks,

I am trying to run nginx 1.0.14-1 on Kamikaze-7.09 (no other Version correctly rebooted) on my NSLU2. Anything looks fine nginx was installed under /opt/sbin the start-script is /opt/etc/init.d/S80nginx my nginx.conf is at /opt/etc/nginx - so far so good.

But when I try to start nginx like this: /opt/etc/init.d/S80nginx start I get: "/opt/etc/init.d/S80nginx: /opt/etc/init.d/S80nginx: 46: /opt/sbin/nginx: not found".
Using Google I also found this: /opt/sbin/nginx what openwrt responses with not found also.

I tried to fix it by changing the PATH in S80nginx to PATH=/opt/sbin without success.
Now I feel a bit like not to see the wood for the tr ees, because the same error I have with lighttpd even though /sbin/nginx respectively /sbin/lighttpd definitely exist.

Could you give me a hand to fix this problem?

Thanks a lot in Advance

hcx

__._,_.___

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___
Rui Rocha | 4 Apr 2012 14:50
Favicon

Re: /opt/etc/init.d/S80nginx: /opt/etc/init.d/S80nginx: 46: /opt/sbin/ngin not found



Hi,

As far I can see from your post, it's like the script is calling ngix in some other location.

First try to start it manually. Did you tried? If yes, confirm the correct location. By your post I see that you confirm ngix is at sbin folder, but inside opt or in root? If it's out opt, create a link in opt folder, calling the other ngix.

I hope it helps.

Rui
--
Sent from my Android phone with K-9 Mail. Please excuse my brevity.

hcx78 <hcx78-/E1597aS9LQAvxtiuMwx3w@public.gmane.org> wrote:
 

Hi folks,

I am trying to run nginx 1.0.14-1 on Kamikaze-7.09 (no other Version correctly rebooted) on my NSLU2. Anything looks fine nginx was installed under /opt/sbin the start-script is /opt/etc/init.d/S80nginx my nginx.conf is at /opt/etc/nginx - so far so good.

But when I try to start nginx like this: /opt/etc/init.d/S80nginx start I get: "/opt/etc/init.d/S80nginx: /opt/etc/init.d/S80nginx: 46: /opt/sbin/nginx: not found".
Using Google I also found this: /opt/sbin/nginx what openwrt responses with not found also.

I tried to fix it by changing the PATH in S80nginx to PATH=/opt/sbin without success.
Now I feel a bit like not to see the wood f or the trees, because the same error I have with lighttpd even though /sbin/nginx respectively /sbin/lighttpd definitely exist.

Could you give me a hand to fix this problem?

T hanks a lot in Advance

hcx



__._,_.___

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___
hcx78 | 4 Apr 2012 19:17
Picon
Favicon

Re: /opt/etc/init.d/S80nginx: /opt/etc/init.d/S80nginx: 46: /opt/sbin/ngin not found

Hi Rui,

I simply reinstaled anything new and now you find that stuff under /opt/opt
(There is nothing about nginx under /root) and I changed $PREFIX in that script from opt to /opt/opt, but
same problem as before and a link in /opt didn't help.

Kind regards,

hcx78

------------------------------------

Rui Rocha | 5 Apr 2012 00:06
Favicon

Re: Re: /opt/etc/init.d/S80nginx: /opt/etc/init.d/S80nginx: 46: /opt/sbin/ngin not found



And did you try to run ngix manually? Do you get any error? It runs?

Rui

 

e-mail: ruirocha-FcwNi45JtBiBldXiawXZ59HuzzzSOjJt@public.gmane.org

Telf.: +351 302002640 | TM: +351 917368160 | Fax: +351 302004620


On 04-04-2012 18:17, hcx78 wrote:
 

Hi Rui,

I simply reinstaled anything new and now you find that stuff under /opt/opt
(There is nothing about nginx under /root) and I changed $PREFIX in that script from opt to /opt/opt, but same problem as before and a link in /opt didn't help.

Kind regards,

hcx78



__._,_.___

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___
Attachment (ruirocha.vcf): text/x-vcard, 233 bytes
Emil Granström | 6 Apr 2012 10:02
Picon

Clone my usb disk on the slug ?

Hello !

Is there anyway to clone my usb disk to another usb disc only using the 
slug ?
All guides I have seen involves a standalone Linux box.

I suspect my USB drive 4+ year old is about to crash so I want to 
"install" my system onto a new one.
I am running Unslung 6.10-beta

Brg
     Emil

------------------------------------

Thomas Cooper | 6 Apr 2012 16:02
Picon

Re: Clone my usb disk on the slug ?



The dd command is your friend...

dd if=/dev/sda of=/dev/sdb

will copy the entire contents, block by block from sda to sdb.

You need to identify your source and destination devices.

These clues should get you going...

On Fri, Apr 6, 2012 at 2:02 AM, Emil Granström <emilg-Jdbf3xiKgS8@public.gmane.org> wrote:
 

Hello !

Is there anyway to clone my usb disk to another usb disc only using the
slug ?
All guides I have seen involves a standalone Linux box.

I suspect my USB drive 4+ year old is about to crash so I want to
"install" my system onto a new one.
I am running Unslung 6.10-beta

Brg
Emil




__._,_.___


Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___
Emil Granström | 6 Apr 2012 21:06
Picon

Re: Clone my usb disk on the slug ?



Thanks, I will look into dd.
Brg
 Emil

On 2012-04-06 16:02, Thomas Cooper wrote:
 

The dd command is your friend...


dd if=/dev/sda of=/dev/sdb

will copy the entire contents, block by block from sda to sdb.

You need to identify your source and destination devices.

These clues should get you going...

On Fri, Apr 6, 2012 at 2:02 AM, Emil Granström <emilg-Jdbf3xiKgS8@public.gmane.org> wrote:
 

Hello !

Is there anyway to clone my usb disk to another usb disc only using the
slug ?
All guides I have seen involves a standalone Linux box.

I suspect my USB drive 4+ year old is about to crash so I want to
"install" my system onto a new one.
I am running Unslung 6.10-beta

Brg
Emil




__._,_.___

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___

Gmane