|
Re: 2.0-beta6: "Error: cannot open" with log-append: msg#00497network.openvpn.user
> Ahh, found the problem. > > OpenVPN seems to open the default file, in this case > "C:\program files\openvpn\log\ljustero.log", regardless of what file is > specified on "log-append", and then when "log-append" tries to open the > same file, it is already open. > > I can say this because if I specify another file with log-append, it > works, but ljustero.log is still created, when openvpn is started as a > service. There are really two programs here: openvpnserv.exe -- This is the "service wrapper" -- its job is to scan the OpenVPN config file directory, create a separate openvpn.exe process for each config file, and redirect stdout/stderr for each openvpn.exe process to a specific log file. When you start the "OpenVPN Service", this is the app that runs. openvpn.exe -- This exe performs the actual OpenVPN function for one config file, and when it sees --log or --log-append, it does the redirection without regard (or knowledge) on what the service that instantiated it has already redirected stdout/stderr to. James ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Bluescreen when upgrading to openvpn-2.0_beta6: 00497, Mathias Sundman |
|---|---|
| Next by Date: | Re: 2.0-beta6: "Error: cannot open" with log-append: 00497, Mathias Sundman |
| Previous by Thread: | Re: 2.0-beta6: "Error: cannot open" with log-appendi: 00497, Mathias Sundman |
| Next by Thread: | Re: 2.0-beta6: "Error: cannot open" with log-append: 00497, James Yonan |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |