Tiny Core Extensions > TCE 2.x
haproxy
Adam:
--- Quote from: Juanito on June 16, 2017, 09:41:32 AM ---posted to tc-8.x x86 repo
--- End quote ---
Thanks Juanito. Other extension normally will be there even after reboot. But this is not the case for haproxy.
Please let me know how to keep it there permanently. Thanks
Rich:
Hi Adam
My guess is that it's not listed in your onboot.lst file.
Adam:
--- Quote from: Rich on June 16, 2017, 11:35:58 PM ---Hi Adam
My guess is that it's not listed in your onboot.lst file.
--- End quote ---
Yeah, initially it's not there. But even if I add it to onboot.lst and backup it, HAproxy apps is still not there after reboot.
BEFORE REBOOT
--- Quote ---user@box:~$ haproxy
-sh: haproxy: not found
user@box:~$
user@box:~$ tce-load -i haproxy.tcz
/usr/bin/tce-load: line 212: can't create /tmp/appserr: Permission denied
haproxy.tcz: OK
user@box:~$
user@box:~$ haproxy -v
HA-Proxy version 1.3.21 2009/10/12
Copyright 2000-2009 Willy Tarreau <w@1wt.eu>
user@box:~$ sudo slocate haproxy
/home/user/haproxy.tcz
/usr/local/sbin/haproxy
/usr/local/share/man/man1/haproxy.1
/usr/local/tce.installed/haproxy
user@box:~$
user@box:~$ grep haproxy /mnt/sda1/tce/onboot.lst
haproxy.tcz
user@box:~$
--- End quote ---
AFTER REBOOT
--- Quote ---user@box:~$ cat /mnt/sda1/tce/onboot.lst
openssh.tcz
file.tcz
slocate.tcz
tzdata.tcz
nmap.tcz
tcpdump.tcz
curl.tcz
iptables.tcz
haproxy.tcz
user@box:~$
user@box:~$ haproxy
-sh: haproxy: not found
user@box:~$
user@box:~$ sudo slocate haproxy
/home/user/haproxy.tcz
user@box:~$
--- End quote ---
curaga:
That's because it's not in the correct directory. Loading it with "tce-load -i" worked because you were in the same directory, and it saw that.
Move it to your tce/optional directory.
Adam:
--- Quote from: curaga on June 17, 2017, 03:08:53 AM ---That's because it's not in the correct directory. Loading it with "tce-load -i" worked because you were in the same directory, and it saw that.
Move it to your tce/optional directory.
--- End quote ---
Thanks curaga.
I've tried to move it to your tce/optional directory, however the haproxy will be gone after reboot.
Navigation
[0] Message Index
[*] Previous page
Go to full version