compile errors, what am I missing?
I upgraded the kernel from 2.4.18 to 2.4.20-18.7. I used rpm's and everything appeared to go ok. However, whenever I attempt to compile (make) anything, I get these errors. Here I am attempting sslproxy, but it does not matter. Always pthreadtypes and time comes up. I compared these header files with others on my various 2.4.x systems and they appear to be in good shape. Can anyone point me in the right direction here, recompile kernel, missing files, more source needed, bad gcc? /usr/include/bits/pthreadtypes.h:48: parse error before `size_t' /usr/include/bits/pthreadtypes.h:48: warning: no semicolon at end of struct or union /usr/include/bits/pthreadtypes.h:51: parse error before `__stacksize' /usr/include/bits/pthreadtypes.h:51: warning: data definition has no type or storage class /usr/include/bits/pthreadtypes.h:52: warning: data definition has no type or storage class In file included from stdheaders.h:54, from sslproxy.c:14: /usr/include/time.h:179: parse error before `strftime' /usr/include/time.h:179: parse error before `size_t' /usr/include/time.h:181: warning: data definition has no type or storage classIn file included from /usr/include/sys/uio.h:29, from /usr/include/sys/socket.h:27, from stdheaders.h:55, from sslproxy.c:14: /usr/include/bits/uio.h:45: parse error before `size_t' /usr/include/bits/uio.h:45: warning: no semicolon at end of struct or union In file included from /usr/include/sys/socket.h:35, from stdheaders.h:55, from sslproxy.c:14: /usr/include/bits/socket.h:232: parse error before `size_t' /usr/include/bits/socket.h:232: warning: no semicolon at end of struct or union/usr/include/bits/socket.h:239: parse error before `}' /usr/include/bits/socket.h: In function `__cmsg_nxthdr': /usr/include/bits/socket.h:266: `size_t' undeclared (first use in this function)/usr/include/bits/socket.h:266: (Each undeclared identifier is reported only once /usr/include/bits/socket.h:266: for each function it appears in.) /usr/include/bits/socket.h:266: parse error before `__cmsg' /usr/include/bits/socket.h:271: dereferencing pointer to incomplete type /usr/include/bits/socket.h:271: parse error before `~' /usr/include/bits/socket.h:271: parse error before `)' /usr/include/bits/socket.h:272: arithmetic on pointer to an incomplete type /usr/include/bits/socket.h:274: dereferencing pointer to incomplete type /usr/include/bits/socket.h:274: parse error before `~' /usr/include/bits/socket.h:275: parse error before `>' In file included from stdheaders.h:55, from sslproxy.c:14: /usr/include/sys/socket.h: At top level: /usr/include/sys/socket.h:131: parse error before `size_t' /usr/include/sys/socket.h:136: parse error before `size_t' /usr/include/sys/socket.h:141: parse error before `size_t' /usr/include/sys/socket.h:149: parse error before `size_t' In file included from /usr/include/signal.h:322, from /usr/include/sys/wait.h:30, from stdheaders.h:59, from sslproxy.c:14: /usr/include/bits/sigstack.h:54: parse error before `size_t' /usr/include/bits/sigstack.h:54: warning: no semicolon at end of struct or union/usr/include/bits/sigstack.h:55: warning: data definition has no type or storage class later, downsize -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: Expect Tool problem
On Mon, 2003-08-18 at 22:13, anil garrepally wrote: > Hi all, > > I am using "expect" (TCL based) tool to automate some > activities. > By using "autoexpect", automating FTP activity, logging in to > server and getting a file from it and logging out from server. As > you know autoexpect is spawning another subshell for storing all > ftp commands, that part is working fine. > > while using that commands script,which was generated by autoexpect > it is giving problems.with that script, iam able to login and get > that file but after that failing to logout. That is halting at > that stage. > > In the man page of autoexpect, it says that "some scripts ignore > key strokes that arrive quickly", for that we need to enable > "conservative mode". I tried this option and also gave worst case > sleep in between command sendings of expect script. But failed to > "logout". > > If any one came across this problem or any one knows how to handle > this issue,please give me the information. > while expect is a grand tool, this is one area that continues to frustrate me. I think that the solution is in the expect{} statement for that logout portion of the script. I cant remember specifically how I have dealt with that kind of problem, but try adjusting timeout variable prior to the logout expect{}. Also might have expect look for eof. The other possibility is that the session is closed prior to getting to the logout. Also set log_user to 1 to see all the output. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: Port output to serial port on RH9 Disc 1?
Yup. Ive done that. It works great for NFS installs, but when I try to do an install off the local cd, it cant find the install files on the cd. I put the RedHat directory from disc1 on the cd, but it still cant find the files. Any idea what Im doing wrong?Thanks. From: Sean Estabrooks <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: Port output to serial port on RH9 Disc 1? Date: Mon, 18 Aug 2003 21:49:43 -0400 On Mon, 18 Aug 2003 11:47:17 -0700 "p p" <[EMAIL PROTECTED]> wrote: > Hi, Ive been trying to alter the RH9 install disc 1 so it will port the > output to the serial port. I want to be able to do installs from disc 1 > without having to hookup a keyboard, monitor, etc. Ive tried several things, > but cant get it to work right. I am able to create an iso that will do > this, but Im unable to figure out how to change disc 1 to do it. Anyone > have any ideas? Thanks for reading. > Perry, On the redhat installation media you'll find a mountable images/boot.iso which contains a file name isolinux.cfg. You'll need to edit this file appending a console=/dev/ttyS0 (or proper device) onto the end of the text only install. Then you'll have to create a new CD with this updated image. Cheers, Sean -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list _ MSN 8: Get 6 months for $9.95/month http://join.msn.com/?page=dept/dialup -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Expect Tool problem
Hi all, I am using "expect" (TCL based) tool to automate some activities. By using "autoexpect", automating FTP activity, logging in to server and getting a file from it and logging out from server. As you know autoexpect is spawning another subshell for storing all ftp commands, that part is working fine. while using that commands script,which was generated by autoexpect it is giving problems.with that script, iam able to login and get that file but after that failing to logout. That is halting at that stage. In the man page of autoexpect, it says that "some scripts ignore key strokes that arrive quickly", for that we need to enable "conservative mode". I tried this option and also gave worst case sleep in between command sendings of expect script. But failed to "logout". If any one came across this problem or any one knows how to handle this issue,please give me the information. Thanks, Anil kumar.G ___ Meet your old school or college friends from 1 Million + database... Click here to reunite www.batchmates.com/rediff.asp -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: RPM dead?
Not sure what happened, but everything seems to be working fine (knock on wood...). Thxs to all that helped. Anyone have an idea as to what might have caused this? Dont want it to happen again... = -Miguel [EMAIL PROTECTED] __ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: kerberos update failed
* Gordon Messmer <[EMAIL PROTECTED]> [2003-08-18 17:13]: > Marc Adler wrote: > > > > > >Test install failed because of package conflicts: file > >/usr/kerberos/bin/sclient from install of krb5-server-1.2.7-14 conflicts > >with file from package krb5-devel-1.2.7-10 > > > >What's wrong and what should I do to fix the error and perform the > >update successfully? > > krb5-devel needs to be upgrade at the same time as krb5-server. > I think it has already been upgraded - or at least, I don't remember having any trouble updating it. Is there some way I can re-update the whole thing all over again? -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: Bare metal recovery problems
Yes I think AS 2.1 is based on RH 7.2. I have AS 3.0 Beta, perhaps I'll boot that and see if the drivers are there... DSP Bret Hughes wrote: On Mon, 2003-08-18 at 17:12, Douglas Phillipson wrote: Hmm here are the trials and tribulations from someone trying to do this with 6x and or 7x (isn't AS based on 7.x?) http://www.jezndi.org/linuxrec.html does not look good. I would look to toms boot disk and see if the drivers I needed are there. I guess I need to do this too JIC. Bret -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: RPM dead?
Miguel M. wrote: Doh! after like 3 mins I get this error message: error: db4 error(16) from dbenv->remove: Device or resource busy This is a harmless error message. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: RPM dead?
Miguel M. wrote: thxs for the help. Is this process supppose to take a while? Cause think its working but its going on for some time and the __somefile i moved were put back in. That suppose to happen? Yes. --rebuilddb takes a while, and the __db.* files are a normal part of operations. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: RPM dead?
Only process I see is: root 2673 1 0 23:37 ?00:00:08 nautilus --sm-config-prefix /nau tilus-T58KB6/ --sm-client-id 117f0100010610877980029570003 --screen 0 fi le:///var/lib/rpm -- Not sure how to kill this. So I restart the computer and its still there. Im using RH 9 btw. But export LD_ASSUME_KERNEL=2.2.5 did work. So does this mean I have to do that eveytime? is there another way? --- Ian Mortimer <[EMAIL PROTECTED]> wrote: > > Doh! after like 3 mins I get this error message: > > > > error: db4 error(16) from dbenv->remove: Device or > > resource busy > > It would be worth checking for any running rpm > processes: > >ps -ef | grep rpm > > You need to kill them (probably with -KILL if > they're hung). > > When there are no running rpm processes do as > before: rm the > __ lock files and run `rpm -vv --rebuilddb'. > > > > while? Cause think its working but its going on > for > > > some time and the __somefile i moved were put > back > > > in. > > > That suppose to happen? > > Yes. Running with -vv helps because you can tell if > it's > doing something or if it's hung. > > Is this RedHat 8.0 by any chance? > > -- > Ian > > > > -- > redhat-list mailing list > unsubscribe > mailto:[EMAIL PROTECTED] > https://www.redhat.com/mailman/listinfo/redhat-list = -Miguel [EMAIL PROTECTED] __ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: RPM dead?
On Mon, 18 Aug 2003 20:21:31 -0700 (PDT) "Miguel M." <[EMAIL PROTECTED]> wrote: > the kernel version im running is 2.4.20-19.9 and I got > via up2date. still not ready to build my own. Do still > have to do that export thing? > > The export will get it working yes... Cheers, Sean -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: IP traffic figures on PPPoE connection
> > Unbelievable Sean.. absolutely nothing. When I first lol.. don't you just love computers ;o) > My questions now is, is there something out there that > can script any of this so I can total up my bandwidth > usage per day, week, month, etc? > I'm not sure off the top of my head what to recommend, although any ip reporting package should do. Something like mrtg does a nice job but it's overkill for what you want. There's lots of info using the basic ip accounting found via google. One half decent reference is: http://www.faqs.org/docs/linux_network/x-087-2-accounting.html Good luck, Sean -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: RPM dead?
> Doh! after like 3 mins I get this error message: > > error: db4 error(16) from dbenv->remove: Device or > resource busy It would be worth checking for any running rpm processes: ps -ef | grep rpm You need to kill them (probably with -KILL if they're hung). When there are no running rpm processes do as before: rm the __ lock files and run `rpm -vv --rebuilddb'. > > while? Cause think its working but its going on for > > some time and the __somefile i moved were put back > > in. > > That suppose to happen? Yes. Running with -vv helps because you can tell if it's doing something or if it's hung. Is this RedHat 8.0 by any chance? -- Ian -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: RPM dead?
the kernel version im running is 2.4.20-19.9 and I got via up2date. still not ready to build my own. Do still have to do that export thing? --- Sean Estabrooks <[EMAIL PROTECTED]> wrote: > Hi Miguel, > > > Any chance you're running with a custom built > kernel ? > You'll need to update to the latest rpm version if > you have. > Until then use this command each time before you use > rpm: > > export LD_ASSUME_KERNEL=2.2.5 > > > Cheers, > Sean > > > -- > redhat-list mailing list > unsubscribe > mailto:[EMAIL PROTECTED] > https://www.redhat.com/mailman/listinfo/redhat-list = -Miguel [EMAIL PROTECTED] __ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: RPM dead?
On Mon, 18 Aug 2003 20:12:18 -0700 (PDT) "Miguel M." <[EMAIL PROTECTED]> wrote: > Doh! after like 3 mins I get this error message: > > error: db4 error(16) from dbenv->remove: Device or > resource busy > Hi Miguel, Any chance you're running with a custom built kernel ? You'll need to update to the latest rpm version if you have. Until then use this command each time before you use rpm: export LD_ASSUME_KERNEL=2.2.5 Cheers, Sean -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: RPM dead?
Doh! after like 3 mins I get this error message: error: db4 error(16) from dbenv->remove: Device or resource busy ... as always I have no clue... :/ --- "Miguel M." <[EMAIL PROTECTED]> wrote: > thxs for the help. Is this process supppose to take > a > while? Cause think its working but its going on for > some time and the __somefile i moved were put back > in. > That suppose to happen? > > > --- Rilindo Foster <[EMAIL PROTECTED]> wrote: > > You probably have some stale locked files in your > > /var/rpm directory - > > they all start with ___somefilename. mv them to a > > different directory, > > run rpm --rebuilddb and try again. > = -Miguel [EMAIL PROTECTED] __ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: kerberos update failed
Marc Adler wrote: Test install failed because of package conflicts: file /usr/kerberos/bin/sclient from install of krb5-server-1.2.7-14 conflicts with file from package krb5-devel-1.2.7-10 What's wrong and what should I do to fix the error and perform the update successfully? krb5-devel needs to be upgrade at the same time as krb5-server. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: RPM dead?
thxs for the help. Is this process supppose to take a while? Cause think its working but its going on for some time and the __somefile i moved were put back in. That suppose to happen? --- Rilindo Foster <[EMAIL PROTECTED]> wrote: > You probably have some stale locked files in your > /var/rpm directory - > they all start with ___somefilename. mv them to a > different directory, > run rpm --rebuilddb and try again. = -Miguel [EMAIL PROTECTED] __ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: Input/output error
Leseney Thomas wrote: Running any command that requires write access on the disk (touch /tmp/foo for instance) results in " Input/output error". What's "dmesg" say at that point? If you can't run dmesg, look at the "messages" log after you reboot to see if the kernel logged any errors prior to the reboot. My hosting provider claims that it has nothing to do with the server itself and that it is due to a software misuse. A few Linux admins told me that this could be related to a disk hardware or driver problem. Disk errors seems the most likely thing to me. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: RPM dead?
You probably have some stale locked files in your /var/rpm directory - they all start with ___somefilename. mv them to a different directory, run rpm --rebuilddb and try again. On Mon, 2003-08-18 at 22:32, Miguel M. wrote: > I was wondering if there is a way to fix RPM. > > Basically every time I launch an rpm package from an > icon, RH ask for the root password and then while its > processing header files, it just goes away. It > crashes. Same thing when I do it from the terminal. > goes: > > # rpm -Uvh foo.rpm > Processing... > # > > Nothing happens. Oh and also, I use Synaptic(apt-rpm) > most of the times and that also hangs when its in the > installation part. Since I have uninstalled that, Im > guessing the problem has to do with RPM. Any > suggestion? Thxs. > > = > -Miguel > [EMAIL PROTECTED] > > __ > Do you Yahoo!? > Yahoo! SiteBuilder - Free, easy-to-use web site design software > http://sitebuilder.yahoo.com > -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: IP traffic figures on PPPoE connection
> > I have a PPPoE (ADSL) connection on my Red Hat 8.0 > > linux machine. It brings up PPP0, but when trying > to > > monitor this with "pppstats -c99 ppp0" it doesn't > > produce the correct bandwidth usage. > > > > So I'm wondering, how do I total my usage of the > IP > > traffic I use via this PPPoE connection? > > > > Thanks. > > > > Michael. > > > Michael, > > What's wrong with the statistics produced by > pppstats ? > > Sean. Unbelievable Sean.. absolutely nothing. When I first tested this stuff I produced inbound and outbound traffic, plenty of it, and the pppstats program would not shot the traffic.. things like 1k/sec both ways for example. Trying this now, flogging the link both ways, and the traffic is shown?? Go figure... My questions now is, is there something out there that can script any of this so I can total up my bandwidth usage per day, week, month, etc? I haven't fiddled with Linux IP accounting stuff for maybe 7 years, so any new info (or software available which will do it for me) would be appreciated. Thanks. Michael. http://search.yahoo.com.au - Yahoo! Search - Looking for more? Try the new Yahoo! Search -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: Upgrading OpenLDAP on 7.3
Robert Fitzpatrick wrote: What is the best procedure to upgrade OpenLDAP on a RH7.3 server. The rpm package (openldap-2.0.27-2.7.3) is installed now and from my experience, I am trying to remove it before building a new version. However, many dependencies :( Should I go ahead and build with the other version there making prefix /usr? If so, will up2date want to update my openldap sometime or can I just configure not to and not have a problem? If you need some feature of a newer version of OpenLDAP, install it elsewhere (such as /usr/local). This way, the programs which were built against the installed openldap will not be broken, and you can run the newer openldap out of a different directory. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
RPM dead?
I was wondering if there is a way to fix RPM. Basically every time I launch an rpm package from an icon, RH ask for the root password and then while its processing header files, it just goes away. It crashes. Same thing when I do it from the terminal. goes: # rpm -Uvh foo.rpm Processing... # Nothing happens. Oh and also, I use Synaptic(apt-rpm) most of the times and that also hangs when its in the installation part. Since I have uninstalled that, Im guessing the problem has to do with RPM. Any suggestion? Thxs. = -Miguel [EMAIL PROTECTED] __ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: Using PAM for authentication
Jason Williams wrote: Through a little bit of testing, I was able to setup /etc/pam.d/ssh to use LDAP for authentication of users. Since then, my users can SSH to the box and log in correctly. In addition to the resources that have been pointed out, I suggest you look at the "authconfig" application. It almost certainly would have saved you a bunch of time and effort. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: HELP -- Grub on a floppy!
John Aldrich wrote: I recently reinstalled RedHat 9 from scratch. Thinking it would be good to have a boot-floppy, I said "yes" when prompted to make a boot floppy. Now, I realize, that was really asking if I wanted to make a boot floppy INSTEAD of installing GRUB on the /dev/hda. I don't think that's correct. Anaconda asks you where you want to install grub early on. The boot floppy is created after grub is already installed to the hard drive (IIRC). You probably chose to install grub to the first sector of the boot partition, rather than the MBR. Check /boot/grub/grub.conf, the "boot=" line may confirm that (but may not... I've never installed grub anywhere but the MBR). How do I get it to install on /dev/hda? Boot the system up, and: # grub-install /dev/hda -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: questions on /etc/fstab syntax
David Eduardo Gomez Noguera wrote: 1. Cant mount interpret shell variables on fstab? No. I tried to tell it that samba credentials file for a mount are in their home directory, and that the mount point should be there too to no effect. Make smbmnt and smbumount SUID root, and users will be able to mount SMB shares in directories that they own. You don't need to meddle with fstab for this. chmod u+s /usr/bin/smbmnt chmod u+s /usr/bin/smbumount -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: Promise RAID -- MBFastTrak133 Lite
On Sun, 17 Aug 2003 06:36:56 -0700 (PDT) Marcus <[EMAIL PROTECTED]> wrote: > I have a Gigabyte MB with the MBFastTrak133 Lite chipset on it. While I normally > opt for just > using the linux software RAID or LVM, this is the box that I was given to work with. > > Now I can mount the array using the Promise drivers with the original RH 7.3 > kernel but I have > two issues with that. 1. I prefer to update my kernels manually to ensure that > they are running > only what they need. 2. The performance with the Promise drivers seems to fall > short compared to > the linux software RAID on a box of lesser power! > > So, I have been trying to instead of mounting the array just get native access to > the drives > themselves via IDE channels but this document: > http://www.faqs.org/docs/Linux-HOWTO/ATA-RAID-HOWTO.html#DETERMINE while helpful has > not seemed to > do the trick for me. > > For the record here is the info from my /proc/pci file: > > Bus 2, device 10, function 0: > RAID bus controller: PCI device 1095:3112 (CMD Technology Inc) (rev 2). > IRQ 11. > Master Capable. Latency=32. > I/O at 0xa400 [0xa407]. > I/O at 0xa800 [0xa803]. > I/O at 0xac00 [0xac07]. > I/O at 0xb000 [0xb003]. > I/O at 0xb400 [0xb40f]. > Non-prefetchable 32 bit memory at 0xf6024000 [0xf60241ff]. > Bus 2, device 12, function 0: > RAID bus controller: PCI device 105a:5275 (Promise Technology, Inc.) (rev 1). > IRQ 10. > Master Capable. Latency=32. Min Gnt=4.Max Lat=18. > I/O at 0xb800 [0xb807]. > I/O at 0xbc00 [0xbc03]. > I/O at 0xc000 [0xc007]. > I/O at 0xc400 [0xc403]. > I/O at 0xc800 [0xc80f]. > Non-prefetchable 32 bit memory at 0xf602 [0xf6023fff]. > > I'm not opposed to trying the standard kernels FastTrak driver but not only can I > not figure out > which device /dev/d0p0 ?!? to use I have also read in a few other threads that it > might be broken > in 2.4.21 anyway. > > So, does anyone know of any solutions for this or am I stuck with the Promise > binary's? Thanks > in advance. > > --Marcus Marcus, When Linux boots up it will show you all the IDE interfaces it discoveres. If the information scrolls by too quickly you can use the following command after boot: dmesg | more Quoting one example from the excellent link you cited: The two free disks above (hde and hdg) are the ones we would like to setup as RAID 1 to create /dev/ataraid/d0 raid device. Note that we do not have hdf or hdh because that is how we used the IDE/RAID ports on Promise chip. It is not a good idea to connect two hard disks to the same Promise controller IDE port. In the above example, we used Primary Master and Secondary Master connections on the Promise Technology card. So, more than likely /dev/hdc (or maybe /dev/hda) will be the proper choice for your setup. Cheers, Sean -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: RH9 installation on IBM thinkpad R40e problem?
On Mon, 18 Aug 2003 18:39:48 -0700 (PDT) Nguyen Trung Hieu <[EMAIL PROTECTED]> wrote: > I have tried any key that I can [tab], [alt tab], [space] or [enter] , but it > does not work. > Hmmm... sounds like there are problems seeing your keyboard. Try plugging in an external keyboard and see what happens. Good luck, Sean -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: Port output to serial port on RH9 Disc 1?
On Mon, 18 Aug 2003 11:47:17 -0700 "p p" <[EMAIL PROTECTED]> wrote: > Hi, Ive been trying to alter the RH9 install disc 1 so it will port the > output to the serial port. I want to be able to do installs from disc 1 > without having to hookup a keyboard, monitor, etc. Ive tried several things, > but cant get it to work right. I am able to create an iso that will do > this, but Im unable to figure out how to change disc 1 to do it. Anyone > have any ideas? Thanks for reading. > Perry, On the redhat installation media you'll find a mountable images/boot.iso which contains a file name isolinux.cfg. You'll need to edit this file appending a console=/dev/ttyS0 (or proper device) onto the end of the text only install. Then you'll have to create a new CD with this updated image. Cheers, Sean -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: RH9 installation on IBM thinkpad R40e problem?
I have tried any key that I can [tab], [alt tab], [space] or [enter] , but it does not work.Sean Estabrooks <[EMAIL PROTECTED]> wrote: On Mon, 18 Aug 2003 11:12:57 -0700 (PDT)Nguyen Trung Hieu <[EMAIL PROTECTED]>wrote:> Hi all!> > I am trying to install RH9 on my notebook IBM Thinkpad R40e. But, when the testing CD media screen appear I can do nothing. I can not choose OK or skip and my notebook does not work any more. I also try with RH8.0 but the problem is similar.> > Please tell me how to overcome this problem.> > Nguyen,Just from your description it's hard to guess what the problem might be.Did you try using the [TAB] key to select OK or SKIP ?Cheers,Sean-- redhat-list mailing listunsubscribe mailto:[EMAIL PROTECTED]https://www.redhat.com/mailman/listinfo/redhat-listNguyen Trung HieuComputer Science and Information Management(CSIM)Asian Institute of Technology (AIT)12120 Klong Luang, Pathum Thani, ThailandTel: (66) (02) 524-7295Other mail: [EMAIL PROTECTED] Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software
Re: RH9 installation on IBM thinkpad R40e problem?
On Mon, 18 Aug 2003 11:12:57 -0700 (PDT) Nguyen Trung Hieu <[EMAIL PROTECTED]> wrote: > Hi all! > > I am trying to install RH9 on my notebook IBM Thinkpad R40e. But, when the testing > CD media screen appear I can do nothing. I can not choose OK or skip and my notebook > does not work any more. I also try with RH8.0 but the problem is similar. > > Please tell me how to overcome this problem. > > Nguyen, Just from your description it's hard to guess what the problem might be. Did you try using the [TAB] key to select OK or SKIP ? Cheers, Sean -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: Drawing software with formula editor
On Mon, 18 Aug 2003 15:58:54 -0400 "Reuben D. Budiardja" <[EMAIL PROTECTED]> wrote: > > Hello, > A bit OT, but does anyone knows any drawing software that can put mathematical > formula in the drawing? Nothing fancy with the drawing, just some basic > rectangles, lines, poligons stuff (for more like schematics / diagram), and > probably not anything too fancy with math formula either. Right now even, I > just need to be able to put text, subscript and superscript in it. > > I've search and search, and haven't came up with anything. Open office drawing > programs kinda suck, I can even align or have something like "snap to grid" > to properly lay out my drawing, DIA cannot put sub/superscript in text, > Kontour crashed on my too many times and I couldn't find a way to put > sub/superscript. > I would think that something like this should be available. > > It would be nice if it can export the drawing to eps/ps, for insertion to > latex file, or to common raster format: eg JPEG, PNG. > > Thanks for any information. > Hi Reuben, Redhat has kformula which might be good enough for what you want. It can save formulas in .png format. This won't be very convenient because you want to edit the formulas and the graphic but maybe it's good enough to start? Another program to take a look at is the LyX editor. It will let you combine sophisticated formulas and graphics within a a single document. Cheers, Sean -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: Problem With Viewsonic P95F
On Mon, 18 Aug 2003 13:11:02 -0700 "LinuxRocks" <[EMAIL PROTECTED]> wrote: > Hello all, > > I just installed RH 9 on my machine (After running Mandrake 9.1 for sometime > on same hardware). Durin the install, the graphical installer tried to run, > but my monitor came up with the messages H.V OUT OF RANGE.. > > Well, I did the good ol trusty text installer and everything installed fine. > After the install, I configured my X installer and selected the GeForce FX > (Generic) and left it at 128 megs (Dispite the installed 256 on the card. > However, when I rebooted, the GUI tried to start, but the screen is just > black. When I ALT f1 to the console, it seems to be stuck on Firstboot. > > I have a GeForce FX 5600 delux(256 megs ram) and a Viewsonic PF95+ monitor. > > Is there a way to get this to work? > > Thanks In Advance > > Joe > Hi Joe, At this point you'll probably have to boot up into text mode to make the changes you need. Once at a command line try running "XFree86 -configure" With any luck this will generate a working configuration file for you and tell how to test it. There's no need to reboot to test your configuration efforts. after changing your config, type "startx" and you'll get a desktop if you have things correct. Cheers, Sean -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
RE: Moving root partition
Try using parted to move the / to the new drive. It is much easier and very straight forward. First read how to use parted though. > -Original Message- > From: [EMAIL PROTECTED] [mailto:redhat-list- > [EMAIL PROTECTED] On Behalf Of Sean Estabrooks > Sent: Monday, August 18, 2003 7:56 PM > To: [EMAIL PROTECTED] > Subject: Re: Moving root partition > > On Mon, 18 Aug 2003 18:03:49 -0600 > "Christian Fredrickson" <[EMAIL PROTECTED]> wrote: > > > I have a disk drive that required a new driver be compiled on RedHat > 9 in > > order to work. I want to move / to the new drive. I mapped the new > drive as > > /newRoot and used find . -depth -print | cpio -padumV /newRoot to > copy / to > > the new drive. > > > > I edit fstab to mount old root to /newRoot and mount the new drive > as /. I > > reboot and get an error in e2fsck while the partitions are being > checked. > > Are there any steps that I am missing in order to move this > partition? > > > > Chris > > > > > > Hi Christian, > > Shot in the dark here... did you change your root= line > in your boot cmdline to point to the new device? Not sure > it would matter but it's worth a try. > > After making your root copy, unmount the drive and fsck it > _before_ rebooting to see if there are any problems. > > Cheers, > Sean > > P.S. "cp -pax . /newRoot" is another way to make the copy. > > > -- > redhat-list mailing list > unsubscribe mailto:[EMAIL PROTECTED] > https://www.redhat.com/mailman/listinfo/redhat-list -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: IP traffic figures on PPPoE connection
On Tue, 19 Aug 2003 10:23:21 +1000 (EST) Michael Mansour <[EMAIL PROTECTED]> wrote: > Hi, > > I have a PPPoE (ADSL) connection on my Red Hat 8.0 > linux machine. It brings up PPP0, but when trying to > monitor this with "pppstats -c99 ppp0" it doesn't > produce the correct bandwidth usage. > > So I'm wondering, how do I total my usage of the IP > traffic I use via this PPPoE connection? > > Thanks. > > Michael. > > Michael, What's wrong with the statistics produced by pppstats ? Sean. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: Moving root partition
On Mon, 18 Aug 2003 18:03:49 -0600 "Christian Fredrickson" <[EMAIL PROTECTED]> wrote: > I have a disk drive that required a new driver be compiled on RedHat 9 in > order to work. I want to move / to the new drive. I mapped the new drive as > /newRoot and used find . -depth -print | cpio -padumV /newRoot to copy / to > the new drive. > > I edit fstab to mount old root to /newRoot and mount the new drive as /. I > reboot and get an error in e2fsck while the partitions are being checked. > Are there any steps that I am missing in order to move this partition? > > Chris > > Hi Christian, Shot in the dark here... did you change your root= line in your boot cmdline to point to the new device? Not sure it would matter but it's worth a try. After making your root copy, unmount the drive and fsck it _before_ rebooting to see if there are any problems. Cheers, Sean P.S. "cp -pax . /newRoot" is another way to make the copy. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
IP traffic figures on PPPoE connection
Hi, I have a PPPoE (ADSL) connection on my Red Hat 8.0 linux machine. It brings up PPP0, but when trying to monitor this with "pppstats -c99 ppp0" it doesn't produce the correct bandwidth usage. So I'm wondering, how do I total my usage of the IP traffic I use via this PPPoE connection? Thanks. Michael. http://search.yahoo.com.au - Yahoo! Search - Looking for more? Try the new Yahoo! Search -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Moving root partition
I have a disk drive that required a new driver be compiled on RedHat 9 in order to work. I want to move / to the new drive. I mapped the new drive as /newRoot and used find . -depth -print | cpio -padumV /newRoot to copy / to the new drive. I edit fstab to mount old root to /newRoot and mount the new drive as /. I reboot and get an error in e2fsck while the partitions are being checked. Are there any steps that I am missing in order to move this partition? Chris -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: Bare metal recovery problems
On Mon, Aug 18, 2003 at 01:46:28PM -0700, Douglas Phillipson wrote: > How > do those of you running servers do bare metal backup and restore? We generated our own boot CD with the stuff of on it that we need. It's ugly, but it works (had to do it once with RHL 6.2). -- Ed Wilts, Mounds View, MN, USA mailto:[EMAIL PROTECTED] Member #1, Red Hat Community Ambassador Program -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: Shared Disk Cluster
On Mon, Aug 18, 2003 at 04:40:47PM -0400, Devon Harding - GTHLA wrote: > Does anyone have a link on how to setup a shared-disk cluster on Linux? > I'm creating a High Availability FTP server and would like to use a > fiber channel shared disk array setup like Microsoft Cluster Services. MSCS doesn't share disks... That said, Oracle does have a free cluster file system available at http://otn.oracle.com. You may also want to check out http://www.ha-linux.org. You don't really need a shared disk to do high availability - being able to fail over but have only 1 system mount the volume at a time is usually sufficient. -- Ed Wilts, Mounds View, MN, USA mailto:[EMAIL PROTECTED] Member #1, Red Hat Community Ambassador Program -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: Bare metal recovery problems
On Mon, 2003-08-18 at 17:12, Douglas Phillipson wrote: > Hmm here are the trials and tribulations from someone trying to do this with 6x and or 7x (isn't AS based on 7.x?) http://www.jezndi.org/linuxrec.html does not look good. I would look to toms boot disk and see if the drivers I needed are there. I guess I need to do this too JIC. Bret -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: Bare metal recovery problems
On Mon, 2003-08-18 at 17:12, Douglas Phillipson wrote: > > > Bret Hughes wrote: > > On Mon, 2003-08-18 at 15:46, Douglas Phillipson wrote: > > > >>I recently posted a question concerning attaching a DLT tape drive to a > >>Dell 2650 running RH AS 2.1. The eventual solution was to install the > >>OS with the tape drive attached because I couldn't get it to be > >>recognized by adding it after the install. > >> > >>In a related situation I've backed up the server with dump and have a > >>DLT with all the partitions backed up. I then proceeded to rm -r /usr > >>and attempt to restore the /usr partition. (server is not on line yet) > >> I found that when booting the RH AS 2.1 CD and selecting the > >>"recovery" mode, it nicely mounts the partitions for me under > >>/mnt/sysimage but I have no access to the tape drive as the device is > >>missing (/dev/st0). I've tried "insmod st" and "mknod /dev/st0 c 9 0" > >>and I get no errors but the tape device doesn't seem to be there. How > >>do those of you running servers do bare metal backup and restore? > > > > > > I have always reinstalled from cd and then done the restore. Mind you, > > I have never had this happen to a system partition in the wild, only > > during testing. Im my case I now use amanda and use amrestore, ir is it > > amrecover, to actually do the restore. I also have it setup to use tar > > so I am not dump literate. > > > > Having said all this there has to be something that can access the tape: > > > > is the device /dev/st0 really missing? by default, mt and alot of other > > tape utils default to /dev/tape which is symlinked to /dev/st0 on my > > machine. > > > Remember I'm booted on the RH recovery CD so it is a minimul version of > Linux. The tape device is not there, /dev/st? and /dev/tape. a cat of > /proc/scsi/scsi shows the tape on SCSI id 6 but when loading the "st" > module and making the device node nothing happens. The device node gets > made and it is a character device at 9,0 as it is when fully booted in > RH but when accessing it with mt -f /dev/st0 I just get a "No such > device" error. > Ah yes. Never having used the recovery cd I would first look to see if the filesystem that /dev is on can even be written to. what does mount show? If you think that the original / file system is in place then you could probably chroot to the original fs and then be jammin chroot /mnt/sysimage/whatever should do it or use the device that is at /mnt/sysimage/whateveristheroot/dev/st0 as the device try mt -f /mnt/sysimage/whateverisrootfs/dev/st0 status Bret -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: Bare metal recovery problems
Iulian Musat wrote: What exactly is the SCSI controller that you have? adaptec 39160 SCSI card Make sure you have the kernel module for it. I don't know details, but I think the big picture is this: the st modules that controls tapes uses the generic scsi module (scsi_mod) which in turn uses a module that can handle a specific SCSI controller. For example, the aic7xxx module handles many SCSI Adaptec controllers. If this is the case try first: lsmod | grep aic You should see the aic7xxx module and scsi_mod, the generic scsi module that uses it. I see the aic7xxx and scsi_mod modules loaded but when I rmmod any module insmod never loads it again. No error, just won't load it. The tape drive works fine when full up booted in RH AS 2.1, just not when booted in the recovery mode from the CD. I have a issue in with RH on this, I hope they have a solution... Doug P If you have this module, then unload it (rmmod aic7xxx) and then load it again (insmod aic7xxx), watching kernel messages (usually /var/log/messages). You may find clues about what is going on. Also check the wires (do you have a terminator on the SCSI chain?). Cheers, -Iulian Douglas Phillipson wrote: I recently posted a question concerning attaching a DLT tape drive to a Dell 2650 running RH AS 2.1. The eventual solution was to install the OS with the tape drive attached because I couldn't get it to be recognized by adding it after the install. In a related situation I've backed up the server with dump and have a DLT with all the partitions backed up. I then proceeded to rm -r /usr and attempt to restore the /usr partition. (server is not on line yet) I found that when booting the RH AS 2.1 CD and selecting the "recovery" mode, it nicely mounts the partitions for me under /mnt/sysimage but I have no access to the tape drive as the device is missing (/dev/st0). I've tried "insmod st" and "mknod /dev/st0 c 9 0" and I get no errors but the tape device doesn't seem to be there. How do those of you running servers do bare metal backup and restore? I also tried booting a SuSE CD and I can see the tape drive with it but I can't mount the darn partitions with "mount -t ext3 /dev/sda7 /mnt" The device is there but it says "not a proper block device". I've also tried "timos", a nice version of Linux for recovery purposes and it recognizes the RAID and SCSI controllers and the DLT tape but consistantly hangs during the boot process so I never get a command prompt. I can't seem to get there from here... Any help is greatly appreciated. Perplexed Doug P -- Douglas Phillipson Internet Consultant 702-295-8872 [EMAIL PROTECTED] Stop worrying about Microsoft peeking into your computer's data. Install GNU/Linux for a secure, highly stable Operating System. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: Bare metal recovery problems
What exactly is the SCSI controller that you have? Make sure you have the kernel module for it. I don't know details, but I think the big picture is this: the st modules that controls tapes uses the generic scsi module (scsi_mod) which in turn uses a module that can handle a specific SCSI controller. For example, the aic7xxx module handles many SCSI Adaptec controllers. If this is the case try first: lsmod | grep aic You should see the aic7xxx module and scsi_mod, the generic scsi module that uses it. If you have this module, then unload it (rmmod aic7xxx) and then load it again (insmod aic7xxx), watching kernel messages (usually /var/log/messages). You may find clues about what is going on. Also check the wires (do you have a terminator on the SCSI chain?). Cheers, -Iulian Douglas Phillipson wrote: I recently posted a question concerning attaching a DLT tape drive to a Dell 2650 running RH AS 2.1. The eventual solution was to install the OS with the tape drive attached because I couldn't get it to be recognized by adding it after the install. In a related situation I've backed up the server with dump and have a DLT with all the partitions backed up. I then proceeded to rm -r /usr and attempt to restore the /usr partition. (server is not on line yet) I found that when booting the RH AS 2.1 CD and selecting the "recovery" mode, it nicely mounts the partitions for me under /mnt/sysimage but I have no access to the tape drive as the device is missing (/dev/st0). I've tried "insmod st" and "mknod /dev/st0 c 9 0" and I get no errors but the tape device doesn't seem to be there. How do those of you running servers do bare metal backup and restore? I also tried booting a SuSE CD and I can see the tape drive with it but I can't mount the darn partitions with "mount -t ext3 /dev/sda7 /mnt" The device is there but it says "not a proper block device". I've also tried "timos", a nice version of Linux for recovery purposes and it recognizes the RAID and SCSI controllers and the DLT tape but consistantly hangs during the boot process so I never get a command prompt. I can't seem to get there from here... Any help is greatly appreciated. Perplexed Doug P -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: Bare metal recovery problems
Bret Hughes wrote: On Mon, 2003-08-18 at 15:46, Douglas Phillipson wrote: I recently posted a question concerning attaching a DLT tape drive to a Dell 2650 running RH AS 2.1. The eventual solution was to install the OS with the tape drive attached because I couldn't get it to be recognized by adding it after the install. In a related situation I've backed up the server with dump and have a DLT with all the partitions backed up. I then proceeded to rm -r /usr and attempt to restore the /usr partition. (server is not on line yet) I found that when booting the RH AS 2.1 CD and selecting the "recovery" mode, it nicely mounts the partitions for me under /mnt/sysimage but I have no access to the tape drive as the device is missing (/dev/st0). I've tried "insmod st" and "mknod /dev/st0 c 9 0" and I get no errors but the tape device doesn't seem to be there. How do those of you running servers do bare metal backup and restore? I have always reinstalled from cd and then done the restore. Mind you, I have never had this happen to a system partition in the wild, only during testing. Im my case I now use amanda and use amrestore, ir is it amrecover, to actually do the restore. I also have it setup to use tar so I am not dump literate. Having said all this there has to be something that can access the tape: is the device /dev/st0 really missing? by default, mt and alot of other tape utils default to /dev/tape which is symlinked to /dev/st0 on my machine. Remember I'm booted on the RH recovery CD so it is a minimul version of Linux. The tape device is not there, /dev/st? and /dev/tape. a cat of /proc/scsi/scsi shows the tape on SCSI id 6 but when loading the "st" module and making the device node nothing happens. The device node gets made and it is a character device at 9,0 as it is when fully booted in RH but when accessing it with mt -f /dev/st0 I just get a "No such device" error. [EMAIL PROTECTED] bhughes]$ ll /dev/tape lrwxrwxrwx1 root root8 Oct 25 2002 /dev/tape -> /dev/st0 [EMAIL PROTECTED] bhughes]$ ll /dev/st0 crw-rw1 root disk 9, 0 Apr 11 2002 /dev/st0 [EMAIL PROTECTED] bhughes]$ My /var/log/dmesg has the following : Dmesg shows a "DLT1" device of the SCSI bus but there is no reference to a tape device. scsi0 : sym53c8xx-1.7.3c-20010512 scsi1 : sym53c8xx-1.7.3c-20010512 blk: queue c3692618, I/O limit 4095Mb (mask 0x) Vendor: DEC Model: DLT2000 15/30 GB Rev: 840B and later: st: Version 20030406, bufsize 32768, max init. bufs 4, s/g segs 16 Attached scsi tape st0 at scsi1, channel 0, id 6, lun 0 [EMAIL PROTECTED] root]# mt status mt status shows "no such device" SCSI 2 tape drive: File number=0, block number=1, partition=0. Tape block size 0 bytes. Density code 0x19 (DLT 10GB). Soft error count since last status=0 General status bits on (101): ONLINE IM_REP_EN What do you get? Bret I also tried booting a SuSE CD and I can see the tape drive with it but I can't mount the darn partitions with "mount -t ext3 /dev/sda7 /mnt" The device is there but it says "not a proper block device". I've also tried "timos", a nice version of Linux for recovery purposes and it recognizes the RAID and SCSI controllers and the DLT tape but consistantly hangs during the boot process so I never get a command prompt. I can't seem to get there from here... Any help is greatly appreciated. Perplexed Doug P -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list -- Douglas Phillipson Internet Consultant 702-295-8872 [EMAIL PROTECTED] Stop worrying about Microsoft peeking into your computer's data. Install GNU/Linux for a secure, highly stable Operating System. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: Bare metal recovery problems
On Mon, 2003-08-18 at 15:46, Douglas Phillipson wrote: > I recently posted a question concerning attaching a DLT tape drive to a > Dell 2650 running RH AS 2.1. The eventual solution was to install the > OS with the tape drive attached because I couldn't get it to be > recognized by adding it after the install. > > In a related situation I've backed up the server with dump and have a > DLT with all the partitions backed up. I then proceeded to rm -r /usr > and attempt to restore the /usr partition. (server is not on line yet) > I found that when booting the RH AS 2.1 CD and selecting the > "recovery" mode, it nicely mounts the partitions for me under > /mnt/sysimage but I have no access to the tape drive as the device is > missing (/dev/st0). I've tried "insmod st" and "mknod /dev/st0 c 9 0" > and I get no errors but the tape device doesn't seem to be there. How > do those of you running servers do bare metal backup and restore? I have always reinstalled from cd and then done the restore. Mind you, I have never had this happen to a system partition in the wild, only during testing. Im my case I now use amanda and use amrestore, ir is it amrecover, to actually do the restore. I also have it setup to use tar so I am not dump literate. Having said all this there has to be something that can access the tape: is the device /dev/st0 really missing? by default, mt and alot of other tape utils default to /dev/tape which is symlinked to /dev/st0 on my machine. [EMAIL PROTECTED] bhughes]$ ll /dev/tape lrwxrwxrwx1 root root8 Oct 25 2002 /dev/tape -> /dev/st0 [EMAIL PROTECTED] bhughes]$ ll /dev/st0 crw-rw1 root disk 9, 0 Apr 11 2002 /dev/st0 [EMAIL PROTECTED] bhughes]$ My /var/log/dmesg has the following : scsi0 : sym53c8xx-1.7.3c-20010512 scsi1 : sym53c8xx-1.7.3c-20010512 blk: queue c3692618, I/O limit 4095Mb (mask 0x) Vendor: DEC Model: DLT2000 15/30 GB Rev: 840B and later: st: Version 20030406, bufsize 32768, max init. bufs 4, s/g segs 16 Attached scsi tape st0 at scsi1, channel 0, id 6, lun 0 [EMAIL PROTECTED] root]# mt status SCSI 2 tape drive: File number=0, block number=1, partition=0. Tape block size 0 bytes. Density code 0x19 (DLT 10GB). Soft error count since last status=0 General status bits on (101): ONLINE IM_REP_EN What do you get? Bret > > I also tried booting a SuSE CD and I can see the tape drive with it but > I can't mount the darn partitions with "mount -t ext3 /dev/sda7 /mnt" > The device is there but it says "not a proper block device". I've also > tried "timos", a nice version of Linux for recovery purposes and it > recognizes the RAID and SCSI controllers and the DLT tape but > consistantly hangs during the boot process so I never get a command > prompt. > > I can't seem to get there from here... Any help is greatly appreciated. > > Perplexed > > Doug P > > > -- > redhat-list mailing list > unsubscribe mailto:[EMAIL PROTECTED] > https://www.redhat.com/mailman/listinfo/redhat-list -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: PERL issues
On Mon, 2003-08-18 at 15:00, Mark Haney wrote: > I'm having all kinds of issues just getting a simple web clock to work > on my web server. It's in PERL, I've followed the directions, but I'm > getting no output. It's a simple server-side include. I've got it in > Dreamweaver, yet it doesn't work. I have a PERL form mailer that works > fine. Anyone got ideas on where to look for the problem? A perl mailing list and/or forum? Sheesh. FWIW, I frequent Perlmonks (http://www.perlmonks.org). Great resource for Perl programmers. -- Jason Dixon, RHCE DixonGroup Consulting http://www.dixongroup.net -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Bare metal recovery problems
I recently posted a question concerning attaching a DLT tape drive to a Dell 2650 running RH AS 2.1. The eventual solution was to install the OS with the tape drive attached because I couldn't get it to be recognized by adding it after the install. In a related situation I've backed up the server with dump and have a DLT with all the partitions backed up. I then proceeded to rm -r /usr and attempt to restore the /usr partition. (server is not on line yet) I found that when booting the RH AS 2.1 CD and selecting the "recovery" mode, it nicely mounts the partitions for me under /mnt/sysimage but I have no access to the tape drive as the device is missing (/dev/st0). I've tried "insmod st" and "mknod /dev/st0 c 9 0" and I get no errors but the tape device doesn't seem to be there. How do those of you running servers do bare metal backup and restore? I also tried booting a SuSE CD and I can see the tape drive with it but I can't mount the darn partitions with "mount -t ext3 /dev/sda7 /mnt" The device is there but it says "not a proper block device". I've also tried "timos", a nice version of Linux for recovery purposes and it recognizes the RAID and SCSI controllers and the DLT tape but consistantly hangs during the boot process so I never get a command prompt. I can't seem to get there from here... Any help is greatly appreciated. Perplexed Doug P -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
RE: Which ftp?
At 03:07 PM 8/18/2003 -0400, you wrote: -Original Message- From: Devon Harding - GTHLA Sent: Monday, August 18, 2003 10:49 AM To: [EMAIL PROTECTED] Subject: Which ftp? I am considering an FTP server that will authenticate via AD, Radius, or LDAP. I've narrowed it down to PureFTP (http://pureftpd.org/index.shtml) and ProFTPD (http://www.proftpd.org) Which one should I use? I've used both, but not with any of those authentication systems. I currently use PureFTPd because I found it easier to configure for my needs. Mark McKibben [EMAIL PROTECTED] http://www.avalon.net/~manzabar ICQ# 8476502 May there always be work for your hands to do; may your purse always hold a coin or two; may the sun always shine on your windowpane; may a rainbow be certain to follow each rain; may the hand of a friend always be near you; may God fill your heart with gladness to cheer you. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Shared Disk Cluster
Does anyone have a link on how to setup a shared-disk cluster on Linux? I'm creating a High Availability FTP server and would like to use a fiber channel shared disk array setup like Microsoft Cluster Services. _ Devon Harding System Administrator Gilat Latin America 954-858-1600 [EMAIL PROTECTED] This e-mail is intended for the above named addressee(s), and may contain information which is confidential or privileged. If you are not the intended recipient, please inform us immediately: you should not copy or use this e-mail for any purpose nor disclose its contents to any person. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
RE: Which ftp?
I don't use it in that manner, but I do use ProFTP and love it; for what it's worth. <> -- Original Message --- From: "Devon Harding - GTHLA" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Mon, 18 Aug 2003 15:07:06 -0400 Subject: RE: Which ftp? > Anyone? > > -Original Message- > From: Devon Harding - GTHLA > Sent: Monday, August 18, 2003 10:49 AM > To: [EMAIL PROTECTED] > Subject: Which ftp? > > I am considering an FTP server that will authenticate via AD, Radius, > or LDAP. I've narrowed it down to PureFTP > (http://pureftpd.org/index.shtml) and ProFTPD > (http://www.proftpd.org) > > Which one should I use? > > _ > Devon Harding > System Administrator > Gilat Latin America > 954-858-1600 > [EMAIL PROTECTED] > > This e-mail is intended for the above named addressee(s), and may > contain information which is confidential or privileged. If you are not > the intended recipient, please inform us immediately: you should not > copy or use this e-mail for any purpose nor disclose its contents to > any person. > > -- > redhat-list mailing list > unsubscribe mailto:[EMAIL PROTECTED] > https://www.redhat.com/mailman/listinfo/redhat-list > > -- > redhat-list mailing list > unsubscribe mailto:[EMAIL PROTECTED] > https://www.redhat.com/mailman/listinfo/redhat-list --- End of Original Message --- -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
kerberos update failed
Googling for help, I found one message previously posted to this list regarding the following error message when updating kerberos (using up2date): Test install failed because of package conflicts: file /usr/kerberos/bin/sclient from install of krb5-server-1.2.7-14 conflicts with file from package krb5-devel-1.2.7-10 I couldn't find any replies to it, though. My other system didn't have any problem with the update. What's wrong and what should I do to fix the error and perform the update successfully? -- Marc Adler Honolulu, Hawaii I said uh hip, hop, uh hip it, uh hip it to the hip hip hop uh you don't stop the rockin to the bang-bang boogey said up jumped the boogey to the rhythm of the boogety beat. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Drawing software with formula editor
Hello, A bit OT, but does anyone knows any drawing software that can put mathematical formula in the drawing? Nothing fancy with the drawing, just some basic rectangles, lines, poligons stuff (for more like schematics / diagram), and probably not anything too fancy with math formula either. Right now even, I just need to be able to put text, subscript and superscript in it. I've search and search, and haven't came up with anything. Open office drawing programs kinda suck, I can even align or have something like "snap to grid" to properly lay out my drawing, DIA cannot put sub/superscript in text, Kontour crashed on my too many times and I couldn't find a way to put sub/superscript. I would think that something like this should be available. It would be nice if it can export the drawing to eps/ps, for insertion to latex file, or to common raster format: eg JPEG, PNG. Thanks for any information. RDB -- Reuben D. Budiardja Department of Physics and Astronomy The University of Tennessee, Knoxville, TN - /"\ ASCII Ribbon Campaign against HTML \ / email and proprietary format X attachments. / \ - Have you been used by Microsoft today? Choose your life. Choose freedom. Choose LINUX. - -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Problem With Viewsonic P95F
Hello all, I just installed RH 9 on my machine (After running Mandrake 9.1 for sometime on same hardware). Durin the install, the graphical installer tried to run, but my monitor came up with the messages H.V OUT OF RANGE.. Well, I did the good ol trusty text installer and everything installed fine. After the install, I configured my X installer and selected the GeForce FX (Generic) and left it at 128 megs (Dispite the installed 256 on the card. However, when I rebooted, the GUI tried to start, but the screen is just black. When I ALT f1 to the console, it seems to be stuck on Firstboot. I have a GeForce FX 5600 delux(256 megs ram) and a Viewsonic PF95+ monitor. Is there a way to get this to work? Thanks In Advance Joe _ Message sent using WebMail | Power by Magic Winmail Server 3.0 -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: Installing GRUB over NTLDR help (solved)
Alternativaly, you can run the grub-install script and point it directly to th "/dev" reference of the hard-disk. In Example, if you want to install grub into the MBR of the "/dev/hda" disk, type te following command: "grub-install /dev/hda" WARN: This command requires the grub tree files under the "/boot" dir. On Mon, 2003-08-18 at 11:16, Marc Boorshtein wrote: Hate to reply to my own post, but I found the problem. I didn't realize that grub-install was segfaulting. I had to use mkbootdisk to create a boot disk which I use to boot into linux, where I ran grub-install '(hd0)' which fixed everything. Marc On Mon, 2003-08-18 at 09:08, Marc Boorshtein wrote: > Hello, > > I tried installing w2k3 server on a second hardrive on my laptop. The > install failed, but it installed NTLDR over grub. I used the RH9 cd as > a rescue cd, chrooted to /mnt/sysimage and ran grub-isntall '(hd1,1)', > but it didn't seem to work. I tried booting to a win98 disk and trying > format /mbr, but that didn't work. Am I missing something? > > thanks > Marc Boorshtein > > -- > Marc Boorshtein <[EMAIL PROTECTED]> -- Marc Boorshtein <[EMAIL PROTECTED]>
RE: Which ftp?
Anyone? -Original Message- From: Devon Harding - GTHLA Sent: Monday, August 18, 2003 10:49 AM To: [EMAIL PROTECTED] Subject: Which ftp? I am considering an FTP server that will authenticate via AD, Radius, or LDAP. I've narrowed it down to PureFTP (http://pureftpd.org/index.shtml) and ProFTPD (http://www.proftpd.org) Which one should I use? _ Devon Harding System Administrator Gilat Latin America 954-858-1600 [EMAIL PROTECTED] This e-mail is intended for the above named addressee(s), and may contain information which is confidential or privileged. If you are not the intended recipient, please inform us immediately: you should not copy or use this e-mail for any purpose nor disclose its contents to any person. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
PERL issues
I'm having all kinds of issues just getting a simple web clock to work on my web server. It's in PERL, I've followed the directions, but I'm getting no output. It's a simple server-side include. I've got it in Dreamweaver, yet it doesn't work. I have a PERL form mailer that works fine. Anyone got ideas on where to look for the problem? Jesus is coming - look busy! Mark Haney Polk County Schools IT Staff/Technical Guru http://www.polk.k12.nc.us -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Port output to serial port on RH9 Disc 1?
Hi, Ive been trying to alter the RH9 install disc 1 so it will port the output to the serial port. I want to be able to do installs from disc 1 without having to hookup a keyboard, monitor, etc. Ive tried several things, but cant get it to work right. I am able to create an iso that will do this, but Im unable to figure out how to change disc 1 to do it. Anyone have any ideas? Thanks for reading. _ The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: Failed Prints from Mozilla
It could be a Mozilla bug. Try printing to a file and using your Postscript Viewer to view the file. Jon On Mon, 18 Aug 2003 [EMAIL PROTECTED] wrote: > I see this problem infrequently from RH8, and quite often from RH9. > I will print an article from Mozilla, only to find that the item > did not print in my postscript printer (HP4M+). > > On RH8 the failure is always in the printer, on RH9 (with CUPS) it > is often the 'lpr' process that fails, as if its looking at the generated > Postscript, and fails when it gets the error. > > So, anyone (everyone?) else seeing this too (with Postscript printers?). > Any solutions? > > Here is the output from the most recent failure (a CNN article on > the West Nile Virus) > > --- > (after having put a few marks on the page, titles at the top and bottom, > a couple of small pictures, I get: > > > ERROR: undefinedresult > OFFENDING COMMAND: colorimage > > STACK: > > 3 > false > (currentfile rowdata readhexstring pop } > [5 0 0 5 0 0 ] > 8 > 5 > 5 > > --- > > This is getting to be a pain, so any solution would be appreciated. > > -- > Reg.Clemens > [EMAIL PROTECTED] > > > > -- > redhat-list mailing list > unsubscribe mailto:[EMAIL PROTECTED] > https://www.redhat.com/mailman/listinfo/redhat-list > -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Failed Prints from Mozilla
I see this problem infrequently from RH8, and quite often from RH9. I will print an article from Mozilla, only to find that the item did not print in my postscript printer (HP4M+). On RH8 the failure is always in the printer, on RH9 (with CUPS) it is often the 'lpr' process that fails, as if its looking at the generated Postscript, and fails when it gets the error. So, anyone (everyone?) else seeing this too (with Postscript printers?). Any solutions? Here is the output from the most recent failure (a CNN article on the West Nile Virus) --- (after having put a few marks on the page, titles at the top and bottom, a couple of small pictures, I get: ERROR: undefinedresult OFFENDING COMMAND: colorimage STACK: 3 false (currentfile rowdata readhexstring pop } [5 0 0 5 0 0 ] 8 5 5 --- This is getting to be a pain, so any solution would be appreciated. -- Reg.Clemens [EMAIL PROTECTED] -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
RH9 installation on IBM thinkpad R40e problem?
Hi all! I am trying to install RH9 on my notebook IBM Thinkpad R40e. But, when the testing CD media screen appear I can do nothing. I can not choose OK or skip and my notebook does not work any more. I also try with RH8.0 but the problem is similar. Please tell me how to overcome this problem. Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software
Re: problems with up2date
That was it! Thank you! (if you only knew how long I'd been fighting with this - can't believe the answer was so easy) Sean Estabrooks wrote: On Mon, 18 Aug 2003 12:01:34 -0500 Dana Holland <[EMAIL PROTECTED]> wrote: On one of my servers, up2date won't go into the GUI mode - it will only function at the command line level. I can't seem to figure out how to change that behavior. Any tips? Hi Dana, Make sure you have the up2date-gnome rpm package installed. Cheers, Sean -- Dana Holland[EMAIL PROTECTED] 903-875-7355 Navarro CollegeCorsicana, TX http://www.navarrocollege.edu/staff_pages/dana/dana.html All opinions stated are my own, and probably don't even vaguely resemble those of Navarro College. :) -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: problems with up2date
On Mon, 18 Aug 2003 12:01:34 -0500 Dana Holland <[EMAIL PROTECTED]> wrote: > On one of my servers, up2date won't go into the GUI mode - it will only > function at the command line level. I can't seem to figure out how to > change that behavior. Any tips? > Hi Dana, Make sure you have the up2date-gnome rpm package installed. Cheers, Sean -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
errors on oracle install. (Grinberg, Hari)
Are you "Su'ing" to the "oracle" id and then trying to run the program? This is where I have seen this error. It has to do with your DISPLAY setting. Be sure to log into the system as "oracle" (or whomever is going to own the Oracle distribution). Do not "su". Hope this helps. If not, let me know. -Jim -- Original Message --- Message: 1 Subject: errors on oracle install. Date: Sun, 17 Aug 2003 19:08:40 +0300 From: "Grinberg, Hari" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] Hi Everyone, I am trying to start the oracle runinstall and I get this error need help. initializing Java Virtual Machine from ../stage/Components/oracle.swd.jre/1.1.8/1/DataFiles/Expanded/linux/bin/jre. Please wait... Xlib: connection to ":0.0" refused by server Xlib: Client is not authorized to connect to Server java.lang.InternalError: Can't connect to X11 window server using ':0' as the value of the DISPLAY variable. at sun.awt.motif.MToolkit.(MToolkit.java:63) at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:394) at oracle.sysman.oii.oiif.oiifm.OiifmSplashScreen.getImage(OiifmSplashScreen.java:67) at oracle.sysman.oii.oiif.oiifm.OiifmSplashScreen.(OiifmSplashScreen.java:45) at oracle.sysman.oii.oiic.OiicInstaller.main(OiicInstaller.java:418) any clue ? Hari Grinberg System Eng' - Projects Platform Engineering Project Delivery - Jerusalem Phone: + 972 (0)2 5894748 Mobile: +972 (0) 55 664748 Fax: +972 (0) 2 5894725 *** Information contained in this email message is intended only for use of the individual or entity named above. If the reader of this message is not the intended recipient, or the employee or agent responsible to deliver it to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please immediately notify the [EMAIL PROTECTED] and destroy the original message. *** -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: Iptables Help Needed
On Mon, 18 Aug 2003, Simran Hansrai wrote: > Hi Guys, > > I am trying to forward port 8080 on my redhat 8.0 box to port 80 on my > solaris box and I have done the following so far: > > and issued the following command: > > iptables -A PREROUTING -t nat -p tcp -d 192.168.0.7 --dport 8080 -j > DNAT --to 192.168.0.5:80 > > [EMAIL PROTECTED] root]# iptables -L > Chain INPUT (policy ACCEPT) > target prot opt source destination > > Chain FORWARD (policy DROP) > target prot opt source destination > > Chain OUTPUT (policy ACCEPT) > target prot opt source destination > > Any ideas what I am doing wrong? I don't have any other Iptable rules.. The traffic is still being dropped by the FORWARD chain. Try addinf iptables -A FORWARD -p tcp -d 192.168.0.5 --dport 80 -j ACCEPT -- Kind regards, Andre -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
problems with up2date
On one of my servers, up2date won't go into the GUI mode - it will only function at the command line level. I can't seem to figure out how to change that behavior. Any tips? -- Dana Holland[EMAIL PROTECTED] 903-875-7355 Navarro CollegeCorsicana, TX http://www.navarrocollege.edu/staff_pages/dana/dana.html All opinions stated are my own, and probably don't even vaguely resemble those of Navarro College. :) -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: Input/output error
On Mon, 18 Aug 2003 16:55:26 +0200 Leseney Thomas <[EMAIL PROTECTED]> wrote: > Hello, > > I rent a dedicated server (running RH 8.0) and every now and then, I > get this error on bash command line. > > Running any command that requires write access on the disk (touch > /tmp/foo for instance) results in " Input/output error". The only way > I've found so far to get back to normal operation is to hard reboot > the machine. After the reboot, the system works fine for a > day/week/month and the same problem occurs again. > > My hosting provider claims that it has nothing to do with the server > itself and that it is due to a software misuse. A few Linux admins > told me that this could be related to a disk hardware or driver problem. > > I did not find any definitive documentation on that and I'm a bit at a loss about > what to do... > Any thoughts about this problem ? > > Thanks a lot, > > Tom > > Tom, As a first step towards solving this you need to run a manual fsck against your filesystem to see if there is anything wrong with it. Some filesystem corruption may be triggering the problem you're seeing. I'm pretty sure other people have seen the exact same problem as you. Cheers, Sean -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: wireless USB adapter drivers
On Mon, 2003-08-18 at 10:58, Timothy Stone wrote: > > http://atmelwlandriver.sourceforge.net/howto/howto.html > > > > Yeah, just as soon as I posted I found this. I think too that I was > seeking experiences, not just posting to have someone else do the work. Thus, I forwarded you the URL of someone who a) has experience using this device, and b) has written up a HOWTO to assist you in your setup. What specific "experiences" were you looking for? > Thanks! HTH. -- Jason Dixon, RHCE DixonGroup Consulting http://www.dixongroup.net -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: Iptables Help Needed
On Mon, 2003-08-18 at 09:45, Simran Hansrai wrote: > Hi Guys, > > I am trying to forward port 8080 on my redhat 8.0 box to port 80 on my > solaris box and I have done the following so far: > > Made sure that I have a "1" in my /proc/sys/net/ipv4/ip_forward file > > and issued the following command: > > iptables -A PREROUTING -t nat -p tcp -d 192.168.0.7 --dport 8080 -j > DNAT --to 192.168.0.5:80 > > I have made sure that apache is running on 192.168.0.5:80 by directly access > the site. But when I try and access it through: http://192.168.0.7:8080 I > am unable to bring anything up. Assuming your clients are on the same network segment, this won't work without also performing SNAT. By default, your routing tables dictate that all local LAN traffic gets sent directly, rather than through the default route. This means that any return traffic from the server to the client will be sent straight back to the client, rather than through the "forwarder" box. As far as your client goes, it's expecting to see a SYN/ACK return packet from 192.168.0.7, not 192.168.0.5. ## Example traffic: Client (192.168.0.10) sends packet to 192.168.0.7:8080 (source 192.168.0.10:, destination 192.168.0.7:8080) RedHat box forwards packet (DNAT) to Solaris server (source 192.168.0.10:, destination 192.168.0.5:80) Solaris box receives packet, sends response to Client (source 192.168.0.5:80, destination 192.168.0.10:) ## The Client is going to see the packet and drop it. Here's what you want to happen: Client (192.168.0.10) sends packet to 192.168.0.7:8080 (source 192.168.0.10:, destination 192.168.0.7:8080) RedHat box forwards packet (DNAT & SNAT) to Solaris server (source 192.168.0.7:, destination 192.168.0.5:80) Solaris box receives packet, sends response to Client (source 192.168.0.5:80, destination 192.168.0.7:) Redhat box reverses translation (DNAT & SNAT), forwards packet to Client (source 192.168.0.7:8080, destination 192.168.0.10:) Hope this makes sense. I run into this situation routinely, this is what some refer to as "reflection". Your forwarder keeps state while storing the DNAT/SNAT information in the translation tables. -- Jason Dixon, RHCE DixonGroup Consulting http://www.dixongroup.net -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: wireless USB adapter drivers
http://atmelwlandriver.sourceforge.net/howto/howto.html Yeah, just as soon as I posted I found this. I think too that I was seeking experiences, not just posting to have someone else do the work. Thanks! Tim -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Input/output error
Hello, I rent a dedicated server (running RH 8.0) and every now and then, I get this error on bash command line. Running any command that requires write access on the disk (touch /tmp/foo for instance) results in " Input/output error". The only way I've found so far to get back to normal operation is to hard reboot the machine. After the reboot, the system works fine for a day/week/month and the same problem occurs again. My hosting provider claims that it has nothing to do with the server itself and that it is due to a software misuse. A few Linux admins told me that this could be related to a disk hardware or driver problem. I did not find any definitive documentation on that and I'm a bit at a loss about what to do... Any thoughts about this problem ? Thanks a lot, Tom -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: Iptables Help Needed
On Mon, 18 Aug 2003 06:45:03 -0700 "Simran Hansrai" <[EMAIL PROTECTED]> wrote: > Hi Guys, > > I am trying to forward port 8080 on my redhat 8.0 box to port 80 on my > solaris box and I have done the following so far: > > Made sure that I have a "1" in my /proc/sys/net/ipv4/ip_forward file > > and issued the following command: > > iptables -A PREROUTING -t nat -p tcp -d 192.168.0.7 --dport 8080 -j > DNAT --to 192.168.0.5:80 > > I have made sure that apache is running on 192.168.0.5:80 by directly access > the site. But when I try and access it through: http://192.168.0.7:8080 I > am unable to bring anything up. > > [EMAIL PROTECTED] root]# iptables -L > Chain INPUT (policy ACCEPT) > target prot opt source destination > > Chain FORWARD (policy DROP) > target prot opt source destination > > Chain OUTPUT (policy ACCEPT) > target prot opt source destination > [EMAIL PROTECTED] root]# > > Perhaps: iptables -P FORWARD ACCEPT Cheers, Sean -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: RH9 and memory leak ?
A little more info would be helpful. How about ps -e -opid,comm,pcpu,vsz,user,group and ps afx Also, check your syslog. Jon On Mon, 18 Aug 2003, Cedric MARSOT wrote: > Hi, > > I have installed a RH9 box on a Dual XEON 3Ghz, with 1GB of memory and two 36GB > RAID 1 SCSI hard drive. > > The kernel is 2.4.20-19.9smp > > I have a big problem. I have today only one local sendmail running, and mrtg. > Afer one week, I have a little message on the console: > > (CRON) error (can't fork) > (CRON) error (can't fork) > > > I watched with SAR what happened ... and I saw that there was not enough > memory > If I do a TOP, or PS, all processes are eating in total something like 1% of > memory Very strange. > > Anyone had this problem ? > Do I need to compile a new kernel ? > > > -- > Cedric > > > > > -- > redhat-list mailing list > unsubscribe mailto:[EMAIL PROTECTED] > https://www.redhat.com/mailman/listinfo/redhat-list > -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: Iptables Help Needed
On Mon, 2003-08-18 at 14:45, Simran Hansrai wrote: > Hi Guys, > > I am trying to forward port 8080 on my redhat 8.0 box to port 80 on my > solaris box and I have done the following so far: > > Made sure that I have a "1" in my /proc/sys/net/ipv4/ip_forward file > > and issued the following command: > > iptables -A PREROUTING -t nat -p tcp -d 192.168.0.7 --dport 8080 -j > DNAT --to 192.168.0.5:80 That should work - it is the same rule I use here for portforwarding to my webserver. Perhaps your problem may be that the internal and external addresses are on the same network? - that would make it rather difficult to determine who was on which side of the firewall. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Which ftp?
I am considering an FTP server that will authenticate via AD, Radius, or LDAP. I've narrowed it down to PureFTP (http://pureftpd.org/index.shtml) and ProFTPD (http://www.proftpd.org) Which one should I use? _ Devon Harding System Administrator Gilat Latin America 954-858-1600 [EMAIL PROTECTED] This e-mail is intended for the above named addressee(s), and may contain information which is confidential or privileged. If you are not the intended recipient, please inform us immediately: you should not copy or use this e-mail for any purpose nor disclose its contents to any person. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: wireless USB adapter drivers
On Mon, 2003-08-18 at 10:23, Timothy Stone wrote: > I recently added a Netgear wireless router to my home network (Mac OS > X). Since routers tend to have a common denominator, getting it to work > with my Mac OS X/Linux mixed network was a piece of cake. > > The router kit came with a "free" wireless USB adapter (Netgear MA 101). > Netgear has no information on getting this to work with Linux/Mac OS > X/Unix. It's a wireless NIC. Just in a USB housing. > > Anybody out there with experience on Linux with wireless NICs in USB > housings? A simple google of "netgear ma101 linux" resulted in the following: http://atmelwlandriver.sourceforge.net/howto/howto.html -- Jason Dixon, RHCE DixonGroup Consulting http://www.dixongroup.net -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: Installing GRUB over NTLDR help (solved)
Hate to reply to my own post, but I found the problem. I didn't realize that grub-install was segfaulting. I had to use mkbootdisk to create a boot disk which I use to boot into linux, where I ran grub-install '(hd0)' which fixed everything. Marc On Mon, 2003-08-18 at 09:08, Marc Boorshtein wrote: > Hello, > > I tried installing w2k3 server on a second hardrive on my laptop. The > install failed, but it installed NTLDR over grub. I used the RH9 cd as > a rescue cd, chrooted to /mnt/sysimage and ran grub-isntall '(hd1,1)', > but it didn't seem to work. I tried booting to a win98 disk and trying > format /mbr, but that didn't work. Am I missing something? > > thanks > Marc Boorshtein > > -- > Marc Boorshtein <[EMAIL PROTECTED]> -- Marc Boorshtein <[EMAIL PROTECTED]> -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
wireless USB adapter drivers
I recently added a Netgear wireless router to my home network (Mac OS X). Since routers tend to have a common denominator, getting it to work with my Mac OS X/Linux mixed network was a piece of cake. The router kit came with a "free" wireless USB adapter (Netgear MA 101). Netgear has no information on getting this to work with Linux/Mac OS X/Unix. It's a wireless NIC. Just in a USB housing. Anybody out there with experience on Linux with wireless NICs in USB housings? Thanks in advance, Tim -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: Remote message domain resolution??
> Some of you display astonishing ingenuity at finding solutions to the > most arcane problems. > > Our RT314 log is routed to one machine and prints to "messages" with the > "r"option. Using a tail I can get an idea of what's going on. It would > really help if I could get domain name resolution. > > Before I resort to trying to write a script to parse the data, I thought > I would see if I might be overlooking a simpler solution. > > Any ideas? Thanks. I'm not sure I understand your problem but here it goes: "man syslogd" shows -x Disable name lookups when receiving remote messages. If your syslog is not resolving IPs to names, could it be running with -x flag ? Also check your /etc/sysconfig/syslog. Hope this helps Goncalo -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Iptables Help Needed
Hi Guys, I am trying to forward port 8080 on my redhat 8.0 box to port 80 on my solaris box and I have done the following so far: Made sure that I have a "1" in my /proc/sys/net/ipv4/ip_forward file and issued the following command: iptables -A PREROUTING -t nat -p tcp -d 192.168.0.7 --dport 8080 -j DNAT --to 192.168.0.5:80 I have made sure that apache is running on 192.168.0.5:80 by directly access the site. But when I try and access it through: http://192.168.0.7:8080 I am unable to bring anything up. [EMAIL PROTECTED] root]# iptables -L Chain INPUT (policy ACCEPT) target prot opt source destination Chain FORWARD (policy DROP) target prot opt source destination Chain OUTPUT (policy ACCEPT) target prot opt source destination [EMAIL PROTECTED] root]# Any ideas what I am doing wrong? I don't have any other Iptable rules.. Thanks in advance for your suggestions. -Simran H. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
RE: errors on oracle install.(solved)
Jason, You are right it is not sufficient to run "su - user" Thanks Hari -Original Message- From: Jason Dixon [mailto:[EMAIL PROTECTED] Sent: Sunday, August 17, 2003 7:13 PM To: [EMAIL PROTECTED] Subject: Re: errors on oracle install. On Sun, 2003-08-17 at 12:08, Grinberg, Hari wrote: > Hi Everyone, > > I am trying to start the oracle runinstall and I get this error need help. > > initializing Java Virtual Machine from ../stage/Components/oracle.swd.jre/1.1.8/1/DataFiles/Expanded/linux/bin/ jre. Please wait... > Xlib: connection to ":0.0" refused by server > Xlib: Client is not authorized to connect to Server > java.lang.InternalError: Can't connect to X11 window server using ':0' as the value of the DISPLAY variable. > at sun.awt.motif.MToolkit.(MToolkit.java:63) > at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:394) > at oracle.sysman.oii.oiif.oiifm.OiifmSplashScreen.getImage(OiifmSplashScree n.java:67) > at oracle.sysman.oii.oiif.oiifm.OiifmSplashScreen.(OiifmSplashScreen. java:45) > at oracle.sysman.oii.oiic.OiicInstaller.main(OiicInstaller.java:418) > > any clue ? Looks like you're trying to run the installer as a different user than the one you logged in as. I suggest you ssh to the remote machine as the user you intend to run the program as (oracle?). This will forward X connectiosn automagically. -- Jason Dixon, RHCE DixonGroup Consulting http://www.dixongroup.net -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list *** Information contained in this email message is intended only for use of the individual or entity named above. If the reader of this message is not the intended recipient, or the employee or agent responsible to deliver it to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please immediately notify the [EMAIL PROTECTED] and destroy the original message. *** -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Installing GRUB over NTLDR help
Hello, I tried installing w2k3 server on a second hardrive on my laptop. The install failed, but it installed NTLDR over grub. I used the RH9 cd as a rescue cd, chrooted to /mnt/sysimage and ran grub-isntall '(hd1,1)', but it didn't seem to work. I tried booting to a win98 disk and trying format /mbr, but that didn't work. Am I missing something? thanks Marc Boorshtein -- Marc Boorshtein <[EMAIL PROTECTED]> -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Xwindows freezes (computer) after non-root Gnome login
Hi, Don't know what I've done this time. In the last day or so, whenever I login as non-root at the redhat (9) login prompt, Gnome starts to load for about a second or two but then everything freezes (including mouse) before even the redhat splash screen comes up. This problem does not happen when I login as root, neither does it happen (bizarely enough) when I login as root, logout again and then login as non-root. So basically it only appears to happen if I try to login as non-root straight after booting or restarting the computer. I had a look in the XFree86 logs, and at the bottom I'm noticing a line: AUDIT: Mon Aug 18 13:22:29 2003: 1310 X: client 4 rejected from local host which might be related. Anybody have ideas or maybe a procedure for diagnosing the problem (new to linux and very clueless) cheers Stu C -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: Remote message domain resolution??
On Mon, 2003-08-18 at 08:36, Ed Wilts wrote: > On Mon, Aug 18, 2003 at 08:05:03AM -0400, David Hart wrote: > > Some of you display astonishing ingenuity at finding solutions to the > > most arcane problems. > > > > Our RT314 log is routed to one machine and prints to "messages" with the > > "r"option. Using a tail I can get an idea of what's going on. It would > > really help if I could get domain name resolution. > > > > Before I resort to trying to write a script to parse the data, I thought > > I would see if I might be overlooking a simpler solution. > > Utilities like analog have a similar problem - the logged data is > typically in numeric form and you want a domain name. I run dnstran on > my system which runs through the log and does the dns translations and > caches the results for analog. dnstran runs hourly (I think) and does a > nice job. You might be able to use a similar approach for your log > file. In fact, if you can get the RT314 output to a separate file, > tools like analog might be able to process it for you. > Thanks. Logwatch actually has a separate RT314 mod but the format is terrible (it would be easier to start from scratch). One of these days there will be a default format for these log files. Until then . . . -- Total Quality Management - A Commitment to Excellence Email acceptance policy: http://www.TQMcube.com/email_policy.html -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
RH9 and memory leak ?
Hi, I have installed a RH9 box on a Dual XEON 3Ghz, with 1GB of memory and two 36GB RAID 1 SCSI hard drive. The kernel is 2.4.20-19.9smp I have a big problem. I have today only one local sendmail running, and mrtg. Afer one week, I have a little message on the console: (CRON) error (can't fork) (CRON) error (can't fork) I watched with SAR what happened ... and I saw that there was not enough memory If I do a TOP, or PS, all processes are eating in total something like 1% of memory Very strange. Anyone had this problem ? Do I need to compile a new kernel ? -- Cedric -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: Remote message domain resolution??
On Mon, Aug 18, 2003 at 08:05:03AM -0400, David Hart wrote: > Some of you display astonishing ingenuity at finding solutions to the > most arcane problems. > > Our RT314 log is routed to one machine and prints to "messages" with the > "r"option. Using a tail I can get an idea of what's going on. It would > really help if I could get domain name resolution. > > Before I resort to trying to write a script to parse the data, I thought > I would see if I might be overlooking a simpler solution. Utilities like analog have a similar problem - the logged data is typically in numeric form and you want a domain name. I run dnstran on my system which runs through the log and does the dns translations and caches the results for analog. dnstran runs hourly (I think) and does a nice job. You might be able to use a similar approach for your log file. In fact, if you can get the RT314 output to a separate file, tools like analog might be able to process it for you. .../Ed -- Ed Wilts, Mounds View, MN, USA mailto:[EMAIL PROTECTED] Member #1, Red Hat Community Ambassador Program -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Remote message domain resolution??
Some of you display astonishing ingenuity at finding solutions to the most arcane problems. Our RT314 log is routed to one machine and prints to "messages" with the "r"option. Using a tail I can get an idea of what's going on. It would really help if I could get domain name resolution. Before I resort to trying to write a script to parse the data, I thought I would see if I might be overlooking a simpler solution. Any ideas? Thanks. -- Total Quality Management - A Commitment to Excellence Email acceptance policy: http://www.TQMcube.com/email_policy.html -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
RE: as 2.1 list
Ed, Thanks for your reply. -- Marvin Blackburn Systems Administrator Glen Raven "He's no failure. He's not dead yet" --William Lloyd George > > There is one for the taroon beta (RHEL 3) but not for 2.1. Right now, > there's only the Enterprise-watch-list but that's not for general > discussion. > > -- > Ed Wilts, Mounds View, MN, USA > mailto:[EMAIL PROTECTED] > Member #1, Red Hat Community Ambassador Program > > > -- > redhat-list mailing list > unsubscribe mailto:[EMAIL PROTECTED] > https://www.redhat.com/mailman/listinfo/redhat-list -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: problem with user saving to floppy
On Fri, 2003-08-15 at 18:22, Lorenzo Prince wrote: > HELP! I am having a problem trying to allow a user to save to the floppy drive in > Gnome. I was already logged into the > machine (RH9), and the other user couldn't mount the drive, as I owned the device. > So I edited /etc/fstab and changed > the "owner" option on the floppy to "user" and the other user was then allowed to > mount the drive. However, once the > drive was mounted by the other user, files could not be saved to it. Checking the > directory listing showed that the > floppy mount point was owned by the user who mounted it and that the user had write > permission as well as access > permission for the mount point. It also showed write permission for all files that > were already on the floppy disk. > However we got an error message stating that the floppy mount point was write > protected whenever the user who mounted it > tried to save a file on it. This problem occurred both in AbiWord and one other > prog, but I don't remember which one > was used. Also, it seems that AbiWord also refused to save the file to the user's > home directory, but the other program > did allow us to save the file in the home dir. Can someone tell me where the > problem may be and how I can fix it? > > Thanks, > Lorenzo Prince > happy Shrike user ;) > Use the "rw" option at the floppy mount options in the /etc/fstab file. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list