| CPUG | |
| The Check Point User Group | |
| A Resource For The Check Point Community. Fast. Useful. Independent. | |
|
| |||||||
![]() |
| | LinkBack | Thread Tools | Display Modes |
| |||
| Guys, I have accidently unpacked a R55_wrapper tgz package into my /var/admin folder. This folder is now full of strange files and folders which I cannot either move or delete. Does anyone know how to get rid of these files or is going to require a fresh install on the Nokia box. regards |
| |||
| Then you should have a /var/admin/IPSO_wrapper_R55 (name may be different) folder. rm -r /var/admin/IPSO_wrapper_R55 should delete this folder. And could you give an example of a "strange" file name? Last edited by Robby Cauwerts; 2006-11-04 at 14:51. |
| |||
| This is what I am seeing in the /var/admin folder. I have already removed the R55 wrapper file but the others will not move or be deleted. I am not sure if they will cause a problem if I continue with the installation of this firewall. login as: admin admin@218.185.10.206's password: Last login: Sat Nov 4 18:17:18 2006 from 82.20.252.189 IPSO 3.9-BUILD045 #1515: 11.28.2005 222501 Terminal type? [xterm] FWL01MEL1AU[admin]# ls ??????Bm?y??n?WS?]??mc??VVf?pLIm??????MM:?n?lS?R?????C???SK0?Rq1??M5 ??}n??;??[e? \????#??W?o\*Vd?c[? ?X-?<lK???I?????2??K??g!???!?Z\,??*\?MM????(??Y?ei$?0 ??"I1???M8??G?t?*8?v??4???? h?????]Vm????E??<?e ?;?@?0n?T?{9?#?g?C???_??????T??-7????#2?[^1??ID??j?????9????sf??y???I?J?`!]T??if ???aA??\"?.x~!m?Y?O .cshrc .history .login .profile \??S??JG????????{?:??????????{??p?gSQ_CQ=??W??e??? A??n?&???$???CY?22??????????Gt ???_????M1v??N????? oldfiles ???L?H\?[??@!???5? ?&?ae???R?(c&?????LWB&?????Q?;#?+????8????2?G.? ?se\*?32?8F+?c??Ht?u?C ?????h?N?iC??\??31???dL??w4?(?-;????j=?v?|????dM!W????s????\????!???Se?E??????^? }?O?????v??????2??? ?????C6?b'?~??&???Cd??J?????Xm?v?????????R?4s????k f???????|7???????????R?f?:?A?p _?h?\\+??2???n????? ??@?uCG???!n?????p`m?(??-?8o??s???Z\V??????????????#?{?qW????8?K?.wd??????A ????| ]???YIl????????BE?? |
| |||
| can you post the output of "ls -ail /var/admin" ? This will also print the inode number. To delete a file based on its inode nr: cd /var/admin find . -inum the_inode_number -exec rm -i {} \; y Last edited by Robby Cauwerts; 2006-11-04 at 15:19. |
| |||
| Please find output of requested command. login as: admin admin@218.185.10.206's password: Last login: Sun Nov 5 07:32:01 2006 from 82.20.252.189 IPSO 3.9-BUILD045 #1515: 11.28.2005 222501 Terminal type? [xterm] FWL01MEL1AU[admin]# ls -ail /var/admin total 371 161286 -rwsrwsr-t 1 root wheel 0 Nov 4 10:30 ??????Bm?y??n?WS?]??mc??VVf?pLIm??????MM:?n?lS?R?????C???SK0?Rq1??M5 ??}n??;??[e?\????#??W?o\*Vd?c[? 161299 crwsrwsr-t 1 root wheel 0, 0 Nov 4 10:30 ?X-?<lK???I?????2??K??g!???!?Z\,??*\?MM????(??Y?ei$?0 ??"I1???M8??G?t?*8?v??4????h?????]Vm????E??<?e 161298 -rwsrwsr-t 1 root wheel 0 Nov 4 10:30 ?;?@?0n?T?{9?#?g?C???_??????T??-7????#2?[^1??ID??j?????9????sf??y???I?J?`!]T??if???aA??\"?.x~!m?Y?O 161280 drwxr-xr-x 3 root wheel 2560 Nov 5 08:03 . 2 drwxr-xr-x 18 root wheel 512 Nov 4 12:54 .. 161282 -rwxr-xr-x 1 root wheel 701 Nov 4 03:01 .cshrc 161284 -rw------- 1 root wheel 1215 Nov 5 08:09 .history 161283 -rwxr-xr-x 1 root wheel 114 Nov 4 03:01 .login 161281 -rwxr-xr-x 1 root wheel 304 Nov 4 03:01 .profile 161287 -rwsrwsr-t 1 root wheel 0 Nov 4 10:30 \??S??JG????????{?:??????????{??p?gSQ_CQ=??W??e??? A??n?&???$???CY?22??????????Gt???_????M1v??N????? 161285 -rw------- 1 root wheel 360448 Nov 5 08:02 ftpd.core 798720 drwxr-xr-x 4 root wheel 1536 Nov 5 07:49 oldfiles 161297 -rwsrwsr-t 1 root wheel 0 Nov 4 10:30 ???L?H\?[??@!???5? ?&?ae???R?(c&?????LWB&?????Q?;#?+????8????2?G.? 161302 -rwsrwsr-t 1 root wheel 0 Nov 4 10:30 ?se\*?32?8F+?c??Ht?u?C 161292 -rwsrwsr-t 1 root wheel 0 Nov 4 10:30 ?????h?N?iC??\??31???dL??w4?(?-;????j=?v?|????dM!W????s????\????!???Se?E??????^?} ?O?????v??????2??? 161294 -rwsrwsr-t 1 root wheel 0 Nov 4 10:30 ?????C6?b'?~??&???Cd??J?????Xm?v?????????R?4s????k f???????|7???????????R?f?:?A?p_?h?\\+??2???n????? 161303 -rwsrwsr-t 1 root wheel 0 Nov 4 10:30 ??@?uCG???!n?????p`m?(??-?8o??s???Z\V??????????????#?{?qW????8?K?.wd??????A ????|]???YIl????????BE?? |
| |||
| What command did you use to extract the wrapper? To delete the first file: 161286 -rwsrwsr-t 1 root wheel 0 Nov 4 10:30 ??????Bm?y??n?WS?]??mc??VVf?pLIm??????MM:?n?lS?R?????C???SK0?Rq1??M5 ??}n??;??[e?\????#??W?o\*Vd?c[? cd /var/admin find . -inum 161286 -exec rm -i {} \; y |
| |||
| Robby, Cheers that has worked a treat. But I do have one more question what command can I use to delete directories? I have several directories that I managed to hide away in the folder 'oldfiles' Once I can get rid of these folders and I finish off the build of this gateway Again thanks a million for you help so far. Andy |
![]() |
| Thread Tools | |
| Display Modes | |
| |