Hi All,
While taking tar backup of hosts.cfg file , it was converted into binary file like "^@" .i tried to revert it back, but i didn't succeed.Now i decided to reconfigure based on services.cfg,hostsgroups.cfg,commands.cfg.
how can i do it?
can any one help me.
Regards,
Muni.I
reconfigure hosts.cfg based services.cfg,hostgroups.cfg,.
Re: reconfigure hosts.cfg based services.cfg,hostgroups.cfg,
I might be a bit confused here, but the .tar file is just archived and the symbols you see are normal. You need to unarchive it with something like this:
Code: Select all
tar -xvf yourfile.tarFormer Nagios employee
Re: reconfigure hosts.cfg based services.cfg,hostgroups.cfg,
"I might be a bit confused here, but the .tar file is just archived and the symbols you see are normal. You need to unarchive it with something like this"
tar -xvf yourfile.tar
thanks for reply
i tried the above command still hosts.cfg file is in binary format.
any how i reconfigured hosts.cfg file successfully with the help of objects.cache file.
Regards,
Muni.I
tar -xvf yourfile.tar
thanks for reply
i tried the above command still hosts.cfg file is in binary format.
any how i reconfigured hosts.cfg file successfully with the help of objects.cache file.
Regards,
Muni.I
Re: reconfigure hosts.cfg based services.cfg,hostgroups.cfg,
Was it a zipped as well as tarred?
Run "file" on the untarred file:
Run "file" on the untarred file:
Code: Select all
file <archive>Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.