Bug #302
Ajaxterm has a error during uninstall
Start date:
09/15/2009
Due date:
% Done:
100%
Description
The Ajaxterm app has a error during the uninstall. This shows in the /var/log/amahi-apps-install.log
======= app uninstall begin @ Tue Sep 15 00:24:55 -0700 2009 ========== Uninstalling app id k4nymnu42b under /var/hda/platform/html ENV=production kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec] Your HDA services have been restarted. App: Ajaxterm uninstalled ======= app uninstall end @ Tue Sep 15 00:24:56 -0700 2009 ==========
after the uninstall is finished there is still a few processes left over from that app running.
[root@hda ~]# ps aux | grep ajax apache 812 0.0 0.1 23480 6320 ? Sl Sep14 0:01 python ./ajaxterm.py -d apache 1045 0.0 0.1 23488 5392 pts/2 Ss+ Sep14 0:00 python ./ajaxterm.py -d apache 2433 0.0 0.1 23480 6124 ? Sl Sep14 0:00 python ./ajaxterm.py -d root 5320 0.0 0.0 4216 716 pts/4 S+ 00:28 0:00 grep ajax [root@hda ~]#
History
#1 Updated by cpg almost 13 years ago
- Status changed from New to Assigned
- Assignee set to essary
#2 Updated by essary almost 13 years ago
- % Done changed from 0 to 100
changed the kill command from:
kill -9 `pgrep -f "python ./ajaxterm -d"`
to:
kill -9 `pgrep -f "ajaxterm"`
The uninstall script will now kill the processes properly.
Also available in: Atom