[ASK] squid-2.7.STABLE9 init script

Diskusi tentang Ubuntu Server baik webserver, database server, samba server dan service lainnya serta jaringan menggunakan Sistem Operasi Ubuntu.
User avatar
bellec
Posts: 104
Joined: 04 Aug 2011, 02:07
Location: indonesia

[ASK] squid-2.7.STABLE9 init script

Postby bellec » 29 Apr 2013, 02:46

selamat pagi semua :)
bagaimana cara stop squid di proxy selain dengan cara :
sudo /etc/inid.d/squid stop
squid stop
service squid stop
saya sudah coba perintah diatas tetapi tidak bisa
yang keluar seperti ini
Tampilkan
root@Proxy:/home/abau# /etc/init.d/squid stop
Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service squid stop

Since the script you are attempting to invoke has been converted to an
Upstart job, you may also use the stop(8) utility, e.g. stop squid
root@Proxy:/home/abau#

mohon bantuannya semua !!
salam :ubuntu:
User avatar
q_p
Posts: 3109
Joined: 14 Oct 2012, 13:01
Contact:

Re: ask

Postby q_p » 29 Apr 2013, 03:46

Tidak masalah dengan /etc/init.d/squid stop maupun dengan service squid stop. Untuk melihat hasilnya, jalankan ps aux | grep squid
User avatar
bellec
Posts: 104
Joined: 04 Aug 2011, 02:07
Location: indonesia

Re: ask

Postby bellec » 30 Apr 2013, 09:47

[quote=Pragola_Pati]Tidak masalah dengan /etc/init.d/squid stop maupun dengan service squid stop. Untuk melihat hasilnya, jalankan ps aux | grep squid


sudah saya coba mas ini yang keluar
Tampilkan
root@Proxy:/home/abau# ps aux|grep squid
root 2369 0.0 0.0 23800 4520 ? Ss Apr28 0:00 squid star
proxy 4128 3.1 2.6 242780 189780 ? Sl Apr29 45:21 (squid) star
proxy 4787 0.5 0.0 21620 3352 ? S 08:14 0:29 /usr/bin/perl /etc/squid/storeurl.pl
proxy 4788 0.0 0.0 21620 3352 ? S 08:14 0:02 /usr/bin/perl /etc/squid/storeurl.pl
proxy 4789 0.0 0.0 21620 3088 ? S 08:14 0:00 /usr/bin/perl /etc/squid/storeurl.pl
proxy 4790 0.0 0.0 21620 3084 ? S 08:14 0:00 /usr/bin/perl /etc/squid/storeurl.pl
proxy 4791 0.0 0.0 21620 3088 ? S 08:14 0:00 /usr/bin/perl /etc/squid/storeurl.pl
root 4812 0.0 0.0 7972 888 pts/0 S+ 09:43 0:00 grep --color=auto squid
root@Proxy:/home/abau# ps aux|grep squid
root 2369 0.0 0.0 23800 4520 ? Ss Apr28 0:00 squid star
proxy 4128 3.1 2.6 242780 189780 ? Sl Apr29 45:21 (squid) star
proxy 4787 0.5 0.0 21620 3352 ? S 08:14 0:29 /usr/bin/perl /etc/squid/storeurl.pl
proxy 4788 0.0 0.0 21620 3352 ? S 08:14 0:02 /usr/bin/perl /etc/squid/storeurl.pl
proxy 4789 0.0 0.0 21620 3088 ? S 08:14 0:00 /usr/bin/perl /etc/squid/storeurl.pl
proxy 4790 0.0 0.0 21620 3084 ? S 08:14 0:00 /usr/bin/perl /etc/squid/storeurl.pl
proxy 4791 0.0 0.0 21620 3088 ? S 08:14 0:00 /usr/bin/perl /etc/squid/storeurl.pl
root 4814 0.0 0.0 7972 884 pts/0 S+ 09:43 0:00 grep --color=auto squid
root@Proxy:/home/abau# /etc/init.d/squid stop
Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service squid stop

Since the script you are attempting to invoke has been converted to an
Upstart job, you may also use the stop(8) utility, e.g. stop squid
root@Proxy:/home/abau# ps aux|grep squid
root 2369 0.0 0.0 23800 4520 ? Ss Apr28 0:00 squid star
proxy 4128 3.1 2.6 242780 189780 ? Sl Apr29 45:21 (squid) star
proxy 4787 0.5 0.0 21620 3352 ? S 08:14 0:29 /usr/bin/perl /etc/squid/storeurl.pl
proxy 4788 0.0 0.0 21620 3352 ? S 08:14 0:02 /usr/bin/perl /etc/squid/storeurl.pl
proxy 4789 0.0 0.0 21620 3088 ? S 08:14 0:00 /usr/bin/perl /etc/squid/storeurl.pl
proxy 4790 0.0 0.0 21620 3084 ? S 08:14 0:00 /usr/bin/perl /etc/squid/storeurl.pl
proxy 4791 0.0 0.0 21620 3088 ? S 08:14 0:00 /usr/bin/perl /etc/squid/storeurl.pl
root 4820 0.0 0.0 7972 888 pts/0 S+ 09:43 0:00 grep --color=auto squid
root@Proxy:/home/abau#

sepertinya tidak stop mas