Re: Up2date -f boots to "grub>". Back Online!
Thanks a bunch Michael... looking at your reply sent me to: info grub realizing I had no idea how the boot loader works. I tried the commands you suggested but didn't get it right - grub.conf wasn't found even though a listed it in the /boot/grub directory. (The following are some significant lines from my current grub.conf root (hd0,0) kernel /boot/vmlinuz-2.4.20-18.7 ro root=/dev/hda1 initrd /boot/initrd-2.4.20-18.7.img) Then as you further suggested, I ran rawrite from diskette and tried a recover boot from the cd. This didn't seem to do me much good as it mounted the filesystem and a recovery partition - but I couldn't access my precious data (weeks of servlet development not backed up). The really good news is that despite my imagining days of research on grub before being able to patch the system together, on reboot the grub window menu appeared! ... and booted as normal ...Whew! what luck. So it's a full backup night tonight along with a GRUB familiarization read. I don't know what caused the problem though - nor how the boot to recovery resolved it. I'd be interested in any of your thoughts on this - including suggestions on what I should do to avoid similar experiences in the future. Thanks Again & Regards /j-p. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: Up2date -f boots to "grub>" prompt!
George... I didn't get a choice of kernels on the kernel / prompt. Instead I was prompted with partition/directory names such as usr tmp var boot etc. Therefore I thought I'd take a chance on a vmlinuz file in boot. Regarding the ext2fs error, on first googling it appears to point to booting from the wrong partition or a hardware problem... I unsure of what my next step should be - concentrating on trying to salvage data (if possible) or trying to rollback to the system config before I ran up2date. Once again, any other suggestions from the list are much appreciated. /j-p. --- George Nicholls <[EMAIL PROTECTED]> wrote: > On Sun, 2003-07-13 at 12:33, john-paul delaney > wrote: > > Thanks George... I typed in: > > > > grub> kernel /boot/vmlinuz-2.4.18-17.7.x > > > > then > > > > grub> boot > > > > and it begins to load the kernel. Unfortunately > it stops at: > > > > EXT2-fs: unable to read superblock > > isofs_read_super: bread failed, dev=09:02, > iso_blknum=16, block=32 > > Kernel panic: VFS: Unable to mount root fs on > 09:02 > > > > > > Yikes... am I looking at disk corruption? > > > > /j-p. > > > I am not sure if the comamnd you gave was correct; > but you should have > > all kernels visible after grub> kernel / . I > typed in one of the > > choices exactly. Maybe you should try a 'good' > kernel, if not done so > > already. > > I am not sure about the errors that you got:-) I > will need to have a > look on Google. > > G > > George Nicholls <[EMAIL PROTECTED]> wrote: > > at the grub> enter kernel / ; this should > give you a chioce of > > available kernels to boot. > > > > Then repeat the command with the correct > kernel after / > > > > then at the grub > boot > > > > This should boot you so that you can try > to edit the grub > > file. > > > > (I assume that you are using grub rather > than lilo) > > > > G :-) > > > > On Sun, 2003-07-13 at 11:09, john-paul > delaney wrote: > > > I'm in trouble List After reading a > previous message on > > simply > > > upgrading the kernel with the up2date -f > force switch. I > > tried it and > > > rebooting gets me immediately to the: > > > > > > grub> > > > > > > prompt. I'm using rh 7.2. I had upgraded > the kernel > > previously from > > > the redhat network website, and hoped > for equally successful > > results > > > this time. Now I'm stuck, and mail's > goin' to bounce I'm > > sure. > > > > > > I'd! be grateful for any help to get me > out of this one. > > > > > > thanks > > > /j-p. > > > __ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Yahoo HTML: Apologies to List
Sorry folks... with my own mail server down, I resort to Yahoo to seek help from the list. I wasn't aware of sending html format - I hope I've turned it off now and that this message arrives as plain text. /j-p. __ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: Up2date -f boots to "grub>" prompt!
Thanks George... I typed in: grub> kernel /boot/vmlinuz-2.4.18-17.7.x then grub> boot and it begins to load the kernel. Unfortunately it stops at: EXT2-fs: unable to read superblock isofs_read_super: bread failed, dev=09:02, iso_blknum=16, block=32 Kernel panic: VFS: Unable to mount root fs on 09:02 Yikes... am I looking at disk corruption? /j-p. George Nicholls <[EMAIL PROTECTED]> wrote: at the grub> enter kernel / ; this should give you a chioce ofavailable kernels to boot.Then repeat the command with the correct kernel after /then at the grub > boot This should boot you so that you can try to edit the grub file.(I assume that you are using grub rather than lilo)G :-)On Sun, 2003-07-13 at 11:09, john-paul delaney wrote:> I'm in trouble List After reading a previous message on simply> upgrading the kernel with the up2date -f force switch. I tried it and> rebooting gets me immediately to the:> > grub>> > prompt. I'm using rh 7.2. I had upgraded the kernel previously from> the redhat network website, and hoped for equally successful results> this time. Now I'm stuck, and mail's goin' to bounce I'm sure.> > I'd! be grateful for any help to get me out of this one.> > thanks> /j-p.> > > __> Do you Yahoo!?> SBC Yahoo! DSL - Now only $29.95 per month!-- redhat-list mailing listunsubscribe mailto:[EMAIL PROTECTED]https://www.redhat.com/mailman/listinfo/redhat-list Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month!
Re: Up2date -f boots to "grub>" prompt!
Hello List.. I forgot to say that I hadn't rebooted the machine immediately after the update - some hours later (trying to tidy up) I had accidentally hit the power switch and it went down uncleanly, with the resulting boot to grub> Rebooting with a boot diskette gets me to the following: EXT2-fs: ide0(3,1): couldn't mount because of unsupported optional features. Invalid session number or type of track Kernel panic: VFS: Unable to mount root fs on 03:01 Any idea on what "unsupported optional features" means? Is this a hardware or software related error? Advice greatly appreciated. /j-p. john-paul delaney <[EMAIL PROTECTED]> wrote: I'm in trouble List After reading a previous message on simply upgrading the kernel with the up2date -f force switch. I tried it and rebooting gets me immediately to the: grub> prompt. I'm using rh 7.2. I had upgraded the kernel previously from the redhat network website, and hoped for equally successful results this time. Now I'm stuck, and mail's goin' to bounce I'm sure. I'd be grateful for any help to get me out of this one. thanks /j-p. Do you Yahoo!?SBC Yahoo! DSL - Now only $29.95 per month! Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month!
Up2date -f boots to "grub>" prompt!
I'm in trouble List After reading a previous message on simply upgrading the kernel with the up2date -f force switch. I tried it and rebooting gets me immediately to the: grub> prompt. I'm using rh 7.2. I had upgraded the kernel previously from the redhat network website, and hoped for equally successful results this time. Now I'm stuck, and mail's goin' to bounce I'm sure. I'd be grateful for any help to get me out of this one. thanks /j-p. Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month!
Re: Named setup: modify pid file location
OK... didn't get any reply on this but more in-depth googling found the answer to my problem: use the line: pid-file "/var/run/named/named.pid"; in the options section of named.conf. Many thanks to owner of: http://karmak.org/archive/2002/08/dns/ /j-p. On Thu, 10 Jul 2003, John-Paul Delaney wrote: > Hello List... I'm trying to setup bind9 on rh9. I get an error on startup of named > - cannot open pid file /var/run/named.pid: Permission denied. > > However I want to write the pid to /var/run/named/named.pid instead (creating a > named directory) so I can give the named user read/write rights. > > How do I direct writing the file to /var/run/named/ as opposed to /var/run/ ? > > I've tried the line PID_FILE=/var/run/named/named.pid in /etc/rc.d/init.d/named but > it's still trying to write to the /var/run directory. > > Thanks for any suggestions, > /j-p. > > > JUSTATEST Art Online http://justatest.com -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Named setup: modify pid file location
Hello List... I'm trying to setup bind9 on rh9. I get an error on startup of named - cannot open pid file /var/run/named.pid: Permission denied. However I want to write the pid to /var/run/named/named.pid instead (creating a named directory) so I can give the named user read/write rights. How do I direct writing the file to /var/run/named/ as opposed to /var/run/ ? I've tried the line PID_FILE=/var/run/named/named.pid in /etc/rc.d/init.d/named but it's still trying to write to the /var/run directory. Thanks for any suggestions, /j-p. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: Memory: Bios total 262144K - top total 14332K
Bravo Nicholas... actually I couldn't get to to the boot: prompt so I found a reference to adding the line in the lilo.conf file: append="mem=256M" free reports the full 256 megs now (I'm amazed the server was able to run on only 14M though). Many thanks, /j-p. Nicholas Marsh <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 31/03/2003 16:33 Please respond to redhat-list To: [EMAIL PROTECTED] cc: Subject:Re: Memory: Bios total 262144K - top total 14332K For lilo try this: mem=256M at the lilo prompt. nick Nicholas Marsh <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 31/03/2003 11:26 Please respond to redhat-list To: [EMAIL PROTECTED] cc: Subject: Re: Memory: Bios total 262144K - top total 14332K If you are using grub as your boot loader, try this: http://www.gnu.org/manual/grub-0.90/html_node/grub_100.html FYI> It helps to know what version of Red Hat you are using. Message: 10 To: [EMAIL PROTECTED] Subject: Memory: Bios total 262144K - top total 14332K From: "John-Paul Delaney" <[EMAIL PROTECTED]> Date: Mon, 31 Mar 2003 10:05:24 +0200 Reply-To: [EMAIL PROTECTED] Hello List... I appear to have a memory configuration problem. The difference between the system bios and what free/top reports as total memory seems very odd. free -m reports 13 as total mem! Is it possible to tell the OS how much memory is available? thanks /j-p. nick marsh [EMAIL PROTECTED] -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list nick marsh [EMAIL PROTECTED] -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: Memory: Bios total 262144K - top total 14332K
Sorry Nicholas about the poor information ... RH 7.0 on a Compaq Proliant 2500. Lilo is the boot loader. rgds /j-p. Nicholas Marsh <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 31/03/2003 11:26 Please respond to redhat-list To: [EMAIL PROTECTED] cc: Subject:Re: Memory: Bios total 262144K - top total 14332K If you are using grub as your boot loader, try this: http://www.gnu.org/manual/grub-0.90/html_node/grub_100.html FYI> It helps to know what version of Red Hat you are using. Message: 10 To: [EMAIL PROTECTED] Subject: Memory: Bios total 262144K - top total 14332K From: "John-Paul Delaney" <[EMAIL PROTECTED]> Date: Mon, 31 Mar 2003 10:05:24 +0200 Reply-To: [EMAIL PROTECTED] Hello List... I appear to have a memory configuration problem. The difference between the system bios and what free/top reports as total memory seems very odd. free -m reports 13 as total mem! Is it possible to tell the OS how much memory is available? thanks /j-p. nick marsh [EMAIL PROTECTED] -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Memory: Bios total 262144K - top total 14332K
Hello List... I appear to have a memory configuration problem. The difference between the system bios and what free/top reports as total memory seems very odd. free -m reports 13 as total mem! Is it possible to tell the OS how much memory is available? thanks /j-p. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
RE: understanding tftp
Bravo Christopher that did it! A big thanks... /j-p. "christopher cuse" <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 24/03/2003 15:29 Please respond to redhat-list To: <[EMAIL PROTECTED]> cc: Subject:RE: understanding tftp Hi John Paul I see your error now -- you have placed a "-l" argument to the server: -lRun the server in standalone (listen) mode, rather than run from inetd. In listen mode, the -t option is ignored, and the -a option can be used to specify a specific local address or port to listen to. remove the -l argument and try again! Cheers Christopher CUSE RHCE/CCNA [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of John-Paul Delaney Sent: Monday, March 24, 2003 11:56 AM To: [EMAIL PROTECTED] Subject: Re: understanding tftp Thanks Gene... I completely mis-interpreted that output :( . This is the contents of the /etc/xinetd.d/tftp file: disable = no socket_type = dgram protocol= udp wait= yes user= root server = /usr/sbin/in.tftpd server_args = -s -c -l /tftpboot per_source = 11 cps = 100 2 How then, is the tftp server started? thanks /j-p. Gene Yoo <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 21/03/2003 23:24 Please respond to redhat-list To: [EMAIL PROTECTED] cc: Subject: Re: understanding tftp John-Paul Delaney wrote: > tftpd seems to be running ok: > root 20212 0.0 0.3 3544 632 tty1 S07:50 0:00 grep tftpd if you did ps auxw | grep tftpd like above, that's all your going to see. your tftpd is not up and running. run chkconfig --list tftpd -- <> -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.0 (GNU/Linux) iQCUAwUBPhxERRxoVYCzmrKXAQJK5gP3Y7CTsFyKpEz2p5W4GWI9+qSm+kWfdJ0R xNlma0Ma9rAL/OBJcZMo5IXyXas+3Edogbv4Al6dIf8lot1WS0Iaxxl/cg2f7gf+ otf7LfNpZDE/6OzR7A1qN6baPMLSjGzywwQWMfSVuWWb6kGQxMsA13Kn68G7Ozxs 5CODZqUPyg== =AolA -END PGP SIGNATURE- -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: understanding tftp
Thanks Gene... I completely mis-interpreted that output :( . This is the contents of the /etc/xinetd.d/tftp file: disable = no socket_type = dgram protocol= udp wait= yes user= root server = /usr/sbin/in.tftpd server_args = -s -c -l /tftpboot per_source = 11 cps = 100 2 How then, is the tftp server started? thanks /j-p. Gene Yoo <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 21/03/2003 23:24 Please respond to redhat-list To: [EMAIL PROTECTED] cc: Subject:Re: understanding tftp John-Paul Delaney wrote: > tftpd seems to be running ok: > root 20212 0.0 0.3 3544 632 tty1 S07:50 0:00 grep tftpd if you did ps auxw | grep tftpd like above, that's all your going to see. your tftpd is not up and running. run chkconfig --list tftpd -- <> -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.0 (GNU/Linux) iQCUAwUBPhxERRxoVYCzmrKXAQJK5gP3Y7CTsFyKpEz2p5W4GWI9+qSm+kWfdJ0R xNlma0Ma9rAL/OBJcZMo5IXyXas+3Edogbv4Al6dIf8lot1WS0Iaxxl/cg2f7gf+ otf7LfNpZDE/6OzR7A1qN6baPMLSjGzywwQWMfSVuWWb6kGQxMsA13Kn68G7Ozxs 5CODZqUPyg== =AolA -END PGP SIGNATURE- -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: understanding tftp
Output of iptables -L: Chain INPUT (policy ACCEPT) target prot opt source destination Chain FORWARD (policy ACCEPT) target prot opt source destination Chain OUTPUT (policy ACCEPT) target prot opt source destination tftpd seems to be running ok: root 20212 0.0 0.3 3544 632 tty1 S07:50 0:00 grep tftpd Logwatch email msg content: Connections (secure-log) Begin --- Connections: Service ftp: 10.11.35.16: 1 Time(s) 10.11.35.8: 3 Time(s) Service tftp: 10.11.41.254: 8092 Time(s) 10.11.35.8: 24234 Time(s) Service telnet: 10.11.35.8: 1 Time(s) **Unmatched Entries** xinetd[1604]: FAIL: tftp connections per second from=10.11.35.8 xinetd[1604]: FAIL: tftp connections per second from=10.11.35.8 xinetd[1604]: FAIL: tftp connections per second from=10.11.35.8 xinetd[1604]: FAIL: tftp connections per second from=10.11.35.8 xinetd[21348]: FAIL: tftp connections per second from=10.11.41.254 xinetd[21348]: FAIL: tftp connections per second from=10.11.41.254 41.254 is the router I was trying to tftp from and 35.8 is my workstation where I was testing. thanks /j-p. John-Paul Delaney wrote: > > Hello List... > > I'm having problems setting up a tftp server on my rh8.0 box. I want to > use it to backup cisco router configurations. > > I've created a file called startup-config in the tftpboot directory with > chmod 777 and chown nobody:nobody. The directory tftpboot is also 777, > nobody:nobody. > > From the router I try a "copy startup-config tftp", and input the ip > address at the next prompt. I then get the error: > %Error opening tftp://10.11.35.28/startup-config (Undefined error) > > In /var/log/messages I find a long list of errors: > ..." in.tftpd[31383]: cannot bind to local socket: Address already > in use" > > > The output of netstat -a | grep tftp is: > udp 0 0 *:tftp > *:* > > > Thanks - Any help on this would be greatly appreciated. > /j-p. what is your firewall rule? also is tftp running (ps auxw | grep tftpd) -- <> -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
RE: understanding tftp
Thanks Christopher... I've added the create parameter as you suggest, however the problem persists. In /var/log/messages I continue to get a "in.tftpd [5-digit no., incrementing by 1 each line] cannot bind to local socket: Address already in use". I've stopped iptables (presuming that means all incoming packets are accepted). Following Nate's suggestion, I've stopped xinetd and then netstat doesn't show any listening on tftp/69 udp. I can telnet and ftp to the server without problems. Anyone with suggestions on how to troubleshoot/interpret the address already in use message? I'm at a loss at this stage. Thanks again. /j-p. "christopher cuse" <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 19/03/2003 14:39 Please respond to redhat-list To: <[EMAIL PROTECTED]> cc: Subject:RE: understanding tftp Hi John-Paul, Well it sure looks like from the syslog that something else is on your tftp port, so please verify. -- or -- tftpd hasn't been configured to allow the creation of files in your tftphome directory. Here's my /etc/xinetd.d/tftp file: # default: off # description: The tftp server serves files using the trivial file transfer \ # protocol. The tftp protocol is often used to boot diskless \ # workstations, download configuration files to network-aware printers, \ # and to start the installation process for some operating systems. service tftp { disable = no socket_type = dgram protocol= udp wait= yes user= root server = /usr/sbin/in.tftpd server_args = -s -c /tftpboot per_source = 11 cps = 100 2 } The -c in sever_args tells tftp to allow creation of files. security risk -- you have been warned, so make sure your tftp port is blocked only to those who should have access! Cheers, Christopher CUSE RHCE/CCNA [EMAIL PROTECTED] --nothing is too difficult once you completely understand it. Message: 2 To: [EMAIL PROTECTED] Subject: understanding tftp From: "John-Paul Delaney" <[EMAIL PROTECTED]> Date: Wed, 19 Mar 2003 10:56:15 +0100 Reply-To: [EMAIL PROTECTED] This is a multipart message in MIME format. --=_alternative 00368DA1C1256CEE_= Content-Type: text/plain; charset="US-ASCII" Hello List... I'm having problems setting up a tftp server on my rh8.0 box. I want to use it to backup cisco router configurations. I've created a file called startup-config in the tftpboot directory with chmod 777 and chown nobody:nobody. The directory tftpboot is also 777, nobody:nobody. >From the router I try a "copy startup-config tftp", and input the ip address at the next prompt. I then get the error: %Error opening tftp://10.11.35.28/startup-config (Undefined error) In /var/log/messages I find a long list of errors: ..." in.tftpd[31383]: cannot bind to local socket: Address already in use" The output of netstat -a | grep tftp is: udp 0 0 *:tftp *:* Thanks - Any help on this would be greatly appreciated. /j-p. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
understanding tftp (apologies if received as html)
I received a reply to my earlier message informing me I had sent it as html. Apologies - here it is (I hope!) as plain text. /j-p. __ Hello List... I'm having problems setting up a tftp server on my rh8.0 box. I want to use it to backup cisco router configurations. I've created a file called startup-config in the tftpboot directory with chmod 777 and chown nobody:nobody. The directory tftpboot is also 777, nobody:nobody. >From the router I try a "copy startup-config tftp", and input the ip address at the next prompt. I then get the error: %Error opening tftp://10.11.35.28/startup-config (Undefined error) In /var/log/messages I find a long list of errors: ..." in.tftpd[31383]: cannot bind to local socket: Address already in use" The output of netstat -a | grep tftp is: udp 0 0 *:tftp *:* Thanks - Any help on this would be greatly appreciated. /j-p. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
understanding tftp
Hello List... I'm having problems setting up a tftp server on my rh8.0 box. I want to use it to backup cisco router configurations. I've created a file called startup-config in the tftpboot directory with chmod 777 and chown nobody:nobody. The directory tftpboot is also 777, nobody:nobody. From the router I try a "copy startup-config tftp", and input the ip address at the next prompt. I then get the error: %Error opening tftp://10.11.35.28/startup-config (Undefined error) In /var/log/messages I find a long list of errors: ..." in.tftpd[31383]: cannot bind to local socket: Address already in use" The output of netstat -a | grep tftp is: udp 0 0 *:tftp *:* Thanks - Any help on this would be greatly appreciated. /j-p.
Vim: caps lock status
Hello list... Excuse me if it's off-topic but I'd like to know how to continuously show the status of CAPS LOCK in the status bar of vim (in text-mode i.e. not the gui). I frequently mess things up as I've forgotten to turn off CAPS LOCK. Thanks /j-p. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list
Re: [Solved] postgresql source install - can't find readline
For the record, after installing termcap-devel rpm, then running ldconfig, I was able to compile postgresql from source with readline. /j-p. -- redhat-list mailing list unsubscribe mailto:redhat-list-request@;redhat.com?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list
postgresql source install - can't find readline
Hello List... I'm trying to install the latest verion of postgresql [7.2.3] after removing the rpm installation (which worked ok with readline) on RH7.3. My problem is that the output of configure states: ... checking for readline... no ... with the result that postgresql installs ok but I don't have any command-line history. Readline .so files are installed on /usr/lib and the header files in /usr/include/readline. This is my configure command: ./configure --enable-multibyte '--enable-nls='it fr de' --with-openssl=/usr/share/ssl --enable-syslog --with-includes=/usr/include --with-libraries=/usr/lib Any suggestions to figure out why it's not recognizing readline already installed are greatly appreciated. thanks /j-p. JUSTATEST Art Online http://www.justatest.com -- redhat-list mailing list unsubscribe mailto:redhat-list-request@;redhat.com?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list
Re: 7.3 Upgrade, routing problem
I haven't seen my update to this appear on the list so apologies if this is a second post the problem was in /etc/sysctr.conf - ip forwarding wasn't enabled /j-p. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list
Re: 7.3 Upgrade, routing problem (solved)
Ok I found the problem: It was in /etc/sysctl.conf - ip forwarding was off. /j-p. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list
Last Login: from :0
I've just logged in a root to my recently-installed and up2dated 7.3 box, and get the following Last Login message: Last login: Thu Sep 26 06:52:20 from :0 As I'd normally expect "on tty2" or similar, what does "from :0" mean to you? thanks /j-p. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list
Re: 7.3 upgrade: Bind fails when ipchains enabled.
I'm still having difficulty with nslookup from another machine and domain transfer even though I've opened up ports UDP 53 and TCP 53. If I turn off ipchains completely, then all works ok. Anybody know what other ports / protocols should I be looking at? I'm new to ipchains. I've just enabled the medium security option using lokkit, and added input port 53 as mentioned above. Any advice would be welcome - I'd like to avoid turning off the firewall completely! thanks /j-p. On Fri, 27 Sep 2002, Mike Burger wrote: > The outgoing port is always going to be something higher...the destination > port is 53. > > On Fri, 27 Sep 2002, john-paul delaney wrote: > > > Thanks Mike... I've turned on 53/tcp (as well as 53/udp) as you suggest and will >force a reload to test. I still have a problem with lookups from the internet, as in >the following tcpdump extract: > > > > - > justatest.com.domain: 12+ A? linuxdoc.org. (30) > > 05:53:27.724911 justatest.com > ppp-233-153.24-151.libero.it: icmp: justatest.com >udp port domain unreachable [tos 0xc0] > > > > At times tcpdump gives the port number (usually a 3xxx number). However it >changes each time the named process is restarted. > > > > Again, if I open up the firewall everything is ok. I added to the input chain to >allow all icmp packets through but it didn't help any. > > > > Any further guidance is greatly appreciated, > > /j-p. > > > > > > > > > > > For zone transfers, you need to open up port 53/tcp in your firewall. > > > 53/udp is strictly for lookups. > > > > > > > > After upgrading from rh7.0 to 7.3, I've found that Bind doesn't work for zone >updates (I'm using a hidden primary nameserver which refreshes secondary.com >nameservers) nor the dig command from the internet even though I had allowed incoming >traffic to port 53 (I'm new to ipchains too). All outbound traffic is accepted. > > > > > > > > Running tcpdump, I kept getting an error "UDP port domain unreachable". It >was only when I completely turned off ipchains (eek!) that everything cleared up and >Bind worked again. > > > > > > > > > > > > -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list
Re: 7.3 upgrade: Bind fails when ipchains enabled.
Thanks Mike... I've turned on 53/tcp (as well as 53/udp) as you suggest and will force a reload to test. I still have a problem with lookups from the internet, as in the following tcpdump extract: - > justatest.com.domain: 12+ A? linuxdoc.org. (30) 05:53:27.724911 justatest.com > ppp-233-153.24-151.libero.it: icmp: justatest.com udp port domain unreachable [tos 0xc0] At times tcpdump gives the port number (usually a 3xxx number). However it changes each time the named process is restarted. Again, if I open up the firewall everything is ok. I added to the input chain to allow all icmp packets through but it didn't help any. Any further guidance is greatly appreciated, /j-p. > For zone transfers, you need to open up port 53/tcp in your firewall. > 53/udp is strictly for lookups. > > After upgrading from rh7.0 to 7.3, I've found that Bind doesn't work for zone >updates (I'm using a hidden primary nameserver which refreshes secondary.com >nameservers) nor the dig command from the internet even though I had allowed incoming >traffic to port 53 (I'm new to ipchains too). All outbound traffic is accepted. > > > > Running tcpdump, I kept getting an error "UDP port domain unreachable". It was >only when I completely turned off ipchains (eek!) that everything cleared up and Bind >worked again. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list
7.3 upgrade: Bind fails when ipchains enabled.
Hello List... After upgrading from rh7.0 to 7.3, I've found that Bind doesn't work for zone updates (I'm using a hidden primary nameserver which refreshes secondary.com nameservers) nor the dig command from the internet even though I had allowed incoming traffic to port 53 (I'm new to ipchains too). All outbound traffic is accepted. Running tcpdump, I kept getting an error "UDP port domain unreachable". It was only when I completely turned off ipchains (eek!) that everything cleared up and Bind worked again. Can anyone give me some clue on how to run the nameserver and the firewall on the same machine? thanks, /j-p. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list
Re: 7.3 Upgrade, routing problem
Thanks Edward... that was indeed my error. regards /j-p. On Thu, 26 Sep 2002, Edward Marczak wrote: > On 9/26/02 10:06 AM, "john-paul delaney" <[EMAIL PROTECTED]> tapped the keys: > > > Hello List... > > > > I've just upgraded a home server from 7.0 to 7.3. It's dual-homed, one side > > connecting to the inside LAN (10.11.11.1/24), the other side (192.168.1.2/24) > > connecting to an ADSL router on ethernet (internal address 192.168.1.1, and > > external public static ip). All working fine before the upgrade. > > I think most people in 7.0 accomplished this with a line in rc.local > (something like, 'echo 1 > /proc/net/ip/forward.or something) > > > The 7.3 server can ping both its cards, the external public address, and the > > next LAN pc (10.11.11.2) - all ok so far. > > > > A problem occurs when I try to ping anything on the 'other' side of the 7.3 > > server from that inside pc: > > > > The pc receives a reply from both the cards of the 7.3. server but > > only "request timed out" when pinging either interfaces of the router. > > Sounds like you need to turn on ip forwarding. In /etc/sysctl.conf, add or > change the line: > > net.ipv4.ip_forward = 1 > > That'll keep it across reboots. Enjoy. > -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list
Re: 7.3 Upgrade, routing problem
I've been having mail problems getting sendmail to work again... so this message wasn't posted to the list (though was sent). Basically the problem was caused by ip forwarding turned off in /etc/sysctl.conf. /j-p. On Thu, 26 Sep 2002, john-paul delaney wrote: > Hello List... > > I've just upgraded a home server from 7.0 to 7.3. It's dual-homed, one side >connecting to the inside LAN (10.11.11.1/24), the other side (192.168.1.2/24) >connecting to an ADSL router on ethernet (internal address 192.168.1.1, and external >public static ip). All working fine before the upgrade. > > The 7.3 server can ping both its cards, the external public address, and the next >LAN pc (10.11.11.2) - all ok so far. > > A problem occurs when I try to ping anything on the 'other' side of the 7.3 server >from that inside pc: > >The pc receives a reply from both the cards of the 7.3. server but >only "request timed out" when pinging either interfaces of the router. > > I momentarily stopped ipchains (I'm very new to this) to see if that was causing the >problem - it still occurred however. > > I feel I've misconfigured the networking of the upgraded server, but am not >surewhich files need to be checked. > > Any help would be appreciated, > > thanks > /j-p. > > > > > > -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list
7.3 Upgrade, routing problem
Hello List... I've just upgraded a home server from 7.0 to 7.3. It's dual-homed, one side connecting to the inside LAN (10.11.11.1/24), the other side (192.168.1.2/24) connecting to an ADSL router on ethernet (internal address 192.168.1.1, and external public static ip). All working fine before the upgrade. The 7.3 server can ping both its cards, the external public address, and the next LAN pc (10.11.11.2) - all ok so far. A problem occurs when I try to ping anything on the 'other' side of the 7.3 server from that inside pc: The pc receives a reply from both the cards of the 7.3. server but only "request timed out" when pinging either interfaces of the router. I momentarily stopped ipchains (I'm very new to this) to see if that was causing the problem - it still occurred however. I feel I've misconfigured the networking of the upgraded server, but am not surewhich files need to be checked. Any help would be appreciated, thanks /j-p. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list
Re: Stuck in INIT: and can't get out of it...
Well spotted ... yes it is a typo, and should be as you suggest.thanks.You reckon I'm looking at a reinstallation then? (eek!)/j-p. juaid <[EMAIL PROTECTED]>wrote: From: john-paul delaney>INIT: cannot execute "/etc/rc.d/init.sysinit"mmhhh, did you misstype this?? tere's no /etc/rc.d/init.sysinit file, but/etc/rc.d/rc.sysinitat least in RH 7.1...>INIT: Id "1" respawning too fast: disabled for 5 minutes@#$%&!!!I have seen this message once, but I can't remember what it was...but I got the idea it was or a problem with the keyboard or with a box witha hard drive that some days later died.. :(but I'm not sure..good luck!!!juan-- redhat-list mailing listunsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribehttps://listman.redhat.com/mailman/listinfo/redhat-listDo You Yahoo!? Yahoo! Finance - Get real-time stock quotes
Stuck in INIT: and can't get out of it...
Hello List... I'm trying this again as I'm pretty desperate. Booting my rh 7.0 machine hangs at INIT:. Running a repair install, I can access the disks, mount partitions and see the files sysinit and rc which appear intact (with root execute attributes). I have a backup of the machine (made with taper). I feel everything is within reach but fail to understand why INIT cannot execute the files. I've searched the web on this but haven't found any definite leads on how to proceed. I'd hate to scratch the machine when it seems the data is accessible... can anyone help? The booting sequence is as follows, and just loops on the cannot execute lines: INIT: version 2.78 booting INIT: cannot execute "/etc/rc.d/init.sysinit" INIT: Entering runlevel: 3 INIT: cannot execute "/etc/rc.d/rc" INIT: Id "1" respawning too fast: disabled for 5 minutes INIT: Id "2" respawni (similar lines up to Id "6") INIT: no more processes left in this runlevel. (The boot sequence previous to the above lines appears to be OK) Thanks for any advice... /j-p.Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes
Re: boot fails: cannot execute /etc/rc.d/rc.sysinit
Thanks Gentlemen... I've downloaded tomsrtbt and was able to mkdir /test mount /dev/hda1 /test I can access all files under /test/etc - e.g. vi rc opens the file rc - which appears to be uncorrupted... the same goes for the file rc.sysinit. As I said, I'm a relative newcomer and I'm stuck not knowing why INIT cannot execute the said files. With fdisk I can print the partition tables on all 3 disks, and diskspace is available on all. Would you kindly have any more advice on how to understand where the problem lies? With much appreciation, /j-p. Knut Ove Hauge <[EMAIL PROTECTED]>wrote: Yes you can type linux rescue from a rescue disk.Then aferwards youare asked to load the system from CD or a HD partition.--- Bret Hughes <[EMAIL PROTECTED]>skrev: > On Sat, 2002-08-24 at06:11, john-paul delaney wrote:> > > > Hello List...> > > > While on holidays my home pc running rh 7.0 suffered some power> outages (due to bad weather). I've now returned to find that the> boot sequence is not completing i.e.> > > > INIT: version 2.78 booting> > > > INIT: cannot execute "/etc/rc.d/init.sysinit"> > > > INIT: Entering runlevel: 3> > > > INIT: cannot execute "/etc/rc.d/rc"> > > > This last one is a real bummer. rc is the mother of the init scripts> that gets run in every runlevel. What I would do ! is boot to either a> rescue cd or linux on a floppy like toms boot disk and look around on> the root partition. depending on what is hosed your easiest path may> be> reinstall. Start with the cd I think you can type linux rescue at> the> prompt I believe. It has been a awhile since I have used the cd but> there should be that option IIRC. > > If I am in error then someone is sure to jump in.> > Bret> > > > > > -- > redhat-list mailing list> unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe> https://listman.redhat.com/mailman/listinfo/redhat-list=Investigating the Norwegain 4.th Secret ServiceThe multiheaded beast.http://hjem.sol.no/altiett/knut_ove_hauge_kuren.htm__Se den nye Yahoo! Mail på http://no.yahoo.com/Nytt design, enkl! ere å bruke, alltid tilgang til Adressebok, Kalender og Notis! bok-- redhat-list mailing listunsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribehttps://listman.redhat.com/mailman/listinfo/redhat-listDo You Yahoo!? Yahoo! Finance - Get real-time stock quotes
System time:root 4hr difference
Hello List... Typing 'date' as a normal user always shows a difference of 4 hours than when the same command is used when logged in as root. Nevertheless, for both the user and root logins, hwclock returns the same time. Even if I set the system time to that of the hardware clock, there's always this divergence of 4 hours (whether I set it as root, or su'ing from the user account and typing /sbin/hwclock --hctosys) I'm presuming some time-difference regional setting problem, but both accounts use CEST time. I've probably messed up some setting trying to understand how the clock works... I'd really appreciate it if someone could help me out to get root and the users back in sync. Thank you, /j-p. --- JUSTATEST Art Online www.justatest.com ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: WARNING /tmp/apache not found.
Michael... Notch up one more grateful newbie on your guru yardstick. thanks /j-p. On Sun, 19 May 2002, Michael Fratoni wrote: > On Sunday 19 May 2002 04:47 pm, john-paul delaney wrote: > > Thanks Michael and Emmanuel... you've taught me something new. > > > > Anyone have an idea how can I prevent tmpwatch removing the > > sub-directory /tmp/apache (at least until I move the apache directory > > to a safer home) but still run on /tmp as normal? > > You could edit /etc/cron.daily/tmpwatch, and change: > /usr/sbin/tmpwatch 240 /tmp > to: > /usr/sbin/tmpwatch 720 /tmp > Which would give you 30 days. > > Or write a quick script to modify the access time on the files you want to > keep. > > #! /bin/sh > for file in /tmp/apache/* ; do > touch -a "$file" > done > exit > > Untested, but something similar should do the trick. Just run it as a cron > job daily and it should keep the atime current enough that tmpwatch will > ignore it. I'm not sure if just touching the apache directory will > protect the contents as well, though it probably should. > > -- > -Michael > > pgp key: http://www.tuxfan.homeip.net:8080/gpgkey.txt > Red Hat Linux 7.2 in 8M of RAM: http://www.rule-project.org/ > -- > > -- > gpg: Warning: using insecure memory! > gpg: Signature made Sun 19 May 2002 03:12:47 PM CEST using DSA key ID 801BFD2B > gpg: Can't check signature: public key not found > -- > --- JUSTATEST Art Online www.justatest.com ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: WARNING /tmp/apache not found.
Thanks Michael and Emmanuel... you've taught me something new. Anyone have an idea how can I prevent tmpwatch removing the sub-directory /tmp/apache (at least until I move the apache directory to a safer home) but still run on /tmp as normal? regards /j-p. On Sun, 19 May 2002, Michael Fratoni wrote: > On Sunday 19 May 2002 11:23 am, Emmanuel Seyman wrote: > > On Sun, May 19, 2002 at 10:59:31AM -0400, Michael Fratoni wrote: > > > Have a look at /etc/cron.daily/tmpwatch. > > > It will remove files in /tmp that have not been accessed in the past > > > 10 days, if I remember correctly. Then again, i haven't had coffee > > > yet this morning. ;) > > > > It's 30 days, actually. Time to get that coffee. :-> > > Looking again, (at least on 7.3 and 7.1) with my coffee in hand ;) > /tmp is 10 days. > /var/tmp is 30, however. (240 and 720 hours, respectively) > [mfratoni@paradox scripts]$ head -2 /etc/cron.daily/tmpwatch > /usr/sbin/tmpwatch 240 /tmp > /usr/sbin/tmpwatch 720 /var/tmp > > -- > -Michael > > pgp key: http://www.tuxfan.homeip.net:8080/gpgkey.txt > Red Hat Linux 7.2 in 8M of RAM: http://www.rule-project.org/ > -- > > -- > gpg: Warning: using insecure memory! > gpg: Signature made Sun 19 May 2002 02:07:17 PM CEST using DSA key ID 801BFD2B > gpg: Can't check signature: public key not found > -- > --- JUSTATEST Art Online www.justatest.com ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Apache:Load mod_status error
Hello List... Running apache1.3.24 on rh7.0. I attempt to dynamically load mod_status: "LoadModule status_module /usr/lib/apache/mod_status.so" but on apachectl I get this error: "Cannot load /usr/lib/apache/mod_status.so into server: undefined symbol: ap_hook_use" Anyone have any experience with this? thanks /j-p. --- JUSTATEST Art Online www.justatest.com ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
WARNING /tmp/apache not found.
Hello list... The backup report on my rh7.0 tells me it cannot find my apache directory (installed on /tmp for bad disk partitioning/space reasons). Granted, I may have inadvertently deleted it myself though not sure of this. Is there a way to find out what happened? I've not found anything relevant in logs. Although I don't know the exact day this happened, the last backup of 6 days ago didn't report the error. I've restored ok but I'm not sure of the reason for this disappearance - which worries me. Any suggestions on how to trap a similar deletion in the future would be appreciated. thanks /j-p. --- JUSTATEST Art Online www.justatest.com ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: SysV Init script:Tomcat
Thanks Bret for your advice... that worked a treat! /j-p. On 2 May 2002, Bret Hughes wrote: > On Thu, 2002-05-02 at 03:02, john-paul delaney wrote: > > Hello List... > > > > I didn't get any reply on this request. If anyone has installed tomcat from rpm, >could you send me (offlist) the initialization script found in /etc/rc.d/init.d/ for >tomcat please? > > > > thanks > > /j-p. > > > > > > If you don't get any response you can DL the rpm and use mc or gmc to > drill into an rpm file and copy the file in question out of the archive > and do with it what you will. > > > Bret > > > > ___ > Redhat-list mailing list > [EMAIL PROTECTED] > https://listman.redhat.com/mailman/listinfo/redhat-list > --- JUSTATEST Art Online www.justatest.com ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: SysV Init script:Tomcat
Hello List... I didn't get any reply on this request. If anyone has installed tomcat from rpm, could you send me (offlist) the initialization script found in /etc/rc.d/init.d/ for tomcat please? thanks /j-p. On Wed, 1 May 2002, john-paul delaney wrote: > > Hello... > > Can anyone help this newbie with an init script for tomcat (4.0.1). I'm using >redhat 7.0 and need to run the following command: >ulimit -s 2048 > before loading tomcat (a jdk1.3 workaround). > I also want to load Tomcat as user tc. > > Right now I'm manually invoking the tomcat startup script after logon (then loading >Apache). My attempts so far at running a script on machine startup have failed. > > thanks for any assistance > /j-p. > > --- > JUSTATEST Art Online > www.justatest.com > > > > > > ___ > Redhat-list mailing list > [EMAIL PROTECTED] > https://listman.redhat.com/mailman/listinfo/redhat-list > --- JUSTATEST Art Online www.justatest.com ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
SysV Init script:Tomcat
Hello... Can anyone help this newbie with an init script for tomcat (4.0.1). I'm using redhat 7.0 and need to run the following command: ulimit -s 2048 before loading tomcat (a jdk1.3 workaround). I also want to load Tomcat as user tc. Right now I'm manually invoking the tomcat startup script after logon (then loading Apache). My attempts so far at running a script on machine startup have failed. thanks for any assistance /j-p. --- JUSTATEST Art Online www.justatest.com ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Setting System time:hwclock --hctosys
Hello... How do I set the system time from the hwclock so that it remains as set, even on logout? hwclock shows the correct time for my central europe location with daylight savings time (CEST). However my system time is running -2 hrs (UTC time I think). The command hwclock --hctosys works but as soon as I logoff, it breaks. How to rectify this? thanks for any help. /j-p. JUSTATEST Art Online www.justatest.com ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Httpd startup failed:execvp missing
Hello List.. Tripwire recently reported that my httpd.conf file was missing. I restored from backup but restarting httpd fails with the error "execvp: no such file or directory" Where would this file normally be found? thanks /j-p. --- JUSTATEST Art Online www.justatest.com ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: Secondary DNS
secondary.com xtremeweb.de zoneedit.com /j-p. On Wed, 27 Feb 2002, Szemerédy Gábor wrote: > Hello! > I need a secondary DNS out of my address space. > Do somebody know such a free service somewhere ? > Thanks > --- JUSTATEST Art Online www.justatest.com ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Vim:Config by FileExt
Hello List... Howto modify .vimrc so that: if FileExtension == htm or html or jsp or php set sts=2 else set sts=3 end if (?) thanks /j-p. --- JUSTATEST Art Online www.justatest.com ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Nu-B\Linuxconf:Changes which files?
Hello List... After my ISP's DNS crash, I used linuxconf to modify my DNS setting. However I'd prefer to do the necessary changes to whichever files are involved - without the use of linuxconf. What file(s) would I normally have to modify for external DNS configuration? A more general Q.: Is there a standard way to know what files are changed by any of the Linuxconf options? thanks /j-p. --- JUSTATEST Art Online www.justatest.com ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
NewBie:.vimrc/.exrc:set sts=3
Hello List... I'm using more & more the vi editor (vim 5?) that comes with my RH7.0. but am finding the :help quite 'pithy' and would appreciate a little advice on this... I just want to set the command :set sts=3 as default How to do this - (or better still, is there an easier document that explains this)? What are the .vimrc and .exrc files? thanks /j-p. --- JUSTATEST Art Online www.justatest.com ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
ulimit in rc3.d?
I want to load tomcat4 as a daemon on bootup of my RH7.0. However, in order to load tc normally, I need to issue the command: ulimit -s 2048 (sets the stack size?) otherwise it fails to load (Sun supplied the suggested workaround). It loads ok manually but not when run in runlevel 3, and I suspect the ulimit command is the problem. Any suggestions to get this working automatically on bootup would be greatly appreciated. thanks /j-p. --- JUSTATEST Art Online www.justatest.com ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: Vi: Replace Word sequence
Cool... the subtle touch. Thanks Lynn. /j-p. On Tue, 5 Feb 2002, Lynne Lawrence wrote: > Note: "P" is nice to insert the word back in front of > something because "yw" yanks a trailing space. --- JUSTATEST Art Online www.justatest.com ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: Vi: Replace Word sequence
Thanks Dave... I don't want to belabour the point.. yet the named buffers allow me to delete the word I want to replace without losing the original yanked word. My problem was that the original yanked entry would be overwritten in memory by the following deletion (yw dw pw -> leaves me with the dw in memory). Remember, I want to replace the word at the cursor with the in-memory one. I had hoped there would be a key-sequence to paste and overwrite a word in one go, nevertheless the named buffer does what I require - it's just, as you infer, a little involved. regards /j-p. On Tue, 5 Feb 2002, Dave Ihnat wrote: > On Tue, Feb 05, 2002 at 11:41:45AM -0100, john-paul delaney wrote: > > Having previously yanked a word, I now want to replace the word at > > the cursor with the one in memory. What's the best way to do this > > substitution? > > Others have mentioned named buffers, but generally for this kind of work > you don't need it. Just 'yw' to yank the word into the unnamed buffer, > and 'pw' to stuff it back. > > Cheers, > --- JUSTATEST Art Online www.justatest.com ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: Vi: Replace Word sequence
On Tue, 5 Feb 2002, Duncan Hill wrote: thanks... for the buffers tip. > cw <- nuke current work (there has to be an easier way) dw ? --- JUSTATEST Art Online www.justatest.com ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: Vi: Replace Word sequencei
Thanks... Sorry I wasn't specific. I'm using the Vi editor in a terminal (not GUI)... without a mouse. regards /j-p. On Tue, 5 Feb 2002, ABrady wrote: > On Tue, 5 Feb 2002 11:41:45 -0100 (GMT+1) > john-paul delaney <[EMAIL PROTECTED]> implied: > > > Newb question... > > > > Having previously yanked a word, I now want to replace the word at the > > cursor with the one in memory. What's the best way to do this > > substitution? > > Using what? > > The most common cut & paste method is highlight a word. Even if you > don't cut it, it's now in memory. Then place the cursor where you wantit > and hit both buttons (2-button mouse) or the middle button (3-button > mouse) and it will be pasted. > > If using KDE or something, there are other variations. So the question > is to broad to give a more definitive answer. > > --- JUSTATEST Art Online www.justatest.com ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Vi: Replace Word sequence
Newb question... Having previously yanked a word, I now want to replace the word at the cursor with the one in memory. What's the best way to do this substitution? thanks /j-p. --- JUSTATEST Art Online www.justatest.com ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
taper: test retore file is 0 K
Hello List... I'm trying out taper (backup prog) 6.9 on RH7.0. I did an initial full backup on two 90m dat and then a test restore of my netscape bookmarks.html file (renamed original file). The program seemed happy enough with finding the file on tape 2, recoginized the correct file size but restored a zero-sized file having the name bookmarks.html -rS--T are the attributes of the 0K file. Restore was performed by root. Can anyone give me some lead on where I'm going wrong? thanks /j-p. - JUSTATEST Art Online. www.justatest.com ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: Howto manually trigger fsck
Yes! That was the question to show me what an idiot I am... I had moved the files mentioned - instead of to a newly partitioned disk /dev/hdc3, to a directory (created by mistake) on the root called hd3. Sorry to have wasted your time gentlemen - but you saved me from making more fatal mistakes while trying to figure this out, and I learned some. I should stick to painting. thanks again /j-p. Quoting Bret Hughes <[EMAIL PROTECTED]>: > > This file is the installer second stage. It is what gets loaded after > a > boot disk tells the machine where to find the installation files. If > your system is running you don't need it. > > Now I am a little confused how there can only be this single file on > /. > > How did you partition your harddrive? chances are at least /lib and > /etc are also on this partition. > > can you send the output of mount? > JUSTATEST Art Online www.justatest.com ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: Howto manually trigger fsck
Thanks, I appreciate your help... I tried the shutdown being the safer (read easier) of the two, the filesystem checked out ok. Therefore I'm left with a full root directory but not knowing what's occupying all that space. I had moved off some directories but still there's no improvement (mc shows 14Mb free space, df shows 0% availability) Can anyone suggest a means of listing what's utilizing the space within the "/" directory? BTW, the rhinstall-stage2.img file is the only one left on "/" - what is it? (the file command says it's the ext2 filesystem) thanks again /j-p. Quoting Nick Wilson <[EMAIL PROTECTED]>: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > I think 'shutdown -rF now' might help. > > * On 20-01-02 at 14:33 > * Duncan Hill said > > > On Sun, 20 Jan 2002, john-paul delaney wrote: > > > > > "Running e2fsck on a mounted filesystem may cause SEVERE filesystem > damage.." > > > > > > Things are bad enough as it is, so I abort the command. > > > However I would like to trigger a manual filesystem check... how can > I do so? > > > > man tune2fs > > > > -- > > > > Sapere aude > > My mind not only wanders, it sometimes leaves completely. > > Never attribute to malice that which can be adequately explained by > stupidity. > > > > > > > > ___ > > Redhat-list mailing list > > [EMAIL PROTECTED] > > https://listman.redhat.com/mailman/listinfo/redhat-list > > - -- > > Nick Wilson > > Tel: +45 3325 0688 > Fax: +45 3325 0677 > Web: www.explodingnet.com > > > > -BEGIN PGP SIGNATURE- > Version: GnuPG v1.0.6 (GNU/Linux) > > iD8DBQE8SstGHpvrrTa6L5oRAi2VAJ4073K5XjOuJFMAgpD3L/4fUn2FqwCfXGs4 > eMR+ePV+HjZoDwjsSbismhc= > =tlh6 > -END PGP SIGNATURE- > > > > ___ > Redhat-list mailing list > [EMAIL PROTECTED] > https://listman.redhat.com/mailman/listinfo/redhat-list > JUSTATEST Art Online www.justatest.com ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Howto manually trigger fsck
Hello List... fsck /dev/hda1 output warns: "Running e2fsck on a mounted filesystem may cause SEVERE filesystem damage.." Things are bad enough as it is, so I abort the command. However I would like to trigger a manual filesystem check... how can I do so? thanks /j-p. JUSTATEST Art Online www.justatest.com ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
"/" ( /dev/hda1 ) Out of diskspace...help!
Hello List... df -h shows that my /dev/hda1 has 0 space availability: Filesystem Size Used Avail Use% Mounted on /dev/hda1 484M 485M 0 100% / However there's only one file left on the root directory (rhinstall-stage2.img: 106MB). I had moved any others off to another partition (though the sum of their size was only 200Mb) I don't understand what's filling up the space? And how do I free it up? Thanks for any assistance... /j-p. JUSTATEST Art Online www.justatest.com ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: newbie: scsi tapedrive
Thanks a bunch guys... I did as suggested and I now get some response from the tape. Is mt recommended for backup operations (it does seems a little cryptic at first)? regards /j-p. >> "... Easy one. >> You don't mount tape drives. >> You reference them as /dev/st devices from memory. >> Or fetch a backup program to handle it for you. ..." Edward Dekkers >> "... Tape drives don't mount, try accessing it with: >> mt -f /dev/st0 status >> mt is part of mt-st-0.6-1.i386.rpm, so ensure you have it installed. >> Then just try something simple such as: >> tar cvzf /dev/st0 /etc >> Then to read it back from the tape: >> tar tvzf /dev/st0 ..." Ray Curtis JUSTATEST Art Online www.justatest.com ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
newbie: scsi tapedrive
Hello List... Trouble-free installation of: 2940 controller and HP35470A tapedrive on P133 [all hand-me-downs]. Both were recognized by the hardware and (already-installed) RH7.0 on next bootup. However, my attempts to mount and access the drive all fail. Trouble-shooting tips please? Thanks, /j-p. JUSTATEST Art Online http://www.justatest.com ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list