SYSTEM WARNING: 'file_get_contents(https://www.clearos.com/?rendertype=json&get=header): failed to open stream: Connection refused' in '/var/www/virtual/newwrapper/cf_topmenu.inc' line 5

ClearOS Bug Tracker


View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000108ClearOSapp-openvpn - OpenVPNpublic2010-06-12 05:242010-07-14 16:23
ReporterNickH 
Assigned Touser2 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version5.1 
Target Version5.2Fixed in Version5.2 
Summary0000108: OpenVPN installer not creating /etc/openvpn/clients.conf
DescriptionInstalling OpenVPN either through the webconfig or yum does not create the file /etc/openvpn/clients.conf. Then if you go to Webconfig > Network > OpenVPN you will not be able to start OpenVPN.

The OpenVPN package is /openvpn-2.1-10.rc20.v5.i386.rpm.
Additional InformationAs a workround, copy the file /usr/share/system/modules/openvpn/clients.conf to /etc/openvpn/. This will then allow the Webconfig to work
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0000180)
user2
2010-06-17 11:53

Hi NickH,

It looks like this happens on systems that have been upgraded from ClarkConnect 4.x. Can you confirm that this was the case in your situation?

The app-openvpn installer is responsible for creating this file, but it won't do it if the box was previously a ClarkConnect 4.x system.
(0000181)
NickH (developer)
2010-06-17 11:57

Yes, I started with CC4.3 then upgraded to 5.0 and ClearOS, but I never had OpenVPN installed before.
(0000182)
user2
2010-06-17 12:26
edited on: 2010-08-18 15:14

Source Code Changelog
---------------------------------------------------
- Fixed missing clients.conf on upgrade from ClarkConnect 4.x [fixed tracker 0000108]

File Changes
---------------------------------------------------
U legacy/modules/trunk/app-openvpn/app-openvpn.spec.in

(0000183)
user2
2010-06-17 12:27

Thanks... easy fix that will be included in ClearOS 5.2.
(0000189)
NickH (developer)
2010-07-03 07:00

It appears that the same symptoms are happening on a fresh install of 5.2beta (not mine). See thread and confirming post here: http://www.clearfoundation.com/component/option,com_kunena/Itemid,232/catid,21/func,view/id,13703/#13705 [^]
(0000193)
user2
2010-07-07 14:26

Bad if statement -- all fixed (and verified).

- Issue History
Date Modified Username Field Change
2010-06-12 05:24 NickH New Issue
2010-06-17 11:24 user2 Status new => acknowledged
2010-06-17 11:53 user2 Note Added: 0000180
2010-06-17 11:53 user2 Status acknowledged => feedback
2010-06-17 11:57 NickH Note Added: 0000181
2010-06-17 12:26 user2 Checkin
2010-06-17 12:26 user2 Note Added: 0000182
2010-06-17 12:26 user2 Status feedback => resolved
2010-06-17 12:26 user2 Resolution open => fixed
2010-06-17 12:26 user2 Fixed in Version => 5.2
2010-06-17 12:26 user2 Target Version => 5.2
2010-06-17 12:27 user2 Note Added: 0000183
2010-07-03 07:00 NickH Note Added: 0000189
2010-07-03 07:00 NickH Status resolved => feedback
2010-07-03 07:00 NickH Resolution fixed => reopened
2010-07-07 14:26 user2 Note Added: 0000193
2010-07-07 14:26 user2 Status feedback => resolved
2010-07-07 14:26 user2 Resolution reopened => fixed
2010-07-07 14:26 user2 Assigned To => user2
2010-07-14 16:23 user2 Status resolved => closed
2010-08-18 15:14 user2 Note Edited: 0000182

SYSTEM WARNING: 'file_get_contents(https://www.clearos.com/?rendertype=json&get=footer): failed to open stream: Connection refused' in '/var/www/virtual/newwrapper/cf_footer.inc' line 7