MESSAGE
DATE | 2014-11-09 |
FROM | Ruben Safir
|
SUBJECT | Subject: [NYLXS - HANGOUT] Re: [opensuse] httpd won't go away
|
From owner-hangout-outgoing-at-mrbrklyn.com Sun Nov 9 08:33:47 2014 Return-Path: X-Original-To: archive-at-mrbrklyn.com Delivered-To: archive-at-mrbrklyn.com Received: by mrbrklyn.com (Postfix) id 39607161169; Sun, 9 Nov 2014 08:33:47 -0500 (EST) Delivered-To: hangout-outgoing-at-mrbrklyn.com Received: by mrbrklyn.com (Postfix, from userid 28) id 20E4816116C; Sun, 9 Nov 2014 08:33:47 -0500 (EST) Delivered-To: hangout-at-nylxs.com Received: from mailbackend.panix.com (mailbackend.panix.com [166.84.1.89]) by mrbrklyn.com (Postfix) with ESMTP id 38E97161169 for ; Sun, 9 Nov 2014 08:33:46 -0500 (EST) Received: from [10.0.0.42] (unknown [96.57.23.82]) by mailbackend.panix.com (Postfix) with ESMTP id B7A1513460; Sun, 9 Nov 2014 08:33:45 -0500 (EST) Message-ID: <545F6D5F.6090809-at-panix.com> Date: Sun, 09 Nov 2014 08:34:23 -0500 From: Ruben Safir User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.1.0 MIME-Version: 1.0 To: hangout , opensuse Subject: [NYLXS - HANGOUT] Re: [opensuse] httpd won't go away References: <20141109003954.GA3956-at-www.mrbrklyn.com> In-Reply-To: <20141109003954.GA3956-at-www.mrbrklyn.com> Content-Type: multipart/mixed; boundary="------------030809020103010902020109" Sender: owner-hangout-at-mrbrklyn.com Precedence: bulk Reply-To: hangout-at-mrbrklyn.com
This is a multi-part message in MIME format. --------------030809020103010902020109 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit
On debian/fedora the service is named httpd as i recall. Suse always named it apache2. You have to learn to read systemd:
# systemctl status httpd httpd.service Loaded: not-found (Reason: No such file or directory) Active: inactive (dead)
means "this service is unknown".
# systemctl status apache2 apache2.service - The Apache Webserver Loaded: loaded (/usr/lib/systemd/system/apache2.service; enabled) Active: active (running) since Sun 2014-11-09 09:53:44 CET; 1h 24min ago Main PID: 2671 (httpd2-prefork) Status: "Total requests: 0; Current requests/sec: 0; Current traffic: 0 B/sec" CGroup: /system.slice/apache2.service ??2671 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL -D SYSTEMD -DFOREGROUND -k start ??2944 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL -D SYSTEMD -DFOREGROUND -k start ??2946 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL -D SYSTEMD -DFOREGROUND -k start ??2948 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL -D SYSTEMD -DFOREGROUND -k start ??2949 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL -D SYSTEMD -DFOREGROUND -k start ??2950 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL -D SYSTEMD -DFOREGROUND -k start
means: "this service is running well". You can see the restart feature (this is not a bug!) in Opensuse 13.2 is not switched on by default:
# systemctl show -p Restart apache2 Restart=no
So you should be able to kill apache the old school way. I managed to do it.
If you don't know if it is apache or any other service blocking your socket, try to use:
netstat -tulpen
as root.
On 11/09/2014 01:39 AM, Ruben Safir wrote: > > I was trying to debug an apache application and I NEED to see the output > from odperl to stderr which goes straight to the error logs. > > I couldn't find the output anyway > > So I'm trying to stop and start apache and when I do, apache won't start > because > > A) It says the socket is taken in systemd jaargon > B) The logs are dlete... > > I deleted the damn logs on purpose but it was right, there was a mystory > httpd process running after I killed the process. > > So I tried to killall hhttpd > that just caused a regeneration > > systemctl stop httpd.service > > NOTHING - not even feedback > > Pull the F***ing plug > > Yeah that still works. > > I'm sure there is some ration reason and calming answer to why when I'm > killing apache that systemd restarts it without my permision. > > and there has to be some other calming nice reason why even through > systemctl, that it doesn't give any feedback or nor kill the httpd > server. > > for me, I'm moving to Jupiter 1. It is safer there. > > Ruben > >
--------------030809020103010902020109 Content-Type: application/pgp-signature; name="signature.asc" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="signature.asc"
LS0tLS1CRUdJTiBQR1AgU0lHTkFUVVJFLS0tLS0KVmVyc2lvbjogR251UEcgdjIKCmlFWUVB UkVDQUFZRkFsUmZRbTRBQ2drUVRFbTd2L2F3bTF3dDZnQ2dtNlFXRGNxYkc2cGlPYldvTlJH VmhXMkYKcHdNQW9KTktzbzYvdTVsdFlLZkluSW9ES2pML1kycU4KPW80ZjIKLS0tLS1FTkQg UEdQIFNJR05BVFVSRS0tLS0tCgo= --------------030809020103010902020109--
|
|