View previous topic :: View next topic |
Author |
Message |
tsftd n00b
Joined: 21 May 2011 Posts: 20 Location: Here
|
Posted: Fri Oct 12, 2012 12:35 am Post subject: tinyproxy says it starts, but doesn't |
|
|
Another little glitch, I have installed and configured tinyproxy as per http://markus.revti.com/2009/10/installing-tinyproxy-as-squid-proxy-server-alternative/ and http://controlpanelblog.com/general/how-to-install-and-configure-tinyproxy.html . /etc/init.d/tinyproxy start emits no errors, the tinyproxy log shows no errors ( http://pastebin.com/fw39bdcX ) -- however, htop does not show any tinyproxy processes, or any processes started by that username (which I confirmed was created). More tellingly, trying to stop or restart the service yields:
Code: | [censored] ~ # /etc/init.d/tinyproxy restart
* Stopping tinyproxy ...
* start-stop-daemon: no matching processes found [ ok ]
* Starting tinyproxy ... [ ok ]
|
I have also tried changing the username it runs under to root, thinking it may be a permission error, to no avail (username has been reset to tinyproxy). One thing slightly different from the tutorial is that the conf file is /etc/tinyproxy.conf instead of /etc/tinyproxy/tinyproxy.conf -- but since the log confirms that it's pulling settings from the conf file, that shouldn't be an issue.
Obviously, trying to connect through the proxy gives an error (from firefox):
Code: | The proxy server is refusing connections
Firefox is configured to use a proxy server that is refusing connections.
Check the proxy settings to make sure that they are correct.
Contact your network administrator to make sure the proxy server is working. |
Any ideas? |
|
Back to top |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21595
|
Posted: Fri Oct 12, 2012 1:36 am Post subject: |
|
|
Does the process fail to start or does it start and immediately exit? What does strace report? |
|
Back to top |
|
|
tsftd n00b
Joined: 21 May 2011 Posts: 20 Location: Here
|
Posted: Fri Oct 12, 2012 3:05 am Post subject: |
|
|
it starts and then fails, after a fair number of errors -- mostly related to files not being found: http://pastebin.com/hWLqbbB8 |
|
Back to top |
|
|
adsmol n00b
Joined: 26 Nov 2012 Posts: 2
|
Posted: Mon Nov 26, 2012 9:58 am Post subject: |
|
|
At my site it started to start again after:
mkdir /run/tinyproxy && chown tinyproxy:tinyproxy /run/tinyproxy |
|
Back to top |
|
|
ToeiRei Veteran
Joined: 03 Jan 2005 Posts: 1191 Location: Austria
|
Posted: Mon Dec 10, 2012 11:15 pm Post subject: |
|
|
added those two lines to the init script... _________________ Please stand by - The mailer daemon is busy burning your messages in hell... |
|
Back to top |
|
|
gr650 n00b
Joined: 07 Jan 2005 Posts: 43 Location: Wil SG, Switzerland
|
Posted: Tue Feb 26, 2013 10:28 am Post subject: |
|
|
Ah, thanks for the one-/twoliner. Added that one to the init script and now tinyproxy at least starts as a daemon. |
|
Back to top |
|
|
|