- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Problem with some commands
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2005 04:26 AM
05-20-2005 04:26 AM
Re: Problem with some commands
Shall I try it again in binary?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2005 04:35 AM
05-20-2005 04:35 AM
Re: Problem with some commands
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2005 04:38 AM
05-20-2005 04:38 AM
Re: Problem with some commands
I'm sorry to say I'm out of ideas. Hopefully someone else will come up with something. Good luck.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2005 04:45 AM
05-20-2005 04:45 AM
Re: Problem with some commands
I can deal with pg instead or more but my concern is that man has the same problem, is there an online source for the man pages?
I know that I can always can find quality help here but having them would be nice too.
How can I review the ACLs?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2005 04:54 AM
05-20-2005 04:54 AM
Re: Problem with some commands
I'm not sure if this is an option for you, but if you have tusc on the box perhaps you can run:
tusc -o /tmp/tusc.out -f more /dev/null
Then examine /tmp/tusc.out to see if it points to your problem.
David
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2005 05:05 AM
05-20-2005 05:05 AM
Re: Problem with some commands
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2005 05:37 AM
05-20-2005 05:37 AM
Solution- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2005 07:07 AM
05-20-2005 07:07 AM
Re: Problem with some commands
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2005 02:01 PM
05-20-2005 02:01 PM
Re: Problem with some commands
Your problem with "man" is also caused by your more troubles.
A workaround to get man available again is to export PAGER to another command, like /usr/bin/pg
export PAGER=/usr/bin/pg
man more
This should fix `man` for you.
I guess there could always be the possibility that /usr/bin/more copied from the PC's mounted core-os cdrom could have been corrupt too? What I would do is download a 10.20 patch from the ITRC that contains the more binary. Then extract it from the patch and test it on the OS... it it solves the `more` problem, then replace the bad one w/ the good one.
I'll look the latest patch and post the info here once I get it.
Hope this helps,
-denver
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2005 02:48 PM
05-20-2005 02:48 PM
Re: Problem with some commands
Have you tried to copy more from the CD once again? copy it to an alternate location and set the permissions to 555 then test. Also be sure to xfer it in bin mode.
and what is the output of:
file /usr/bin/more
what /usr/bin/more
-denver
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2005 12:10 AM
05-23-2005 12:10 AM
Re: Problem with some commands
kcspecdp # man more
sh: man: Execute permission denied.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2005 02:05 AM
05-23-2005 02:05 AM
Re: Problem with some commands
"kcspecdp # man ls
/usr/bin/sh: more: Execute permission denied.
kcspecdp #
kcspecdp # ls -l |more
sh: more: Execute permission denied"
Now you're getting past the "more: Execute permission denied." when running man because the PAGER is set to pg. But the problem has now changed to "man: Execute permission denied."
I'm still puzzled on what the problem could be.
are there other commands other than man and more that give exec permission denied for the root user?
I see you've already checked permissions, so maybe there's a lib that's causing the problem? but if so, then there should be several other commands that fail too...
The /etc/passwd file checks out ok, right?
/usr/sbin/pwck
Also, if you run "man - more" does it too fail w/ permission denied?
-denver
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2005 02:06 AM
05-23-2005 02:06 AM
Re: Problem with some commands
I dont know what can be affecting your command more but I just put one in attachment I copied from a K360 in 10.20...
Try to put it instead of yours in /usr/bin
Let me know how things are going...
All the best
Victor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2005 02:08 AM
05-23-2005 02:08 AM
Re: Problem with some commands
I will have to meditate on how to sen it to you...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2005 02:12 AM
05-23-2005 02:12 AM
Re: Problem with some commands
Well done Denver!
All the best
Victor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2005 02:15 AM
05-23-2005 02:15 AM
Re: Problem with some commands
Verify the correct permission for the library using this command:
# ldd /usr/bin/more
Walter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2005 02:26 AM
05-23-2005 02:26 AM
Re: Problem with some commands
seems like you have incompatible versions of the /usr/bin/more and /usr/bin/man executables.
Please, post here output of the commands:
F="/usr/bin/man /usr/bin/more /usr/lib/libc.1"
ll $F
file $F
You should get something like this:
# F="/usr/bin/man /usr/bin/more /usr/lib/libc.1"
# ll $F
-r-xr-xr-x 1 bin bin 24576 Jan 17 2001 /usr/bin/man
-r-xr-xr-x 2 bin bin 61440 Jun 10 1996 /usr/bin/more
-r-xr-xr-x 1 bin bin 1867776 May 2 2001 /usr/lib/libc.1
# file $F
/usr/bin/man: s800 shared executable dynamically linked
/usr/bin/more: s800 shared executable dynamically linked
/usr/lib/libc.1: PA-RISC1.1 shared library -not stripped
Regards
Zdenek
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2005 05:11 AM
05-23-2005 05:11 AM
Re: Problem with some commands
kcspecdp # ll $F
-r-xr-xr-x 1 bin bin 10786 May 20 12:34 /usr/bin/man
-r-xr-xr-x 2 bin bin 30396 May 20 12:34 /usr/bin/more
-r-xr-xr-x 1 bin bin 1867776 May 2 2001 /usr/lib/libc.1
kcspecdp # file $F
/usr/bin/man: awk program text
/usr/bin/more: awk program text
/usr/lib/libc.1: PA-RISC1.1 shared library -not stripped
kcspecdp #
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2005 05:43 AM
05-23-2005 05:43 AM
Re: Problem with some commands
would it be possible for you to post a reply and attach /usr/bin/more and/or /usr/bin/man?
If not, then post "strings /usr/bin/more" and "strings /usr/bin/man"
I'd also thought you were able to copy the more binary from a 10.20 core os cd... looks like something went wrong with that. Does this box have a CDROM attached where you could install filesets from the mounted core-os cd?
-denver
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2005 06:16 AM
05-23-2005 06:16 AM
Re: Problem with some commands
If I were you, I would either ftp those binaries from another hpux 10.20 node and be certain it's done in binary mode and not ascii.
-denver
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2005 06:18 AM
05-23-2005 06:18 AM
Re: Problem with some commands
kcspecdp # strings /usr/bin/more
Z}p[Uv
B^]D
a/@N
UmjY
jss;)
]DCD#DG
d"j%
#D)O
FAW#
a>wp
3l88
/W,~
0O`G
- ?,
u ?Lr
?a8o
?Uo{F
'Lw~
?5?r
xRN{~3
:g*J
o)mhK`N
5M^^X
9.!{E
0Ypa
3xg\
K-wO
\Z![
,uV~R
zG+M
lh~TV
CIUV
z~9c6
Oy;
&hc$fd
i.&O
n9gk
lAm:
P[PMv
y|@e
e t}
*M`v
yAs^
MGzt l
2dWN
/Ib,6
:OcD
G:gR
:n@5
>\OC
"mr-
P1lEA
_Z,|[]
}0@fR
Mb.V
5ryy
;oZN
qoRy
_R^m
9Nn5e
Pz[Oz
|xL
DdLr,u
=sx;
c:nY
a#@~
\Vg;S
y1Y(
+
;-9-
Xe~.
nG/l
2K ;
!{*;E
C6mb
i;)]O
[0~N`?
Z){;
hsK?
>,Nx
9&$P](7
;!]
[~Ius^
n5Pswdn+
!3,[:=
FY6K
x6bm
|Nu)
1PLtX*
qx_{
kZ}a
jkz@-
mA:/
q\>S\
Cjr'S
g]Ir
b tW
Fs_|
dN[0
=b^4
&Be
W91Z
>]mL
/z Ti^
uEt/
,|Wf&
Ze>&
L4F(
"|w|
aN6$h
My:nU
eAC}
k#;8
^4$Bg
ha"S
6O0L
GA7=D
k*l(
r"dR
!+{I
JaVe
D[|l^
fXqy
du2p
m+dS/B
Vt0+
0X[=
9u\?
,Vg{}
fGTR
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y7
l8L^
S|LL
[i^^
1?Ldp4
\kp?
CMHY
s=@Q
|8@d
mmjMUn
[WuU[
|g%>
4K{i
^Z?v
kcPO
iyNA
)Ym(k{!
xB^'p-
~H3d
#
szBe
\{D[
\~*C?~
5]=o3;a
FhwK
W id
'$R^
x&8gXz
t_AK
QP|=&
aMah
S/8Y
3ih3
}Ms6
XsO
Bw3i
-| E
KSpXg
\^/5
]M?x
=D
&nW4{
X[lI
?IC^
fFgV
)m;3
AbQ6
wDG"#
~|4-
SF}j7
wgg"9
ED_[
ba}M]
~KFr}
OiaY
|Sc]
+@ze]M
Y}SU
TSU[G
85Vo
kez[
2-P+
N}Oh
4
kcspecdp #
Yes it does, I'll give that a try.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2005 06:34 AM
05-23-2005 06:34 AM
Re: Problem with some commands
kcspecdp # mount /dev/dsk/c0t8d0 /cdrom
/dev/dsk/c0t8d0: unrecognized file system
kcspecdp #
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2005 06:44 AM
05-23-2005 06:44 AM
Re: Problem with some commands
do this...
cp -p /usr/bin/more /tmp/more.gz
cp -p /usr/bin/man /tmp/man.gz
cd /tmp
gunzip man.gz
gunzip more.gz
/tmp/man more
Looks like the man and more binaries were gzipped and put in place of the original bins. Use the above steps to gunzip then test to be sure.. then move the gunzipped files into place under /usr/bin.
Hope this helps,
-denver
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2005 06:51 AM
05-23-2005 06:51 AM
Re: Problem with some commands
Hope this solved your original problem once and for all. :)
-denver
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2005 06:56 AM
05-23-2005 06:56 AM
Re: Problem with some commands
kcspecdp # cp -p /usr/bin/more /tmp/more.gz
kcspecdp # cp -p /usr/bin/man /tmp/man.gz
kcspecdp # cd /tmp
kcspecdp # gunzip man.gz
kcspecdp # gunzip more.gz
kcspecdp # /tmp/man more
Reformatting entry. Wait... done
/usr/bin/sh: more: Execute permission denied.
kcspecdp #