[squid-users] Installing Squid as a service on Oracle Linux 7.2

Sebastien.Boulianne at cpu.ca Sebastien.Boulianne at cpu.ca
Tue Dec 15 15:15:17 UTC 2015


Hi,

I hope all is going perfectly for you.

Im trying to install Squid-3.5.12 from source.
I followed the doc to compile it properly.

When I ran squid -z, all is perfect.

[root at squid /]# squid -z
[root at squid /]# 2015/12/15 10:06:20 kid1| Set Current Directory to /var/spool/squid
2015/12/15 10:06:20 kid1| Creating missing swap directories
2015/12/15 10:06:20 kid1| /var/spool/squid exists
2015/12/15 10:06:20 kid1| Making directories in /var/spool/squid/00
2015/12/15 10:06:20 kid1| Making directories in /var/spool/squid/01
2015/12/15 10:06:20 kid1| Making directories in /var/spool/squid/02
2015/12/15 10:06:20 kid1| Making directories in /var/spool/squid/03
2015/12/15 10:06:20 kid1| Making directories in /var/spool/squid/04
2015/12/15 10:06:20 kid1| Making directories in /var/spool/squid/05
2015/12/15 10:06:20 kid1| Making directories in /var/spool/squid/06
2015/12/15 10:06:20 kid1| Making directories in /var/spool/squid/07
2015/12/15 10:06:20 kid1| Making directories in /var/spool/squid/08
2015/12/15 10:06:20 kid1| Making directories in /var/spool/squid/09
2015/12/15 10:06:20 kid1| Making directories in /var/spool/squid/0A
2015/12/15 10:06:20 kid1| Making directories in /var/spool/squid/0B
2015/12/15 10:06:20 kid1| Making directories in /var/spool/squid/0C
2015/12/15 10:06:20 kid1| Making directories in /var/spool/squid/0D
2015/12/15 10:06:20 kid1| Making directories in /var/spool/squid/0E
2015/12/15 10:06:20 kid1| Making directories in /var/spool/squid/0F

But when I try to « service squid start », it fails... There is no squid.service.

[root at squid /]# service squid start
Redirecting to /bin/systemctl start  squid.service
Failed to start squid.service: Unit squid.service failed to load: No such file or directory.

I searched for a doc how to create this file but I can't find it.

Can you help me please ?

Sébastien Boulianne
Administrateur réseau & système / Network & System Administrator.
Gestion des infrastructures / Infrastructure Management.
CCNA / CompTIA Server+ / Spécialiste en monitoring.
sebastien.boulianne at cpu.ca<mailto:sebastien.boulianne at cpu.ca>

[cid:image001.jpg at 01D13720.14E92580]


2323, du Versant Nord, suite 100
Québec (Québec) G1N 4P4
Téléphone : (418) 681 6974 poste 666
Ligne sans frais : 1 888 681 6974
Télécopieur : (418) 681 1444

Information confidentielle : Le présent message, ainsi que tout fichier qui y est joint, est envoyé à l'intention exclusive de son ou de ses destinataires, il est de nature confidentielle et peut constituer une information privilégiée. Nous avertissons toute personne autre que le destinataire prévu que tout examen, réacheminement, impression, copie, distribution ou autre utilisation de ce message et de tout fichier qui y est joint est strictement interdit. Si vous n'êtes pas le destinataire prévu, veuillez en aviser immédiatement l'expéditeur par retour de courriel et supprimer ce message et tout document joint de votre système. Merci.

Confidentiality Warning : This message and any attachments are intended only for the use of the intended recipient(s), are confidential, and may be privileged. If you are not the intended recipient, you are hereby notified that any review, retransmission, conversion to hard copy, copying, circulation or other use of this message and any attachments is strictly prohibited. If you are not the intended recipient, please notify the sender immediately by return e-mail, and delete this message and any attachments from your system. Thank you.

« Gérer c'est prévoir (voir avant, avoir une vision de l'avenir) »
[cid:image002.jpg at 01D13720.14E92580]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20151215/be2bbd03/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 1648 bytes
Desc: image001.jpg
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20151215/be2bbd03/attachment.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.jpg
Type: image/jpeg
Size: 3146 bytes
Desc: image002.jpg
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20151215/be2bbd03/attachment-0001.jpg>


More information about the squid-users mailing list