Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 03-16-2012, 07:06 AM   #1
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 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.
Old 03-16-2012, 07:12 AM   #2
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: 252Reputation: 252Reputation: 252
Greetingz & Welcome to LQ!

Try removing the PID file first. I think they live in /var somwehere
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, 08:45 AM   #3
Senior Member
Registered: Jul 2007
Distribution: Gentoo
Posts: 2,125

Rep: Reputation: 781Reputation: 781Reputation: 781Reputation: 781Reputation: 781Reputation: 781Reputation: 781
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.


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

All times are GMT -5. The time now is 10:13 AM.

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