summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/2012-September/018998.html
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2013-04-14 13:46:12 +0000
committerNicolas Vigier <boklm@mageia.org>2013-04-14 13:46:12 +0000
commit1be510f9529cb082f802408b472a77d074b394c0 (patch)
treeb175f9d5fcb107576dabc768e7bd04d4a3e491a0 /zarb-ml/mageia-dev/2012-September/018998.html
parentfa5098cf210b23ab4f419913e28af7b1b07dafb2 (diff)
downloadarchives-master.tar
archives-master.tar.gz
archives-master.tar.bz2
archives-master.tar.xz
archives-master.zip
Add zarb MLs html archivesHEADmaster
Diffstat (limited to 'zarb-ml/mageia-dev/2012-September/018998.html')
-rw-r--r--zarb-ml/mageia-dev/2012-September/018998.html137
1 files changed, 137 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/2012-September/018998.html b/zarb-ml/mageia-dev/2012-September/018998.html
new file mode 100644
index 000000000..937b5c60a
--- /dev/null
+++ b/zarb-ml/mageia-dev/2012-September/018998.html
@@ -0,0 +1,137 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
+<HTML>
+ <HEAD>
+ <TITLE> [Mageia-dev] systemd and non-systemd services question
+ </TITLE>
+ <LINK REL="Index" HREF="index.html" >
+ <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20systemd%20and%20non-systemd%20services%20question&In-Reply-To=%3C50647E34.1020901%40colin.guthr.ie%3E">
+ <META NAME="robots" CONTENT="index,nofollow">
+ <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
+ <LINK REL="Previous" HREF="018994.html">
+ <LINK REL="Next" HREF="019002.html">
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <H1>[Mageia-dev] systemd and non-systemd services question</H1>
+ <B>Colin Guthrie</B>
+ <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20systemd%20and%20non-systemd%20services%20question&In-Reply-To=%3C50647E34.1020901%40colin.guthr.ie%3E"
+ TITLE="[Mageia-dev] systemd and non-systemd services question">mageia at colin.guthr.ie
+ </A><BR>
+ <I>Thu Sep 27 18:26:28 CEST 2012</I>
+ <P><UL>
+ <LI>Previous message: <A HREF="018994.html">[Mageia-dev] systemd and non-systemd services question
+</A></li>
+ <LI>Next message: <A HREF="019002.html">[Mageia-dev] systemd and non-systemd services question
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#18998">[ date ]</a>
+ <a href="thread.html#18998">[ thread ]</a>
+ <a href="subject.html#18998">[ subject ]</a>
+ <a href="author.html#18998">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>'Twas brillig, and Frank Griffin at 27/09/12 16:23 did gyre and gimble:
+&gt;<i> I have a cauldron system with the Oracle Express Edition (oracle-xe) RPM
+</I>&gt;<i> installed. This has worked nicely in the past, with the simple change
+</I>&gt;<i> that the /etc/init.d/oracle-xe script needs to have LSB headers added.
+</I>&gt;<i>
+</I>&gt;<i> I don't start the DB automatically at boot, but only when I need it for
+</I>&gt;<i> testing. Based on the creation date of the files in its log directory,
+</I>&gt;<i> the last time it started was Aug 3.
+</I>&gt;<i>
+</I>&gt;<i> The database no longer starts. Running the sysv script produces the
+</I>&gt;<i> message &quot;Starting oracle-xe (via systemctl)&quot;, and produces no errors,
+</I>&gt;<i> but nothing happens. &quot;systemctl list-units | grep oracle&quot; shows the
+</I>&gt;<i> status of oracle-xe.service as &quot;loaded active exited&quot;, but no Oracle log
+</I>&gt;<i> file is created. Moreover, there is no oracle-xe.service file anywhere
+</I>&gt;<i> on my root partition.
+</I>&gt;<i>
+</I>&gt;<i> Issuing &quot;systemctl start oracle-xe.service&quot; issues no output. Running it
+</I>&gt;<i> under strace shows an execve for /bin/systemctl, and later on an execve
+</I>&gt;<i> for /usr/bin/systemd-tty-ask-password-agent, but very little else, and
+</I>&gt;<i> nothing that even hints at actually trying to execute any oracle code.
+</I>&gt;<i>
+</I>&gt;<i> It seems like sometime after Aug 3 systemd changed in some way as to
+</I>&gt;<i> cause the failure. The system was built (and the oracle-xe rpm
+</I>&gt;<i> installed) on Aug 2, and never gets touched after install (and the
+</I>&gt;<i> addition of LSB headers). I haven't had to start it for a while, so I
+</I>&gt;<i> can't get it more precise than that.
+</I>&gt;<i>
+</I>&gt;<i> Any idea how to diagnose this ? Does systemd keep logs anywhere ?
+</I>
+Yeah there are logs everywhere :)
+
+Provided you are root, &quot;systemctl status oracle-xe.service&quot; will show
+you the last few lines of log.
+
+What is interesting here tho', is that it's asking you for a password.
+
+Keep in mind that when running under strace, systemctl will be
+contacting PID 1 and asking it to start the service for you so you won't
+see any direct attempts to to start your service.
+
+You can also look in the journal. If you want all logs related to a
+particular unit you can do: &quot;journalctl _SYSTEMD_UNIT=oracle-xe.service&quot;
+but it might be your issue is actually more related to the process of
+starting it rather than actually starting it.
+
+So in this case you maybe want to just turn up systemd debug logging to
+maximum (see man systemd for the numerous ways to do this, via kernel
+command line, config option or even sending a signal with kill at
+runtime SIGRTMIN+22 is probably what you want).
+
+Then run journalctl -f in one shell and try and start the service in
+another.
+
+Col
+
+--
+
+Colin Guthrie
+colin(at)mageia.org
+<A HREF="http://colin.guthr.ie/">http://colin.guthr.ie/</A>
+
+Day Job:
+ Tribalogic Limited <A HREF="http://www.tribalogic.net/">http://www.tribalogic.net/</A>
+Open Source:
+ Mageia Contributor <A HREF="http://www.mageia.org/">http://www.mageia.org/</A>
+ PulseAudio Hacker <A HREF="http://www.pulseaudio.org/">http://www.pulseaudio.org/</A>
+ Trac Hacker <A HREF="http://trac.edgewall.org/">http://trac.edgewall.org/</A>
+</PRE>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+<!--endarticle-->
+ <HR>
+ <P><UL>
+ <!--threads-->
+ <LI>Previous message: <A HREF="018994.html">[Mageia-dev] systemd and non-systemd services question
+</A></li>
+ <LI>Next message: <A HREF="019002.html">[Mageia-dev] systemd and non-systemd services question
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#18998">[ date ]</a>
+ <a href="thread.html#18998">[ thread ]</a>
+ <a href="subject.html#18998">[ subject ]</a>
+ <a href="author.html#18998">[ author ]</a>
+ </LI>
+ </UL>
+
+<hr>
+<a href="https://www.mageia.org/mailman/listinfo/mageia-dev">More information about the Mageia-dev
+mailing list</a><br>
+</body></html>