nfs question
Hello list, I've set up a nfs server, and I was having a problem when booting the system. I was getting the following message: rpc.nfsd: nfssvc: Address already in use Well, I found out the problem. My server is a nfs server but also a nfs client (through netfs). Redhat setup application made boot service order like that: 1) nfslock 2) netfs 3) nfs Starting nfslock and after netfs makes nfs 2049 port unavailable. So I forced netfs to be started after netfs and the problem was solved. Does anyone knows why that happens? Is my solution the best one? Why redhat setup application does not put the correct boot order in this case? Thanks, Joao. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
UTF-8
Hello all, I've asked before and had no answer. So, here I go again. I just want to change my default LANG environment environment from pt_BR.UTF-8 to pt_BR. I've tried changing /etc/sysconfig/i18n and it worked for the text mode consoles, but it didn't work for applications on X, like xterm, etc. Can anyone help me? Thanks, Joao. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
changing default locale
Hello all, I just want to change my default LANG environment environment from pt_BR.UTF-8 to just pt_BR. I've tried changing /etc/sysconfig/i18n and it worked for the text mode terminals, but it didn't work out on X. Can anyone help me? Thanks, Joao. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
apache RewriteRule
Hello all, I'm not being able to implement a RewriteRule in apache and would like some help of you. I want all access to files in a specific directory to be done through a php script. For example, if the users access doc/node1.html, I want it to be changed to doc/script.php?fileName=node1.html I've tried many things and got no success. Sometimes I god bad request error. On others the browser seemed to be in loop. First, I thought it was going to be something like: Alias /docs "/home/http/docs/" RewriteEngine On RewriteRule ^(.*)$ script.php?fileName=$1 But I was wrong. I got an error like: "The requested URL /home/http/docs/script.php was not found on this server." Without the rewrite rule I can access the script with no problems. I would really appreciate any help. Thanks, Joao. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: hibernate
I'm using RH 7.3, kernel 2.4.18-26.7.x. But it seems not to suport full hibernate: from man apmd I got: suspend [ system | user ] Invoked when the APM driver reports that system suspension has been initiated. The second parame ter indicates whether the BIOS or a user action (such as closing a laptop) initiated suspension. The BIOS "suspend" mode aggressively conserves power, and normally involves shutting off power to all devices except the CPU core and memory, which is kept in a very low power mode. Most laptops can stay suspended, using battery power alone, for sev eral days. ("Hibernation" is a kind of super-sus pend, where all that state is written to disk and the machine uses even less power bcause it can turn off that CPU core, using no battery power at all. here==> At this writing, Linux does not support hiberna tion.) PCMCIA devices should be manually suspended using cardctl(8), and some modular drivers may need to be unloaded. But this writing is from Jun 1999. So, now it may work. But how do I invoke it from bash? João. Em Sex, 2003-05-30 às 10:54, Ben Russo escreveu: > João Borsoi Soares wrote: > > >Is it possible to hibernate linux as in windows? It would be very nice > >to have all my application back exactly as before shutdown. > > > >Joao. > > > > > Yes, read about apmd > > -Ben. > > > > -- > 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
hibernate
Is it possible to hibernate linux as in windows? It would be very nice to have all my application back exactly as before shutdown. Joao. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: sendmail anti-spam feature...
Em Sex, 2003-02-14 às 18:05, Gordon Messmer escreveu: > On Fri, 2003-02-14 at 11:06, João Borsoi Soares wrote: > > Em Sex, 2003-02-14 às 14:29, Gordon Messmer escreveu: > > > > > > Email addresses don't belong in /etc/mail/access. You need to put his > > > IP address there with the RELAY option, and run 'make' in /etc/mail. > > > > Sorry, but I think it's possible to use email based rules in > > /etc/mail/access. I was already doing it to enable my clientes to relay > > e-mails: > > > > From:[EMAIL PROTECTED]RELAY > > You still have FEATURE(`relay_mail_from') defined, right? Right. Here is my sendmail.mc: divert(-1) include(`/usr/share/sendmail-cf/m4/cf.m4') VERSIONID(`linux setup for Red Hat Linux')dnl OSTYPE(`linux') define(`confDEF_USER_ID',``8:12'')dnl undefine(`UUCP_RELAY')dnl undefine(`BITNET_RELAY')dnl define(`confAUTO_REBUILD')dnl define(`confTO_CONNECT', `1m')dnl define(`confTRY_NULL_MX_LIST',true)dnl define(`confDONT_PROBE_INTERFACES',true)dnl define(`PROCMAIL_MAILER_PATH',`/usr/bin/procmail')dnl define(`ALIAS_FILE', `/etc/aliases')dnl define(`UUCP_MAILER_MAX', `200')dnl define(`confUSERDB_SPEC', `/etc/mail/userdb.db')dnl define(`confPRIVACY_FLAGS',`authwarnings,novrfy,noexpn,restrictqrun')dnl define(`confAUTH_OPTIONS', `A')dnl FEATURE(`no_default_msa',`dnl')dnl FEATURE(`smrsh',`/usr/sbin/smrsh')dnl FEATURE(`mailertable',`hash -o /etc/mail/mailertable.db')dnl FEATURE(`virtusertable',`hash -o /etc/mail/virtusertable.db')dnl FEATURE(`genericstable', `hash -o /etc/mail/genericstable.db')dnl GENERICS_DOMAIN_FILE(`/etc/mail/generics-domains')dnl FEATURE(redirect)dnl FEATURE(always_add_domain)dnl FEATURE(use_cw_file)dnl FEATURE(use_ct_file)dnl FEATURE(local_procmail,`',`procmail -t -Y -a $h -d $u')dnl FEATURE(`access_db',`hash -o /etc/mail/access.db')dnl FEATURE(`blacklist_recipients')dnl EXPOSED_USER(`root')dnl dnl FEATURE(`accept_unresolvable_domains')dnl FEATURE(`relay_mail_from')dnl FEATURE(dnsbl,`relays.osirusoft.com')dnl dnl FEATURE(`relay_based_on_MX')dnl MAILER(smtp)dnl MAILER(procmail)dnl Cmydomain.com Joao. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list
Re: sendmail anti-spam feature...
> >Email addresses don't belong in /etc/mail/access. You need to put his > >IP address there with the RELAY option, and run 'make' in /etc/mail. > > > > The client is on dynamic IP - he'll need to relay the netblock of the ISPs > dialup lines, which as there is a (supposedly) active spammer in > that netblock would probably not be a Good Thing, imho. Ho hum. Exactly, that's why I wanned to use the From:e-mails rule... Joao. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list
Re: sendmail anti-spam feature...
Em Sex, 2003-02-14 às 14:29, Gordon Messmer escreveu: > On Fri, 2003-02-14 at 06:13, João Borsoi Soares wrote: > > I want to use an anti-spam feature in my sendmail. I tried: > > > > FEATURE(dnsbl,`relays.osirusoft.com')dnl > > > > and it works fine. The problem is that one of my clients are in the > > blackhole list, but he is not a spammer. > ... > > I already have his email at /etc/mail/access, and > > he still get blocked. > > > Email addresses don't belong in /etc/mail/access. You need to put his > IP address there with the RELAY option, and run 'make' in /etc/mail. > Sorry, but I think it's possible to use email based rules in /etc/mail/access. I was already doing it to enable my clientes to relay e-mails: From:[EMAIL PROTECTED]RELAY My clients started to get blocked after the dnsbl feature. What's the difference between RELAY and OK? Thanks. Joao. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list
sendmail anti-spam feature...
Hello list. I want to use an anti-spam feature in my sendmail. I tried: FEATURE(dnsbl,`relays.osirusoft.com')dnl and it works fine. The problem is that one of my clients are in the blackhole list, but he is not a spammer. Actually it is a problem with his ISP. He uses dynamic IP. I wonder if there is some how to relay my client based on his e-mail address, not considering the anti-spam feature only for him. I already have his email at /etc/mail/access, and he still get blocked. Thanks a lot. Joao. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list
latex2html and user access control
Hello list, I'm using latex to create my online documents, and I want to control user access to it. I only know how to do it through an server script, as php... but latex2html creates hyperlinks direct to the html nodes... Any ideas? Anyone does something similar to it? Thanks, Joao. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list
RE: java IDE...
First of all thanks for the answer. Is it free to use for developing? Thanks. Em Qui, 2003-01-23 às 14:46, Rigler, S C (Steve) escreveu: > I've been using Forte 4 Java by Sun. > > -Steve > > -Original Message- > From: João Borsoi Soares [mailto:[EMAIL PROTECTED]] > Sent: Thursday, January 23, 2003 10:30 AM > To: [EMAIL PROTECTED] > Subject: java IDE... > > > Does anyone have good suggestions for a java IDE? > > Thanks a lot, > Joao. > > > > > > -- > redhat-list mailing list > unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe > https://listman.redhat.com/mailman/listinfo/redhat-list > > > > -- > redhat-list mailing list > unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe > https://listman.redhat.com/mailman/listinfo/redhat-list -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list
java IDE...
Does anyone have good suggestions for a java IDE? Thanks a lot, Joao. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list
solved! RE: http download/open files..
You did help. I could find all I needed there. Thanks a lot. Joao. Em Ter, 2003-01-07 às 14:53, Daily, Shane, CTR escreveu: > Just a guess but it looks as though you may have to write your own "headers" > in PHP. > Check http://www.php.net and search on headers. Lot's of good php info > there. > > Sorry I couldn't help more > > > Shane > > -Original Message- > From: João Borsoi Soares [mailto:[EMAIL PROTECTED]] > Sent: Monday, January 06, 2003 5:26 PM > To: [EMAIL PROTECTED] > Subject: RE: http download/open files.. > > > > Em Seg, 2003-01-06 às 19:02, Daily, Shane, CTR escreveu: > > There is no way to FORCE a browser to download a file (security). It will > / > > should always ask first if the mime type is unknown to itself. > > > > Maybe if you could provide more details on what EXACTLY you're trying to > > accomplish. > > I want to make a link for my user to download a pdf file. But I don't > want the browser to open it, just download it. > > Take a look at the following link: > > http://www.rau-tu.unicamp.br/nou-rau/sbu/document/list.php?tid=3 > > You can see the user may choose to open or download a pdf file. That's > what I want to do. :-) > > Thanks, > Joao. > > > > -- > redhat-list mailing list > unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe > https://listman.redhat.com/mailman/listinfo/redhat-list > > > > -- > redhat-list mailing list > unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe > https://listman.redhat.com/mailman/listinfo/redhat-list -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list
RE: http download/open files..
Em Seg, 2003-01-06 às 19:02, Daily, Shane, CTR escreveu: > There is no way to FORCE a browser to download a file (security). It will / > should always ask first if the mime type is unknown to itself. > > Maybe if you could provide more details on what EXACTLY you're trying to > accomplish. I want to make a link for my user to download a pdf file. But I don't want the browser to open it, just download it. Take a look at the following link: http://www.rau-tu.unicamp.br/nou-rau/sbu/document/list.php?tid=3 You can see the user may choose to open or download a pdf file. That's what I want to do. :-) Thanks, Joao. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list
RE: http download/open files..
OK. But, I want to make a link where the mime type is not considered, to force download. Do you know how to do it? Em Seg, 2003-01-06 às 17:29, Daily, Shane, CTR escreveu: > Whether or not the file is opened or downloaded depends on the browser MIME > settings. For example... If I have MS Office installed on my machine (and > I'm browsing with Internet Exploder) and I click on a Word document from > your web site, chances are the word document will open in the browser. I can > bypass this by using the right-click and selecting "save target as". I also > believe you can use the shift-key while clicking the link with a Mozilla > based browser. The browser will typically download a file if it isn't > "aware" of the type of file you click. You may want to read more about MIME > Types. > > Hope that helps. > > > Shane > > -Original Message- > From: João Borsoi Soares [mailto:[EMAIL PROTECTED]] > Sent: Monday, January 06, 2003 12:12 PM > To: [EMAIL PROTECTED] > Subject: http download/open files.. > > > Hello, > > Sorry if it's out of topic, but I don't know where I can find an > answere. I'm developing a site in PHP and I need to make links to open > AND download documents. Does anyone knows how can I tell the browser > whether to download or open the files? Or maybe somelinks where I can > find it. > > Thanks, > Joao. > > > > > > -- > redhat-list mailing list > unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe > https://listman.redhat.com/mailman/listinfo/redhat-list > > > > -- > redhat-list mailing list > unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe > https://listman.redhat.com/mailman/listinfo/redhat-list -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list
http download/open files..
Hello, Sorry if it's out of topic, but I don't know where I can find an answere. I'm developing a site in PHP and I need to make links to open AND download documents. Does anyone knows how can I tell the browser whether to download or open the files? Or maybe somelinks where I can find it. Thanks, Joao. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list
Re: changing /dev/cdrom
Irvine, Em Seg, 2002-12-09 às 09:10, Irvine Russell escreveu: > Have read the linux CD-Writing HOWTO. I have pasted some of it below: > >http://wt.xpilot.org/publications/linux/howtos/cd-writing/html/CD-Writing-2.html Yes I've read. And I could write CDs normally. Even after boot. I'm having problems only with the link /dev/cdrom, which doesn't affect cdrecord. In the same document you've mentioned, it's written just bellow your paste: "If your CD-writer is the only CD-ROM attached to your machine, then remember you have to access the CD-ROM in the writer through the device file /dev/scd× where ×=0,..,8. You may want to change the symbolic name cdrom to point to the new device file name. The listing below shows the command to achieve this with the example scd0. cd /dev && rm cdrom && ln -s scd0 cdrom" That's my problem! I can change the link /dev/cdrom to /dev/scd0 but at boot, it gets back to /dev/hdd, which is not used anymore. Thanks again, Joao. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list
changing /dev/cdrom
I've successfully installed my cd-writer and now my cdrom is at /dev/scd0. I manually changed /dev/cdrom but at boot it is changed back to /dev/hdd. How can I keep my change? I think there is something to do with MAKEDEV and /etc/makedev.d/ directory, but I couldn't find out what I should change. Thanks, Joao. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list
up2date & masquerade
I'm having troubles to use rhn_register and up2date behind an iptables masquerade firewall. I'm receiving SSL connect errors. But I can normally log to SSL servers with the browser. Can anyone help me? Is it possible to use it like that? Thanks, Joao. ___ Yahoo! PageBuilder O super editor para criação de sites: é grátis, fácil e rápido. http://br.geocities.yahoo.com/v/pb.html -- redhat-list mailing list Unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list
RE: PHP Vulnerability
My RH7.3 has PHP version 4.1.2-7. In the php.net it tells that PHP versions 4.2.0 and 4.2.1 have the vunarability. Are you shure we have to do the patch? Joao. --- Anthony Abby <[EMAIL PROTECTED]> escreveu: > Yes it does and yes there is a patch available. > http://www.php.net > > Anthony > > > -Original Message- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED]]On Behalf Of > Frederic Herman > > Sent: Wednesday, July 24, 2002 9:35 AM > > To: [EMAIL PROTECTED] > > Subject: PHP Vulnerability > > > > > > Does the RH 7.3 distro rpm for PHP have the new > PHP vulnerability? If > > so, is there a patch yet? > > > > Fred > > > > > > > > > > ___ > > Redhat-list mailing list > > [EMAIL PROTECTED] > > > https://listman.redhat.com/mailman/listinfo/redhat-list > > > > ___ > Redhat-list mailing list > [EMAIL PROTECTED] > https://listman.redhat.com/mailman/listinfo/redhat-list ___ Yahoo! Encontros O lugar certo para encontrar a sua alma gêmea. http://br.encontros.yahoo.com/ ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: Problems posting to redhat-list
--- Kevin MacNeil <[EMAIL PROTECTED]> escreveu: > On Fri, Jul 05, 2002 at 01:56:45AM -0300, João > Borsoi Soares wrote: > > > > I'm not beeing able to post messages to the list > from > > my local e-mail account. I've a RH 7.3 box with an > > ADSL connection (fix and valid IP). The only > problem I > > see is that reverse DNS lookup does not get to my > > domain name (intrasystems)... instead, it results > in > > the name which my ISP gave me. Could that be the > > problem? > > Basically, yes. > > > Reporting-MTA: dns; srv.intrasystems.com.br > > Received-From-MTA: DNS; localhost.localdomain > > Try adding > > > define(`confDOMAIN_NAME',`srv.intrasystems.com.br')dnl > > to your /etc/mail/sendmail.mc and generating a new > /etc/sendmail.cf with > > m4 /etc/mail/sendmail.mc > /etc/sendmail.cf > > and restarting sendmail with > > service sendmail restart > > Remote mailservers will see your machine as > srv.intrasystems.com.br > instead of localhost.localdomain and will accept the > mail. > > > > > ___ > Redhat-list mailing list > [EMAIL PROTECTED] > https://listman.redhat.com/mailman/listinfo/redhat-list Thanks, but it didn't work out either. I forgot to say also I'm using virtualhosting, but I don't think that has anything to do with that. Joao. ___ Yahoo! Encontros O lugar certo para encontrar a sua alma gêmea. http://br.encontros.yahoo.com/ ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: Problems posting to redhat-list
> Hei all > > I would be interested in knowing how this relates > to sendmail. > > I'm not very knowledgeable about mail but the error > message > suggests that the problem is that the > intrasystems.blah.blah > in not resolvable and that the redhat mailserver > has been configured > not to accept mail from none resolvable hosts. > > I suppose you should either configure your mta > (local mail server) or > mua (email client) to use another from address > (your yahoo address should do) > or get your domain name info in some domains dns > records. > > Hope someone will correct me if I am wrong! > > t.irvine > intrasystems.com.br is resolvable... but not reverse resolvable. I guess the problem is when my sendmail connects to redhat SMTP server. It seem that it tries to figure out who am I (reverse DNS) from my IP. And than, it does not get to intrasystems.com.br... it gets to the name my ISP gave me instead. ___ Yahoo! Encontros O lugar certo para encontrar a sua alma gêmea. http://br.encontros.yahoo.com/ ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list