I can not find file in log
I can not find file in log
Hi guys,
There are no files in /var/log/accel-ppp/
Comment empty folder.
There are no files in /var/log/accel-ppp/
Comment empty folder.
Re: I can not find file in log
Hi, show accel-ppp.conf section [log] and section [modules]. And show
Code: Select all
ls -la /var/log/accel-ppp
Re: I can not find file in log
Code: Select all
root@ubuntu:/home/ppp# ls -la /var/log/accel-ppp
total 8
drwxr-xr-x 2 root root 4096 Jan 23 09:10 .
drwxrwxr-x 9 root syslog 4096 Jan 23 09:10 ..
Re: I can not find file in log
Alef, and
You run accel-pppd as root user?
Code: Select all
cat /etc/accel-ppp.conf
Re: I can not find file in log
Code: Select all
[modules]
#path=/usr/local/lib/accel-ppp
log_file
pppoe
auth_mschap_v2
auth_mschap_v1
auth_chap_md5
auth_pap
radius
ippool
pppd_compat
shaper
#shaper_tbf (obsolete)
#chap-secrets
[core]
log-error=/var/log/accel-ppp/core.log
thread-count=4
[ppp]
verbose=1
min-mtu=1280
mtu=1400
mru=1400
#ccp=0
#sid-case=upper
#check-ip=0
#single-session=replace
#mppe=require
ipv4=require
ipv6=deny
ipv6-intf-id=0:0:0:1
ipv6-peer-intf-id=0:0:0:2
ipv6-accept-peer-intf-id=1
lcp-echo-interval=20
#lcp-echo-failure=3
lcp-echo-timeout=120
#unit-cache=1000
[auth]
#any-login=0
#noauth=0
[pptp]
#echo-interval=30
#mppe=allow
#ip-pool=pool1
verbose=1
[pppoe]
interface=ens33
#interface=eth1,padi-limit=1000
#ac-name=xxx
#service-name=yyy
#pado-delay=0
#pado-delay=0,100:100,200:200,-1:500
#ifname-in-sid=called-sid
#tr101=1
#padi-limit=0
#mppe=allow
#ip-pool=pool2
verbose=1
[l2tp]
#dictionary=/usr/local/share/accel-ppp/l2tp/dictionary
#hello-interval=60
#timeout=60
#rtimeout=5
#retransmit=5
#host-name=accel-ppp
#dir300_quirk=0
#secret=
#mppe=allow
#ip-pool=pool3
verbose=1
[dns]
dns1=172.16.98.3
dns2=4.2.2.4
[wins]
#wins1=172.16.0.1
#wins2=172.16.1.1
[radius]
#dictionary=/usr/local/share/accel-ppp/radius/dictionary
nas-identifier=accel-ppp
nas-ip-address=172.16.97.12
gw-ip-address=172.16.97.11
#auth-server=127.0.0.1:1812,testing123 (obsolete)
#acct-server=127.0.0.1:1813,testing123 (obsolete)
#server=127.0.0.1,testing123 (obsolete)
server=172.16.97.12,123,auth-port=1812,acct-port=1813,req-limit=0,fail-time=0
dae-server=172.16.97.12:3799,123
verbose=1
timeout=160
#max-try=3
#acct-timeout=120
#acct-delay-time=0
[client-ip-range]
disable
[ip-pool]
gw-ip-address=172.16.97.11
#vendor=Cisco
#attr=Cisco-AVPair
attr=Framed-Pool
100.100.0.2-255.name=pppoe
[log]
log-file=/var/log/accel-ppp/accel-ppp.log
log-emerg=/var/log/accel-ppp/emerg.log
log-fail-file=/var/log/accel-ppp/auth-fail.log
#log-debug=/dev/stdout
#syslog=accel-pppd,daemon
#log-tcp=127.0.0.1:3000
copy=1
#color=1
#per-user-dir=per_user
#per-session-dir=per_session
#per-session=1
level=3
[log-pgsql]
conninfo=user=log
log-table=log
[pppd-compat]
#ip-pre-up=/etc/ppp/ip-pre-up
ip-up=/etc/ppp/ip-up
ip-down=/etc/ppp/ip-down
ip-change=/etc/ppp/ip-change
radattr-prefix=/var/run/radattr
verbose=1
[chap-secrets]
gw-ip-address=172.16.97.11
chap-secrets=/etc/ppp/chap-secrets
#encrypted=0
#username-hash=md5
[shaper]
#attr=Filter-Id
#down-burst-factor=0.1
#up-burst-factor=1.0
#latency=50
#mpu=0
#mtu=0
#r2q=10
#quantum=1500
#cburst=1534
#ifb=ifb0
up-limiter=police
down-limiter=tbf
#leaf-qdisc=sfq perturb 10
verbose=1
#tbf is obsolete, use shaper module
#[tbf]
#attr=Filter-Id
#down-burst-factor=0.1
#up-burst-factor=1.0
#latency=50
[cli]
telnet=127.0.0.1:2000
tcp=127.0.0.1:2001
#password=123
[snmp]
master=0
agent-name=accel-ppp
[connlimit]
limit=10/min
burst=3
timeout=60
[ipv6-pool]
fc00:0:1::/48,64
delegate=fc00:1::/36,48
[ipv6-dns]
#fc00:1::1
#fc00:1::2
#fc00:1::3
#dnssl=suffix1.local.net
#dnssl=suffix2.local.net.
[ipv6-dhcp]
verbose=1
pref-lifetime=604800
valid-lifetime=2592000
route-via-gw=1
Re: I can not find file in log
It's interesting, kill accel-pppd process if active and run
and show output
ps:// This is production server or test stand?
Do you configured logrotate or deleted log files manually or log files dont create on start accel-ppd?
Code: Select all
accel-pppd -c /etc/accel-ppp.conf
ps:// This is production server or test stand?
Do you configured logrotate or deleted log files manually or log files dont create on start accel-ppd?
Re: I can not find file in log
I typed the command and did not bring any information.
It's a test server.
I did not configure it or erase it. I believe it was not created in the installation.
How do I see if it is active?
It's a test server.
I did not configure it or erase it. I believe it was not created in the installation.
How do I see if it is active?
Re: I can not find file in log
files create after accl-pppd starting.I did not configure it or erase it. I believe it was not created in the installation.
How do I see if it is active?
Code: Select all
ps ax | grep accel-ppp
Re: I can not find file in log
Result of ps aux | grep accel-ppp
I have reset installation and now it shows the log files.
Look at this log, I already checked ippool.
Code: Select all
1137 pts/0 S+ 0:00 grep --color=auto accel-ppp
Look at this log, I already checked ippool.
Code: Select all
root@ubuntu:/etc/ppp# tail -f /var/log/accel-ppp/accel-ppp.log
[2018-01-24 06:11:34]: error: ippool: open (null): Bad address
[2018-01-24 06:11:34]: msg: accel-ppp version 1.7.4
[2018-01-24 06:11:43]: error: ippool: open (null): Bad address
[2018-01-24 06:11:43]: msg: accel-ppp version 1.7.4
Re: I can not find file in log
1.7.4 is a very old version, please get accel-ppp on master tree from git
and dont run
https://translate.google.com/translate? ... ompilation
Code: Select all
git clone https://git.code.sf.net/p/accel-ppp/code accel-ppp-code
Code: Select all
git checkout -b 1.7 --track origin/1.7