[solved] shadow.service load fail Verify integrity password&group file

My system Arch with KDE 5 boot OK but in log I have: "shadow.service loaded failed failed Verify integrity of password and group files"
I make upgrade KDE 4 to next 5. I now not have installed package kdebase-workspace with KDM.
KDE start with edit boot file ~/.xinitrc - in Pantheon desktop environment https://wiki.archlinux.org/index.php/Pantheon
#!/bin/sh
if [ -d /etc/X11/xinit/xinitrc.d ]; then
for f in /etc/X11/xinit/xinitrc.d/*; do
[ -x "$f" ] && . "$f"
done
unset f
fi
gsettings-data-convert &
xdg-user-dirs-gtk-update &
/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &
/usr/lib/gnome-settings-daemon/gnome-settings-daemon &
/usr/lib/gnome-user-share/gnome-user-share &
eval $(gnome-keyring-daemon --start --components=pkcs11,secrets,ssh,gpg)
export GNOME_KEYRING_CONTROL GNOME_KEYRING_PID GPG_AGENT_INFO SSH_AUTH_SOCK
########## exec dbus-launch gala &
# exec cerbere
# start kde 5
exec startkde
[root@arch-linux ~]# systemctl status shadow.service
● shadow.service - Verify integrity of password and group files
Loaded: loaded (/usr/lib/systemd/system/shadow.service; static; vendor preset: disabled)
Active: failed (Result: exit-code) since śro 2015-05-27 07:55:12 CEST; 4min 41s ago
Process: 285 ExecStart=/usr/bin/pwck -r (code=exited, status=2)
Main PID: 285 (code=exited, status=2)
maj 27 07:55:11 arch-linux systemd[1]: Starting Verify integrity of password and group files...
maj 27 07:55:12 arch-linux pwck[285]: user 'kdm': directory '/var/lib/kdm' does not exist
maj 27 07:55:12 arch-linux pwck[285]: pwck: bez zmian
maj 27 07:55:12 arch-linux systemd[1]: shadow.service: main process exited, code=exited, status=2/INVALIDARGUMENT
maj 27 07:55:12 arch-linux systemd[1]: Failed to start Verify integrity of password and group files.
maj 27 07:55:12 arch-linux systemd[1]: Unit shadow.service entered failed state.
maj 27 07:55:12 arch-linux systemd[1]: shadow.service failed.
[root@arch-linux ~]# systemctl --failed
UNIT LOAD ACTIVE SUB DESCRIPTION
● shadow.service loaded failed failed Verify integrity of password and group files
LOAD = Reflects whether the unit definition was properly loaded.
ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
SUB = The low-level unit activation state, values depend on unit type.
1 loaded units listed. Pass --all to see loaded but inactive units, too.
To show all installed unit files use 'systemctl list-unit-files'.
Last edited by hackintosh1984pl (2015-05-27 19:18:57)

I help me this information https://bbs.archlinux.org/viewtopic.php?id=193624
Remove line with "kdm" in file:  /etc/passwd and reboot and OK is now:
[root@arch-linux ~]# systemctl --failed
0 loaded units listed. Pass --all to see loaded but inactive units, too.
To show all installed unit files use 'systemctl list-unit-files'.
I make also backup:  cp  /etc/passwd /etc/passwd.backup

Similar Messages

  • [SOLVED] shadow.service fails

    I haven't been tweaking my system much lately, both because it is set up the way I like it and because I haven't been actively interested in it lately. Today I noticed at boot that shadow.service failed. I have updated systemd yesterday and I'm pretty sure this issue popped up only now. It does not seem to cause problems with logging in.
    Further inquiry gives me:
    systemctl status shadow.service
    ● shadow.service - Verify integrity of password and group files
    Loaded: loaded (/usr/lib/systemd/system/shadow.service; static)
    Active: failed (Result: exit-code) since Thu 2014-04-17 09:50:07 CEST; 6min ago
    Process: 5847 ExecStart=/usr/bin/pwck -r (code=exited, status=2)
    Main PID: 5847 (code=exited, status=2)
    Apr 17 09:50:07 hostname pwck[5847]: duplicate password entry
    Apr 17 09:50:07 hostname pwck[5847]: delete line 'uuidd:x:68:68:uuidd:/:/sbin/nologin'? No
    Apr 17 09:50:07 hostname pwck[5847]: user 'uuidd': no group 68
    Apr 17 09:50:07 hostname pwck[5847]: duplicate password entry
    Apr 17 09:50:07 hostname pwck[5847]: delete line 'uuidd:x:998:998::/:/sbin/nologin'? No
    Apr 17 09:50:07 hostname pwck[5847]: pwck: no changes
    Apr 17 09:50:07 hostname systemd[1]: shadow.service: main process exited, code=exited, status=2/INVALIDARGUMENT
    Apr 17 09:50:07 hostname systemd[1]: Failed to start Verify integrity of password and group files.
    Apr 17 09:50:07 hostname systemd[1]: Unit shadow.service entered failed state.
    journalctl -xn
    Apr 17 09:23:57 hostname systemd[1]: shadow.service: main process exited, code=exited, status=2/INVALIDARGUMENT
    -- Subject: Unit shadow.service has failed
    -- Unit shadow.service has failed.
    Apr 17 09:23:57 hostname systemd[1]: Unit shadow.service entered failed state.
    Apr 17 09:27:28 hostname dbus[352]: [system] Rejected send message, 2 matched rules; type="method_call", sender=":1.15" (uid=1000 pid=5525 comm="systemctl start shadow.service ") interface="org.freedesktop.systemd1.Manager" member="StartUnit" error name="(unset)" requested_reply="0" destination="org.freedesktop.systemd1" (uid=0 pid=1 comm="/sbin/init ")
    Apr 17 09:27:31 hostname sudo[5527]: username : TTY=pts/0 ; PWD=/home/username ; USER=root ; COMMAND=/usr/bin/systemctl start shadow.service
    -- Subject: Unit shadow.service has begun with start-up
    -- Unit shadow.service has begun starting up.
    Apr 17 09:27:31 hostname systemd[1]: shadow.service: main process exited, code=exited, status=2/INVALIDARGUMENT
    -- Subject: Unit shadow.service has failed
    -- Unit shadow.service has failed.
    Apr 17 09:27:31 hostname systemd[1]: Unit shadow.service entered failed state.
    I'm not sure what I'm doing in this field and can't seem to find topics with similar problems to this.
    Last edited by D. (2014-04-17 13:04:01)

    I've got a similar problem with shadow.service not starting due to invalid password file integrity:
    shadow.service - Verify integrity of password and group files
    Loaded: loaded (/usr/lib/systemd/system/shadow.service; static)
    Active: failed (Result: exit-code) since Sat 2014-04-19 07:40:53 NZST; 22min ago
    Process: 289 ExecStart=/usr/bin/pwck -r (code=exited, status=2)
    Main PID: 289 (code=exited, status=2)
    Apr 19 07:40:53 taniwha-folio13 pwck[289]: user 'rtkit': no group 133
    Apr 19 07:40:53 taniwha-folio13 pwck[289]: user 'git': no group 998
    Apr 19 07:40:53 taniwha-folio13 pwck[289]: user 'transmission': no group 169
    Apr 19 07:40:53 taniwha-folio13 pwck[289]: user 'ntp': no group 87
    Apr 19 07:40:53 taniwha-folio13 pwck[289]: user 'uuidd': no group 997
    Apr 19 07:40:53 taniwha-folio13 pwck[289]: user 'rpc': no group 32
    Apr 19 07:40:53 taniwha-folio13 pwck[289]: pwck: no changes
    Apr 19 07:40:53 taniwha-folio13 systemd[1]: shadow.service: main process exited, code=exited, status=2/INVALIDARGUMENT
    Apr 19 07:40:54 taniwha-folio13 systemd[1]: Failed to start Verify integrity of password and group files.
    Apr 19 07:40:54 taniwha-folio13 systemd[1]: Unit shadow.service entered failed state.
    In my case, the error message indicates users without groups. How do I address this?
    ps similar problem, so not sure if I should start a new thread or not

  • Pwck Complaining about homeless users, causing shadow.service to fail

    I was looking through my journal and noticed the following error:
    Jul 08 00:00:00 raspberry_pi systemd[1]: Failed to start Verify integrity of password and group files.
    Checking the status of shadow.service produces this output:
    ~ $ sudo systemctl status -l shadow
    ● shadow.service - Verify integrity of password and group files
    Loaded: loaded (/usr/lib/systemd/system/shadow.service; static)
    Active: failed (Result: exit-code) since Tue 2014-07-08 00:00:00 PDT; 5min ago
    Process: 11736 ExecStart=/usr/bin/pwck -r (code=exited, status=2)
    Main PID: 11736 (code=exited, status=2)
    Jul 08 00:00:00 raspberry_pi systemd[1]: Starting Verify integrity of password and group files...
    Jul 08 00:00:00 raspberry_pi pwck[11736]: user 'remote': directory '/home/remote' does not exist
    Jul 08 00:00:00 raspberry_pi systemd[1]: shadow.service: main process exited, code=exited, status=2/INVALIDARGUMENT
    Jul 08 00:00:00 raspberry_pi systemd[1]: Failed to start Verify integrity of password and group files.
    Jul 08 00:00:00 raspberry_pi systemd[1]: Unit shadow.service entered failed state.
    Jul 08 00:00:01 raspberry_pi pwck[11736]: pwck: no changes
    The passwd entry for this user is
    ~ $ cat /etc/passwd
    remote:x:1001:100::/home/remote:/bin/nologin
    I guess this explains why pwck is complaining and causing shadow.service to fail. However, this user was created a long time ago, explicitly without a home directory, so I am not sure why a home path is specified in the passwd file. I also feel certain that this error is relatively new.
    So, using the following command I created a test user without a home directory so that I could at least see what a passwd line for a user without a home directory is supposed to look like, but to my surprise a home path was specified in the passwd file and pwck complained about the new user in the same way.
    ~ $ sudo useradd -M -g users -s /bin/bash testuser
    ~ $ cat /etc/passwd
    testuser:x:1002:100::/home/testuser:/bin/bash
    ~ $ sudo pwck -r
    user 'remote': directory '/home/remote' does not exist
    user 'testuser': directory '/home/testuser' does not exist
    pwck: no changes
    I also created a throwaway user on my x86 notebook to see if this happens, and it does, so this does not appear to be related to the architecture.
    Is there anything I could do short of creating a home directory for this user, or does this look like a bug?

    Hope it's not too late to answer this.
    Changing the home directory to /dev/null seems to have solved the issue for me.
    Still don't know what negative effects that might have for me, but shadow.service runs normally as far as I can tell.
    Edit:
    Performing
    userdel -r <user>
    throws
    userdel: /dev/null not owned by <user>, not removing
    , so setting /dev/null as the home directory is relatively "safe"
    Last edited by zomernifalt (2014-11-05 15:55:36)

  • [SOLVED] Netcfg.service always failing.

    Hello,
    Since systemd got pushed down with an update I decided to jump the ship (even though roughly a week ago I tried it and decided to wait a while, the irony ) With the help of my previous topic and the knowledge that e4rat does work with systemd, I got everything working and it's working faster than ever too. Win/win if you ask me.
    There's only one issue: the netcfg.service that I have enabled with systemctl enable netcfg.service always fail on boot and I have to manually connect later. I don't know why it fails, so I hope you can help me tracking the issue.
    This is the output of systemctl status netcfg.service right after booting:
    ┌─[jente @ lappy ~] 19:39:30
    └─■ systemctl status netcfg.service
    netcfg.service - Netcfg multi-profile daemon
    Loaded: loaded (/usr/lib/systemd/system/netcfg.service; enabled)
    Active: failed (Result: exit-code) since Fri, 31 Aug 2012 19:35:04 +0200; 4min 27s ago
    Process: 253 ExecStart=/usr/bin/netcfg-daemon start (code=exited, status=1/FAILURE)
    CGroup: name=systemd:/system/netcfg.service
    And here's systemctl --failed list-units:
    ┌─[jente @ lappy ~] 19:39:32
    └─■ systemctl --failed list-units
    UNIT LOAD ACTIVE SUB JOB DESCRIPTION
    netcfg.service loaded failed failed Netcfg multi-profile daemon
    LOAD = Reflects whether the unit definition was properly loaded.
    ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
    SUB = The low-level unit activation state, values depend on unit type.
    JOB = Pending job for the unit.
    1 units listed. Pass --all to see inactive units, too.
    And here's the journal output:
    ----- Reboot -----
    Aug 31 19:35:04 lappy netcfg-daemon[253]: :: [ESSID] up interface wlan0 does not exist
    Aug 31 19:35:04 lappy netcfg-daemon[253]: [fail]
    I don't think it's any netcfg configuration file, because it did work with SysV and the net-profiles daemon.
    Last edited by Unia (2012-10-31 14:20:21)

    I use a custom "network.service" as I have a static ip on my wireless lan (oh, and I chucked in the hdparm stuff because after suspend I found the disk had lost those settings, so don't copy that line). Based on this wiki section.
    $ cat /etc/systemd/system/network.service
    [Unit]
    Description=Network Connectivity
    Wants=network.target
    Before=network.target
    After=sys-devices-pci0000:00-0000:00:1c.1-0000:02:00.0-bcma0:0-net-wlan0.device
    BindTo=sys-devices-pci0000:00-0000:00:1c.1-0000:02:00.0-bcma0:0-net-wlan0.device
    [Service]
    Type=oneshot
    RemainAfterExit=yes
    EnvironmentFile=/etc/conf.d/network
    ExecStart=/sbin/hdparm --yes-i-know-what-i-am-doing -m 16 -S0 -B255 /dev/sda
    ExecStart=/usr/sbin/wpa_supplicant -B -i ${interface} -c /etc/wpa_supplicant/wpa_supplicant-wlan0.conf
    ExecStart=/sbin/ip link set dev ${interface} up
    ExecStart=/sbin/ip addr add ${address}/${netmask} broadcast ${broadcast} dev ${interface}
    ExecStart=/sbin/ip route add default via ${gateway}
    ExecStop=/sbin/ip addr flush dev ${interface}
    ExecStop=/sbin/ip link set dev ${interface} down
    ExecStop=/usr/bin/killall wpa_supplicant
    [Install]
    WantedBy=multi-user.target

  • [SOLVED]shadow.service won't start

    I noticed something wrong during boot and it was shadow.service. Here's some log:
    systemctl status shadow.service
    ● shadow.service - Verify integrity of password and group files
    Loaded: loaded (/usr/lib/systemd/system/shadow.service; static)
    Active: failed (Result: exit-code) since Mon 2014-05-12 15:28:32 CST; 6min ago
    Process: 20614 ExecStart=/usr/bin/pwck -r (code=exited, status=2)
    Main PID: 20614 (code=exited, status=2)
    journalctl -xn
    -- Logs begin at Thu 2014-03-06 17:45:00 CST, end at Mon 2014-05-12 15:25:19 CST. --
    May 12 15:09:10 wangchong-work org.a11y.atspi.Registry[15916]: ** (at-spi2-registryd:15919): WARNING **: Unable to register client with session manager
    May 12 15:09:13 wangchong-work org.freedesktop.thumbnails.Thumbnailer1[15877]: (tumblerd:15949): tumbler-WARNING **: Failed to load plugin "tumbler-poppler-thumbnailer.so": libpoppler-glib.so.8: cannot open shared object file: No such file or directory
    May 12 15:09:13 wangchong-work org.freedesktop.thumbnails.Thumbnailer1[15877]: (tumblerd:15949): tumbler-WARNING **: Failed to load plugin "tumbler-ffmpeg-thumbnailer.so": libffmpegthumbnailer.so.4: cannot open shared object file: No such file or directory
    May 12 15:09:13 wangchong-work org.freedesktop.thumbnails.Thumbnailer1[15877]: (tumblerd:15949): tumbler-WARNING **: Failed to load plugin "tumbler-raw-thumbnailer.so": libopenrawgnome.so.1: cannot open shared object file: No such file or directory
    May 12 15:09:13 wangchong-work org.freedesktop.thumbnails.Thumbnailer1[15877]: (tumblerd:15949): tumbler-WARNING **: Failed to load plugin "tumbler-odf-thumbnailer.so": libgsf-1.so.114: cannot open shared object file: No such file or directory
    May 12 15:09:14 wangchong-work org.gtk.Private.UDisks2VolumeMonitor[15877]: libbluray/bdnav/index_parse.c:162: indx_parse(): error opening /home/wangchong/FILES/BDMV/index.bdmv
    May 12 15:09:14 wangchong-work org.gtk.Private.UDisks2VolumeMonitor[15877]: libbluray/bdnav/index_parse.c:162: indx_parse(): error opening /home/wangchong/FILES/BDMV/BACKUP/index.bdmv
    May 12 15:09:14 wangchong-work org.gtk.Private.UDisks2VolumeMonitor[15877]: libbluray/bdnav/index_parse.c:162: indx_parse(): error opening /home/wangchong/TEMP/BDMV/index.bdmv
    May 12 15:09:14 wangchong-work org.gtk.Private.UDisks2VolumeMonitor[15877]: libbluray/bdnav/index_parse.c:162: indx_parse(): error opening /home/wangchong/TEMP/BDMV/BACKUP/index.bdmv
    May 12 15:25:19 wangchong-work org.gtk.vfs.Daemon[15877]: ** (process:16065): WARNING **: send_done_cb: No such interface 'org.gtk.vfs.Enumerator' on object at path /org/gtk/vfs/client/enumerator/1 (g-dbus-error-quark, 19)
    I seached this bbs and found several similar problem and they all have something to do with /etc/group file, but I don't have any clue that my problem is also caused by the file. Here's the file:
    root:x:0:root
    bin:x:1:root,bin,daemon
    daemon:x:2:root,bin,daemon
    sys:x:3:root,bin
    adm:x:4:root,daemon
    tty:x:5:
    disk:x:6:root
    lp:x:7:daemon
    mem:x:8:
    kmem:x:9:
    wheel:x:10:root
    ftp:x:11:
    mail:x:12:
    uucp:x:14:
    log:x:19:root
    utmp:x:20:
    locate:x:21:
    rfkill:x:24:
    smmsp:x:25:
    http:x:33:
    games:x:50:
    lock:x:54:
    uuidd:x:68:
    dbus:x:81:
    network:x:90:
    video:x:91:
    audio:x:92:
    optical:x:93:
    floppy:x:94:
    storage:x:95:
    scanner:x:96:
    power:x:98:
    nobody:x:99:
    users:x:100:
    systemd-journal:x:190:
    polkitd:x:102:
    avahi:x:84:
    gdm:x:120:
    wangchong:x:1000:
    vboxusers:x:108:wangchong
    transmission:x:169:
    git:x:999:
    sagemath:x:998:
    colord:x:124:
    mysql:x:89:
    Last edited by wangchong (2014-05-12 10:09:29)

    I used to be affected by this as well. But you should run
    systemctl status shadow.service
    as root. That will give is exactly why it failed. It could be missing lines in /etc/passwd or missing home directory's / shells etc etc.

  • [SOLVED] systemd-modules-load fails

    .. because it cannot find gspca. My log:
    journalctl -xn
    -- Logs begin at Thu 2013-08-22 11:43:18 CEST, end at Mon 2014-06-23 14:26:30 CEST. --
    Jun 23 14:25:21 jiggs org.kde.knotify[1825]: "/org/freedesktop/UDisks2/block_devices/loop7" has new interfaces: ("org.
    Jun 23 14:25:22 jiggs org.kde.knotify[1825]: "/org/freedesktop/UDisks2/block_devices/loop2" has new interfaces: ("org.
    Jun 23 14:25:22 jiggs org.kde.knotify[1825]: "/org/freedesktop/UDisks2/block_devices/loop1" has new interfaces: ("org.
    Jun 23 14:25:22 jiggs org.kde.knotify[1825]: "/org/freedesktop/UDisks2/block_devices/loop0" has new interfaces: ("org.
    Jun 23 14:26:19 jiggs org.kde.knotify[1825]: "/org/freedesktop/UDisks2/block_devices/loop0" lost interfaces: ("org.fre
    Jun 23 14:26:30 jiggs systemd[1]: Starting Load Kernel Modules...
    -- Subject: Unit systemd-modules-load.service has begun with start-up
    -- Defined-By: systemd
    -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
    -- Unit systemd-modules-load.service has begun starting up.
    Jun 23 14:26:30 jiggs systemd-modules-load[3138]: Failed to find module 'gspca'
    Jun 23 14:26:30 jiggs systemd[1]: systemd-modules-load.service: main process exited, code=exited, status=1/FAILURE
    Jun 23 14:26:30 jiggs systemd[1]: Failed to start Load Kernel Modules.
    -- Subject: Unit systemd-modules-load.service has failed
    -- Defined-By: systemd
    -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
    -- Unit systemd-modules-load.service has failed.
    -- The result is failed.
    Jun 23 14:26:30 jiggs systemd[1]: Unit systemd-modules-load.service entered failed state.
    But I have lots of gspca's:
    # ls /lib/modules/`uname -r`/kernel/drivers/media/usb/gspca
    gl860 gspca_kinect.ko gspca_ov534.ko gspca_sonixj.ko gspca_sq905c.ko gspca_topro.ko
    gspca_benq.ko gspca_konica.ko gspca_pac207.ko gspca_spca1528.ko gspca_sq905.ko gspca_tv8532.ko
    gspca_conex.ko gspca_main.ko gspca_pac7302.ko gspca_spca500.ko gspca_sq930x.ko gspca_vc032x.ko
    gspca_cpia1.ko gspca_mars.ko gspca_pac7311.ko gspca_spca501.ko gspca_stk014.ko gspca_vicam.ko
    gspca_etoms.ko gspca_mr97310a.ko gspca_se401.ko gspca_spca505.ko gspca_stk1135.ko gspca_xirlink_cit.ko
    gspca_finepix.ko gspca_nw80x.ko gspca_sn9c2028.ko gspca_spca506.ko gspca_stv0680.ko gspca_zc3xx.ko
    gspca_jeilinj.ko gspca_ov519.ko gspca_sn9c20x.ko gspca_spca508.ko gspca_sunplus.ko m5602
    gspca_jl2005bcd.ko gspca_ov534_9.ko gspca_sonixb.ko gspca_spca561.ko gspca_t613.ko stv06xx
    The only difference I have with respect to a standard installation is that I downloaded an older version of the backport drivers, and in doing so I surely re-installed gspca.
    So my questions are: where is systemd-module-load searching for gspca? How can I persuade it to search in the right directory? And in any case, why is it searching for it in the wrong place to start with?. Just in case,
    # uname -a
    Linux jiggs 3.15.1-1-ARCH #1 SMP PREEMPT Tue Jun 17 09:32:20 CEST 2014 x86_64 GNU/Linux
    Last edited by MariusMatutiae (2014-06-26 09:10:22)

    Problem solved, thanks to both of you guys. For some resason, I had a webcam.conf file in /etc/modules-load.d containing the single line *gspca*, which is not a module: both modprobe and insmod fail, because the correct module name is one of those listed in /lib/modules/`uname -r`/kernel/drivers/media/usb/gspca. They are called gspca_benq.ko       gspca_konica.ko and so on. I simply deleted the file since I  do not need it.
    As for backport drivers: this site, http://drvbp1.linux-foundation.org/~mcg … backports/ has the most recent versions of Linux drivers, backported so that older kernels can install them (I understand this is not a concern for fellow Archers). Whenever I need to upgrade (mostly on Debian) or downgrade (a few times on Arch, because an older version of a driver is free of a newly minted bug) I download these drivers, compile them and install them from source.

  • HT1529 Having problem with receiving & sending out e-mail. Imap &Smtp acct failed verify username & password  I don't remember my yahoo password

    We have too many passwords. Now I am not able to receive or send out e-mails. apparently the connections doctors telling me the IMAP account failed tha I had to verify username & password do not match.  I don't remember the password I used as I have changed the password 4 times in the last hour and I am confused. How do I get to the area that I can check the IMAP & the SMTP password. If I changed the Apple ID password would that be the same password. My username is my yahoo address. Now do I go to yahoo.com to change that password? Unfortunately, I have to wait till next Thursday to do a one to one. That is the earliest.
    I am really confuse and not good with computers. Please help. 

    Hi Stan,
    I am not sure when this changed, I keep mine saved in the browser because I do not like to login to every site I visit. But on new test devices lately the login for the sumo site has required that I use the user name, not the email. (For you this would be just Tanker or the username that appears inthe profile)

  • OpenInWindowEx Method fails to open password protected file.

    Hi,
    I am getting issue while opening password protected file thru OpenInWindowEx Method. It rerurn 0. So please let me know how to open paasword protected file thru code ?
    Regards,
    Arvind

    Hi,
    It just returns 0 which means failed to open file. And I am using Adobe Acrobat 8.1.3 on window XP.
    You can test this in the sample application named ActiveViewVC.
    So I want to know whether we can open password-protected file using the OpenInWindowEx method or not?.
    Please let me know your response
    Regards,
    Arvind

  • [SOLVED] systemd services load slow/fail after forcing package install

    This is more of a PSA for those coming across this issue in the future. I think people should do more of these.
    I recently had problems installing packages where pacman told me several files already existed in the filesystem. This happened when I tried to install an individual official package, not a full system upgrade, so I couldn't find any relevant posts.
    I tried to --force install the package, thereby rewriting all such files. But I noticed the next time I rebooted and logged into my system, my Cinnamon session would load extremely slowly (~2 mins) and I had several failed services.
    Symptoms of the problem included:
    - non-root partitions not mounted on boot
    - users and groups added after initial system install were gone (including sudo)
    - difficulty connecting to networks
    - trying to start/restart services resulted in a Polkit-related error and a timeout
    So after a while I found this post: https://bbs.archlinux.org/viewtopic.php?id=151915
    It suggested that the polkit-related user and group were missing and I should check my /var/log/pacman.log around the time of my force installation, which I did. This revealed pacman overwrote several files in /etc including fstab, hosts, passwd, shadow and group.
    Luckily pacman backed up all those files under the suffix *.pacorig so I by renaming the backups and rebooting I was thankfully able to return my system to normal.

    I have another example of rc.local which is mainly about configuring power saving etc etc on a netbook
    hdparm -B254 /dev/sda
    grep -q '0' /sys/class/power_supply/ADP1/online && P="powersave" || P="ondemand"
    cpupower -c all frequency-set -g "$P"
    echo 1500 > /proc/sys/vm/dirty_writeback_centisecs
    /usr/sbin/iw dev wlan0 set power_save on
    echo '0' > '/proc/sys/kernel/nmi_watchdog'
    echo '1' > '/sys/module/snd_hda_intel/parameters/power_save'
    echo 'auto' > '/sys/bus/pci/devices/0000:00:00.0/power/control'
    echo 'auto' > '/sys/bus/pci/devices/0000:00:02.0/power/control'
    echo 'auto' > '/sys/bus/pci/devices/0000:00:1c.0/power/control'
    echo 'auto' > '/sys/bus/pci/devices/0000:00:1b.0/power/control'
    echo 'auto' > '/sys/bus/pci/devices/0000:00:1d.0/power/control'
    echo 'auto' > '/sys/bus/pci/devices/0000:00:1d.1/power/control'
    echo 'auto' > '/sys/bus/pci/devices/0000:00:1d.2/power/control'
    echo 'auto' > '/sys/bus/pci/devices/0000:00:1d.3/power/control'
    echo 'auto' > '/sys/bus/pci/devices/0000:00:1d.7/power/control'
    echo 'auto' > '/sys/bus/pci/devices/0000:00:1f.2/power/control'
    echo 'auto' > '/sys/bus/pci/devices/0000:00:1f.3/power/control'
    echo 'auto' > '/sys/bus/pci/devices/0000:01:00.0/power/control'
    echo 'auto' > '/sys/bus/pci/devices/0000:02:00.0/power/control'
    echo 'auto' > '/sys/bus/pci/devices/0000:00:1c.1/power/control'
    /usr/sbin/ethtool -s eth0 wol d
    what is the systemd way of doing this sort of thing?
    Also where should local units be put so that they can be enabled/disabled etc. If I put them in /usr/lib/systemd/system won't they interfere with pacman?

  • Failed to start Verify integrity of password and group files.

    I noticed during boot of this:
    # systemctl status -l shadow
    ● shadow.service - Verify integrity of password and group files
    Loaded: loaded (/usr/lib/systemd/system/shadow.service; static)
    Active: failed (Result: exit-code) since Wed 2014-04-23 12:28:32 IDT; 2s ago
    Process: 1017 ExecStart=/usr/bin/pwck -r (code=exited, status=2)
    Main PID: 1017 (code=exited, status=2)
    Apr 23 12:28:32 Host pwck[1017]: user 'mysql': directory '/home/mysql' does not exist
    Apr 23 12:28:32 Host pwck[1017]: pwck: no changes
    Apr 23 12:28:32 Host systemd[1]: shadow.service: main process exited, code=exited, status=2/INVALIDARGUMENT
    Apr 23 12:28:32 Host systemd[1]: Failed to start Verify integrity of password and group files.
    Apr 23 12:28:32 Host systemd[1]: Unit shadow.service entered failed state.
    How can i fix it?
    Last edited by Juszr (2014-04-23 09:32:09)

    [Solved] -- thanks hokasch
    I too am newly receiving this message, and have made no changes to users, groups, or passwords for at least a year.
    shadow.service - Verify integrity of password and group files
    Loaded: loaded (/usr/lib/systemd/system/shadow.service; static)
    Active: failed (Result: exit-code) since Wed 2014-04-23 16:01:13 EDT; 7min ago
    Process: 300 ExecStart=/usr/bin/pwck -r (code=exited, status=2)
    Main PID: 300 (code=exited, status=2)
    Apr 23 16:01:13 arch pwck[300]: user 'avahi': no group 84
    Apr 23 16:01:13 arch pwck[300]: user 'ntp': no group 87
    Apr 23 16:01:13 arch pwck[300]: pwck: no changes
    Apr 23 16:01:13 arch systemd[1]: shadow.service: main process exited, code=exited, status=2/INVALIDARGUMENT
    Apr 23 16:01:13 arch systemd[1]: Failed to start Verify integrity of password and group files.
    Apr 23 16:01:13 arch systemd[1]: Unit shadow.service entered failed state.
    Is it simply a matter of adding these to /etc/group?
    Last edited by bpeary (2014-04-23 22:47:30)

  • [Solved] Mismatch on GID and shadow.service fails

    Hi, randomly the shadow.service fails on loading and it gives me this output:
    $ systemctl status shadow.service
    ● shadow.service - Verify integrity of password and group files
    Loaded: loaded (/usr/lib/systemd/system/shadow.service; static; vendor preset: disabled)
    Active: failed (Result: exit-code) since sab 2015-03-28 14:54:50 CET; 13min ago
    Process: 1988 ExecStart=/usr/bin/pwck -r (code=exited, status=2)
    Main PID: 1988 (code=exited, status=2)
    mar 28 14:54:50 vivopicenin pwck[1988]: user 'git': no group 999
    mar 28 14:54:50 vivopicenin pwck[1988]: user 'systemd-journal-remote': no group 998
    mar 28 14:54:50 vivopicenin pwck[1988]: user 'systemd-journal-upload': no group 997
    mar 28 14:54:50 vivopicenin pwck[1988]: user 'sddm': no group 996
    mar 28 14:54:50 vivopicenin pwck[1988]: user 'rtkit': no group 133
    mar 28 14:54:50 vivopicenin pwck[1988]: pwck: nessuna modifica
    mar 28 14:54:50 vivopicenin systemd[1]: shadow.service: main process exited, code=exited, status=2/INVALIDARGUMENT
    mar 28 14:54:50 vivopicenin systemd[1]: Failed to start Verify integrity of password and group files.
    mar 28 14:54:50 vivopicenin systemd[1]: Unit shadow.service entered failed state.
    mar 28 14:54:50 vivopicenin systemd[1]: shadow.service failed.
    The output instead of pwck is:
    $ sudo pwck
    user 'polkitd': no group 102
    user 'avahi': no group 84
    user 'colord': no group 124
    user 'git': no group 999
    user 'systemd-journal-remote': no group 998
    user 'systemd-journal-upload': no group 997
    user 'sddm': no group 996
    user 'rtkit': no group 133
    pwck: nessuna modifica
    So for example for sddm group it requires a 996 GID, but on my /etc/group file i have this content:
    $ cat /etc/group
    root:x:0:root
    bin:x:1:root,bin,daemon
    daemon:x:2:root,bin,daemon
    sys:x:3:root,bin
    adm:x:4:root,daemon
    tty:x:5:
    disk:x:6:root
    lp:x:7:daemon
    mem:x:8:
    kmem:x:9:
    wheel:x:10:root,marco
    ftp:x:11:
    mail:x:12:
    uucp:x:14:
    log:x:19:root
    utmp:x:20:
    locate:x:21:
    rfkill:x:24:
    smmsp:x:25:
    proc:x:26:
    http:x:33:
    games:x:50:
    lock:x:54:
    uuidd:x:68:
    dbus:x:81:
    network:x:90:
    video:x:91:
    audio:x:92:
    optical:x:93:
    floppy:x:94:
    storage:x:95:
    scanner:x:96:
    input:x:97:
    power:x:98:
    nobody:x:99:
    users:x:100:
    systemd-journal:x:190:
    systemd-journal-gateway:x:191:
    systemd-timesync:x:192:
    systemd-network:x:193:
    systemd-bus-proxy:x:194:
    systemd-resolve:x:195:
    systemd-journal-upload:x:994:
    systemd-journal-remote:x:995:
    ntp:x:87:
    mysql:x:89:
    git:x:993:
    usbmux:x:140:
    vboxusers:x:108:
    sddm:x:992:
    There are some mismatches, for example on sddm group which requires 996 GID but on my system i have GID 992.
    What should i do in oder to fix it?
    Thanks!
    P.s. sudo gpwck gives me no output and i don't have any .pacnew on my system.
    Last edited by toketin (2015-03-29 17:18:03)

    Hi thanks for the reply, i've fixed fot the half of the groups' errors, for the others it gives me that the group X doesn't exist. This the output:
    # groupmod --gid 102 polkitd
    groupmod: group 'polkitd' does not exist
    # groupmod --gid 84 avahi
    groupmod: group 'avahi' does not exist
    # groupmod --gid 124 colord
    groupmod: group 'colord' does not exist
    # groupmod --gid 133 rtkit
    groupmod: group 'rtkit' does not exist
    I had tried to re-install yesterday for example git and sddm packages but it didn't fix the issue.
    Last edited by toketin (2015-03-29 12:38:01)

  • Shadow.service fails after LightDM uninstall

    Hi,
    Since I've uninstalled Light-locker (and LightDM as a dependency) I receive the following error:
    ● shadow.service - Verify integrity of password and group files
    Loaded: loaded (/usr/lib/systemd/system/shadow.service; static; vendor preset: disabled)
    Active: failed (Result: exit-code) since di 2015-03-24 19:43:48 CET; 45min ago
    Process: 315 ExecStart=/usr/bin/pwck -r (code=exited, status=2)
    Main PID: 315 (code=exited, status=2)
    mrt 24 19:43:47 zeus pwck[315]: user 'lightdm': directory '/var/lib/lightdm' does not exist
    mrt 24 19:43:48 zeus pwck[315]: pwck: no changes
    mrt 24 19:43:48 zeus systemd[1]: shadow.service: main process exited, code=exited, status=2/INVALIDARGUMENT
    mrt 24 19:43:48 zeus systemd[1]: Failed to start Verify integrity of password and group files.
    mrt 24 19:43:48 zeus systemd[1]: Unit shadow.service entered failed state.
    mrt 24 19:43:48 zeus systemd[1]: shadow.service failed.
    Can anyone help me fix this?
    Thanks in advance!
    Last edited by VenomGameworld (2015-03-24 18:35:15)

    Spider.007 wrote:It's interesting the package creates the user on install, but doesn't remove it on uninstallation. I wonder if this is intended by the maintainer.
    https://projects.archlinux.org/svntogit … de9766105a is the change that removed user and group deletion.

  • [SOLVED]wpa_supplicant.service won't load properly at boot

    Hello everyone,
    When I boot my Wi-Fi does not work. That's because wpa_supplicant.service has not loaded correct.
    Systemctl status wpa_supplicant.service gives this output:
    wpa_supplicant.service - WPA supplicant
    Loaded: loaded (/usr/lib/systemd/system/wpa_supplicant.service; disabled)
    Active: failed (Result: exit-code) since Mi 2013-12-18 14:17:20 CET; 53min ago
    Process: 1793 ExecStart=/usr/sbin/wpa_supplicant -u (code=exited, status=203/EXEC)
    Main PID: 1793 (code=exited, status=203/EXEC)
    CGroup: /system.slice/wpa_supplicant.service
    Now I see that wpa_supplicant -u exited with Status 203. If i now open a Terminal, login as root and execute
    wpa_supplicant -u
    everything works fine.
    Now I don't know where to look next for my problem (Is it a DBUS fault? Or Systemd? Or wpa_supplicant? Or NetworkManager???)
    I'm using NetworkManager with Gnome 3.10.
    Thanks in advance
    Last edited by remggo (2013-12-18 18:44:46)

    $systemctl --state=failed
    UNIT LOAD ACTIVE SUB DESCRIPTION
    [email protected] loaded failed failed dhcpcd on wlp2s0
    wpa_supplicant.service loaded failed failed WPA supplicant
    So apperently dhcpcd also failed. Status dhcpcd:
    [email protected] - dhcpcd on wlp2s0
    Loaded: loaded (/usr/lib/systemd/system/[email protected]; enabled)
    Active: failed (Result: exit-code) since Mi 2013-12-18 14:06:59 CET; 4h 30min ago
    Process: 346 ExecStart=/usr/bin/dhcpcd -q -w %I (code=exited, status=1/FAILURE)
    Wpa_supplicant status:
    wpa_supplicant.service - WPA supplicant
    Loaded: loaded (/usr/lib/systemd/system/wpa_supplicant.service; disabled)
    Active: failed (Result: exit-code) since Mi 2013-12-18 14:17:20 CET; 4h 24min ago
    Process: 1793 ExecStart=/usr/sbin/wpa_supplicant -u (code=exited, status=203/EXEC)
    Main PID: 1793 (code=exited, status=203/EXEC)
    CGroup: /system.slice/wpa_supplicant.service
    When I run journalctl it can't find any entry with dhcpcd or wpa_supplicant in it
    Last edited by remggo (2013-12-18 17:42:37)

  • SAP Business One Integration Services Authentication Failed

    Dear ,
    ALL SAP forum members,
    Iam Using SAP Business One 8.81 PL 06, Micorsoft SQL 2008 R2
    In SLD B1DI and  JDBC, the connections were tested successfully.
    Whenever I log into SBO, I am getting "SAP Business One Integration Services Authentication Failed" error message. I did extensive research on all possible SBO documents dating 1 year back especially in B1ic Troubleshooting Document (New and Old) and searched the length of the SBO forums, but I could not a solution.
    I uninstalled and reinstalled the B1f package many a time. The integration services we re also restarted many times and the connections were all tested successfully. Firewall, AntiVirus also checked.
    In the B1f, in the Monitoring Window, the login is "Ok" but the AuthCheck is "Failed". I checked Authent.Monitor->Authentic Info  and I found the following message under Action message "Wrong Usrname and Password".
    I debugged and i found again "/com.sap.b1i.vplatform.scenarios.authen/sap.Xcelsius/Authenticate_Check.bfd
    But could not understand much of it.
    But i could go no further. The experts are requested to suggest their solutions, If any, to me as Iam stuck in this phase for the last 3 week
    I hope some experts will guide me over this issue
    Thanks and regards
    Ashish Gupte

    Hi Konstantin Ryahovsky
    Thanks for your reply. My problem is solved.
    And frankly speaking i dont know how it was solved. I have not uninstall, install ,not even i had restarted the server also.
    only change i did in SLD >> Maintainance >>> cfg Runtime >>>> Put server IP address instead of server Name and restarted the services.
    Thanks & regards
    Ashish Gupte

  • [SOLVED]sensord.service fails to start

    Hi there!
    I made a clean Arch install a couple of days ago and I've had problems trying to get sensord to work apropriately. I've went through the troubleshooting of this particular service and googled a lot the last couple of days about this topic but I found nothing really useful (or nothing that I could really understand. Maybe my search terms are not so effective ).
    # systemctl status sensord -l
    [sudo] password for daniel:
    ● sensord.service - Log hardware monitoring data
    Loaded: loaded (/usr/lib/systemd/system/sensord.service; enabled)
    Active: failed (Result: exit-code) since mié 2014-09-03 09:14:04 CLT; 7min ago
    Process: 4231 ExecStart=/usr/sbin/sensord -i $INTERVAL -l $LOG_INTERVAL -f daemon (code=exited, status=127)
    sep 03 09:14:04 Ophiel sensord[4231]: /usr/sbin/sensord: error while loading shared libraries: librrd.so.4: cannot open shared object file: No such file or directory
    sep 03 09:14:04 Ophiel systemd[1]: sensord.service: control process exited, code=exited status=127
    sep 03 09:14:04 Ophiel systemd[1]: Failed to start Log hardware monitoring data.
    sep 03 09:14:04 Ophiel systemd[1]: Unit sensord.service entered failed state.
    This is just a minor annoyance. My system performs great and I have no issues with it. It just annoys the heck out of me to see a service failing in my start up screen.
    I don't know if hardware specs or other logs are useful. But if you need more info, just let me know
    Thanks in advance.
    Last edited by Silex89 (2014-09-03 14:16:15)

    Silex89 wrote:My system performs great and I have no issues with it
    Hmmm ...
    Silex89 wrote:This thread is SOLVED.
    Really ? Maybe there are services working but unrequested, have a look here:
    https://bbs.archlinux.org/viewtopic.php?id=186244
    I thought, that you explicitly installed sensord. Do you need a round robin database to visualize graphically your measured values in Nagios e.g. ?
    Last edited by midixinga (2014-09-03 18:06:06)

Maybe you are looking for

  • Multiple indexes using same columns on one table - is this doable?

    Hi I have a table like MyTab(a int, b int), and I am required to create a primary key index and a non-unique index on this table using columns (a,b) in a specific table space. The back end database is Oracle 10g. Here's what I have tried so far, need

  • Wipe G4 clean?

    i want to wipe my powerbook g4 clean. i have the leopard disk. Where do i start?

  • Problem embedding pdf as object in Word 2010 64-bit

    Using MS Word 2010 64-bit & Acrobat X Pro on Win 7 Ult. Getting following error when trying to embed a pdf file as an object in a doc(x) file: "The program used to create this object is AcroExch. That program is  either not installed on your computer

  • How to set due date on sharepoint workflow task

    I'm sure this is a very trivial question for this group, but... Using SharePoint Designer 2013 to build a workflow.  I have assigned a task.  How do I set the due date for a specific number of days out, i.e. 10 days from the task creation date? It se

  • Backups not deleting

    Hi All Here is our RMAN Configuration. RMAN configuration parameters for database with db_unique_name test are: CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 32 DAYS; CONFIGURE BACKUP OPTIMIZATION OFF; CONFIGURE DEFAULT DEVICE TYPE TO 'SBT_TAPE';