You are not logged in.

#1 2018-02-24 23:14:51

sujata
Member
Registered: 2017-09-19
Posts: 1

most: command not found when trying to check the status using systemct

I am simply trying to check the status of mariadb.service by issuing the following command :

 systemctl status mariadb.service 

and it throws the follwing error :

sh: most: command not found

I have recently re-installed arch linux with deepin desktop environment.
The version as given by "uname -a" is :
Linux <name> 4.15.5-1-ARCH #1 SMP PREEMPT Thu Feb 22 22:15:20 UTC 2018 x86_64 GNU/Linux

I am able to use systemctl commands such as :

 systemctl is-enabled mariadb.service 

I am not sure what the error sh: most: command not found means. Couldn't find any information regarding "most" if its a package.
Any ideas ??

Offline

#2 2018-02-24 23:18:35

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: most: command not found when trying to check the status using systemct

What does `echo $PAGER` give you? `echo $SYSTEMD_PAGER`?

Offline

#3 2018-02-25 00:07:33

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,543
Website

Re: most: command not found when trying to check the status using systemct

sujata wrote:

Couldn't find any information regarding "most" if its a package.

I find that very hard to believe.  Did you look at all?

$ pacman -Fs most
extra/most 5.0.0a-6
    usr/bin/most

It is a pager.  It is owned by a package of the same name.

However this is what I find much harder to believe:

sujata wrote:

I have recently re-installed arch linux

I gather you installed some spin-off or derivative, or used some other installer, otherwise there is no way your PAGER / SYSTEM_PAGER would be set to use a program you did not install and have not heard of.  I suppose you may have just blindly copy and pasted someone else's configs without even looking at them.  But that's about as bad.

Last edited by Trilby (2018-02-25 00:08:31)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

Board footer

Powered by FluxBB