Author Topic: avastd not starting  (Read 7362 times)

0 Members and 1 Guest are viewing this topic.

wsmc884

  • Guest
avastd not starting
« on: January 05, 2004, 08:29:54 AM »
I downloaded the beta today and went and got dazuko. I installed dazuko and got that working first with the 2.6.0 release version of the kernel.

Then I installed avast without too much trouble. I'm running Gentoo and it didn't recognize the linux version (no surprise to me I'm use to it :) ) so I did as the install docs suggest and copied over the init.d files to my /etc/init.d directory. When I try loading it up with /etc/init.d/avastd start I get no error but also get no daemon running either.

The startup script is quite a piece of work and fairly complicated so before I go changing it and tearing it to bits to get this to run is there something I'm missing here? All environment variables, etc are in place and even the update script works fine to get the latest dat file.

Oh and the dazuko version I'm using is the 2.0.0 pre5 not that it matters because the ondemand scanner is disabled in this avast beta currently.


Thanks,
Robert
« Last Edit: January 05, 2004, 08:32:23 AM by wsmc884 »

Dublin

  • Guest
Re:avastd not starting
« Reply #1 on: January 16, 2004, 12:03:09 PM »
I'll try tol fix all these problems during next week.

digitalexpl0it

  • Guest
Re:avastd not starting
« Reply #2 on: December 20, 2004, 08:02:08 PM »
im looking on getting avast running on gentoo also, its just there init script so there gotta be a way to rewrite it to work.

looks like there trying to use the daemon @

gentoo uses

start-stop-daemon --start --quiet --exec <file here>

going to try this and see if it works

cannot get the application avastd nor avastguard to run at all. even manually

Quote
start-stop-daemon --start --quiet --background --exec /usr/sbin/avastd

or

start-stop-daemon --start --quiet --background --exec /usr/sbin/avastguard

or

/usr/sbin/avastd
/usr/sbin/avastgaurd

looking in the error log files /var/log/avast/avastd

and theres nothing in it, but it is generated. looks like it just opens then dies :/
« Last Edit: December 20, 2004, 08:32:43 PM by digitalexpl0it »

Dublin

  • Guest
Re:avastd not starting
« Reply #3 on: December 21, 2004, 12:11:34 PM »
Here are my gentoo startup script samples.

/etc/init.d/avastd:
Quote
depend() {
   use net
   after logger
}

start() {
   ebegin "Starting avastd"
   start-stop-daemon --start --quiet --exec /usr/sbin/avastd
   eend $?
}

stop() {
   ebegin "Stopping avastd"
   start-stop-daemon --stop --quiet --pidfile /var/run/avastd.pid
   eend $?
}

/etc/init.d/avastguard:
Quote
depend() {
   use avastd
   after logger
}

start() {
   ebegin "Starting avastguard"
   start-stop-daemon --start --quiet --exec /usr/sbin/avastguard -- -o -i/home -l/var/log/avast4/avastguard
   eend $?
}

stop() {
   ebegin "Stopping avastguard"
   start-stop-daemon --stop --quiet --pidfile /var/run/avastguard.pid
   eend $?
}

jezoo

  • Guest
Re: avastd not starting
« Reply #4 on: February 16, 2006, 11:11:57 AM »
Hi!
I have litle problem, i don't know if i copy corectlly to directory licence. I copy to "/var/lib/avast4/lics" and it dosen't start. whot should i do.

i use debian distribution
« Last Edit: February 16, 2006, 11:15:37 AM by jezoo »

Dublin

  • Guest
Re: avastd not starting
« Reply #5 on: February 21, 2006, 11:04:41 AM »
/var/lib/avast4/License.dat is the default location, but also look at /etc/avastengine.conf file