From: Doug A. <dan...@sc...> - 2006-11-24 13:28:15
|
Hi=20Thomas, =20 Copying=20the=20file=20to=20the=20Devmon=20dir=20and=20changing=20the=20cf= g=20as=20necessary produces=20the=20same=20"No=20such=20file=20.."=20error.=20When=20copying=20= the=20path=20from the=20error,=20the=20hobbit=20user=20can=20see=20the=20file=20and=20can=20= open=20the=20file=20for editing. =20 This=20really=20has=20got=20me=20stumped. =20 Thanks=20for=20the=20suggestions=20so=20far. =20 Doug =20 ________________________________ =09From:=20d...@li... [mailto:dev...@li...]=20On=20Behalf=20Of Thomas =09Sent:=2024=20November=202006=2013:20 =09To:=20d...@li... =09Subject:=20Re:=20[Devmon]=20Error=20trying=20to=20run=20Devmon =09 =09 =09Try=20to=20copy=20the=20bb-hosts=20file=20to=20the=20devmon=20directory= ,=20change the=20devmon.cfg=20file=20and=20rerun=20devmon.=20This=20should=20clear=20= the=20access problem=20at=20lest. =09 =09I=20am=20wondering=20if=20you=20have=20some=20space=20in=20the=20dir=20= path.=20What happens=20ls=20you=20copy=20the=20bb-hosts=20file=20path=20and=20to=20an=20= ls=20command.=20? =09 =09Doug=20Anderson=20wrote:=20 =09=09I've=20been=20doing=20that=20as=20well,=20it=20doesn't=20get=20past=20= the fact=20it=20can't=20read=20bb-hosts,=20even=20though=20it=20is=20there=20a= nd=20is=20world readable. =09=09=20 =09=09=3D=3D=3D =09=09=20 =09=09[06-11-23@15:40:01]=20Option=20'bbhosts'=20defaulting=20to: /home/hobbit/server/etc/bb-hosts =09=09[06-11-23@15:40:02]=20SNMP=20querying=20all=20hosts=20in=20bb-hosts file,=20please=20wait... =09=09[06-11-23@15:40:02]=20Unable=20to=20open=20file '/home/hobbit/server/etc/bb-hosts'=20(No=20such=20file=20or=20directory) =09=09Exiting=20subroutine=20via=20next=20at /usr/local/devmon/modules/dm_config.pm=20line=201217. =09=09Exiting=20subroutine=20via=20next=20at /usr/local/devmon/modules/dm_config.pm=20line=201217. =09=09Label=20not=20found=20for=20"next=20FILEREAD"=20at /usr/local/devmon/modules/dm_config.pm=20line=201217. =09=09 =09=09=20 ________________________________ =09=09=09From: dev...@li... [mailto:dev...@li...]=20On=20Behalf=20Of Thomas =09=09=09Sent:=2023=20November=202006=2015:34 =09=09=09To:=20d...@li... =09=09=09Subject:=20Re:=20[Devmon]=20Error=20trying=20to=20run=20Devmon =09=09=09 =09=09=09 =09=09=09Try=20to=20run=20devmon=20by=20hand=20./devmon=20-vv=20-f --readbbhosts=20and=20check=20the=20output. =09=09=09 =09=09=09Doug=20Anderson=20wrote:=20 =09=09=09=09Thanks=20for=20the=20reply.=20Devmon=20was=20running under=20hobbit=20user,=20which=20can =09=09=09=09read=20the=20file=20no=20problem.=20The=20cron=20the read=20bb-hosts=20was=20installed=20in =09=09=09=09the=20hobbit=20crontab. =09=09=09=09 =09=09=09=09I've=20since=20moved=20things=20around=20so=20root runs=20Devmon=20and=20the=20root=20crontab =09=09=09=09contains=20'/usr/local/devmon/devmon --readbbhosts'. =09=09=09=09 =09=09=09=09I=20still=20get=20the=20"Unable=20to=20read"=20error, even=20though=20I=20can=20read=20and=20write =09=09=09=09the=20file=20ok.=20I've=20also=20tried=20both commenting=20out=20BBHOST=20in=20devmon.cfg=20so =09=09=09=09that=20it=20defaults,=20and=20specifying=20the path=20absolutely.=20Both=20have=20the=20same =09=09=09=09effect. =09=09=09=09 =09=09=09=09I've=20got=20to=20say=20I'm=20a=20little=20stumped=20as to=20where=20the=20"unable=20to"=20message =09=09=09=09is=20generated=20because=20the=20user=20can=20read the=20file=20without=20error=20...=20? =09=09=09=09 =09=09=09=09Thanks=20a=20lot, =09=09=09=09 =09=09=09=09Doug =09=09=09=09=20 =09=09=09=09 =09=09=09=09=20=20 =09=09=09=09-----Original=20Message----- =09=09=09=09From: dev...@li...=20 =09 [mailto:dev...@li...]=20On=20 =09=09=09=09Behalf=20Of=20Thomas =09=09=09=09Sent:=2023=20November=202006=2012:59 =09=09=09=09To:=20d...@li... =09=09=09=09Subject:=20Re:=20[Devmon]=20Error=20trying=20to run=20Devmon =09=09=09=09 =09=09=09=09It=20could=20be=20a=20access=20problem.=20Check=20that the=20devmon=20user=20can=20 =09=09=09=09open=20the=20file. =09=09=09=09 =09=09=09=09Doug=20Anderson=20wrote: =09=09=09=09=20=20=20=20=20=20 =09=09=09=09Hi=20guys, =09=09=09=09 =09=09=09=09Unable=20to=20open=20file '/home/hobbit/server/etc/bb-hosts'=20(No=20 =09=09=09=09=20=20=20=20=20=20=20=20 =09=09=09=09such=20file=20 =09=09=09=09=20=20=20=20=20=20 =09=09=09=09or =09=09=09=09directory) =09=09=09=09 =09=09=09=09I=20get=20the=20error=20above=20when=20trying '/usr/local/devmon/devmon=20 =09=09=09=09--readbbhosts'.=20The=20path=20is=20correct=20and the=20file=20is=20 =09=09=09=09=20=20=20=20=20=20=20=20 =09=09=09=09readable.=20Putting=20 =09=09=09=09=20=20=20=20=20=20 =09=09=09=09the=20path=20in=20single/double=20quotes=20causes a=20bigger=20barf. =09=09=09=09 =09=09=09=09Has=20anyone=20come=20across=20this=20problem before,=20and=20can=20anyone=20suggest=20 =09=09=09=09where=20I=20should=20be=20looking? =09=09=09=09 =09=09=09=09Many=20thanks=20in=20advance, =09=09=09=09 =09=09=09=09Doug =09=09=09=09 =09=09=09=09 =09=09=09=09=20=20=20=20=20=20=20=20 =09 _____________________________________________________________ =09=09=09=09_________ =09=09=09=09=20=20=20=20=20=20 =09=09=09=09This=20email=20has=20been=20scanned=20by=20the Scotland=20Online=20Email=20 =09=09=09=09=20=20=20=20=20=20=20=20 =09=09=09=09Security=20System. =09=09=09=09=20=20=20=20=20=20 =09=09=09=09Powered=20by=20MessageLabs =09=09=09=09For=20more=20information=20please=20visit http://www.messagelabs.com/email=20 =09=09=09=09 =09=09=09=09=20=20=20=20=20=20=20=20 =09 _____________________________________________________________ =09=09=09=09_________ =09=09=09=09=20=20=20=20=20=20 =09=09=09=09=20=20=20=20=20=20=20=20 =09 ------------------------------------------------------------- =09=09=09=09--------- =09=09=09=09=20=20=20=20=20=20 =09=09=09=09---=20Take=20Surveys.=20Earn=20Cash.=20Influence the=20Future=20of=20IT=20Join=20 =09=09=09=09SourceForge.net's=20Techsay=20panel=20and you'll=20get=20the=20chance=20to=20share=20 =09=09=09=09your=20opinions=20on=20IT=20&=20business=20topics through=20brief=20 =09=09=09=09=20=20=20=20=20=20=20=20 =09=09=09=09surveys=20-=20and=20earn=20 =09=09=09=09=20=20=20=20=20=20 =09=09=09=09cash=20 =09=09=09=09 =09=09=09=09=20=20=20=20=20=20=20=20 =09 http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforg =09=09=09=09e&CID=3DDEV =09=09=09=09=20=20=20=20=20=20 =09=09=09=09DEV _______________________________________________ =09=09=09=09Devmon-support=20mailing=20list =09=09=09=09D...@li... =09 https://lists.sourceforge.net/lists/listinfo/devmon-support =09=09=09=09=20=20 =09=09=09=09=20=20=20=20=20=20=20=20 =09 ------------------------------------------------------------- =09=09=09=09------------ =09=09=09=09Take=20Surveys.=20Earn=20Cash.=20Influence=20the Future=20of=20IT=20Join=20 =09=09=09=09SourceForge.net's=20Techsay=20panel=20and you'll=20get=20the=20chance=20to=20 =09=09=09=09share=20your=20opinions=20on=20IT=20&=20business topics=20through=20brief=20 =09=09=09=09surveys=20-=20and=20earn=20cash=20 =09 http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforg =09=09=09=09e&CID=3DDEVDEV =09 _______________________________________________ =09=09=09=09Devmon-support=20mailing=20list =09=09=09=09D...@li... =09 https://lists.sourceforge.net/lists/listinfo/devmon-support =09=09=09=09 =09 _____________________________________________________________ =09=09=09=09_________ =09=09=09=09This=20email=20has=20been=20scanned=20by=20the Scotland=20Online=20Email=20 =09=09=09=09Security=20System. =09=09=09=09 =09=09=09=09 =09=09=09=09Powered=20by=20MessageLabs =09=09=09=09For=20more=20information=20please=20visit=20 =09=09=09=09http://www.messagelabs.com/email=20 =09 _____________________________________________________________ =09=09=09=09_________ =09=09=09=09 =09=09=09=09=20=20=20=20=20=20 =09=09=09=09 =09 ______________________________________________________________________ =09=09=09=09This=20email=20has=20been=20scanned=20by=20the Scotland=20Online=20Email=20Security=20System. =09=09=09=09 =09=09=09=09 =09=09=09=09Powered=20by=20MessageLabs =09=09=09=09For=20more=20information=20please=20visit http://www.messagelabs.com/email=20 =09 ______________________________________________________________________ =09=09=09=09 =09 ------------------------------------------------------------------------ - =09=09=09=09Take=20Surveys.=20Earn=20Cash.=20Influence=20the Future=20of=20IT =09=09=09=09Join=20SourceForge.net's=20Techsay=20panel=20and you'll=20get=20the=20chance=20to=20share=20your =09=09=09=09opinions=20on=20IT=20&=20business=20topics=20through brief=20surveys=20-=20and=20earn=20cash =09 http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3DD= EVDE V =09 _______________________________________________ =09=09=09=09Devmon-support=20mailing=20list =09=09=09=09D...@li... =09 https://lists.sourceforge.net/lists/listinfo/devmon-support =09=09=09=09=20=20 =09 ______________________________________________________________________ =09=09=09This=20email=20has=20been=20scanned=20by=20the=20Scotland Online=20Email=20Security=20System. =09=09=09 =09=09=09 =09=09=09Powered=20by=20MessageLabs =09=09=09For=20more=20information=20please=20visit http://www.messagelabs.com/email=20 =09 ______________________________________________________________________ =09=09=09 =09 ______________________________________________________________________ =09=09This=20email=20has=20been=20scanned=20by=20the=20Scotland=20Online=20= Email Security=20System. =09=09 =09=09 =09=09Powered=20by=20MessageLabs =09=09For=20more=20information=20please=20visit http://www.messagelabs.com/email=20 =09 ______________________________________________________________________ =09=09 =09=09 ________________________________ =09 ------------------------------------------------------------------------ - =09=09Take=20Surveys.=20Earn=20Cash.=20Influence=20the=20Future=20of=20IT =09=09Join=20SourceForge.net's=20Techsay=20panel=20and=20you'll=20get=20th= e chance=20to=20share=20your =09=09opinions=20on=20IT=20&=20business=20topics=20through=20brief=20surve= ys=20- and=20earn=20cash =09 http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3DD= EVDE V =09=09 ________________________________ =09=09_______________________________________________ =09=09Devmon-support=20mailing=20list =09=09D...@li... =09 https://lists.sourceforge.net/lists/listinfo/devmon-support =09=09=20=20 =09 ______________________________________________________________________ =09This=20email=20has=20been=20scanned=20by=20the=20Scotland=20Online=20Em= ail Security=20System. =09 =09 =09Powered=20by=20MessageLabs =09For=20more=20information=20please=20visit http://www.messagelabs.com/email=20 =09 ______________________________________________________________________ =09 ______________________________________________________________________ This=20email=20has=20been=20scanned=20by=20the=20Scotland=20Online=20Email= =20Security=20System. Powered=20by=20MessageLabs For=20more=20information=20please=20visit=20http://www.messagelabs.com/ema= il=20 ______________________________________________________________________ |