| Summary: | jabber start syntax error with jabberd-1.4.3-r3 | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Alan <alan> |
| Component: | New packages | Assignee: | Gentoo Net-im project <net-im> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
My mistake, jabberd does NOT start when this error occurs. Note #2 this error also affects some of the transports, ie: aim-transport, muc-transport, yahoo-transport and msn-transport |
I get the following error when starting up jabberd-1.4.3-r3 root@master:/var/spool/jabber/ufies.org# /etc/init.d/jabber start * Starting main Jabber Component... cat: /var/log/jabber/jabberd14.pid: No such file or directory Usage: grep [OPTION]... PATTERN [FILE]... Try `grep --help' for more information. [ ok ]root@master:/var/spool/jabber/ufies.org# The error is caused by (I think) these links starting at line 15 if [ -z $(ps ax | grep `cat ${JPIDFILE}` | grep -v grep ) ] then rm -f ${JPIDFILE} fi If jabberd has stopped properly JPIDFILE won't exist and therefor the command is being interpreted as "... grep | grep -v grep..." with 'cat ${JPIDFILE}' resulting in a blank string. Jabberd still starts however.