I have some problem wen install the packe

This is a discussion on I have some problem wen install the packe within the SNMP Users forums, part of the Networking and Network Related category; --===============1503866654== Content-Type: Multipart/Alternative; boundary="Boundary-=_PgpqSFPgJTEiayVHsvpTcabpNZRA" --Boundary-=_PgpqSFPgJTEiayVHsvpTcabpNZRA Content-Type: text/plain; charset="gb2312" ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-09-2007
bahamute
 
Posts: n/a
Default I have some problem wen install the packe


--===============1503866654==
Content-Type: Multipart/Alternative;
boundary="Boundary-=_PgpqSFPgJTEiayVHsvpTcabpNZRA"


--Boundary-=_PgpqSFPgJTEiayVHsvpTcabpNZRA
Content-Type: text/plain; charset="gb2312"
Content-Transfer-Encoding: 7bit

Hello :

I have some problem wen install the packet : net-snmp-5.4-1.src.rpm (I download from www.net-snmp.org) .
First time , I log with root ,when I install it , it display like below:

[root@wlan tmp]# rpm -ivh net-snmp-5.4-1.src.rpm
1:net-snmp warning: user hardaker does not exist - using root
########################################### [100%]
warning: user hardaker does not exist - using root
[root@wlan tmp]#

So I add a new user : hardaker . when I log with hardaker:

[hardaker@wlan tmp]$ rpm -ivh net-snmp-5.4-1.src.rpm
error: cannot create %sourcedir /usr/src/redhat/SOURCES
[hardaker@wlan tmp]$

Now I change the promission of the files

[root@wlan tmp]# chmod 0666 /usr

[root@wlan tmp]# su hardaker
bash: id: command not found
bash: id: command not found
bash: dircolors: command not found
[hardaker@wlan tmp]$
[hardaker@wlan tmp]$
[hardaker@wlan tmp]$
[hardaker@wlan tmp]$ rpm -ivh net-snmp-5.4-1.src.rpm
rpm: error while loading shared libraries: librpm-4.4.so: cannot open shared obj
ect file: Permission denied

I want to know why I can not install it correctly ?

Because my machine could not install a compiler . if I install the packet : net-snmp-5.4-1.src.rpm , can my subagent run in this machine ?(I compile subagent at another machine which have compiler).

Thank you !!
Good wishs for you!













--Boundary-=_PgpqSFPgJTEiayVHsvpTcabpNZRA
Content-Type: text/html; charset="gb2312"
Content-Transfer-Encoding: quoted-printable

<DIV>Hello :</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; I have some problem wen i=
nstall the packet : net-snmp-5.4-1.src.rpm (I download from <A href=3D"ht=
tp://www.net-snmp.org">www.net-snmp.org</A>) .</DIV>
<DIV>First time , I log with root ,when I install it&nbsp;, it display li=
ke below:</DIV>
<DIV>&nbsp;</DIV>
<DIV>[root@wlan tmp]# rpm -ivh net-snmp-5.4-1.src.rpm<BR>&nbsp;&nbsp; 1:n=
et-snmp&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp; warning: user hardaker does not exist - using root<BR>=
########################################### [100%]<BR>warning: user harda=
ker does not exist - using root<BR>[root@wlan tmp]#<BR></DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; So I&nbsp; add a new user : har=
daker . when I log with hardaker:</DIV>
<DIV>&nbsp;</DIV>
<DIV>[hardaker@wlan tmp]$ rpm -ivh net-snmp-5.4-1.src.rpm<BR>error: canno=
t create %sourcedir /usr/src/redhat/SOURCES<BR>[hardaker@wlan tmp]$ </DIV=
>

<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Now&nbsp; I change the promissi=
on of the files</DIV>
<DIV>&nbsp;</DIV>
<DIV>[root@wlan tmp]# chmod 0666 /usr<BR></DIV>
<DIV>[root@wlan tmp]# su hardaker<BR>bash: id: command not found<BR>bash:=
id: command not found<BR>bash: dircolors: command not found<BR>[hardaker=
@wlan tmp]$<BR>[hardaker@wlan tmp]$<BR>[hardaker@wlan tmp]$<BR>[hardaker@=
wlan tmp]$ rpm -ivh net-snmp-5.4-1.src.rpm<BR>rpm: error while loading sh=
ared libraries: librpm-4.4.so: cannot open shared obj<BR>ect file: Permis=
sion denied<BR></DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; I want to know why I can not install =
it correctly ?</DIV>
<DIV>&nbsp;&nbsp; </DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Because my machine could not install =
a compiler .&nbsp;if I install the packet :&nbsp;net-snmp-5.4-1.src.rpm ,=
can my subagent&nbsp; run in this machine ?(I compile subagent at anothe=
r machine which have compiler).</DIV>
<DIV>&nbsp; </DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp; Thank you !!</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb sp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp; Good wishs for you!</DIV>
<DIV>&nbsp;&nbsp;&nbsp; <BR></DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV><BR>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV><br><!-- footer --><br><hr>
<a style=3D"font-size:12px;line-height:15px; color:#000; text-decoration:=
none" href=3D"http://www.126.com/" target=3D"_blank">=CF=EB=BC=D3=C8=EB=C2=
=F0=A3=BF1.9=D2=DA=D3=C3=BB=A7=D5=FD=D4=DA=CA=B9=D 3=C3=CD=F8=D2=D7=D3=CA=CF=
=E4 <span style=3D"font-family:Tahoma; text-decoration:underline; color:b=
lue">www.126.com</span> </a>
--Boundary-=_PgpqSFPgJTEiayVHsvpTcabpNZRA--


--===============1503866654==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=...057&dat=121642
--===============1503866654==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/...net-snmp-users

--===============1503866654==--

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 12:21 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0