Page 1 of 1
File size limit error
Posted: Thu Mar 01, 2012 8:34 am
by ikmps
Hi all
I have just taken over an open vpn installation, it has been running fine until today. I am now getting a error message when I try and start the service “/etc/init.d/openvpn: line 148: 11573 file size limit exceeded$ openvpn –daemon –writepid $piddir/$bn.pid –config $c –cd $work” can anyone tell me where the startup are stored and any idea which file maybe causing this error.
Thanks for any help
Paul
Re: File size limit error
Posted: Thu Mar 01, 2012 8:47 am
by maikcat
hi there,
what distro are you using?
just curious,
can you edit /etc/init.d/openvpn file and see what line 148 says?
anything interesting on openvpn log file?
Michael
Re: File size limit error
Posted: Thu Mar 01, 2012 9:06 am
by ikmps
Hi Michael
It is distro centso 5.3
line 148 read says $openvpn –daemon –writepid $piddir/$bn.pid –config $c –cd $work
which is the same as the default config
thanks
Paul
Re: File size limit error
Posted: Thu Mar 01, 2012 10:38 am
by maikcat
can you try to start openvpn by hand?
i mean by typing openvpn --config path-to-your-conf-file
also can you post the output of sestatus command?
Michael.
Re: File size limit error
Posted: Thu Mar 01, 2012 11:22 am
by ikmps
hi Michael
when i run openvpn --config server.conf i get "file size limit exceeded"
and when i try sestatus i get "selinux status : disabled"
thanks again for your help
Paul
Re: File size limit error
Posted: Thu Mar 01, 2012 11:23 am
by janjust
what are the contents of the config file? are you logging to a separate file? has that file grown too large?
resolved Re: File size limit error
Posted: Thu Mar 01, 2012 11:54 am
by ikmps
hi
resolved
thanks for that, it ended up when i went through the config file i found the log file when i checked the size it had grown to over 2gb. i have renamed the old one and created a new one, the service loaded first time.
one to watch for the future
thanks for all you help
Paul
Re: File size limit error
Posted: Thu Mar 01, 2012 12:00 pm
by maikcat
ok then,
closing topic
Michael.