LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 03-16-2012, 06:06 AM   #1
nocare
LQ Newbie
 
Registered: Mar 2012
Posts: 1

Rep: Reputation: Disabled
Red face Please Help am using Cenots5 as linux email & internet server


am using centos5 red hat as both email and internet server.at one time i wanted to edit the squid.conf file intending to add other bad sites to the file but after that squid failed to start. i then copied the squid.conf file from the other server which serves as back up but now when i type service squid status i get the error "squid dead but pid file exist. could not send signal 0 to process 2401, (3) no such process.

please help urgently.
nocare
 
Old 03-16-2012, 06:12 AM   #2
xeleema
Member
 
Registered: Aug 2005
Location: D.i.t.h.o, Texas
Distribution: Slackware 13.x, rhel3/5, Solaris 8-10(sparc), HP-UX 11.x (pa-risc)
Posts: 988
Blog Entries: 4

Rep: Reputation: 254Reputation: 254Reputation: 254
Greetingz & Welcome to LQ!

Try removing the PID file first. I think they live in /var somwehere
Code:
find /var -xdev -type f -name "*squid*" -exec ls -l {} \;
P.S: There's no 'urgent' when asking volunteers.
 
1 members found this post helpful.
Old 03-16-2012, 07:45 AM   #3
Noway2
Senior Member
 
Registered: Jul 2007
Distribution: Gentoo
Posts: 2,125

Rep: Reputation: 781Reputation: 781Reputation: 781Reputation: 781Reputation: 781Reputation: 781Reputation: 781
Quote:
i wanted to edit the squid.conf file intending to add other bad sites to the file but after that squid failed to start.
Applications failing to start after a modification is made to a configuration file is a common occurrence, even for those who have been using Linux for many years and usually indicates an error in the configuration file. The error can be something as simple as a misspelling, incorrect punctuation, or even an unknown keyword caused by a version incompatibility. When this sort of thing happens, one of the first things you should do is check your log files, and with Centos, /var/log/messages would be a good place to start. More often than not, the log file will show you exactly what you did wrong, even pointing you to the line and word that is problematic.
 
  


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
Mail Server with : Postfix,dovecot. (Can send email, but can't receive email from internet mail) cparapat Linux - Server 1 08-16-2010 12:57 AM
Network works, but NO internet&email rdekruif Ubuntu 3 09-12-2006 05:05 PM
How do I connect a linux internet server (apache/email) to windows 2000 domain? Linux_viper Linux - General 2 05-10-2006 07:40 AM
Email & Internet Down lnmp Linux - General 4 01-02-2004 11:03 AM
How To Setup a Linux Email Server & Thunderbird RedHatMN Linux - Networking 6 10-21-2003 12:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:38 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