LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 11-20-2019, 05:33 AM   #1
lalatenduswain
LQ Newbie
 
Registered: Dec 2016
Location: Banglore
Posts: 1

Rep: Reputation: Disabled
Exclamation Squid Proxy Not Start


Hi ,

I Wrongly delete access.log

Command was rm /var/log/squid/access.log

After that I'm not able to start Squid Proxy Service.
I tried it through GUI also /etc/init.d/squid start its also not help me. Its only start for 2 Second and Stop again.

Please help me.
 
Old 11-20-2019, 06:57 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by lalatenduswain View Post
Hi ,
I Wrongly delete access.log

Command was rm /var/log/squid/access.log

After that I'm not able to start Squid Proxy Service. I tried it through GUI also /etc/init.d/squid start its also not help me. Its only start for 2 Second and Stop again. Please help me.
Read the "Question Guidelines" link in my posting signature. You provide NO details at all...version/distro of Linux, version of Squid, etc. You mention a GUI...WHAT GUI for Squid?? It is typically started with "service start squid", but again...without knowing anything about your system, we can't tell you. You don't give us any error(s)/message(s), either; we can't guess.

Unless you ran that command as root/sudo, you wouldn't have been able to remove it. Have you tried re-creating an empty file?
Code:
touch /var/log/squid/access.log
..and seeing if things start then? Suggest checking the squid documentation:
https://wiki.squid-cache.org/SquidFaq/SquidLogs
 
1 members found this post helpful.
  


Reply



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
Squid Proxy(centos):How to configure internet access for a specific IP address to access only YouTube on squid proxy raymond m Linux - Newbie 3 07-26-2017 03:05 PM
configure squid proxy with cc proxy as a parent proxy faisi Linux - Networking 1 08-10-2010 01:16 PM
configure squid proxy with microsoft proxy as a parent proxy nintykola Linux - Software 1 08-28-2007 01:38 AM
Need help to connect a squid proxy to connect to another squid proxy server bellerophon Linux - Newbie 1 02-07-2006 06:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 10:30 PM.

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
Open Source Consulting | Domain Registration