Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Not able to run stunnel
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
manu_leo
Guru
Guru


Joined: 20 Jan 2014
Posts: 513
Location: India

PostPosted: Fri Jan 09, 2015 12:27 pm    Post subject: [SOLVED] Not able to run stunnel Reply with quote

Hi Expets, I am trying to start stunnel on my Gentoo server and I get the below error message :-

Quote:
ERROR: stunnel needs service(s) net + gentoo


I am not sure how to get this fixed as I havent worked with it before. Also googling does not give me any relevant match for this error.

Appreciate if you guys could help me to get this fixed.

Appreciate all your help and thanks in advance.


Last edited by manu_leo on Fri Jan 09, 2015 3:12 pm; edited 1 time in total
Back to top
View user's profile Send private message
manu_leo
Guru
Guru


Joined: 20 Jan 2014
Posts: 513
Location: India

PostPosted: Fri Jan 09, 2015 2:20 pm    Post subject: Reply with quote

This is what I get when I try to start the stunnel service //


Quote:
init.d # /etc/init.d/stunnel restart
* Caching service dependencies ...
/etc/init.d/../conf.d/net: line 8: syntax error near unexpected token `"172.17.231.52 netmask 255.255.255.248 broadcast 172.17.231.55"'
/etc/init.d/../conf.d/net: line 8: `config_enp4s0f0.3964=("172.17.231.52 netmask 255.255.255.248 broadcast 172.17.231.55")'
/etc/init.d/../conf.d/net: line 8: syntax error near unexpected token `"172.17.231.52 netmask 255.255.255.248 broadcast 172.17.231.55"'
/etc/init.d/../conf.d/net: line 8: `config_enp4s0f0.3964=("172.17.231.52 netmask 255.255.255.248 broadcast 172.17.231.55")'
/etc/init.d/../conf.d/net: line 8: syntax error near unexpected token `"172.17.231.52 netmask 255.255.255.248 broadcast 172.17.231.55"'
/etc/init.d/../conf.d/net: line 8: `config_enp4s0f0.3964=("172.17.231.52 netmask 255.255.255.248 broadcast 172.17.231.55")'
/etc/init.d/../conf.d/net: line 8: syntax error near unexpected token `"172.17.231.52 netmask 255.255.255.248 broadcast 172.17.231.55"'
/etc/init.d/../conf.d/net: line 8: `config_enp4s0f0.3964=("172.17.231.52 netmask 255.255.255.248 broadcast 172.17.231.55")'
/etc/init.d/../conf.d/net: line 8: syntax error near unexpected token `"172.17.231.52 netmask 255.255.255.248 broadcast 172.17.231.55"'
/etc/init.d/../conf.d/net: line 8: `config_enp4s0f0.3964=("172.17.231.52 netmask 255.255.255.248 broadcast 172.17.231.55")'
/etc/init.d/../conf.d/net: line 8: syntax error near unexpected token `"172.17.231.52 netmask 255.255.255.248 broadcast 172.17.231.55"'
/etc/init.d/../conf.d/net: line 8: `config_enp4s0f0.3964=("172.17.231.52 netmask 255.255.255.248 broadcast 172.17.231.55")'
/etc/init.d/../conf.d/net: line 8: syntax error near unexpected token `"172.17.231.52 netmask 255.255.255.248 broadcast 172.17.231.55"'
/etc/init.d/../conf.d/net: line 8: `config_enp4s0f0.3964=("172.17.231.52 netmask 255.255.255.248 broadcast 172.17.231.55")'
/etc/init.d/../conf.d/net: line 8: syntax error near unexpected token `"172.17.231.52 netmask 255.255.255.248 broadcast 172.17.231.55"'
/etc/init.d/../conf.d/net: line 8: `config_enp4s0f0.3964=("172.17.231.52 netmask 255.255.255.248 broadcast 172.17.231.55")'
/etc/init.d/../conf.d/net: line 8: syntax error near unexpected token `"172.17.231.52 netmask 255.255.255.248 broadcast 172.17.231.55"'
/etc/init.d/../conf.d/net: line 8: `config_enp4s0f0.3964=("172.17.231.52 netmask 255.255.255.248 broadcast 172.17.231.55")'
/etc/init.d/../conf.d/net: line 8: syntax error near unexpected token `"172.17.231.52 netmask 255.255.255.248 broadcast 172.17.231.55"'
/etc/init.d/../conf.d/net: line 8: `config_enp4s0f0.3964=("172.17.231.52 netmask 255.255.255.248 broadcast 172.17.231.55")'
/etc/init.d/../conf.d/net: line 8: syntax error near unexpected token `"172.17.231.52 netmask 255.255.255.248 broadcast 172.17.231.55"'
/etc/init.d/../conf.d/net: line 8: `config_enp4s0f0.3964=("172.17.231.52 netmask 255.255.255.248 broadcast 172.17.231.55")'
/etc/init.d/../conf.d/net: line 8: syntax error near unexpected token `"172.17.231.52 netmask 255.255.255.248 broadcast 172.17.231.55"'
/etc/init.d/../conf.d/net: line 8: `config_enp4s0f0.3964=("172.17.231.52 netmask 255.255.255.248 broadcast 172.17.231.55")'
/etc/init.d/../conf.d/net: line 8: syntax error near unexpected token `"172.17.231.52 netmask 255.255.255.248 broadcast 172.17.231.55"'
/etc/init.d/../conf.d/net: line 8: `config_enp4s0f0.3964=("172.17.231.52 netmask 255.255.255.248 broadcast 172.17.231.55")'
/etc/init.d/../conf.d/net: line 8: syntax error near unexpected token `"172.17.231.52 netmask 255.255.255.248 broadcast 172.17.231.55"'
/etc/init.d/../conf.d/net: line 8: `config_enp4s0f0.3964=("172.17.231.52 netmask 255.255.255.248 broadcast 172.17.231.55")'
Service `netmount' needs non existent service `net'
Service `pydoc-2.7' needs non existent service `net'
Service `pydoc-3.3' needs non existent service `net'
Service `stunnel' needs non existent service `net'
Service `stunnel.bak' needs non existent service `net'
Service `vnc' needs non existent service `net' [ ok ]
* ERROR: stunnel needs service(s) net


Thanks in advance.
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6227
Location: Room 101

PostPosted: Fri Jan 09, 2015 2:47 pm    Post subject: Reply with quote

manu_leo ...

as the error says, you have a syntax error in /etc/conf.d/net ... please post the contents of that file.

best ... khay
Back to top
View user's profile Send private message
manu_leo
Guru
Guru


Joined: 20 Jan 2014
Posts: 513
Location: India

PostPosted: Fri Jan 09, 2015 3:06 pm    Post subject: Reply with quote

Thanks Khay, actually that was the problem. There was some misconfiguration with the network settings which I corrected and now it is working just fine.

Appreciate all your help.
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