View previous topic :: View next topic |
Author |
Message |
manu_leo Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 20 Jan 2014 Posts: 513 Location: India
|
Posted: Fri Jan 09, 2015 12:27 pm Post subject: [SOLVED] Not able to run stunnel |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
manu_leo Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 20 Jan 2014 Posts: 513 Location: India
|
Posted: Fri Jan 09, 2015 2:20 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
khayyam Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/9397496074fd0189143bb7.png)
Joined: 07 Jun 2012 Posts: 6227 Location: Room 101
|
Posted: Fri Jan 09, 2015 2:47 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
manu_leo Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 20 Jan 2014 Posts: 513 Location: India
|
Posted: Fri Jan 09, 2015 3:06 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
|