View previous topic :: View next topic |
Author |
Message |
NismoC32 Apprentice
Joined: 07 Apr 2003 Posts: 222
|
Posted: Tue May 23, 2023 3:53 pm Post subject: [SOLVED] Redis with NetworkManager: missing net.lo |
|
|
I have switched from netifrc to NetworkManager, and everything seems to be working accept Redis.
When I try to start the redis daemon i get the following error message:
Quote: | * ERROR: redis needs service(s) net.lo |
I cant figure out how to fix this other than having netifrc and NetworkManager installed at the same time.
I'm running redis v. 7.0.11.
Last edited by NismoC32 on Tue May 23, 2023 4:21 pm; edited 1 time in total |
|
Back to top |
|
|
grknight Retired Dev
Joined: 20 Feb 2015 Posts: 2000
|
Posted: Tue May 23, 2023 4:03 pm Post subject: |
|
|
Change your /etc/conf.d/redis to the valid rc_need value to run redis. If this is 127.0.0.1, change to "loopback" to not involve netifrc. The loopback script is part of OpenRC itself. |
|
Back to top |
|
|
NismoC32 Apprentice
Joined: 07 Apr 2003 Posts: 222
|
Posted: Tue May 23, 2023 4:20 pm Post subject: |
|
|
Thanks grknight i marked out rc_need="net.lo" in /etc/conf.d/redis
and changed the bind 127.0.0.1 to bind loopback in /etc/redis/redis.conf
now redis starts and my webpage is up and running again:-)
The quickest solve so far... |
|
Back to top |
|
|
grknight Retired Dev
Joined: 20 Feb 2015 Posts: 2000
|
Posted: Tue May 23, 2023 4:26 pm Post subject: |
|
|
NismoC32 wrote: | Thanks grknight i marked out rc_need="net.lo" in /etc/conf.d/redis
and changed the bind 127.0.0.1 to bind loopback in /etc/redis/redis.conf
now redis starts and my webpage is up and running again:-)
The quickest solve so far... |
I mean rc_need="loopback" in conf.d/redis not changing redis/redis.conf. |
|
Back to top |
|
|
NismoC32 Apprentice
Joined: 07 Apr 2003 Posts: 222
|
Posted: Tue May 23, 2023 4:37 pm Post subject: |
|
|
grknight wrote: | NismoC32 wrote: | Thanks grknight i marked out rc_need="net.lo" in /etc/conf.d/redis
and changed the bind 127.0.0.1 to bind loopback in /etc/redis/redis.conf
now redis starts and my webpage is up and running again:-)
The quickest solve so far... |
I mean rc_need="loopback" in conf.d/redis not changing redis/redis.conf. |
Ohhh thanks
PS: same has to be done with /etc/conf.d/redis-sentinel.
Thank you, Tank you grknight |
|
Back to top |
|
|
NismoC32 Apprentice
Joined: 07 Apr 2003 Posts: 222
|
Posted: Tue May 23, 2023 4:41 pm Post subject: |
|
|
You shouldn't have a quick solve for apache's warning message too:
Quote: | You are binding an interface in you virtual hosts.
* You must add rc_need="net.FOO" to your /etc/conf.d/apache2
* where FOO is the interface(s) providing the following address(es):
* *:8080 *:8081 *:8082 |
|
|
Back to top |
|
|
grknight Retired Dev
Joined: 20 Feb 2015 Posts: 2000
|
Posted: Tue May 23, 2023 5:00 pm Post subject: |
|
|
NismoC32 wrote: | Yuo should have a quick solve for apache's warning message too:
Quote: | You are binding an interface in you virtual hosts.
* You must add rc_need="net.FOO" to your /etc/conf.d/apache2
* where FOO is the interface(s) providing the following address(es):
* *:8080 *:8081 *:8082 |
|
This is a bogus warning when binding on all addresses of a port. The kernel will adjust as more addresses are added.
It is meant to warn if a specific IP and port are listed but looks like that is not the case. |
|
Back to top |
|
|
NismoC32 Apprentice
Joined: 07 Apr 2003 Posts: 222
|
Posted: Tue May 23, 2023 5:04 pm Post subject: |
|
|
grknight wrote: | NismoC32 wrote: | Yuo should have a quick solve for apache's warning message too:
Quote: | You are binding an interface in you virtual hosts.
* You must add rc_need="net.FOO" to your /etc/conf.d/apache2
* where FOO is the interface(s) providing the following address(es):
* *:8080 *:8081 *:8082 |
|
This is a bogus warning when binding on all addresses of a port. The kernel will adjust as more addresses are added.
It is meant to warn if a specific IP and port are listed but looks like that is not the case. |
Ok. thanks for the clarification. |
|
Back to top |
|
|
|