Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Redis with NetworkManager: missing net.lo
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
NismoC32
Apprentice
Apprentice


Joined: 07 Apr 2003
Posts: 214

PostPosted: Tue May 23, 2023 3:53 pm    Post subject: [SOLVED] Redis with NetworkManager: missing net.lo Reply with quote

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
View user's profile Send private message
grknight
Retired Dev
Retired Dev


Joined: 20 Feb 2015
Posts: 1660

PostPosted: Tue May 23, 2023 4:03 pm    Post subject: Reply with quote

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
View user's profile Send private message
NismoC32
Apprentice
Apprentice


Joined: 07 Apr 2003
Posts: 214

PostPosted: Tue May 23, 2023 4:20 pm    Post subject: Reply with quote

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... :P
Back to top
View user's profile Send private message
grknight
Retired Dev
Retired Dev


Joined: 20 Feb 2015
Posts: 1660

PostPosted: Tue May 23, 2023 4:26 pm    Post subject: Reply with quote

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... :P


I mean rc_need="loopback" in conf.d/redis not changing redis/redis.conf.
Back to top
View user's profile Send private message
NismoC32
Apprentice
Apprentice


Joined: 07 Apr 2003
Posts: 214

PostPosted: Tue May 23, 2023 4:37 pm    Post subject: Reply with quote

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... :P


I mean rc_need="loopback" in conf.d/redis not changing redis/redis.conf.


Ohhh thanks :oops:

PS: same has to be done with /etc/conf.d/redis-sentinel.

Thank you, Tank you grknight
Back to top
View user's profile Send private message
NismoC32
Apprentice
Apprentice


Joined: 07 Apr 2003
Posts: 214

PostPosted: Tue May 23, 2023 4:41 pm    Post subject: Reply with quote

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
View user's profile Send private message
grknight
Retired Dev
Retired Dev


Joined: 20 Feb 2015
Posts: 1660

PostPosted: Tue May 23, 2023 5:00 pm    Post subject: Reply with quote

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
View user's profile Send private message
NismoC32
Apprentice
Apprentice


Joined: 07 Apr 2003
Posts: 214

PostPosted: Tue May 23, 2023 5:04 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum