Help setting up HaProxy in container station.
- oyvindo
- Experience counts
- Posts: 1399
- Joined: Tue May 19, 2009 2:08 am
- Location: Norway, Oslo
Re: Help setting up HaProxy in container station.
Any particular reason why you refuse to post a screencap of your Shared Folder setting during creation in CS?
-
- Starting out
- Posts: 14
- Joined: Thu Apr 30, 2020 2:47 pm
Re: Help setting up HaProxy in container station.
Sorry i am not refusing i am very glad for the help
i copied and pasted it in my last post, thought you had enough on that.
Screenshots
i copied and pasted it in my last post, thought you had enough on that.
Screenshots
- oyvindo
- Experience counts
- Posts: 1399
- Joined: Tue May 19, 2009 2:08 am
- Location: Norway, Oslo
Re: Help setting up HaProxy in container station.
Ok, the first shot (of the three) is the one I was interested in seeing, but regretfully, the resolution is too low to read any of the text.
Can you please post an image with 1:1 resolution? (or use Imgur instead).
Can you please post an image with 1:1 resolution? (or use Imgur instead).
- Axell
- Starting out
- Posts: 35
- Joined: Thu Apr 05, 2018 3:02 pm
Re: Help setting up HaProxy in container station.
Hello!
I just have the same problem with HaProxy on docker in QNAP (QTS is the latest).
In my home CentOS VM i have no problems with HA, but it cant start it in Docker containter in my QNAP D4.
My initial data:
1. QNAP D4;
2. QTS 5.0.0.1716;
3. Default setting of HA Proxy from official image (on screen);
4. HAProxy version is: latest on this moment;
5. I have no shared directory, because it is not required and i dont't touch default setting in my first tests;
My problem is warning:
.... and than container stops immediately!
So, my questions is:
1. Is it should't work "from box" without different setting? Why we have default setting if it does't work..... i dont understand that;
2. What i should do to run docker official image whithout any ussies?
Thanks a lot!!!
Screens are below
I just have the same problem with HaProxy on docker in QNAP (QTS is the latest).
In my home CentOS VM i have no problems with HA, but it cant start it in Docker containter in my QNAP D4.
My initial data:
1. QNAP D4;
2. QTS 5.0.0.1716;
3. Default setting of HA Proxy from official image (on screen);
4. HAProxy version is: latest on this moment;
5. I have no shared directory, because it is not required and i dont't touch default setting in my first tests;
My problem is warning:
Code: Select all
[NOTICE] (1) : haproxy version is 2.4.2-553dee3
[NOTICE] (1) : path to executable is /usr/local/sbin/haproxy
[ALERT] (1) : Cannot open configuration file/directory /usr/local/etc/haproxy/haproxy.cfg : No such file or directory
So, my questions is:
1. Is it should't work "from box" without different setting? Why we have default setting if it does't work..... i dont understand that;
2. What i should do to run docker official image whithout any ussies?
Thanks a lot!!!
Screens are below
You do not have the required permissions to view the files attached to this post.
Network Storages in use: QNap D4, Synogogy DS214SE
- oyvindo
- Experience counts
- Posts: 1399
- Joined: Tue May 19, 2009 2:08 am
- Location: Norway, Oslo
Re: Help setting up HaProxy in container station.
I don't read Russian, so most of your pictures becomes just guesswork.
Anyway, it looks as if you did not create an external folder/path to store your config file.
You should never store such information inside the container.
Next, I think you have to manually create an empty file named haproxy.cfg in the right location before you run/install the container.
Anyway, it looks as if you did not create an external folder/path to store your config file.
You should never store such information inside the container.
Next, I think you have to manually create an empty file named haproxy.cfg in the right location before you run/install the container.
- Axell
- Starting out
- Posts: 35
- Joined: Thu Apr 05, 2018 3:02 pm
Re: Help setting up HaProxy in container station.
Yes, i dont. I expect that image already have default haproxy.cfg file. Ok, thanks, i try to create .cfg file in external device and mount it to container.
Network Storages in use: QNap D4, Synogogy DS214SE
- Axell
- Starting out
- Posts: 35
- Joined: Thu Apr 05, 2018 3:02 pm
Re: Help setting up HaProxy in container station.
Thanks, i start container. So for other forum members.
1. Create some directory on QNap - in my case it is /Container/container-station-date/mounts/haproxy, and i insert empty haproxy.cfg file in this directorty;
2. In create container wizard i go to advanced settings and setup mount point: on screen
3. Than i run container with no errors.
Another question - can i log in with SU rights? I try:
command but i dont know password. I want it to config my haproxy.cfg in container.
Thanks!
1. Create some directory on QNap - in my case it is /Container/container-station-date/mounts/haproxy, and i insert empty haproxy.cfg file in this directorty;
2. In create container wizard i go to advanced settings and setup mount point: on screen
3. Than i run container with no errors.
Another question - can i log in with SU rights? I try:
Code: Select all
su -
Thanks!
You do not have the required permissions to view the files attached to this post.
Network Storages in use: QNap D4, Synogogy DS214SE
- oyvindo
- Experience counts
- Posts: 1399
- Joined: Tue May 19, 2009 2:08 am
- Location: Norway, Oslo
[Solved] Help setting up HaProxy in container station.
Good that it worked out for you.
Regretfully, I cannot help you with HAProxy itself, as I have never used it. I use Apache Proxy and Nginx Proxy.
Regretfully, I cannot help you with HAProxy itself, as I have never used it. I use Apache Proxy and Nginx Proxy.
- Axell
- Starting out
- Posts: 35
- Joined: Thu Apr 05, 2018 3:02 pm
Re: Help setting up HaProxy in container station.
Ok, thanks a lot!!!
Network Storages in use: QNap D4, Synogogy DS214SE
- oyvindo
- Experience counts
- Posts: 1399
- Joined: Tue May 19, 2009 2:08 am
- Location: Norway, Oslo
Re: Help setting up HaProxy in container station.
If you are pasting a cfg file from a stand alone config into a container version, then don't expect that to work.
You have to rebuild the config from scratch.
Your error messages are quite clear: userid and groupid seems to be incorrect.
In addition, doublecheck all absolute and relative path settings as they most likely will change when you go to a container version.
You have to rebuild the config from scratch.
Your error messages are quite clear: userid and groupid seems to be incorrect.
In addition, doublecheck all absolute and relative path settings as they most likely will change when you go to a container version.
-
- Starting out
- Posts: 19
- Joined: Wed Oct 12, 2016 8:03 pm
Re: Help setting up HaProxy in container station.
Everything works except qsync which says "login failed".
Anyone using qsync who can share their settings?
Anyone using qsync who can share their settings?