Re: mc problem under 4.2
On Nov 27, 2007 8:24 PM, Jeff Quast <[EMAIL PROTECTED]> wrote: > On Tue, Nov 27, 2007 at 08:02:46PM +0100, Bambero wrote: > > Hello > > > > I have a strange problem with mc (MidnightCommander). > > After install OpenBSD 4.2 mc doesn't work properly. > > fresh install or upgrade from say, 4.1? > > > When i type: > > > > mc > > > > I have to wait 5 min to see the Midnight Commander. After comannd it > > hangs and it's ready to work after 5 minutes. > > It doesnt matter I use bsd or bsd.mp kernel. It doesn't matter which > > terminal I use. > > I tried to instal mc using ports but it won't help. > > You built mc from source? used a binary package? stale package from before > the upgrade? > > This feels like a dns resolution issue, maybe a missing entry in /etc/hosts > > if you just did an upgrade, maybe you blew away your hosts or resolv.conf ? > > I don't use mc, but doesn't it do some sort of ftp or remote file > transfer, and may like to know its' hostname/address? Does it maybe > take long to ping $(hostname)? > > you can use ktrace(1) to examine what mc is busy waiting for from > the system, if thats the case. > Exactly, it was dns. Naow everything works perfectly. Thanks
Re: mc problem under 4.2
Hmm, I found the answer: lookup file bind in /etc/resolv.conf solves the problem. ping localhost won't works too becouse of bad dns configuration. Thanks On Nov 27, 2007 9:18 PM, Jack J. Woehr <[EMAIL PROTECTED]> wrote: > On Nov 27, 2007, at 1:14 PM, Robert Zajda wrote: > > > [Dirs] > > other_dir=/root > > Does this directory exist? Is it local? If you are chrooted, does it > exist in your > chroot layout? > > -- > > Jack J. Woehr > Director of Development > Absolute Performance, Inc. > [EMAIL PROTECTED] > 303-443-7000 ext. 527
Re: mc problem under 4.2
On Nov 27, 2007 9:18 PM, Jack J. Woehr <[EMAIL PROTECTED]> wrote: > On Nov 27, 2007, at 1:14 PM, Robert Zajda wrote: > > > [Dirs] > > other_dir=/root > > Does this directory exist? Is it local? If you are chrooted, does it > exist in your > chroot layout? > Of course but in chroot there is no problem. > -- > > Jack J. Woehr > Director of Development > Absolute Performance, Inc. > [EMAIL PROTECTED] > 303-443-7000 ext. 527
Re: mc problem under 4.2
On Nov 27, 2007, at 1:14 PM, Robert Zajda wrote: [Dirs] other_dir=/root Does this directory exist? Is it local? If you are chrooted, does it exist in your chroot layout? -- Jack J. Woehr Director of Development Absolute Performance, Inc. [EMAIL PROTECTED] 303-443-7000 ext. 527
Re: mc problem under 4.2
On Nov 27, 2007 8:40 PM, Jack J. Woehr <[EMAIL PROTECTED]> wrote: > On Nov 27, 2007, at 12:32 PM, Bambero wrote: > > > On Nov 27, 2007 8:25 PM, Jack J. Woehr <[EMAIL PROTECTED] > > performance.com> wrote: > >> On Nov 27, 2007, at 12:02 PM, Bambero wrote: > >> > >>> > >>> When i type: > >>> > >>> mc > >>> > >>> I have to wait 5 min to see the Midnight Commander. After comannd it > >>> hangs and it's ready to work after 5 minutes. > >> > >> > >> My "wild analytical guess" about your problem is this: > >> > >> One of the two panes of the mc display is logged into some remote > >> device or file system -- nfs, ftp, unmounted disk, etc. > > > > Hmm the problem is not so simple i have second machine with OpenBSD > > 4.2 and everything works fine. > > Secondly when i chroot to this instalation under OpenBSD 4.0 it works > > without any problems. > > Maybe something with my hardware, but under OpenBSD 4.0 it works fine > > on the same computer. > > > > Very doubtful that this is hardware. Very doubtful it is OBSD 4.2. It's > most likely something about your mc setup. > > Can you post your ~/.mc/ini file, or at least the following keys?: > > clear_before_exec= > fast_reload= > fast_reload_msg_shown= > confirm_execute= > dive_into_subdirs= > vfs_timeout= > vfs_use_targz_memlimit= > ftpfs_directory_timeout= > use_netrc= > ftpfs_retry_seconds= > ftpfs_always_use_proxy= > ftpfs_use_passive_connections= > other_dir= > current_is_left= > All my .mc/ini It's default I made no changes here [Midnight-Commander] show_backups=1 show_dot_files=1 verbose=1 mark_moves_down=1 pause_after_run=1 shell_patterns=1 auto_save_setup=1 auto_menu=0 use_internal_view=1 use_internal_edit=1 clear_before_exec=1 mix_all_files=0 fast_reload=0 fast_reload_msg_shown=0 confirm_delete=1 confirm_overwrite=1 confirm_execute=0 confirm_exit=1 safe_delete=0 mouse_repeat_rate=100 double_click_speed=250 use_8th_bit_as_meta=0 confirm_view_dir=0 mouse_move_pages=1 mouse_move_pages_viewer=1 fast_refresh=0 navigate_with_arrows=0 drop_menus=0 wrap_mode=1 old_esc_mode=0 cd_symlinks=1 show_all_if_ambiguous=0 have_fast_cpu=0 max_dirt_limit=10 torben_fj_mode=0 use_file_to_guess_type=1 alternate_plus_minus=0 only_leading_plus_minus=1 show_output_starts_shell=0 panel_scroll_pages=1 xtree_mode=0 num_history_items_recorded=60 file_op_compute_totals=1 vfs_timeout=60 ftpfs_directory_timeout=900 use_netrc=1 ftpfs_retry_seconds=30 ftpfs_always_use_proxy=0 ftpfs_use_passive_connections=1 ftpfs_use_unix_list_options=1 ftpfs_first_cd_then_ls=0 editor_word_wrap_line_length=72 editor_key_emulation=0 editor_tab_spacing=8 editor_fill_tabs_with_spaces=0 editor_return_does_auto_indent=0 editor_backspace_through_tabs=0 editor_fake_half_tabs=1 editor_option_save_mode=0 editor_option_save_position=1 editor_option_backup_ext_int=-1 editor_option_auto_para_formatting=0 editor_option_typewriter_wrap=0 editor_edit_confirm_save=1 editor_syntax_highlighting=1 nice_rotating_dash=1 horizontal_split=0 [Layout] equal_split=1 first_panel_size=43 message_visible=1 keybar_visible=1 xterm_title=1 output_lines=0 command_prompt=1 menubar_visible=1 show_mini_info=1 permission_mode=0 filetype_mode=1 [Dirs] other_dir=/root current_is_left=1 [New Left Panel] display=listing reverse=0 case_sensitive=1 sort_order=name list_mode=full user_format=half type name | size | perm user_status0=half type name | size | perm user_status1=half type name | size | perm user_status2=half type name | size | perm user_status3=half type name | size | perm user_mini_status=0 [New Right Panel] display=listing reverse=0 case_sensitive=1 sort_order=name list_mode=full user_format=half type name | size | perm user_status0=half type name | size | perm user_status1=half type name | size | perm user_status2=half type name | size | perm user_status3=half type name | size | perm user_mini_status=0 [Misc] ftpfs_password=anonymous@ ftp_proxy_host=gate display_codepage=Other_8_bit [Panelize] Find *.orig after patching=find . -name \*.orig -print Find SUID and SGID programs=find . \( \( -perm -04000 -a -perm +011 \) -o \( -perm -02000 -a -perm +01 \) \) -print Find rejects after patching=find . -name \*.rej -print > -- > > Jack J. Woehr > Director of Development > Absolute Performance, Inc. > [EMAIL PROTECTED] > 303-443-7000 ext. 527
Re: mc problem under 4.2
On Nov 27, 2007 8:24 PM, Jeff Quast <[EMAIL PROTECTED]> wrote: > On Tue, Nov 27, 2007 at 08:02:46PM +0100, Bambero wrote: > > Hello > > > > I have a strange problem with mc (MidnightCommander). > > After install OpenBSD 4.2 mc doesn't work properly. > > fresh install or upgrade from say, 4.1? > Yes it's fresh install. > > When i type: > > > > mc > > > > I have to wait 5 min to see the Midnight Commander. After comannd it > > hangs and it's ready to work after 5 minutes. > > It doesnt matter I use bsd or bsd.mp kernel. It doesn't matter which > > terminal I use. > > I tried to instal mc using ports but it won't help. > > You built mc from source? used a binary package? stale package from before > the upgrade? > I used binary package and package built from source using ports. > This feels like a dns resolution issue, maybe a missing entry in /etc/hosts > > if you just did an upgrade, maybe you blew away your hosts or resolv.conf ? > > I don't use mc, but doesn't it do some sort of ftp or remote file > transfer, and may like to know its' hostname/address? Does it maybe > take long to ping $(hostname)? > > you can use ktrace(1) to examine what mc is busy waiting for from > the system, if thats the case. > Yes I have to do some tests
Re: mc problem under 4.2
On Nov 27, 2007, at 12:32 PM, Bambero wrote: On Nov 27, 2007 8:25 PM, Jack J. Woehr <[EMAIL PROTECTED] performance.com> wrote: On Nov 27, 2007, at 12:02 PM, Bambero wrote: When i type: mc I have to wait 5 min to see the Midnight Commander. After comannd it hangs and it's ready to work after 5 minutes. My "wild analytical guess" about your problem is this: One of the two panes of the mc display is logged into some remote device or file system -- nfs, ftp, unmounted disk, etc. Hmm the problem is not so simple i have second machine with OpenBSD 4.2 and everything works fine. Secondly when i chroot to this instalation under OpenBSD 4.0 it works without any problems. Maybe something with my hardware, but under OpenBSD 4.0 it works fine on the same computer. Very doubtful that this is hardware. Very doubtful it is OBSD 4.2. It's most likely something about your mc setup. Can you post your ~/.mc/ini file, or at least the following keys?: clear_before_exec= fast_reload= fast_reload_msg_shown= confirm_execute= dive_into_subdirs= vfs_timeout= vfs_use_targz_memlimit= ftpfs_directory_timeout= use_netrc= ftpfs_retry_seconds= ftpfs_always_use_proxy= ftpfs_use_passive_connections= other_dir= current_is_left= -- Jack J. Woehr Director of Development Absolute Performance, Inc. [EMAIL PROTECTED] 303-443-7000 ext. 527
Re: mc problem under 4.2
On Nov 27, 2007 8:25 PM, Jack J. Woehr <[EMAIL PROTECTED]> wrote: > On Nov 27, 2007, at 12:02 PM, Bambero wrote: > > > > > When i type: > > > > mc > > > > I have to wait 5 min to see the Midnight Commander. After comannd it > > hangs and it's ready to work after 5 minutes. > > [[ This probably should have been reported to ports@ rather than > misc@ ]] > > Bambero, I'm an 'mc' fanatic running it under 4.2. There is no problem > for me. > > My "wild analytical guess" about your problem is this: > > One of the two panes of the mc display is logged into some remote > device or file system -- nfs, ftp, unmounted disk, etc. Something. > And that file system is not active so mc tries after each command > until it times out. > > Was that a good guess? > Hmm the problem is not so simple i have second machine with OpenBSD 4.2 and everything works fine. Secondly when i chroot to this instalation under OpenBSD 4.0 it works without any problems. Maybe something with my hardware, but under OpenBSD 4.0 it works fine on the same computer. > -- > Jack J. Woehr > Director of Development > Absolute Performance, Inc. > [EMAIL PROTECTED] > 303-443-7000 ext. 527
Re: mc problem under 4.2
On Nov 27, 2007, at 12:02 PM, Bambero wrote: When i type: mc I have to wait 5 min to see the Midnight Commander. After comannd it hangs and it's ready to work after 5 minutes. [[ This probably should have been reported to ports@ rather than misc@ ]] Bambero, I'm an 'mc' fanatic running it under 4.2. There is no problem for me. My "wild analytical guess" about your problem is this: One of the two panes of the mc display is logged into some remote device or file system -- nfs, ftp, unmounted disk, etc. Something. And that file system is not active so mc tries after each command until it times out. Was that a good guess? -- Jack J. Woehr Director of Development Absolute Performance, Inc. [EMAIL PROTECTED] 303-443-7000 ext. 527
Re: mc problem under 4.2
On Tue, Nov 27, 2007 at 08:02:46PM +0100, Bambero wrote: > Hello > > I have a strange problem with mc (MidnightCommander). > After install OpenBSD 4.2 mc doesn't work properly. fresh install or upgrade from say, 4.1? > When i type: > > mc > > I have to wait 5 min to see the Midnight Commander. After comannd it > hangs and it's ready to work after 5 minutes. > It doesnt matter I use bsd or bsd.mp kernel. It doesn't matter which > terminal I use. > I tried to instal mc using ports but it won't help. You built mc from source? used a binary package? stale package from before the upgrade? This feels like a dns resolution issue, maybe a missing entry in /etc/hosts if you just did an upgrade, maybe you blew away your hosts or resolv.conf ? I don't use mc, but doesn't it do some sort of ftp or remote file transfer, and may like to know its' hostname/address? Does it maybe take long to ping $(hostname)? you can use ktrace(1) to examine what mc is busy waiting for from the system, if thats the case.
mc problem under 4.2
Hello I have a strange problem with mc (MidnightCommander). After install OpenBSD 4.2 mc doesn't work properly. When i type: mc I have to wait 5 min to see the Midnight Commander. After comannd it hangs and it's ready to work after 5 minutes. It doesnt matter I use bsd or bsd.mp kernel. It doesn't matter which terminal I use. I tried to instal mc using ports but it won't help. There is no problem with other software. Thanks for any help Regards, Bambero