You are not logged in.

#1 2014-04-03 17:10:28

hayderctee
Member
From: Iraq
Registered: 2014-01-25
Posts: 33

issue after remove " /var/run , /var/lock"

Hi everyone
I have this problem

error: failed to commit transaction (conflicting files)

when i tried to install openbox ,
so i used this command 

rm -rf /var/run /var/lock && pacman -Syu && reboot

from this page http://bbs.archbang.org/viewtopic.php?id=2909


now i have this message when i login

failed to start login service

and i can't connect to networkmanager

Is there a way to fix my arch please

Last edited by hayderctee (2014-04-03 19:45:18)


Every action has a reaction

Offline

#2 2014-04-03 17:26:36

clfarron4
Member
From: London, UK
Registered: 2013-06-28
Posts: 2,175
Website

Re: issue after remove " /var/run , /var/lock"

You're probably going to have to load up an Arch LiveCD, chroot in and fix it from there (which will probably involve re-installing the filesystem package).

EDIT: Running the following command might tell you what packages are missing files:

 pacman -Qk

Also, why did you use a solution from a different distribution for an unrelated package upgrade (the filesystem package of all things) that happened last year?

Last edited by clfarron4 (2014-04-03 17:30:47)


Claire is fine.
Problems? I have dysgraphia, so clear and concise please.
My public GPG key for package signing
My x86_64 package repository

Offline

#3 2014-04-03 17:30:48

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: issue after remove " /var/run , /var/lock"

1. Please post full error messages: https://bbs.archlinux.org/viewtopic.php?id=57855

2. https://wiki.archlinux.org/index.php/Pa … stem.22.21

3. Are you running Arch or Archbang?


Not a Pacman issue, moving to NC...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#4 2014-04-03 20:00:15

hayderctee
Member
From: Iraq
Registered: 2014-01-25
Posts: 33

Re: issue after remove " /var/run , /var/lock"

I didn't have any missing package after run

#pacman  -Qk

, and yes , I'm running archlinux
now , I'm trying to re-install gnome


Every action has a reaction

Offline

#5 2014-04-03 21:54:56

hayderctee
Member
From: Iraq
Registered: 2014-01-25
Posts: 33

Re: issue after remove " /var/run , /var/lock"

i have this

# systemctl --failed
  UNIT                   LOAD   ACTIVE SUB    DESCRIPTION
● NetworkManager.service loaded failed failed Network Manager
● systemd-logind.service loaded failed failed Login Service

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.

2 loaded units listed. Pass --all to see loaded but inactive units, too.
To show all installed unit files use 'systemctl list-unit-files'.

Every action has a reaction

Offline

#6 2014-04-03 23:04:45

\hbar
Member
Registered: 2014-03-15
Posts: 165

Re: issue after remove " /var/run , /var/lock"

Did you try to reinstall the filesystem package, as suggested by clfarron4?

Offline

#7 2014-04-04 03:01:06

hayderctee
Member
From: Iraq
Registered: 2014-01-25
Posts: 33

Re: issue after remove " /var/run , /var/lock"

Yes , but not from Live CD


Every action has a reaction

Offline

#8 2014-04-04 08:10:07

\hbar
Member
Registered: 2014-03-15
Posts: 165

Re: issue after remove " /var/run , /var/lock"

What does

systemctl status systemd-login
systemctl status NetworkManager

say?

Can you find any error messages in the journal?

Last edited by \hbar (2014-04-04 08:10:36)

Offline

#9 2014-04-04 08:59:43

hayderctee
Member
From: Iraq
Registered: 2014-01-25
Posts: 33

Re: issue after remove " /var/run , /var/lock"

\hbar wrote:

What does

systemctl status systemd-login
systemctl status NetworkManager

say?

Can you find any error messages in the journal?

# systemctl status systemd-login && systemctl status NetworkManager
● systemd-login.service
   Loaded: not-found (Reason: No such file or directory)
   Active: inactive (dead)
● NetworkManager.service - Network Manager
   Loaded: loaded (/usr/lib/systemd/system/NetworkManager.service; disabled)
   Active: inactive (dead)

Note: I tried enable networkmanager , and nothing happened

Last edited by hayderctee (2014-04-04 09:26:15)


Every action has a reaction

Offline

#10 2014-04-04 16:15:26

\hbar
Member
Registered: 2014-03-15
Posts: 165

Re: issue after remove " /var/run , /var/lock"

Sorry

systemctl status systemd-logind

Offline

#11 2014-04-04 19:05:01

hayderctee
Member
From: Iraq
Registered: 2014-01-25
Posts: 33

Re: issue after remove " /var/run , /var/lock"

\hbar wrote:

Sorry

systemctl status systemd-logind
# systemctl status -l systemd-logind
● systemd-logind.service - Login Service
   Loaded: loaded (/usr/lib/systemd/system/systemd-logind.service; static)
   Active: failed (Result: start-limit) since Thu 2014-04-03 21:56:20 AST; 8min ago
     Docs: man:systemd-logind.service(8)
           man:logind.conf(5)
           http://www.freedesktop.org/wiki/Software/systemd/logind
           http://www.freedesktop.org/wiki/Software/systemd/multiseat
  Process: 368 ExecStart=/usr/lib/systemd/systemd-logind (code=exited, status=1/FAILURE)
 Main PID: 368 (code=exited, status=1/FAILURE)
   Status: "Shutting down..."

Apr 03 21:56:20 hayderarch systemd[1]: Failed to start Login Service.
Apr 03 21:56:20 hayderarch systemd[1]: Unit systemd-logind.service entered failed state.
Apr 03 21:56:20 hayderarch systemd[1]: systemd-logind.service has no holdoff time, scheduling restart.
Apr 03 21:56:20 hayderarch systemd[1]: Stopping Login Service...
Apr 03 21:56:20 hayderarch systemd[1]: Starting Login Service...
Apr 03 21:56:20 hayderarch systemd[1]: systemd-logind.service start request repeated too quickly, refusing to start.
Apr 03 21:56:20 hayderarch systemd[1]: Failed to start Login Service.
Apr 03 21:56:20 hayderarch systemd[1]: Unit systemd-logind.service entered failed state.

Every action has a reaction

Offline

#12 2014-04-04 22:14:41

\hbar
Member
Registered: 2014-03-15
Posts: 165

Re: issue after remove " /var/run , /var/lock"

Can we see a few more lines from the journal:

systemctl status -n 30 systemd-logind

Maybe it shows a reason for why it failed on the line preceeding the first we have here

Offline

#13 2014-04-05 00:32:03

hayderctee
Member
From: Iraq
Registered: 2014-01-25
Posts: 33

Re: issue after remove " /var/run , /var/lock"

\hbar wrote:

Can we see a few more lines from the journal:

systemctl status -n 30 systemd-logind

Maybe it shows a reason for why it failed on the line preceeding the first we have here

# systemctl status -l -n 30 systemd-logind
● systemd-logind.service - Login Service
   Loaded: loaded (/usr/lib/systemd/system/systemd-logind.service; static)
   Active: failed (Result: start-limit) since Fri 2014-04-04 03:23:29 AST; 7min ago
     Docs: man:systemd-logind.service(8)
           man:logind.conf(5)
           http://www.freedesktop.org/wiki/Software/systemd/logind
           http://www.freedesktop.org/wiki/Software/systemd/multiseat
  Process: 410 ExecStart=/usr/lib/systemd/systemd-logind (code=exited, status=1/FAILURE)
 Main PID: 410 (code=exited, status=1/FAILURE)
   Status: "Shutting down..."

Apr 04 03:23:29 hayderarch systemd[1]: systemd-logind.service: main process exited, code=exited, status=1/FAILURE
Apr 04 03:23:29 hayderarch systemd[1]: Failed to start Login Service.
Apr 04 03:23:29 hayderarch systemd[1]: Unit systemd-logind.service entered failed state.
Apr 04 03:23:29 hayderarch systemd[1]: systemd-logind.service has no holdoff time, scheduling restart.
Apr 04 03:23:29 hayderarch systemd[1]: Stopping Login Service...
Apr 04 03:23:29 hayderarch systemd[1]: Starting Login Service...
Apr 04 03:23:29 hayderarch systemd[1]: systemd-logind.service start request repeated too quickly, refusing to start.
Apr 04 03:23:29 hayderarch systemd[1]: Failed to start Login Service.
Apr 04 03:23:29 hayderarch systemd[1]: Unit systemd-logind.service entered failed state.

Every action has a reaction

Offline

#14 2014-04-05 17:34:47

hayderctee
Member
From: Iraq
Registered: 2014-01-25
Posts: 33

Re: issue after remove " /var/run , /var/lock"

I have to reinstall the system
Thanks for all replies


Every action has a reaction

Offline

Board footer

Powered by FluxBB