View previous topic :: View next topic |
Author |
Message |
fred0 Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/16029894804cb5bf5000536.jpg)
Joined: 17 Apr 2006 Posts: 81 Location: France
|
Posted: Sat Oct 02, 2010 9:47 pm Post subject: ziproxy status crashed |
|
|
Code: | # /etc/init.d/ziproxy start
* Starting ziproxy ... [ ok ]
# rc-status
ziproxy [ crashed ]
# tail -n 1 /var/log/ziproxy/error.log
2010-10-02 23:15:37 - INFORMATION (daemon): Daemon started.
# pgrep -l ziproxy
2976 ziproxy
# /etc/init.d/ziproxy stop
* Stopping ziproxy ... [ ok ]
# rc-status
ziproxy [ stopped ]
# pgrep -l ziproxy
2976 ziproxy
# /etc/init.d/ziproxy start
* Starting ziproxy ... [ ok ]
# rc-status
ziproxy [ crashed ]
# tail -n 1 /var/log/ziproxy/error.log
2010-10-02 23:32:04 - FATAL ERROR (daemon): Failed to connect socket for receiving connections (port: 31888).
# pgrep -l ziproxy
2976 ziproxy
|
RunAsUser = "ziproxy" but same happen with root |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
fred0 Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/16029894804cb5bf5000536.jpg)
Joined: 17 Apr 2006 Posts: 81 Location: France
|
Posted: Wed Oct 06, 2010 7:17 pm Post subject: |
|
|
Always the same !!
Any idea ? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
fred0 Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/16029894804cb5bf5000536.jpg)
Joined: 17 Apr 2006 Posts: 81 Location: France
|
Posted: Mon Oct 11, 2010 1:57 pm Post subject: |
|
|
Hello (again)
Is there any one
Question : Is it normal that the file /var/run/ziproxy not exists ? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
fred0 Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/16029894804cb5bf5000536.jpg)
Joined: 17 Apr 2006 Posts: 81 Location: France
|
Posted: Tue Oct 12, 2010 9:26 am Post subject: |
|
|
Hello,
Hi have found a workaround :
In file /etc/init.d/ziproxy changing :
Code: | start-stop-daemon --start --pidfile /var/run/${SVCNAME}.pid \
--chuid ziproxy:ziproxy --exec /usr/sbin/ziproxy -- ${OPT} [b]> /var/run/${SVCNAME}.pid[/b] |
with :
Code: | start-[code]stop[/code]-daemon --start --pidfile /var/run/${SVCNAME}.pid \
--chuid ziproxy:ziproxy --exec /usr/sbin/ziproxy -- ${OPT} -p /tmp/${SVCNAME}.pid
mv /tmp/${SVCNAME}.pid /var/run/${SVCNAME}.pid |
Works.
This is probably not the best way. If any one have a better solution....... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|