[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 20:29:09 UTC 2015


Hi,

Your answer didn’t help me.
Does it have anyone who create a service file for squid and want to share it.
I tried the squid.service from the yum package (v3.3.8) but it didn’t work.

Thanks

Sébastien
De : squid-users [mailto:squid-users-bounces at lists.squid-cache.org] De la part de Yuri Voinov
Envoyé : 15 décembre 2015 10:35
À : squid-users at lists.squid-cache.org
Objet : Re: [squid-users] Installing Squid as a service on Oracle Linux 7.2


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Squid's source don't contain automatically installed autostart services for all possible platforms. You can do it yourself.

15.12.15 21:15, Sebastien.Boulianne at cpu.ca<mailto:Sebastien.Boulianne at cpu.ca> пишет:
> 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><mailto: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]

      >

      >

      >

      >

      > _______________________________________________

      > squid-users mailing list

      > squid-users at lists.squid-cache.org<mailto:squid-users at lists.squid-cache.org>

      > http://lists.squid-cache.org/listinfo/squid-users

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJWcDMfAAoJENNXIZxhPexG0uMH/jha7PDHI4By6iZGulVXPaXf
kKqv1u9CYM2u6Sp/45i7FFVSYUYW0DnVD6PlkuWXjIxD0L2zouOOkl1JOPBA+J4N
/SKrMYlTDDajRUltL1WGaFzLWjPr6msxLHTAiFu1gyrUKr1VCrUkdQ7mYoJ+Pyrx
ygoH8bcjIsHFVJjBMTtfQsJlJHW0So7TqYMZUuYK3JsjirP81fDGEOonMHt/M3tx
ySWZ7elgLwsbs2eOaovjon6Kz0A7ZMBCRBwD3JQPG20RL+UzUfSaldcq4xpsUpfG
T76uDIN+LJAgIeNsSlCSiIfbQGvT940oqh6OXWCxuL6iP955Iva9+OfjRxlexNI=
=s1CD
-----END PGP SIGNATURE-----
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20151215/869650ba/attachment-0001.html>


More information about the squid-users mailing list