I believe you cannot use sysctls inside LX. Those are normally for tuning and 
frankly applications that directly use them in Linux are ill behaved.  Sadly 
it's all too common in Linux land.  LX doesn't emulate this interface. 

You shouldn't need to use these at all as the kernel underneath has different 
tuning mechanisms (and tends much more towards self tuning with fewer knobs). 

Sent from my iPhone

> On Jan 27, 2016, at 10:49 PM, Tim Tang <[email protected]> wrote:
> 
> Hi Community,
> 
>     I tried to install 
> AeroSpike(aerospike-server-community-3.7.2-ubuntu12.04)  in SmartOS(the 
> latest version 20160121) lx branded zone, a Ubuntu OS (name:ubuntu-15.04  
> version:20151105  os:linux   type:lx-dataset)  is running on this zone. It 
> seems that Aerospike can not run healthy on this lx branded zone.  I also 
> tried 201601108 SmartOS and I used CentOS 7 running in the lx branded zone. 
> They all have the same problems just like below:
> 
> ========================================
> ● aerospike.service - LSB: Aerospike Clustered Data Service
>    Loaded: loaded (/etc/init.d/aerospike)
>    Active: active (running) since Tue 2016-01-26 11:34:57 UTC; 20s ago
>      Docs: man:systemd-sysv-generator(8)
>   Process: 3992 ExecStart=/etc/init.d/aerospike start (code=exited, 
> status=0/SUCCESS)
>    CGroup: /system.slice/aerospike.service
>            └─4004 /usr/bin/asd —config-file /etc/aerospike/aerospike.conf
> 
> Jan 26 11:34:56 39239cb0-5c69-c511-87d2-a334166b36fb aerospike[3992]: sysctl: 
> cannot stat /proc/sys/kernel/shmall: No such file or directory
> Jan 26 11:34:56 39239cb0-5c69-c511-87d2-a334166b36fb aerospike[3992]: 
> /etc/init.d/aerospike: line 34: [: -lt: unary operator expected
> Jan 26 11:34:56 39239cb0-5c69-c511-87d2-a334166b36fb aerospike[3992]: * 
> Starting aerospike
> Jan 26 11:34:57 39239cb0-5c69-c511-87d2-a334166b36fb aerospike[3992]: …done.
> 
> ==========================================
> 
> After I check the Aerospike code, I run the command /sbin/sysctl -n 
> kernel.shmall and it can not succeed.
> =========================================
> root@ad04452f-dde8-6dbf-b22a-d626f7ca233f:~# /sbin/sysctl -n kernel.shmall
> 
> sysctl: cannot stat /proc/sys/kernel/shmall: No such file or directory
> 
> ==========================================
> 
> Could you please help me with that? Can lx branded zone use the command " 
> /sbin/sysctl -n kernel.shmall".  Do I make a mistake or Smart OS zone can not 
> do that? Thanks very much.    
> 
> Thanks
> 
> -- 
> 
> Blog -> http://timtang.me
> Email -> [email protected]
> smartos-discuss | Archives  | Modify Your Subscription         



-------------------------------------------
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com

Reply via email to