LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-08-2010, 01:41 PM   #16
Ubunoob001
Member
 
Registered: Feb 2010
Location: New Orleans, LA
Distribution: Mint 16 RC, Elementary OS Luna, Crunchbang
Posts: 166

Original Poster
Rep: Reputation: 16

Quote:
Originally Posted by repo View Post
yes it is a shell script
just put the line at the end of the file


Kind regards
Hmm..same problem occurring after doing that.
 
Old 10-08-2010, 01:45 PM   #17
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,527

Rep: Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898
Is rc.local executable?
Is it executed?
What happens if you run
Code:
/etc/init.d/rc.local
from the command prompt
Any errors in the logfiles?

Kind regards
 
Old 10-08-2010, 01:50 PM   #18
Ubunoob001
Member
 
Registered: Feb 2010
Location: New Orleans, LA
Distribution: Mint 16 RC, Elementary OS Luna, Crunchbang
Posts: 166

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by repo View Post
Is rc.local executable?
Is it executed?
What happens if you run
Code:
/etc/init.d/rc.local
from the command prompt
Any errors in the logfiles?

Kind regards
Code:
sudo: etc/init.d/rc.local: command not found
Being a noob im not sure which logfiles you would like me to check, ill do some research and get back
 
Old 10-08-2010, 01:52 PM   #19
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,527

Rep: Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898
Quote:
sudo: etc/init.d/rc.local: command not found
Should be
Code:
sudo /etc/init.d/rc.local
note the / at the beginning

Kind regards
 
Old 10-08-2010, 02:11 PM   #20
Ubunoob001
Member
 
Registered: Feb 2010
Location: New Orleans, LA
Distribution: Mint 16 RC, Elementary OS Luna, Crunchbang
Posts: 166

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by repo View Post
Should be
Code:
sudo /etc/init.d/rc.local
note the / at the beginning

Kind regards

wow that was a mistake even I shouldn't have made:

Code:
sudo /etc/init.d/rc.local
[sudo] password for [my username]: 
Usage: /etc/init.d/rc.local start|stop
 
Old 10-08-2010, 02:14 PM   #21
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,527

Rep: Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898
try the start option.
Look in the logfiles if you see any error messages concerning privoxy at boot

Perhaps a ubuntu user can help you further with the rc.local thing.

Kind regards
 
Old 10-08-2010, 02:42 PM   #22
Ubunoob001
Member
 
Registered: Feb 2010
Location: New Orleans, LA
Distribution: Mint 16 RC, Elementary OS Luna, Crunchbang
Posts: 166

Original Poster
Rep: Reputation: 16
Lightbulb

Im not sure why, but the problem *seems* to be fixed by simply replacing 127.0.0.1 with "localhost" in the firefox>preferences>advanced>connections. Oddly, several days ago, it was working fine with 127.0.0.1. Any ideas why this might be?


I will leave the thread not-solved, till I am sure that with reboot etc that this stays working.

Last edited by Ubunoob001; 10-08-2010 at 02:55 PM.
 
Old 10-08-2010, 08:48 PM   #23
leejohnli
Member
 
Registered: Sep 2010
Posts: 66

Rep: Reputation: 2
on Ubuntu the command for adding System-V script,
update-rc.d privocy defaults
 
Old 10-09-2010, 03:42 AM   #24
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,527

Rep: Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898
Quote:
Originally Posted by Ubunoob001 View Post
Im not sure why, but the problem *seems* to be fixed by simply replacing 127.0.0.1 with "localhost" in the firefox>preferences>advanced>connections. Oddly, several days ago, it was working fine with 127.0.0.1. Any ideas why this might be?


I will leave the thread not-solved, till I am sure that with reboot etc that this stays working.
I'm confused.
The original problem was privoxy that wasn't started after reboot.
How can replacing 127.0.0.1 with localhost solve the problem?

Kind regards
 
Old 10-10-2010, 10:42 AM   #25
Ubunoob001
Member
 
Registered: Feb 2010
Location: New Orleans, LA
Distribution: Mint 16 RC, Elementary OS Luna, Crunchbang
Posts: 166

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by repo View Post
I'm confused.
The original problem was privoxy that wasn't started after reboot.
How can replacing 127.0.0.1 with localhost solve the problem?

Kind regards
Yes I'm confused too, hence all the questions. Let me recap things from my beginners understanding of the timeline...1. I suddenly got the orig. error without (seemingly) changing settings. 2. Restarting/starting Privoxy, for some reason, allowed me to use privoxy. However, shortly it would then be unavailable (same error as orig. post). 3. The |start command also and script change "worked", but only till a restart. 4. I decided just to fiddle with it, and switched 127.0.0.1 to Localhost in both fields. Which seemingly made the fix permanent.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
IP/DNS problem? Ubuntu server+desktop = "no valid net connections found" tdewire Linux - Server 3 11-30-2009 09:21 AM
proxy server refusing connections. cjagdish69 Linux - Software 1 12-17-2007 08:05 AM
krdc: "connection failed. the server does not accept new connections". bezdomny Linux - Newbie 2 11-03-2007 05:57 PM
proxy server that is refusing connections manolakis Linux - General 6 01-25-2007 11:47 AM
"Enhanced" CDs refusing to eject. Tyke Fedora 3 04-09-2005 08:25 AM


All times are GMT -5. The time now is 05:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration