File size limit error

How to customize and extend your OpenVPN installation.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Locked
ikmps
OpenVpn Newbie
Posts: 4
Joined: Wed Feb 29, 2012 1:38 pm

File size limit error

Post by ikmps » Thu Mar 01, 2012 8:34 am

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

User avatar
maikcat
Forum Team
Posts: 4200
Joined: Wed Jan 12, 2011 9:23 am
Location: Athens,Greece
Contact:

Re: File size limit error

Post by maikcat » Thu Mar 01, 2012 8:47 am

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
Amiga 500 , Zx +2 owner
Long live Dino Dini (Kick off 2 Creator)

Inflammable means flammable? (Dr Nick Riviera,Simsons Season13)

"objects in mirror are losing"

ikmps
OpenVpn Newbie
Posts: 4
Joined: Wed Feb 29, 2012 1:38 pm

Re: File size limit error

Post by ikmps » Thu Mar 01, 2012 9:06 am

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

User avatar
maikcat
Forum Team
Posts: 4200
Joined: Wed Jan 12, 2011 9:23 am
Location: Athens,Greece
Contact:

Re: File size limit error

Post by maikcat » Thu Mar 01, 2012 10:38 am

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.
Amiga 500 , Zx +2 owner
Long live Dino Dini (Kick off 2 Creator)

Inflammable means flammable? (Dr Nick Riviera,Simsons Season13)

"objects in mirror are losing"

ikmps
OpenVpn Newbie
Posts: 4
Joined: Wed Feb 29, 2012 1:38 pm

Re: File size limit error

Post by ikmps » Thu Mar 01, 2012 11:22 am

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

User avatar
janjust
Forum Team
Posts: 2703
Joined: Fri Aug 20, 2010 2:57 pm
Location: Amsterdam
Contact:

Re: File size limit error

Post by janjust » Thu Mar 01, 2012 11:23 am

what are the contents of the config file? are you logging to a separate file? has that file grown too large?

ikmps
OpenVpn Newbie
Posts: 4
Joined: Wed Feb 29, 2012 1:38 pm

resolved Re: File size limit error

Post by ikmps » Thu Mar 01, 2012 11:54 am

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

User avatar
maikcat
Forum Team
Posts: 4200
Joined: Wed Jan 12, 2011 9:23 am
Location: Athens,Greece
Contact:

Re: File size limit error

Post by maikcat » Thu Mar 01, 2012 12:00 pm

ok then,

closing topic

Michael.
Amiga 500 , Zx +2 owner
Long live Dino Dini (Kick off 2 Creator)

Inflammable means flammable? (Dr Nick Riviera,Simsons Season13)

"objects in mirror are losing"

Locked