* core 89: vpns do not show up anymore @ 2015-04-27 11:19 robert 2015-04-27 15:40 ` Rod Rodolico 0 siblings, 1 reply; 7+ messages in thread From: robert @ 2015-04-27 11:19 UTC (permalink / raw) To: development [-- Attachment #1: Type: text/plain, Size: 256 bytes --] Hi there, I have updated my ipfire box to core89. Now all the vpn connections in the Connection Status and -Control screen always show the status:disconnected even when there is a connection active. What could be the reason? How to fix? thanks robert ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: core 89: vpns do not show up anymore 2015-04-27 11:19 core 89: vpns do not show up anymore robert @ 2015-04-27 15:40 ` Rod Rodolico 2015-04-27 16:37 ` robert 0 siblings, 1 reply; 7+ messages in thread From: Rod Rodolico @ 2015-04-27 15:40 UTC (permalink / raw) To: development [-- Attachment #1: Type: text/plain, Size: 950 bytes --] Hi Robert, Do you have access to the command line? I so, edit /var/ipfire/ovpn/server.conf and look for the line which says status /var/log/ovpnserver.log 30 If it says /var/log, change that to status /var/run/ovpnserver.log 30 (ovpnserver.log was moved from /var/log to /var/run) Now, restart the OpenVPN Server. Let us know if that fixes it. Rod On 04/27/2015 06:19 AM, robert wrote: > Hi there, > I have updated my ipfire box to core89. > Now all the vpn connections in the > > Connection Status and -Control screen > > always show the status:disconnected > > even when there is a connection active. > > What could be the reason? > How to fix? > > thanks > robert > _______________________________________________ > Development mailing list > Development(a)lists.ipfire.org > http://lists.ipfire.org/mailman/listinfo/development -- Rod Rodolico Daily Data, Inc. POB 140465 Dallas TX 75214-0465 214.827.2170 http://www.dailydata.net ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: core 89: vpns do not show up anymore 2015-04-27 15:40 ` Rod Rodolico @ 2015-04-27 16:37 ` robert 2015-04-27 19:18 ` Rod Rodolico 0 siblings, 1 reply; 7+ messages in thread From: robert @ 2015-04-27 16:37 UTC (permalink / raw) To: development [-- Attachment #1: Type: text/plain, Size: 1067 bytes --] Thanks Rod On 27.04.2015 17:40, Rod Rodolico wrote: > Hi Robert, > > Do you have access to the command line? I so, edit > /var/ipfire/ovpn/server.conf > > and look for the line which says > status /var/log/ovpnserver.log 30 > > If it says /var/log, change that to > status /var/run/ovpnserver.log 30 i had seen that email of yours allreadi. And did change that line before. > > (ovpnserver.log was moved from /var/log to /var/run) > > Now, restart the OpenVPN Server. > > Let us know if that fixes it. unfortunately no any more ideas? thanks robert > > Rod > > On 04/27/2015 06:19 AM, robert wrote: >> Hi there, >> I have updated my ipfire box to core89. >> Now all the vpn connections in the >> >> Connection Status and -Control screen >> >> always show the status:disconnected >> >> even when there is a connection active. >> >> What could be the reason? >> How to fix? >> >> thanks >> robert >> _______________________________________________ >> Development mailing list >> Development(a)lists.ipfire.org >> http://lists.ipfire.org/mailman/listinfo/development ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: core 89: vpns do not show up anymore 2015-04-27 16:37 ` robert @ 2015-04-27 19:18 ` Rod Rodolico 2015-04-28 4:32 ` robert rottermann 0 siblings, 1 reply; 7+ messages in thread From: Rod Rodolico @ 2015-04-27 19:18 UTC (permalink / raw) To: development [-- Attachment #1: Type: text/plain, Size: 2693 bytes --] Following are the steps I took to overcome the problem. Unfortunately, I can not tell you exactly which one was the solution. # stop all vpn logins, ie close down all client access # now, do the following cat /var/run/ovpnserver.log cat /var/var/ovpnserver.log # one of these is likely an empty file openvpnctrl -k # kill the openvpn service rm /var/run/ovpnserver.log rm /var/var/ovpnserver.log # make sure the configuration option is correct grep ovpnserver.log /var/ipfire/ovpn/server.conf openvpnctrl -s # start the openvpn service cat /var/run/ovpnserver.log cat /var/var/ovpnserver.log # one of the above should have the headers in it, hopefully /var/run # if /var/run/ovpnserver.log has the headers, you should be good # now, make a vpn connection, let it get established, then cat /var/run/ovpnserver.log # you should see the new vpn connection. If you do, stats and connection # will show. An empty ovpnserver.log file looks as follows. This is with no connections to it. This appears to be the file that all stats and displays come from. ---------------------------------------------------------------- OpenVPN CLIENT LIST Updated,Mon Apr 27 14:15:56 2015 Common Name,Real Address,Bytes Received,Bytes Sent,Connected Since ROUTING TABLE Virtual Address,Common Name,Real Address,Last Ref GLOBAL STATS Max bcast/mcast queue length,0 END ---------------------------------------------------------------- Rod On 04/27/2015 11:37 AM, robert wrote: > Thanks Rod > On 27.04.2015 17:40, Rod Rodolico wrote: >> Hi Robert, >> >> Do you have access to the command line? I so, edit >> /var/ipfire/ovpn/server.conf >> >> and look for the line which says >> status /var/log/ovpnserver.log 30 >> >> If it says /var/log, change that to >> status /var/run/ovpnserver.log 30 > i had seen that email of yours allreadi. > And did change that line before. >> >> (ovpnserver.log was moved from /var/log to /var/run) >> >> Now, restart the OpenVPN Server. >> >> Let us know if that fixes it. > unfortunately no > > any more ideas? > thanks > robert > >> >> Rod >> >> On 04/27/2015 06:19 AM, robert wrote: >>> Hi there, >>> I have updated my ipfire box to core89. >>> Now all the vpn connections in the >>> >>> Connection Status and -Control screen >>> >>> always show the status:disconnected >>> >>> even when there is a connection active. >>> >>> What could be the reason? >>> How to fix? >>> >>> thanks >>> robert >>> _______________________________________________ >>> Development mailing list >>> Development(a)lists.ipfire.org >>> http://lists.ipfire.org/mailman/listinfo/development > -- Rod Rodolico Daily Data, Inc. POB 140465 Dallas TX 75214-0465 214.827.2170 http://www.dailydata.net ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: core 89: vpns do not show up anymore 2015-04-27 19:18 ` Rod Rodolico @ 2015-04-28 4:32 ` robert rottermann 2015-04-28 4:55 ` Rod Rodolico 2015-04-29 22:23 ` Rod Rodolico 0 siblings, 2 replies; 7+ messages in thread From: robert rottermann @ 2015-04-28 4:32 UTC (permalink / raw) To: development [-- Attachment #1: Type: text/plain, Size: 2835 bytes --] thanks rod up a sudden it does work again and show the connections No idea why robert On 27.04.2015 21:18, Rod Rodolico wrote: > Following are the steps I took to overcome the problem. Unfortunately, I > can not tell you exactly which one was the solution. > > # stop all vpn logins, ie close down all client access > # now, do the following > cat /var/run/ovpnserver.log > cat /var/var/ovpnserver.log > # one of these is likely an empty file > openvpnctrl -k # kill the openvpn service > rm /var/run/ovpnserver.log > rm /var/var/ovpnserver.log > # make sure the configuration option is correct > grep ovpnserver.log /var/ipfire/ovpn/server.conf > openvpnctrl -s # start the openvpn service > cat /var/run/ovpnserver.log > cat /var/var/ovpnserver.log > # one of the above should have the headers in it, hopefully /var/run > # if /var/run/ovpnserver.log has the headers, you should be good > # now, make a vpn connection, let it get established, then > cat /var/run/ovpnserver.log > # you should see the new vpn connection. If you do, stats and connection > # will show. > > > > An empty ovpnserver.log file looks as follows. This is with no > connections to it. This appears to be the file that all stats and > displays come from. > > ---------------------------------------------------------------- > OpenVPN CLIENT LIST > Updated,Mon Apr 27 14:15:56 2015 > Common Name,Real Address,Bytes Received,Bytes Sent,Connected Since > ROUTING TABLE > Virtual Address,Common Name,Real Address,Last Ref > GLOBAL STATS > Max bcast/mcast queue length,0 > END > ---------------------------------------------------------------- > > Rod > > > On 04/27/2015 11:37 AM, robert wrote: >> Thanks Rod >> On 27.04.2015 17:40, Rod Rodolico wrote: >>> Hi Robert, >>> >>> Do you have access to the command line? I so, edit >>> /var/ipfire/ovpn/server.conf >>> >>> and look for the line which says >>> status /var/log/ovpnserver.log 30 >>> >>> If it says /var/log, change that to >>> status /var/run/ovpnserver.log 30 >> i had seen that email of yours allreadi. >> And did change that line before. >>> (ovpnserver.log was moved from /var/log to /var/run) >>> >>> Now, restart the OpenVPN Server. >>> >>> Let us know if that fixes it. >> unfortunately no >> >> any more ideas? >> thanks >> robert >> >>> Rod >>> >>> On 04/27/2015 06:19 AM, robert wrote: >>>> Hi there, >>>> I have updated my ipfire box to core89. >>>> Now all the vpn connections in the >>>> >>>> Connection Status and -Control screen >>>> >>>> always show the status:disconnected >>>> >>>> even when there is a connection active. >>>> >>>> What could be the reason? >>>> How to fix? >>>> >>>> thanks >>>> robert >>>> _______________________________________________ >>>> Development mailing list >>>> Development(a)lists.ipfire.org >>>> http://lists.ipfire.org/mailman/listinfo/development ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: core 89: vpns do not show up anymore 2015-04-28 4:32 ` robert rottermann @ 2015-04-28 4:55 ` Rod Rodolico 2015-04-29 22:23 ` Rod Rodolico 1 sibling, 0 replies; 7+ messages in thread From: Rod Rodolico @ 2015-04-28 4:55 UTC (permalink / raw) To: development [-- Attachment #1: Type: text/plain, Size: 3345 bytes --] I'd like to know why also. Question: when you made the modifications the first time, did you disconnect all VPN connections prior to restarting OpenVPN? I have several more of these to upgrade. I'll try to find a recipe to follow if I can. Rod On 04/27/2015 11:32 PM, robert rottermann wrote: > thanks rod > > up a sudden it does work again and show the connections > > No idea why > robert > > On 27.04.2015 21:18, Rod Rodolico wrote: >> Following are the steps I took to overcome the problem. Unfortunately, I >> can not tell you exactly which one was the solution. >> >> # stop all vpn logins, ie close down all client access >> # now, do the following >> cat /var/run/ovpnserver.log >> cat /var/var/ovpnserver.log >> # one of these is likely an empty file >> openvpnctrl -k # kill the openvpn service >> rm /var/run/ovpnserver.log >> rm /var/var/ovpnserver.log >> # make sure the configuration option is correct >> grep ovpnserver.log /var/ipfire/ovpn/server.conf >> openvpnctrl -s # start the openvpn service >> cat /var/run/ovpnserver.log >> cat /var/var/ovpnserver.log >> # one of the above should have the headers in it, hopefully /var/run >> # if /var/run/ovpnserver.log has the headers, you should be good >> # now, make a vpn connection, let it get established, then >> cat /var/run/ovpnserver.log >> # you should see the new vpn connection. If you do, stats and connection >> # will show. >> >> >> >> An empty ovpnserver.log file looks as follows. This is with no >> connections to it. This appears to be the file that all stats and >> displays come from. >> >> ---------------------------------------------------------------- >> OpenVPN CLIENT LIST >> Updated,Mon Apr 27 14:15:56 2015 >> Common Name,Real Address,Bytes Received,Bytes Sent,Connected Since >> ROUTING TABLE >> Virtual Address,Common Name,Real Address,Last Ref >> GLOBAL STATS >> Max bcast/mcast queue length,0 >> END >> ---------------------------------------------------------------- >> >> Rod >> >> >> On 04/27/2015 11:37 AM, robert wrote: >>> Thanks Rod >>> On 27.04.2015 17:40, Rod Rodolico wrote: >>>> Hi Robert, >>>> >>>> Do you have access to the command line? I so, edit >>>> /var/ipfire/ovpn/server.conf >>>> >>>> and look for the line which says >>>> status /var/log/ovpnserver.log 30 >>>> >>>> If it says /var/log, change that to >>>> status /var/run/ovpnserver.log 30 >>> i had seen that email of yours allreadi. >>> And did change that line before. >>>> (ovpnserver.log was moved from /var/log to /var/run) >>>> >>>> Now, restart the OpenVPN Server. >>>> >>>> Let us know if that fixes it. >>> unfortunately no >>> >>> any more ideas? >>> thanks >>> robert >>> >>>> Rod >>>> >>>> On 04/27/2015 06:19 AM, robert wrote: >>>>> Hi there, >>>>> I have updated my ipfire box to core89. >>>>> Now all the vpn connections in the >>>>> >>>>> Connection Status and -Control screen >>>>> >>>>> always show the status:disconnected >>>>> >>>>> even when there is a connection active. >>>>> >>>>> What could be the reason? >>>>> How to fix? >>>>> >>>>> thanks >>>>> robert >>>>> _______________________________________________ >>>>> Development mailing list >>>>> Development(a)lists.ipfire.org >>>>> http://lists.ipfire.org/mailman/listinfo/development > -- Rod Rodolico Daily Data, Inc. POB 140465 Dallas TX 75214-0465 214.827.2170 http://www.dailydata.net ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: core 89: vpns do not show up anymore 2015-04-28 4:32 ` robert rottermann 2015-04-28 4:55 ` Rod Rodolico @ 2015-04-29 22:23 ` Rod Rodolico 1 sibling, 0 replies; 7+ messages in thread From: Rod Rodolico @ 2015-04-29 22:23 UTC (permalink / raw) To: development [-- Attachment #1: Type: text/plain, Size: 4129 bytes --] Finally figured it out. ovpnserver.log updates every minute. I'm assuming it does that to get the traffic statistics, so it is probably not generated by openvpn daemon itself, but some cron job or something. So, the problem (with both of us) is that we were too impatient. When you restart the openvpn server, wait 60 seconds, refresh the stats page, and you should be good. For anyone who wants the "final answer", here are the steps. 1. Perform upgrade 2. edit /var/ipfire/ovpn/server.conf, change /var/log/ovpnserver.log to /var/run/ovpnserver.log in the stats line. 3. restart the openvpn service (either via gui or "openvpnctrl -r" from the cli 5. Wait 60 seconds, then you should see stats OR (not tested) 1. edit /var/ipfire/ovpn/server.conf, change /var/log/ovpnserver.log to /var/run/ovpnserver.log in the stats line. 2. Perform upgrade Me, personally, I prefer to delete the ovpnserver.log file from /var/log. Also, I will shut down ovpn sessions and re-connect them, but I doubt that will make a difference. Rod On 04/27/2015 11:32 PM, robert rottermann wrote: > thanks rod > > up a sudden it does work again and show the connections > > No idea why > robert > > On 27.04.2015 21:18, Rod Rodolico wrote: >> Following are the steps I took to overcome the problem. Unfortunately, I >> can not tell you exactly which one was the solution. >> >> # stop all vpn logins, ie close down all client access >> # now, do the following >> cat /var/run/ovpnserver.log >> cat /var/var/ovpnserver.log >> # one of these is likely an empty file >> openvpnctrl -k # kill the openvpn service >> rm /var/run/ovpnserver.log >> rm /var/var/ovpnserver.log >> # make sure the configuration option is correct >> grep ovpnserver.log /var/ipfire/ovpn/server.conf >> openvpnctrl -s # start the openvpn service >> cat /var/run/ovpnserver.log >> cat /var/var/ovpnserver.log >> # one of the above should have the headers in it, hopefully /var/run >> # if /var/run/ovpnserver.log has the headers, you should be good >> # now, make a vpn connection, let it get established, then >> cat /var/run/ovpnserver.log >> # you should see the new vpn connection. If you do, stats and connection >> # will show. >> >> >> >> An empty ovpnserver.log file looks as follows. This is with no >> connections to it. This appears to be the file that all stats and >> displays come from. >> >> ---------------------------------------------------------------- >> OpenVPN CLIENT LIST >> Updated,Mon Apr 27 14:15:56 2015 >> Common Name,Real Address,Bytes Received,Bytes Sent,Connected Since >> ROUTING TABLE >> Virtual Address,Common Name,Real Address,Last Ref >> GLOBAL STATS >> Max bcast/mcast queue length,0 >> END >> ---------------------------------------------------------------- >> >> Rod >> >> >> On 04/27/2015 11:37 AM, robert wrote: >>> Thanks Rod >>> On 27.04.2015 17:40, Rod Rodolico wrote: >>>> Hi Robert, >>>> >>>> Do you have access to the command line? I so, edit >>>> /var/ipfire/ovpn/server.conf >>>> >>>> and look for the line which says >>>> status /var/log/ovpnserver.log 30 >>>> >>>> If it says /var/log, change that to >>>> status /var/run/ovpnserver.log 30 >>> i had seen that email of yours allreadi. >>> And did change that line before. >>>> (ovpnserver.log was moved from /var/log to /var/run) >>>> >>>> Now, restart the OpenVPN Server. >>>> >>>> Let us know if that fixes it. >>> unfortunately no >>> >>> any more ideas? >>> thanks >>> robert >>> >>>> Rod >>>> >>>> On 04/27/2015 06:19 AM, robert wrote: >>>>> Hi there, >>>>> I have updated my ipfire box to core89. >>>>> Now all the vpn connections in the >>>>> >>>>> Connection Status and -Control screen >>>>> >>>>> always show the status:disconnected >>>>> >>>>> even when there is a connection active. >>>>> >>>>> What could be the reason? >>>>> How to fix? >>>>> >>>>> thanks >>>>> robert >>>>> _______________________________________________ >>>>> Development mailing list >>>>> Development(a)lists.ipfire.org >>>>> http://lists.ipfire.org/mailman/listinfo/development > -- Rod Rodolico Daily Data, Inc. POB 140465 Dallas TX 75214-0465 214.827.2170 http://www.dailydata.net ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2015-04-29 22:23 UTC | newest] Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2015-04-27 11:19 core 89: vpns do not show up anymore robert 2015-04-27 15:40 ` Rod Rodolico 2015-04-27 16:37 ` robert 2015-04-27 19:18 ` Rod Rodolico 2015-04-28 4:32 ` robert rottermann 2015-04-28 4:55 ` Rod Rodolico 2015-04-29 22:23 ` Rod Rodolico
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox