Systemd commandline output

Dear Folks,
If I have e.g. a config error in my sshd_config running by hand
systemctl restart sshd.service
gives me no message wether the daemon was able to start or not.
But running stop followed by a start gives me:
systemctl stop sshd.service
systemctl start sshd.service
Job for sshd.service failed. See "systemctl status sshd.service" and "journalctl -xe" for details.
How can I turn on this behaviour by default. It is quite annoying to always run 'status' after a restart just to check if there was a problem. Even more if a start shows me the message in the terminal.
Thx

gaelic wrote:
Dear Folks,
If I have e.g. a config error in my sshd_config running by hand
systemctl restart sshd.service
gives me no message wether the daemon was able to start or not.
But running stop followed by a start gives me:
systemctl stop sshd.service
systemctl start sshd.service
Job for sshd.service failed. See "systemctl status sshd.service" and "journalctl -xe" for details.
How can I turn on this behaviour by default. It is quite annoying to always run 'status' after a restart just to check if there was a problem. Even more if a start shows me the message in the terminal.
Thx
Well, bug people at systemd-devel ML... I would do it myself, but I think there is little point because systemd's error reporting is terrible anyway (there are many other "quircks" like the one you found). For example, "job for sshd.service failed" does not mean that "sshd failed to start". So, when starting a new service, I'd suggest to not rely on systemctl no matter what it says (or doesn't say), but always check ps(1) and logs.
Last edited by Leonid.I (2015-01-16 19:40:49)

Similar Messages

  • Systemd-fsck output

    Hallo,
    i have some questions about systemd-fsck output shown in the console during the system boot. it looks like this:
    /dev/mapper/vg-root: clean, 82501/1310720 files, 647916/5242880 blocks
    systemd-fsck[234]: /dev/sda2: clean, 337/64000 files, 88881/256000 blocks
    systemd-fsck[233]: /dev/mapper/vg-home: clean, 30217/5283840 files, 961660/21116928 blocks
    systemd-fsck[232]: /dev/mapper/vg-var: clean, 19485/851968 files, 846527/3407872 blocks
    systemd-fsck[238]: fsck.fat 3.0.20 (12 Jun 2013)
    systemd-fsck[238]: /dev/sda1: 251 files, 3820/403266 clusters
    is it actually running any test?
    assuming the above shown output means something like "ok" or "there is no problem", i then want to hide it, so i created a file /etc/systemd/system/[email protected]/custom.conf with the content:
    # dont show systemd-fsck results in the console, if everything is ok
    [Service]
    StandardOutput=journal
    StandardError=journal+console
    this seems to work pretty nice, but there is one line remaining in the console, the very first one about the root partition. it seems somewhat different to the other lines, in that it misses the prefix systemd-fsck and it can't be found by journalctl
    how could i hide this first line?
    Is it right, that in case systemd-fsck detects any file system error it still would output these on the console because of the setting StandardError=journal+console?

    When you remove the fsck hook from the initramfs, you aren't hiding the output. Rather the test is not being run. Personally, I think that not running an important check on the integrity of your file systems simply to hide a few lines of output on the console reflects rather weird priorities but obviously that's up to you.
    For whatever it is worth, I have had cases in which stuff has gone wrong and fsck has identified the need to look at the file system journal. In every single case, the automated routine has examined, repaired and mounted the file system correctly. It has never prevented booting and I have seen almost no file system corruption with the exception of something on a fat 32 system which is obviously not journalled. Given that my system was for a while routinely shutting off in the dirtiest way possible, I think this reflects the robustness of both the file system and the associated maintenance tools like fsck and I would put up with a great deal more than a few lines of text on the console in exchange for this sort of security. My data is the most important thing on the computer and I will use whatever means are reasonably available to me to protect it.
    Of course, if nothing like this has (yet) happened to you, you may not (yet) appreciate the system's robustness. But sooner or later, you almost certainly will. (Unless your data is unimportant to you, of course. That would be different.)

  • Simple question about systemd console output - can i get a timestamp?

    hello. with the old syslog program, sending the log to a console used to yield essentially the same output as /var/log/everything.log, critically including timestamps before each entry. Now with systemd, enabling console output just gives each entry by itself, so you can't tell if you're looking at 5 seconds worth of activity or 5 days. any way a timestamp can be added here? i'd find that useful on my servers, as I have a screen connected to them but no keyboard.
    thanks

    Console output of what? Please post the exact command you're using and the output.
    # journalctl -b
    -- Logs begin at Sun 2013-08-11 17:23:43 CEST, end at Wed 2013-09-11 05:36:39 CEST. --
    Sep 10 19:11:44 localhost systemd-journal[36]: Runtime journal is using 184.0K (max 49.8M, leaving 74.8M of free 498.4M, current limit 49.8M).
    Sep 10 19:11:44 localhost systemd-journal[36]: Runtime journal is using 188.0K (max 49.8M, leaving 74.8M of free 498.4M, current limit 49.8M).
    Sep 10 19:11:44 localhost kernel: Initializing cgroup subsys cpuset
    Sep 10 19:11:44 localhost kernel: Initializing cgroup subsys cpu
    Sep 10 19:11:44 localhost kernel: Initializing cgroup subsys cpuacct
    Sep 10 19:11:44 localhost kernel: Linux version 3.11.0-1-ARCH (tobias@testing-i686) (gcc version 4.8.1 20130725 (prerelease) (GCC) ) #1 SMP PREEMPT Tue Sep 3 0
    Sep 10 19:11:44 localhost kernel: e820: BIOS-provided physical RAM map:
    Sep 10 19:11:44 localhost kernel: BIOS-e820: [mem 0x0000000000000000-0x000000000009f7ff] usable
    Sep 10 19:11:44 localhost kernel: BIOS-e820: [mem 0x000000000009f800-0x000000000009ffff] reserved
    Sep 10 19:11:44 localhost kernel: BIOS-e820: [mem 0x00000000000e0000-0x00000000000fffff] reserved
    Sep 10 19:11:44 localhost kernel: BIOS-e820: [mem 0x0000000000100000-0x000000003f6effff] usable
    Sep 10 19:11:44 localhost kernel: BIOS-e820: [mem 0x000000003f6f0000-0x000000003f6fafff] ACPI data
    Sep 10 19:11:44 localhost kernel: BIOS-e820: [mem 0x000000003f6fb000-0x000000003f6fffff] ACPI NVS
    Sep 10 19:11:44 localhost kernel: BIOS-e820: [mem 0x000000003f700000-0x000000003f77ffff] usable
    Sep 10 19:11:44 localhost kernel: BIOS-e820: [mem 0x000000003f780000-0x000000003fffffff] reserved
    Sep 10 19:11:44 localhost kernel: BIOS-e820: [mem 0x00000000fec00000-0x00000000fec0ffff] reserved
    Sep 10 19:11:44 localhost kernel: BIOS-e820: [mem 0x00000000fee00000-0x00000000fee00fff] reserved
    Sep 10 19:11:44 localhost kernel: BIOS-e820: [mem 0x00000000ff800000-0x00000000ffbfffff] reserved
    Sep 10 19:11:44 localhost kernel: BIOS-e820: [mem 0x00000000fffffc00-0x00000000ffffffff] reserved
    <cut>
    Sep 10 19:11:56 black kernel: IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
    Sep 10 19:11:56 black systemd-logind[164]: Watching system buttons on /dev/input/event2 (Power Button)
    Sep 10 19:11:56 black systemd-logind[164]: Watching system buttons on /dev/input/event1 (Power Button)
    Sep 10 19:12:00 black login[167]: pam_unix(login:session): session opened for user karol by LOGIN(uid=0)
    Sep 10 19:12:00 black systemd[1]: Starting user-1000.slice.
    Sep 10 19:12:00 black systemd[1]: Created slice user-1000.slice.
    Sep 10 19:12:00 black systemd[1]: Starting User Manager for 1000...
    Sep 10 19:12:00 black systemd-logind[164]: New session 1 of user karol.
    Sep 10 19:12:00 black systemd[1]: Starting Session 1 of user karol.
    Sep 10 19:12:00 black systemd[191]: pam_unix(systemd-shared:session): session opened for user karol by (uid=0)
    Sep 10 19:12:00 black systemd[1]: Started Session 1 of user karol.
    Sep 10 19:12:00 black login[167]: LOGIN ON tty1 BY karol
    Sep 10 19:12:00 black systemd[191]: Failed to open private bus connection: Failed to connect to socket /run/user/1000/dbus/user_bus_socket: No such file or dir
    Sep 10 19:12:00 black systemd[191]: Mounted /sys/kernel/config.
    Sep 10 19:12:01 black systemd[191]: Stopped target Sound Card.
    Sep 10 19:12:01 black systemd[191]: Starting Default.
    Sep 10 19:12:01 black systemd[191]: Reached target Default.
    Sep 10 19:12:01 black systemd[191]: Startup finished in 619ms.
    Sep 10 19:12:01 black systemd[1]: Started User Manager for 1000.
    Sep 10 19:12:00 black dhcpcd[168]: eth0: leased 192.168.1.4 for 259200 seconds
    Sep 10 19:12:00 black dhcpcd[168]: eth0: adding host route to 192.168.1.4 via 127.0.0.1
    Sep 10 19:12:00 black dhcpcd[168]: eth0: adding route to 192.168.1.0/24
    Sep 10 19:12:00 black dhcpcd[168]: eth0: adding default route via 192.168.1.1
    <cut>
    (No idea why there's 'Sep 10 19:12:01' followed by 'Sep 10 19:12:00')

  • Systemd strange output

    # systemctl --all | grep error
    arch-per...ttings.service error inactive dead arch-persistent-settings.service
    auditd.service error inactive dead auditd.service
    display-manager.service error inactive dead display-manager.service
    plymouth...t-wait.service error inactive dead plymouth-quit-wait.service
    plymouth-start.service error inactive dead plymouth-start.service
    rc-local.service error inactive dead rc-local.service
    syslog.service error inactive dead syslog.service
    I never installed audit, plymouth. I don't use rc-local, syslog and arch-persistent-settings.
    I have a pure systemd installation.
    Nothing seems broken due to this mistake.
    Help me please.

    tomegun wrote:
    ambro wrote:I never installed audit, plymouth. I don't use rc-local, syslog and arch-persistent-settings.
    I have a pure systemd installation.
    Nothing seems broken due to this mistake.
    Help me please.
    Some of these (plymouth, auditd) are show up because other services reference them (After=) and the files do not exist. I think this should be possible to deal with better so they don't show up at all.
    As to rc-local.service and arch-persistant-settings.service, these seem like leftovers from some old package. Could there be that you have some stray symlinks in /etc/systemd/system?
    No symlinks related in /etc/systems/system for me, too.
    $ ls -l /etc/systemd/system
    totale 24
    lrwxrwxrwx 1 root root 35 25 ago 17.37 display-manager.service -> /usr/lib/systemd/system/kdm.service
    drwxr-xr-x 2 root root 4096 2 giu 09.17 getty.target.wants
    drwxr-xr-x 2 root root 4096 11 ago 01.17 local-fs.target.wants
    drwxr-xr-x 2 root root 4096 13 ago 17.37 multi-user.target.wants
    -rw-r--r-- 1 root root 498 11 ago 00.03 networkstatic.service
    drwxr-xr-x 2 root root 4096 13 ott 2011 shutdown.target.wants
    drwxr-xr-x 2 root root 4096 11 ago 01.17 sysinit.target.wants
    I started with mixed installation with old arch-persistent-settings, but now I'm in a pure installation
    # pacman -Qs systemd
    local/libsystemd 188-2
    systemd client libraries
    local/systemd 188-2
    system and service manager
    local/systemd-arch-units 20120704-2
    Arch specific Systemd unit files
    local/systemd-sysvcompat 188-2
    sysvinit compat for systemd
    local/systemd-tools 188-2
    standalone tools from systemd

  • Systemd: Delay to start OSS4

    why OSS takes so long to start?
    See below output for systemd-analyze blame:
    3min 6.096s oss.service
    15.408s colord.service
    10.841s NetworkManager.service
    5.826s avahi-daemon.service
    5.801s systemd-logind.service
    5.351s gdm.service
    2.253s systemd-modules-load.service
    1.841s accounts-daemon.service
    1.570s polkit.service
    1.558s sys-kernel-debug.mount
    1.522s dev-mqueue.mount
    1.336s alsa-restore.service
    1.190s systemd-remount-fs.service
    1.153s systemd-binfmt.service
    1.056s systemd-udev-trigger.service
    994ms wpa_supplicant.service
    977ms dev-hugepages.mount
    933ms [email protected]
    911ms systemd-static-nodes.service
    852ms proc-sys-fs-binfmt_misc.mount
    658ms bluetooth.service
    620ms systemd-tmpfiles-clean.service
    592ms systemd-vconsole-setup.service
    552ms [email protected]
    546ms systemd-journal-flush.service
    506ms systemd-user-sessions.service
    462ms systemd-sysctl.service
    460ms [email protected]
    425ms dev-sdb11.swap
    284ms upower.service
    248ms boot.mount
    186ms systemd-random-seed-load.service
    184ms udisks2.service
    144ms home.mount
    134ms systemd-udevd.service
    109ms var.mount
    52ms rtkit-daemon.service
    46ms systemd-tmpfiles-setup.service
    35ms sys-kernel-config.mount
    30ms tmp.mount
    29ms sys-fs-fuse-connections.mount
    12ms rc-local.service
    systemd-analyze output:
    Startup finished in 6.456s (kernel) + 3min 15.581s (userspace) = 3min 22.037s
    using kernel 3.8.10-1-ARCH
    Last edited by toni (2013-05-01 15:34:49)

    Thanks for the reply!  So I have an event structure that I've created that will run when a button is pressed. 
    I've
    attached a screenshot of what I plan to implement for each step of the
    automation.  Is this a valid way to accomplish what I'm after?
    The
    first 2 outputs of the daq are activated when the run button is
    pressed, then the next 2 are activated after 20ms.  Then I plan to have
    the next event case to occur when "x > y ?" value changes.  I'm
    hoping that this is a logical method to in a sense have a chain of
    outputs activated/deactivated with a certain delay between each one.
    Again, thanks for the help.
     -Colin
    Attachments:
    Event Structure Automation.JPG ‏49 KB

  • A different slow boot scenario after systemd conversion

    converted to full systemd a few days ago...my boot times increased instead of going down...the machine still boots, and (mostly) works like before, but so many people are reporting a speed-up without really doing much to earn it that i figured it was worth posting about just to see if someone knows how to help.
    details:  machine is a 2008 lenovo t61 laptop.  i run gdm + openbox, and the graphics are nvidia Quadro NVS 140M.
    i list the systemd-analyze output below, but before you look at those i want to stress that the real clock time it takes before i can log in is about 90 seconds, and that MOST of this occurs AFTER what is shown below, when X and gdm are getting themselves revved up to provide the login screen.  i am not posting the journalctl output here, but i have looked at it many times and have scoured the forums trying to find some clues.  there is nothing in my log files that does not appear in other people's posted logs -- people whose reported boot times are much shorter than mine.  i think the solution lies with X and/or gdm, but since nothing is actually broken and there is nothing novel in the log i am at a loss.
    systemd-analyze ------>  Startup finished in 4531ms (kernel) + 37505ms (userspace) = 42036ms
    systemd-analyze blame ------->
    15735ms openntpd.service
      9623ms systemd-vconsole-setup.service
      4872ms colord.service
      4039ms accounts-daemon.service
      4016ms polkit.service
      3891ms dev-mqueue.mount
      3584ms gdm.service
      3325ms systemd-remount-fs.service
      2956ms dev-hugepages.mount
      2791ms sys-kernel-debug.mount
      2678ms systemd-modules-load.service
      2046ms systemd-udev-trigger.service
      1881ms systemd-logind.service
      1685ms systemd-udevd.service
      1590ms home.mount
       987ms systemd-sysctl.service
       664ms systemd-readahead-collect.service
       655ms systemd-readahead-replay.service
       494ms dev-sda2.swap
       430ms tmp.mount
       367ms boot.mount
       151ms udisks2.service
        96ms rtkit-daemon.service
        41ms systemd-tmpfiles-setup.service
         4ms upower.service
         2ms systemd-user-sessions.service
         1ms sys-fs-fuse-connections.mount
    any ideas?

    You did not share what the kernel panic says, but I guess it has to do with your root file systems not mounted correctly. If it happens like 75% of the time, sounds like you are using /dev/sdax and it gets enumarated differently?  Use UUID's instead.
    Your "slow boot" is a seperate problem, see the thread you linked too for how to fix that.
    Its a fresh install but i alredy have DE and programs, i used Helmuth script to install all the stuff, just so i didnt forget to install stuff.
    No idea what this means, but if it is some third party script downloaded off the internet - use them only if you understand exactly what it does, else the chances are you will run into some problems with no idea how you got there.  For simply keeping a list of packages to install, put them in a text file and pipe them into pacman (see also here.

  • [SOLVED] GIMP is unable to save an PNG

    Hello,
    when I try to save an PNG within GIMP I get the following message:
    Saving '/home/alex/test.png' failed:
    Error while saving '/home/alex/test.png'. Could not save image.
    This is my commandline output:
    libpng error: known incorrect sRGB profile
    (file-png:5692): GLib-WARNING **: (gerror.c:390):g_error_new_valist: runtime check failed: (domain != 0)
    I reinstalled gimp and deleted my profile, but it didn't work.
    Does anyone have the same problem?
    Greetings
    Alex
    Last edited by oelfe (2013-05-28 13:08:55)

    I've been having the same problem for a while now, since the libpng update a couple of weeks ago.
    The day before the update, I was able to open a png, apply changes to compression, interlacing, etc., and export it to the same filename, overwriting the original. (Not the best workflow, I know)
    After the update, the export would just simply blank out (0KB) the original file and give the same error message.
    libpng error: known incorrect sRGB profile
    Here's an example of a png file that does not work - https://dl.dropboxusercontent.com/u/937 … rabian.png (107 KiB)
    My workaround was to convert the colour profile to Adobe RGB, open it in Gimp and convert it back(?) to sRGB.
    It doesn't seem to happen with every png though, just mostly the ones that I needed for actual work on a website (they are all from the same graphics guy).
    Last edited by adrianx (2013-05-27 21:22:42)

  • How to read and write Png and jpeg with  Alpha

    Hi
    I have trouble reading and writeing PNG and JPEGs that have an alpha channel (for transparency).
    Reading works, if i use Toolkit.getImage() method, but works NOT if i use ImageIO.read() method.
    Writing does NOT work using ImageIO.write()method. Instead i got a "java.lang.UnsupportedOperationException: Unsupported write variant!"
    See Test class and commandline output below:
    /****************START*****************************/
    package de.multivisual.bodo.test;
    import java.awt.*;
    import java.awt.image.*;
    import java.io.File;
    import java.net.URL;
    import java.util.Iterator;
    import javax.imageio.*;
    import javax.imageio.metadata.IIOMetadata;
    import javax.imageio.stream.ImageInputStream;
    import javax.imageio.stream.ImageOutputStream;
    public class AlphaChannelTest implements ImageObserver {
      Toolkit toolkit;
      Image img;
      public AlphaChannelTest() {
        super();
        toolkit = Toolkit.getDefaultToolkit();
        URL url =
          AlphaChannelTest.class.getResource(
            "/de/multivisual/bodo/test/" + "alphatest.png");
        img = toolkit.getImage(url);
        try {
          ImageInputStream imageInput =
            ImageIO.createImageInputStream(url.openStream());
          Iterator it = ImageIO.getImageReaders(imageInput);
          ImageReader reader = null;
          while (it.hasNext()) {
            reader = (ImageReader) it.next();
            System.out.println(reader.toString());
          reader.setInput(imageInput);
          ImageReadParam param = reader.getDefaultReadParam();
          BufferedImage bimg = reader.read(0, param);
          SampleModel samMod = bimg.getSampleModel();
          ColorModel colMod =       bimg.getColorModel();
          String[] propNames = bimg.getPropertyNames();
          IIOMetadata meta = reader.getImageMetadata(0);
          System.err.println("\n*****test image that was read using new Jdk 1.4 ImageIO.read() method");
          alphaTest(bimg);
        } catch (Exception e) {
          //e.printStackTrace();
        if (img != null)
          toolkit.prepareImage(img, -1, -1, this);
        try {
          synchronized (this) {
            System.out.println("wait");
            this.wait();
        } catch (Exception e) {
          e.printStackTrace();
        System.out.println("end");
      public void alphaTest(BufferedImage bi) {
        Raster raster = bi.getData();
        float[] sample = null;
        System.out.println("raster :");
        for (int y = 0; y < raster.getHeight(); y++) {
          for (int x = 0; x < raster.getWidth(); x++) {
            sample = raster.getPixel(x, y, sample);
            System.out.print("(");
            for (int i = 0; i < sample.length; i++) {
              System.out.print(":" + sample);
    System.out.print(")");
    System.out.println();
    Raster araster = bi.getAlphaRaster();
    if (araster == null){
         System.err.println("there is no Alpha channel!!!!!!!!!");
         return ;
    } else {
         System.out.println("Alpha channel found !");
    float[] asample = null;
    System.out.println("raster alpha:");
    for (int y = 0; y < araster.getHeight(); y++) {
    for (int x = 0; x < araster.getWidth(); x++) {
    asample = araster.getPixel(x, y, asample);
    for (int i = 0; i < asample.length; i++) {
    System.out.print(" " + asample[i]);
    System.out.println();
    String format ="PNG";
    System.out.println("##########Test Writing using new JDK1.4.1 ImageIO:");
    Iterator writers = ImageIO.getImageWritersByFormatName(format);
    ImageWriter writer = (ImageWriter) writers.next();
    ImageWriteParam param = writer.getDefaultWriteParam();
    ImageTypeSpecifier imTy = param.getDestinationType();
    ImageTypeSpecifier imTySp =
    ImageTypeSpecifier.createFromRenderedImage(bi);
    param.setDestinationType(imTySp);
    File f = new File("c:/tmp/myimage."+format);
    try {
    ImageOutputStream ios = ImageIO.createImageOutputStream(f);
    writer.setOutput(ios);
    writer.writeInsert(0, new IIOImage(bi, null, null), param);
    } catch (Exception e) {
         System.err.println("could not write "+format+" file with alpha channel !");
    e.printStackTrace();
    public boolean imageUpdate(
    Image img,
    int infoflags,
    int x,
    int y,
    int width,
    int height) {
    if ((toolkit.checkImage(img, -1, -1, null)
    & (ImageObserver.HEIGHT | ImageObserver.WIDTH | ImageObserver.ALLBITS))
    == 35) {
    int iw = img.getWidth(this);
    int ih = img.getHeight(this);
    BufferedImage bi = new BufferedImage(iw, ih, BufferedImage.TYPE_4BYTE_ABGR);
    Graphics2D big = bi.createGraphics();
    big.drawImage(img, 0, 0, this);
    System.err.println("+++++test image that was read using old Toolkti.getImage method");
    alphaTest(bi);
    synchronized (this) {
    this.notifyAll();
    return false;
    return true; // image is not yet completely loaded into memory
    public static void main(String[] args) {
    //     BufferedImage image = new
    // BufferedImage();
    new AlphaChannelTest();
    /*************************END********************/
    The commandline looks like this:
    [i]
    com.sun.imageio.plugins.png.PNGImageReader@d1fa5
    *****test image that was read using new Jdk 1.4 ImageIO.read() method
    raster :
    there is no Alpha channel!!!!!!!!!
    wait
    +++++test image that was read using old Toolkti.getImage method
    raster :
    Alpha channel found !
    raster alpha:
    ##########Test Writing using new JDK1.4.1 ImageIO:
    could not write PNG file with alpha channel !
    java.lang.UnsupportedOperationException: Unsupported write variant!
         at javax.imageio.ImageWriter.unsupported(ImageWriter.java:600)
         at javax.imageio.ImageWriter.writeInsert(ImageWriter.java:973)
         at de.multivisual.bodo.test.AlphaChannelTest.alphaTest(AlphaChannelTest.java:113)
         at de.multivisual.bodo.test.AlphaChannelTest.imageUpdate(AlphaChannelTest.java:135)
         at sun.awt.image.ImageWatched.newInfo(ImageWatched.java:55)
         at sun.awt.image.ImageRepresentation.imageComplete(ImageRepresentation.java:636)
         at sun.awt.image.ImageDecoder.imageComplete(ImageDecoder.java:135)
         at sun.awt.image.PNGImageDecoder.produceImage(PNGImageDecoder.java:511)
         at sun.awt.image.InputStreamImageSource.doFetch(InputStreamImageSource.java:257)
         at sun.awt.image.ImageFetcher.fetchloop(ImageFetcher.java:168)
         at sun.awt.image.ImageFetcher.run(ImageFetcher.java:136)
    end

    in between i found out that the my png and jpeg test images did not have an alpha channel, since the tool i used to create them, did not write the alpha channel to disk.
    if i use png with alpha channel, then the read works correktly with ImageIO.read()
    however the read problem still remains for gifs and the write does not work for gifs and neither for pngs.
    whether jpegs can be read with alphachannel i don't know since i don't have a tool to create jpeg with alpha channel. (at least gimp and corel9 are not able to )
    and it is not possible to write the previous read png with alpha channel back as and jpeg with alpha channel

  • GDM does not allow me to login

    Hello,
    I just updated my system after about one week. When computer starts I see initial boot output (information about decompressing kernel image and systemd-fsck output), then normally GDM was starting. Now I only see the same initial output and after some time only mouse cursor shows up (with busy icon). That's all, GDM is not displayed at all, but I can move mouse cursor on screen. The initial booting output stays on screen like a wallpaper.
    I'm able to switch to other terminal and use computer from cmd. Does anyone had similar issue? Maybe I should provide some logs?
    I have graphic card from nvidia and use nouveu driver.
    Last edited by goofy (2012-11-07 22:47:47)

    Ok, I investigated problem a bit.
    I have GDM configured with autologin, what was working for me for a while and now it stopped. Here's the output of stystemctl status gdm.service:
    gdm.service - GNOME Display Manager
    Loaded: loaded (/usr/lib/systemd/system/gdm.service; enabled)
    Active: active (running) since Wed, 2012-11-07 23:44:17 CET; 4min 9s ago
    Main PID: 393 (gdm-binary)
    CGroup: name=systemd:/system/gdm.service
    ├ 393 /usr/sbin/gdm-binary
    ├ 404 /usr/lib/gdm/gdm-simple-slave --display-id /org/gnome/DisplayManager/Displays/_0
    └ 407 /usr/bin/Xorg :0 -background none -verbose -auth /var/run/gdm/auth-for-gdm-yT4wmE/database -seat seat0 -nolisten tcp vt1
    Nov 07 23:44:17 localhost systemd[1]: Starting GNOME Display Manager...
    Nov 07 23:44:17 localhost systemd[1]: Started GNOME Display Manager.
    Nov 07 23:44:19 localhost gdm-simple-slave[404]: WARNING: Failed to give slave programs access to the display. Trying to proceed.
    Nov 07 23:44:19 localhost gdm-autologin][417]: gkr-pam: no password is available for user
    I tried removed autologin from /etc/gdm/custom.conf and rebooted system. GDM showed up, but it was not allowing me to login always failing with message, that authentication failed.
    Any idea how to deal with this issue?

  • Problem starting X upon boot startup!

    Hey guys... odd issue starting up... lately (and out of the blue)... i cant get into X to see LXDM follwed by XFCE4.
    I initially now start off at the console and have to login in that way... when i start lxdm or xfce4 manually.. i see the following:
    Fatal server error:
    Server is already active for display 0
        If this server is no longer running, remove /tmp/.X0-lock
        and start again.
    then if i then if i remove the lock file...and try again... this is what i see:
    _XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed
    _XSERVTransMakeAllCOTSServerListeners: server already running
    Fatal server error:
    Cannot establish any listening sockets - Make sure an X server isn't already running
    Now if i use the following command as root:
    pkill -9 X
    then try logging in again... it works.... at least until the next reboot.
    Any suggestions on firmly resolving this issue?
    Regards,
    Last edited by GameOver69 (2013-06-13 22:39:00)

    Then of course you are going to get error messages when you try to start X saying that X is already running. That's because X is already running. Reboot, and when you get thrown to the VC, run (as root)
    journalctl -b
    Which will give you systemd's output since last boot. Scroll down a lot until you see output about LXDM. You should see error messages.
    Alternatively, you could skip the reboot and just do
    sudo journalctl | grep lxdm
    (Which will search through your ENTIRE journal) Or look through ArchWiki: Systemd#Journal to find something better.

  • Swap gets deactivated to early

    Since switching to Systemd on my Arch Linux Installation I am not able to influence the time the swap gets deactivated on shutdown. It simply gets deactivated with the following Message:
    [  OK  ] Deactivated swap /dev/disk/by-id/ata-ST1500DL003-9VT...5YD51614-part3.
    [  OK  ] Deactivated swap /dev/disk/by-id/wwn-0x5000c5003e1ae4b9-part3.
    first thing after the halt command. Systemd seems to completely ignore Dependencies to custom made dev-sda3.swap Units and even removes the Swap this early if it was manually activated with the swapon command. Here is the Systemd Debug Output:
    [root@server ~]# swapon -p 80 /dev/sda3
    [ 47.130000] Adding 262140k swap on /dev/sda3. Priority:80 extents:1 across:262140k
    dev-disk-by\x2duuid-cf99f458\x2d47e9\x2d4bb2\x2d9097\x2dbacc824d3653.swap changed dead -> active
    Successfully opened /dev/console for logging.
    dev-disk-by\x2dpath-platform\x2doxnassata.0\x2dscsi\x2d0:0:0:0\x2dpart3.swap changed dead -> active
    Successfully opened /dev/console for logging.
    dev-disk-by\x2did-wwn\x2d0x5000c5003e1ae4b9\x2dpart3.swap changed dead -> active
    Successfully opened /dev/console for logging.
    dev-disk-by\x2did-ata\x2dST1500DL003\x2d9VT16L_5YD51614\x2dpart3.swap changed dead -> active
    Successfully opened /dev/console for logging.
    [root@server ~]# halt
    Accepted connection on private bus.
    Got D-Bus request: org.freedesktop.systemd1.Manager.StartUnit() on /org/freedesktop/systemd1
    Trying to enqueue job halt.target/start/replace
    Installed new job halt.target/start as 59
    Installed new job systemd-halt.service/start as 60
    Installed new job shutdown.target/start as 61
    Installed new job systemd-random-seed-save.service/start as 62
    Installed new job systemd-update-utmp-shutdown.service/start as 65
    Installed new job local-fs.target/stop as 66
    Installed new job systemd-user-sessions.service/stop as 68
    Installed new job basic.target/stop as 69
    Installed new job multi-user.target/stop as 70
    Installed new job graphical.target/stop as 71
    Installed new job dbus.service/stop as 73
    Installed new job systemd-logind.service/stop as 74
    Installed new job [email protected]/stop as 75
    Installed new job [email protected]/stop as 76
    Installed new job xinetd.service/stop as 77
    Installed new job ntpd.service/stop as 79
    Installed new job network.service/stop as 80
    Installed new job systemd-tmpfiles-clean.timer/stop as 81
    Installed new job systemd-ask-password-wall.path/stop as 88
    Installed new job dbus.socket/stop as 89
    Installed new job network.target/stop as 91
    Installed new job getty.target/stop as 92
    Installed new job sysinit.target/stop as 94
    Installed new job systemd-ask-password-console.path/stop as 95
    Installed new job systemd-sysctl.service/stop as 99
    Installed new job systemd-vconsole-setup.service/stop as 100
    Installed new job cryptsetup.target/stop as 101
    Installed new job swap.target/stop as 102
    Installed new job remote-fs.target/stop as 105
    Installed new job sockets.target/stop as 106
    Installed new job systemd-remount-fs.service/stop as 107
    Installed new job local-fs-pre.target/stop as 108
    Installed new job umount.target/start as 109
    Installed new job tmp.mount/stop as 110
    Installed new job dev-disk-by\x2duuid-cf99f458\x2d47e9\x2d4bb2\x2d9097\x2dbacc824d3653.swap/stop as 111
    Installed new job dev-disk-by\x2dpath-platform\x2doxnassata.0\x2dscsi\x2d0:0:0:0\x2dpart3.swap/stop as 112
    Installed new job dev-disk-by\x2did-wwn\x2d0x5000c5003e1ae4b9\x2dpart3.swap/stop as 113
    Installed new job dev-disk-by\x2did-ata\x2dST1500DL003\x2d9VT16L_5YD51614\x2dpart3.swap/stop as 114
    Installed new job final.target/start as 116
    Enqueued job halt.target/start as 59
    Redirecting stop request from dev-disk-by\x2did-ata\x2dST1500DL003\x2d9VT16L_5YD51614\x2dpart3.swap to dev-sda3.swap.
    Job dev-disk-by\x2did-ata\x2dST1500DL003\x2d9VT16L_5YD51614\x2dpart3.swap/stop finished, result=done
    [[1m[32m OK [0m] Deactivated swap /dev/disk/by-id/ata-ST1500DL003-9VT...5YD51614-part3.
    Redirecting stop request from dev-disk-by\x2did-wwn\x2d0x5000c5003e1ae4b9\x2dpart3.swap to dev-sda3.swap.
    Job dev-disk-by\x2did-wwn\x2d0x5000c5003e1ae4b9\x2dpart3.swap/stop finished, result=done
    [[1m[32m OK [0m] Deactivated swap /dev/disk/by-id/wwn-0x5000c5003e1ae4b9-part3.
    Redirecting stop request from dev-disk-by\x2dpath-platform\x2doxnassata.0\x2dscsi\x2d0:0:0:0\x2dpart3.swap to dev-sda3.swap.
    Job dev-disk-by\x2dpath-platform\x2doxnassata.0\x2dscsi\x2d0:0:0:0\x2dpart3.swap/stop finished, result=done
    [[1m[32m OK [0m] Deactivated swap /dev/disk/by-path/platform-oxnassat...-0:0:0:0-part3.
    Redirecting stop request from dev-disk-by\x2duuid-cf99f458\x2d47e9\x2d4bb2\x2d9097\x2dbacc824d3653.swap to dev-sda3.swap.
    Job dev-disk-by\x2duuid-cf99f458\x2d47e9\x2d4bb2\x2d9097\x2dbacc824d3653.swap/stop finished, result=done
    [[1m[32m OK [0m] Deactivated swap /dev/disk/by-uuid/cf99f458-47e9-4bb...7-bacc824d3653.
    graphical.target changed active -> dead
    This causes my small server to crash because the swap is removed before Ram consuming processes ( samba4 mysql etc. ) are terminated.
    Does anyone have an Idea how to prevent this behaviour?

    Since switching to Systemd on my Arch Linux Installation I am not able to influence the time the swap gets deactivated on shutdown. It simply gets deactivated with the following Message:
    [  OK  ] Deactivated swap /dev/disk/by-id/ata-ST1500DL003-9VT...5YD51614-part3.
    [  OK  ] Deactivated swap /dev/disk/by-id/wwn-0x5000c5003e1ae4b9-part3.
    first thing after the halt command. Systemd seems to completely ignore Dependencies to custom made dev-sda3.swap Units and even removes the Swap this early if it was manually activated with the swapon command. Here is the Systemd Debug Output:
    [root@server ~]# swapon -p 80 /dev/sda3
    [ 47.130000] Adding 262140k swap on /dev/sda3. Priority:80 extents:1 across:262140k
    dev-disk-by\x2duuid-cf99f458\x2d47e9\x2d4bb2\x2d9097\x2dbacc824d3653.swap changed dead -> active
    Successfully opened /dev/console for logging.
    dev-disk-by\x2dpath-platform\x2doxnassata.0\x2dscsi\x2d0:0:0:0\x2dpart3.swap changed dead -> active
    Successfully opened /dev/console for logging.
    dev-disk-by\x2did-wwn\x2d0x5000c5003e1ae4b9\x2dpart3.swap changed dead -> active
    Successfully opened /dev/console for logging.
    dev-disk-by\x2did-ata\x2dST1500DL003\x2d9VT16L_5YD51614\x2dpart3.swap changed dead -> active
    Successfully opened /dev/console for logging.
    [root@server ~]# halt
    Accepted connection on private bus.
    Got D-Bus request: org.freedesktop.systemd1.Manager.StartUnit() on /org/freedesktop/systemd1
    Trying to enqueue job halt.target/start/replace
    Installed new job halt.target/start as 59
    Installed new job systemd-halt.service/start as 60
    Installed new job shutdown.target/start as 61
    Installed new job systemd-random-seed-save.service/start as 62
    Installed new job systemd-update-utmp-shutdown.service/start as 65
    Installed new job local-fs.target/stop as 66
    Installed new job systemd-user-sessions.service/stop as 68
    Installed new job basic.target/stop as 69
    Installed new job multi-user.target/stop as 70
    Installed new job graphical.target/stop as 71
    Installed new job dbus.service/stop as 73
    Installed new job systemd-logind.service/stop as 74
    Installed new job [email protected]/stop as 75
    Installed new job [email protected]/stop as 76
    Installed new job xinetd.service/stop as 77
    Installed new job ntpd.service/stop as 79
    Installed new job network.service/stop as 80
    Installed new job systemd-tmpfiles-clean.timer/stop as 81
    Installed new job systemd-ask-password-wall.path/stop as 88
    Installed new job dbus.socket/stop as 89
    Installed new job network.target/stop as 91
    Installed new job getty.target/stop as 92
    Installed new job sysinit.target/stop as 94
    Installed new job systemd-ask-password-console.path/stop as 95
    Installed new job systemd-sysctl.service/stop as 99
    Installed new job systemd-vconsole-setup.service/stop as 100
    Installed new job cryptsetup.target/stop as 101
    Installed new job swap.target/stop as 102
    Installed new job remote-fs.target/stop as 105
    Installed new job sockets.target/stop as 106
    Installed new job systemd-remount-fs.service/stop as 107
    Installed new job local-fs-pre.target/stop as 108
    Installed new job umount.target/start as 109
    Installed new job tmp.mount/stop as 110
    Installed new job dev-disk-by\x2duuid-cf99f458\x2d47e9\x2d4bb2\x2d9097\x2dbacc824d3653.swap/stop as 111
    Installed new job dev-disk-by\x2dpath-platform\x2doxnassata.0\x2dscsi\x2d0:0:0:0\x2dpart3.swap/stop as 112
    Installed new job dev-disk-by\x2did-wwn\x2d0x5000c5003e1ae4b9\x2dpart3.swap/stop as 113
    Installed new job dev-disk-by\x2did-ata\x2dST1500DL003\x2d9VT16L_5YD51614\x2dpart3.swap/stop as 114
    Installed new job final.target/start as 116
    Enqueued job halt.target/start as 59
    Redirecting stop request from dev-disk-by\x2did-ata\x2dST1500DL003\x2d9VT16L_5YD51614\x2dpart3.swap to dev-sda3.swap.
    Job dev-disk-by\x2did-ata\x2dST1500DL003\x2d9VT16L_5YD51614\x2dpart3.swap/stop finished, result=done
    [[1m[32m OK [0m] Deactivated swap /dev/disk/by-id/ata-ST1500DL003-9VT...5YD51614-part3.
    Redirecting stop request from dev-disk-by\x2did-wwn\x2d0x5000c5003e1ae4b9\x2dpart3.swap to dev-sda3.swap.
    Job dev-disk-by\x2did-wwn\x2d0x5000c5003e1ae4b9\x2dpart3.swap/stop finished, result=done
    [[1m[32m OK [0m] Deactivated swap /dev/disk/by-id/wwn-0x5000c5003e1ae4b9-part3.
    Redirecting stop request from dev-disk-by\x2dpath-platform\x2doxnassata.0\x2dscsi\x2d0:0:0:0\x2dpart3.swap to dev-sda3.swap.
    Job dev-disk-by\x2dpath-platform\x2doxnassata.0\x2dscsi\x2d0:0:0:0\x2dpart3.swap/stop finished, result=done
    [[1m[32m OK [0m] Deactivated swap /dev/disk/by-path/platform-oxnassat...-0:0:0:0-part3.
    Redirecting stop request from dev-disk-by\x2duuid-cf99f458\x2d47e9\x2d4bb2\x2d9097\x2dbacc824d3653.swap to dev-sda3.swap.
    Job dev-disk-by\x2duuid-cf99f458\x2d47e9\x2d4bb2\x2d9097\x2dbacc824d3653.swap/stop finished, result=done
    [[1m[32m OK [0m] Deactivated swap /dev/disk/by-uuid/cf99f458-47e9-4bb...7-bacc824d3653.
    graphical.target changed active -> dead
    This causes my small server to crash because the swap is removed before Ram consuming processes ( samba4 mysql etc. ) are terminated.
    Does anyone have an Idea how to prevent this behaviour?

  • Syslog fails [SOLVED]

    Today about an hour ago I did a pacman -Syu.
    The most relevant part was :
    upgraded filesystem (2012.7-1 -> 2012.8-1)
    [2012-08-30 17:34] ln -s '/usr/lib/systemd/system/[email protected]' '/etc/systemd/system/getty.target.wants/[email protected]'
    [2012-08-30 17:34] :: Append 'init=/bin/systemd' to your kernel command line in your
    [2012-08-30 17:34] bootloader to replace sysvinit with systemd
    [2012-08-30 17:34] installed systemd (189-3)
    Since I had to make changes to my kernel line I decided to reboot (just to make sure I got things right) and I so something fail .... but it went by too fast for me to read.
    I went to my /var/log/boot log and ... nothing, no error there.
    I rebooted again and same thing [failed] message but hard to read at the speed it boots. Back to /var/log/boot and no message BUT I noticed the time of my last boot ... it was about an hour before, so clearly something wrong here ...
    I rebooted by the third time and in this occasion I was able to read something about Syslog to have failed.
    Now that makes sense since I am not getting logs anymore but the question is: did the systemd upgrade cause problems to anyone else?
    Any proposed solutions/ideas ?
    Thanks.
    R.
    Last edited by ralvez (2012-08-31 00:35:41)

    I'm still struggling, to be honest, to understand and configure it. Plus right now I'm trying to maintain the ability to boot with initscripts as well which naturally complicates things. And I'm having a mysterious, intermittent problem which may well be hardware. And now kernel panics on boot...
    All I can say is that syslog-ng.service is enabled on my machine and syslog-ng is configured to pick up systemd's output but:
    $ l /var/log/boot
    -rw-r--r-- 1 root root 811K Aws 28 23:20 /var/log/boot
    $ l /var/log/dmesg.log
    -rw-r--r-- 1 root root 55K Aws 28 23:20 /var/log/dmesg.log
    I booted several times yesterday and once this evening. Those logs are from the last time I booted with initscripts.
    I also can't figure out how to get similar information although I'm sure there is a way.
    Right now, switching to a pure systemd system will also mean you lose access to the emergency/rescue shell. (But this will only happen if you install systemd-sysvcompat which conflicts with sysvinit.) This will, I believe, be fixed once util-linux is updated.
    Last edited by cfr (2012-08-31 01:55:05)

  • How to catch all logs to one file with rsyslog?

    Hi,
    I have this config in rsyslog:
    # cat /etc/rsyslog.conf
    # Minimal config
    $ModLoad imuxsock # provides support for local system logging
    $ModLoad imklog # provides kernel logging support
    $ActionFileDefaultTemplate RSYSLOG_TraditionalFileFormat
    $FileOwner root
    $FileGroup root
    $FileCreateMode 0640
    $DirCreateMode 0755
    $Umask 0022
    $WorkDirectory /var/spool/rsyslog
    $IncludeConfig /etc/rsyslog.d/*.conf
    # Un sol log
    *.* /var/log/missatges.log
    # Si hi ha notificacions crítiques (pànic), enviar per consola a tots els usuaris
    *.emerg :omusrmsg:*
    [root@serviedre ~]#
    but in 'missatges.log' there is no systemd-timesyncd output:
    # journalctl -n
    -- Logs begin at Fri 2010-01-01 01:00:05 CET, end at Mon 2014-12-08 18:33:08 CET. --
    Dec 08 18:31:20 serviedre systemd[162]: Starting Default.
    Dec 08 18:31:20 serviedre systemd[162]: Reached target Default.
    Dec 08 18:31:20 serviedre systemd[162]: Startup finished in 168ms.
    Dec 08 18:31:20 serviedre systemd[1]: Started User Manager for UID 0.
    Dec 08 18:31:44 serviedre systemd-timesyncd[129]: Using NTP server 86.59.80.170:123 (2.europe.pool.ntp.org).
    Dec 08 18:31:31 serviedre systemd[162]: Time has been changed
    Dec 08 18:31:31 serviedre systemd-timesyncd[129]: interval/delta/delay/jitter/drift 32s/-12.456s/0.115s/0.000s/+0ppm
    Dec 08 18:31:31 serviedre systemd[1]: Time has been changed
    Dec 08 18:32:03 serviedre systemd-timesyncd[129]: interval/delta/delay/jitter/drift 64s/+0.001s/0.113s/0.000s/+0ppm
    Dec 08 18:33:08 serviedre systemd-timesyncd[129]: interval/delta/delay/jitter/drift 128s/+0.004s/0.114s/0.001s/+15ppm
    [root@serviedre ~]# cat /var/log/missatges.log | grep drift
    [root@serviedre ~]#
    Why?
    Last edited by xanb (2014-12-17 09:54:50)

    This happens with a lot of info: `journalctl -b` prints:
    Dec 17 09:36:16 serviedre systemd[6276]: Received SIGRTMIN+24 from PID 6328 (kill).
    Dec 17 09:36:16 serviedre systemd[6277]: pam_unix(systemd-user:session): session closed for user root
    Dec 17 09:36:16 serviedre systemd[1]: Stopped User Manager for UID 0.
    Dec 17 09:36:16 serviedre systemd[1]: Stopping user-0.slice.
    Dec 17 09:36:17 serviedre systemd[1]: Removed slice user-0.slice.
    Dec 17 09:41:38 serviedre systemd-timesyncd[133]: interval/delta/delay/jitter/drift 2048s/-0.000s/0.099s/0.000s/+55ppm
    Dec 17 09:55:51 serviedre sshd[6333]: Accepted password for root from 172.26.0.7 port 35114 ssh2
    Dec 17 09:55:51 serviedre sshd[6333]: pam_unix(sshd:session): session opened for user root by (uid=0)
    Dec 17 09:55:51 serviedre systemd[1]: Starting user-0.slice.
    Dec 17 09:55:51 serviedre systemd[1]: Created slice user-0.slice.
    Dec 17 09:55:51 serviedre systemd[1]: Starting User Manager for UID 0...
    Dec 17 09:55:52 serviedre systemd[1]: Starting Session c2 of user root.
    Dec 17 09:55:52 serviedre systemd-logind[137]: New session c2 of user root.
    Dec 17 09:55:52 serviedre systemd[6335]: pam_unix(systemd-user:session): session opened for user root by (uid=0)
    Dec 17 09:55:52 serviedre systemd[1]: Started Session c2 of user root.
    Dec 17 09:55:52 serviedre systemd[6335]: Starting Paths.
    Dec 17 09:55:52 serviedre systemd[6335]: Reached target Paths.
    Dec 17 09:55:52 serviedre systemd[6335]: Starting Timers.
    Dec 17 09:55:52 serviedre systemd[6335]: Reached target Timers.
    Dec 17 09:55:52 serviedre systemd[6335]: Starting Sockets.
    Dec 17 09:55:52 serviedre systemd[6335]: Reached target Sockets.
    Dec 17 09:55:52 serviedre systemd[6335]: Starting Basic System.
    Dec 17 09:55:52 serviedre systemd[6335]: Reached target Basic System.
    Dec 17 09:55:52 serviedre systemd[6335]: Starting Default.
    Dec 17 09:55:52 serviedre systemd[6335]: Reached target Default.
    Dec 17 09:55:52 serviedre systemd[6335]: Startup finished in 143ms.
    Dec 17 09:55:52 serviedre systemd[1]: Started User Manager for UID 0.
    Dec 17 10:15:46 serviedre systemd-timesyncd[133]: interval/delta/delay/jitter/drift 2048s/-0.000s/0.100s/0.000s/+55ppm
    Dec 17 10:19:43 serviedre systemd[1]: Reloading.
    Dec 17 10:19:44 serviedre systemd[1]: Unknown serialization item 'subscribed=:1.0'
    but
    [root@serviedre ~]# tail /var/log/missatges.log
    Dec 14 18:33:12 localhost kernel: [ 4.959569] mmcblk0: p1
    Dec 14 18:33:12 localhost kernel: [ 6.833607] EXT4-fs (sda1): re-mounted. Opts: discard
    Dec 14 18:33:12 localhost kernel: [ 9.783482] EXT4-fs (sda8): mounted filesystem with ordered data mode. Opts: discard
    Dec 14 18:33:12 localhost kernel: [ 9.885975] EXT4-fs (sda5): mounted filesystem with ordered data mode. Opts: discard
    Dec 14 18:33:12 localhost kernel: [ 10.004117] EXT4-fs (sda6): mounted filesystem with ordered data mode. Opts: discard
    Dec 14 18:33:12 localhost kernel: [ 10.109992] EXT4-fs (sda2): mounted filesystem with ordered data mode. Opts: discard
    Dec 14 18:33:12 localhost kernel: [ 10.243718] EXT4-fs (sda7): mounted filesystem with ordered data mode. Opts: discard
    Dec 14 18:33:12 localhost kernel: [ 10.596835] EXT4-fs (sda3): mounted filesystem with ordered data mode. Opts: discard
    Dec 14 18:33:12 localhost kernel: [ 12.914250] sunxi_emac sunxi_emac.0: eth0: link up, 100Mbps, full-duplex, lpa 0x41E1
    Dec 14 18:33:22 localhost kernel: [ 23.247589] eth0: no IPv6 routers present
    [root@serviedre ~]#

  • Exec fails with Japanese OS

    I try to execute the command 'ipconfig' using java Runtime in Japan OS commandline.Output stream collapsed when i try to
    run the code using jdk 1.6.x and 1.5.x versions.If i run the code using jdk1.3.x it works well.Did any one encounter this scenario,pls help me
    to resolve this issue?

    Hi,
    I have also faced the above mentioned issue.The workaround of using Full Width unicode though resolves the alignment of Japanese with english/numbers/special characters.
    There is other issues with this to mention a few:
    (a) The text is still top aligned.
    (b) A leading and trailing space is added to the value in the choice component when full width unicode value is used instead of english/number/special characters.
    It would nice if the mentioned issues could be resolved or if a work around could be suggested.

  • Slow boot after installing SSD drive + Grub problem + Kernel panicks

    Hey
    So i just got a Samsung 840 EVO, and was ready to see my system fly, so i installed Arch on it, the instalation was kinda weird, since im in the middle of some major developing for a startup i couldnt risk to lose time configuring my all system so what i did was this:
    Install Arch on the SSD (/root on sdb1) while keeping my  other Arch install (/root on sda5) and sharing the /home and /swap (on sda6 and sda7) between both systems, i installed grub on sdb also because i didnt knew what to do
    So now when i boot the laptop i get the grub from sda wich only has Old Arch and windows, if i press f9 at boot and boot from the ssd i go to sdb grub that has Old Arch, New Arch and Windows, since the SSD was instaled via a caddy it doesnt get recognized in the BIOS, but strangely i get 2 Universal Hard Drives (hdd and sdd) when pressing f9
    So first question is, should i reeinstall grub on sda or is there a way to put the SDD as primary?
    The other problem is that systemd-analyze is giving me worst times than with the hdd, and i dont see a huge improvement with the SSD as i should. Is it because i have /home /swap on the hdd? I have read https://wiki.archlinux.org/index.php/Solid_State_Drives and did as told.
    systemd-analyze
    Startup finished in 1.820s (kernel) + 1min 30.406s (userspace) = 1min 32.226s
    systemd-analyze output (only top lines)
    1min 1.093s ntpdate.service
    4.320s systemd-modules-load.service
    1.159s mysqld.service
    986ms [email protected]
    967ms [email protected]
    609ms [email protected]
    511ms [email protected]
    359ms lvm2-monitor.service
    systemd-analyze critical-chain
    graphical.target @1min 30.156s
    └─multi-user.target @1min 30.154s <------------- a lot of time
    └─ntpd.service @1min 7.575s +9ms
    └─network.target @6.473s
    └─[email protected] @5.962s +511ms <------------- a lot of time
    └─basic.target @5.948s
    └─timers.target @5.948s
    └─systemd-tmpfiles-clean.timer @5.948s
    └─sysinit.target @5.942s
    └─systemd-backlight@backlight:acpi_video1.service @8.148s +59ms <------------- a lot of time
    └─system-systemd\x2dbacklight.slice @5.646s
    └─system.slice @155ms
    └─-.slice @154ms
    laptop specs:
    Intel(R) Core(TM) i5-2430M CPU @ 2.40GHz
    8 GB RAM
    512 GB HDD
    250 GB 840 EVO
    Last edited by archoriano (2014-08-29 01:19:22)

    You did not share what the kernel panic says, but I guess it has to do with your root file systems not mounted correctly. If it happens like 75% of the time, sounds like you are using /dev/sdax and it gets enumarated differently?  Use UUID's instead.
    Your "slow boot" is a seperate problem, see the thread you linked too for how to fix that.
    Its a fresh install but i alredy have DE and programs, i used Helmuth script to install all the stuff, just so i didnt forget to install stuff.
    No idea what this means, but if it is some third party script downloaded off the internet - use them only if you understand exactly what it does, else the chances are you will run into some problems with no idea how you got there.  For simply keeping a list of packages to install, put them in a text file and pipe them into pacman (see also here.

Maybe you are looking for

  • How to get all kind of GP work items for all users

    Dear all:    Basing GP implementation,we can only get the single user's work item. Is that possible to get all of the users' work items,and can filter the work item via time field?   thanks a lot.

  • InDesign CS6 and CC hang constantly in Windows 8 x64

    Id anyone else experiencing a similar problem? If I do anything at all in InDesign, the application will "hang". I can still move my cursor, it does not crash, I can still see what text block or other item I have selected, but I can't do anything at

  • Why can't I copy photos from my new Sony camera to my iphone4?

    Why can't I copy photos from my new Sony point and shoot to my iphone4? It works with photos from my old camera, just not with the new one. When I sync photos to my phone, they come out black. Help!

  • How to link to file in new window?

    I'm building a portfolio site. Right now, I know that I can open a new window when linking to an external page or even one of my own pages. However, I want to link to files that will open a new window instead of reloading the current page. For exampl

  • Returning multiple records from the DB

    Hi all, Can anybody tell me how to return multiple result set using stored procudure. For example "select * from users" works in SQL Plus, but we can't use it in a stored procedure. Any alternative to extract multiple result set from the DB.