Hi, thanks a lot for the follow-up! After a so long time, I was not sure to get a fix some day... but thanks again! I will try to test it in production ASAP, and will get back to you guys if issue still happens. Cheers,
2014-06-20 15:05 GMT+02:00 Mathieu Parent <[email protected]>: > I have completly rewritten the init script. I'mclosing this, feel free > to reopen if this is still present in version >= 1:0.3.3-3. > > ** Changed in: c-icap (Ubuntu) > Status: New => Fix Released > > -- > You received this bug notification because you are subscribed to the bug > report. > https://bugs.launchpad.net/bugs/886695 > > Title: > Bogus I-Cap System V-like init script > > Status in “c-icap” package in Ubuntu: > Fix Released > > Bug description: > Hi all, > > I've noticed several problems after having installed c-icap on a > fully-patched Ubuntu 11.04 (Proxy squid3, c-icap service, ClamAV- > Daemon, and SquidClamav as a redirector). I've tried the c-icap > package provided by Ubuntu, and the c-icap that I compiled from > source: both seem to show the same behavior. > > First: the command service c-icap start was not sometimes terminated > properly since the "dot" at the end wasn't being displayed in the terminal. > One could tell something was going wrong for there was unexpected icap > errors while using the HTTP proxy). > Furthermore, the "service start" command, most of the time, returns an > error: > root@proxy-ubuntu:/# service c-icap start > Starting c-icap: ERROR. > > Whereas the c-icap's processes do run in memory: > > root@proxy-ubuntu:/# ps aux |grep icap |grep -v grep > root 16772 0.0 0.1 2516 676 pts/1 S 23:14 0:00 > /usr/local/bin/c-icap -d 2 > root 16773 0.0 0.0 92684 416 pts/1 Sl 23:14 0:00 > /usr/local/bin/c-icap -d 2 > root 16774 0.0 0.0 92684 416 pts/1 Sl 23:14 0:00 > /usr/local/bin/c-icap -d 2 > root 16775 0.0 0.0 92684 416 pts/1 Sl 23:14 0:00 > /usr/local/bin/c-icap -d 2 > > And the ICAP service is indeed working at this time. > > The thing is, looking closer at the System V-like script execution, it > seems that the error comes from the line: > [ ! -f "$PIDFILE" ] && return 1 > since the function apparently finishes its execution at this point. > Nonetheless, the PID file is present in /var/run/c-icap at the end. > > BTW, if you start the service, whatever the output is, and then start it > a second time, there is no "already running" message, but nothing... > root@proxy-ubuntu:/# service c-icap start > Starting c-icap: ERROR. > root@proxy-ubuntu:/# service c-icap start > Starting c-icap: root@proxy-ubuntu:/# > > Note the truncated end of the script output. > > AFAIU this is quite abnormal. > Many thanks. > Cheers, > > PS: > /usr/local/bin/c-icap -f /etc/c-icap/c-icap.conf & > then > killall c-icap > work like a charm :( > > To manage notifications about this bug go to: > https://bugs.launchpad.net/ubuntu/+source/c-icap/+bug/886695/+subscriptions > -- Philippe Vialle -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/886695 Title: Bogus I-Cap System V-like init script To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/c-icap/+bug/886695/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
