Vimol wrote:
How to find out the size of memory allocated to a pointer???
Example:
int
MyFunc(char *str)
{
int sizemem;
// Here how to find out the size of str memory ??
sizemem = _/// One function to find out the size of str memory .
}
If you
Hi !
I think he wanted to know how much memory was allocated in the malloc
request, like the _msize( ptr) function on Visual Studio, as far as I know
there is no way to do that with gcc.
Mikael
- Original Message -
From: Ivan Jager [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday,
hi,
it seems almost impossible to catch a snap of rawhide when it is consistent.
a very stupid but useful check would be useful for those who put these files
to the mirror site, just run the following two lines on stock rh 7.2 (this
means all rpm instqalled from rh 7.2 except those which are
On Tue, 26 Feb 2002, Levente Farkas wrote:
rpm -Fvh kernel-2*.i686.rpm glibc-2*.i686.rpm \
`ls kernel-*.rpm glibc-*.rpm|egrep -v kernel-2|glibc-2`
rpm -Fvh *.rpm
since it at least in the last few weeks, there is not any snapshot where
this script run because of some dependenies.
That's
Bernhard Rosenkraenzer wrote:
On Tue, 26 Feb 2002, Levente Farkas wrote:
rpm -Fvh kernel-2*.i686.rpm glibc-2*.i686.rpm \
`ls kernel-*.rpm glibc-*.rpm|egrep -v kernel-2|glibc-2`
rpm -Fvh *.rpm
since it at least in the last few weeks, there is not any snapshot where
this script run
hi,
it seems almost impossible to catch a snap of rawhide when it is consistent.
a very stupid but useful check would be useful for those who put these files
to the mirror site, just run the following two lines on stock rh 7.2 (this
means all rpm instqalled from rh 7.2 except those which
Hi !
I think he wanted to know how much memory was allocated in the malloc
request, like the _msize( ptr) function on Visual Studio, as far as I know
there is no way to do that with gcc.
Mikael
- Original Message -
From: Ivan Jager [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday,
Hey guys,
I'm trying to build a small distribution of RH 7.2 here on a local box
without much success.
In my directory /inetcd, I have a Redhat/RPMS and Redhat/base directory
which contain all my rpms and the hdlist results from running genhdlist
respectively.
However when I run buildinstall,
devon:
i finally found it. its the following to rpms:
pam-0.75-19.i386.rpm
pam-devel-0.75-19.i386.rpm
the funny thing is that pam-0.75-19.i386.rpm is NOT on the support page of
security fixes, erratas, and enhancements. i found it first on a mirror, then
when back and did a search on redhat
G'day Cameron.
from one expatriated Brit to another (if only by heredity ;-)
Well you pretty much got my sentiment. I wasn't sure about nfs vs Samba,
but instinct told me the former would probably be a better performer
linux-linux.
Unfortunately, the Windows machine I want to keep going is
On Sun, 24 Feb 2002, Bob Hartung wrote:
Hi,
I am strying to start Samba-2.2.3a from xinetd.d. I have constructed
files per instructions. Now after restarting with /etc/init.d/xinetd
restart should I see both smbd and nmbd after doing a 'ps -ef | grep mbd'
or is the smbd only called
Hello all,
I have a problem that I think ssh may solve. What i need to know is can you
use ssh in one command? What I mean is can both the username and password be
passed as parameters?
I actually want to write a php script which gets executed as root on the
first box, the script will then run
At 12:16 AM 2/26/02 -0500, Brian Ashe wrote:
On Monday February 25, 2002 11:22, Frank Bax said something about:
We have a print server device that connects parrallel cable to CAT5.
http://www.startech.com/ststore/itemdetail.cfm?product_id=PS1100A
This device works fine (although sometimes
At 04:01 2/27/2002 +1300, Phil G wrote:
I have a problem that I think ssh may solve. What i need to know is can you
use ssh in one command? What I mean is can both the username and password be
passed as parameters?
See the ssh manpage for command line options, including remote username.
You
On Mon, 2002-02-25 at 20:42, Bret Hughes wrote:
On Mon, 2002-02-25 at 21:16, Julian Opificius wrote:
Howdy y'all,
So, dumb question of the evening:-
how do I connect to files and directories on one linux box to another (on
the same lan, where I have accounts on both).
I use nfs
arl D. Blake wrote:
On Mon, 2002-02-25 at 20:42, Bret Hughes wrote:
On Mon, 2002-02-25 at 21:16, Julian Opificius wrote:
Howdy y'all,
So, dumb question of the evening:-
how do I connect to files and directories on one linux box to another (on
the same lan, where I have accounts on both).
On Tue, 2002-02-26 at 01:38, Dave Lewis wrote:
I have a linux apache web server that used to also be my router.
Since I got a netgear router I decided to put it behind the router...
simple.. so I though
I have reconfigured everything, and telnet works fine through the router
and to the
On Tue, Feb 26, 2002 at 09:59:29AM -0500, Frank Bax wrote:
At 12:16 AM 2/26/02 -0500, Brian Ashe wrote:
On Monday February 25, 2002 11:22, Frank Bax said something about:
We have a print server device that connects parrallel cable to CAT5.
Do you have a firewall that is blocking the
Use hosts.allow and hosts.deny files in /etc. This will allow you to
configure access to any/all services on the machine. The iptables script
gShield includes this ability also though a different implimentation.
-Original Message-
From: Ashley M. Kirchner [mailto:[EMAIL PROTECTED]]
Hi guys,
How do I join an RH box to a windows domain?
Just edit the linuxconf file?
thanks
-
___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list
# man ssh-keygen lets you configure passwordless ssh authentication by
generating priv/pub keys.
-Original Message-
From: Phil G [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 26, 2002 10:02 AM
To: [EMAIL PROTECTED]
Subject: using ssh
Hello all,
I have a problem that I think ssh
Hi,
Have you try setting to boot in terminal mode and seeing if
it has the same problem. Atleast it would allow you to know
if it is a problem with x or not. Everytime I have had
this problem on a unix or Linux machine it has been caused
by bad hardware - however with a new machine that should
At 11:07 2/26/2002 -0500, Paul Hamm wrote:
Use hosts.allow and hosts.deny files in /etc. This will allow you to
configure access to any/all services on the machine.
Not quite. These files only affect services that are started by inetd
(telnet, ftp), or that have the tcpwrappers libraries
How do you access ipchains/iptables from the command line?
On Fri, 22 Feb 2002 22:33:51 -0500 (EST)
Anthony E. Greene [EMAIL PROTECTED] wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Fri, 22 Feb 2002, Hendrick Chan wrote:
If this is what you want. Put a check-point firewall in
Newbie question:
I am trying to edit the two ethernet ports on my machine. I
want to change the ip address of both ports but it is not
happening when I use netconfig. This is a text based
machine. Is there another command to directly change each
port?
On Tue, 26 Feb 2002, Redhat wrote:
I am trying to edit the two ethernet ports on my machine. I
want to change the ip address of both ports but it is not
happening when I use netconfig. This is a text based
machine. Is there another command to directly change each
port?
One way
cd
I stand corrected ;-) use gShield and iptables to deny the appropiate ip
blocks. As was stated this is a rather silly requirement in any event as
there are a number of ways that this can be circumvented.
-Original Message-
From: Anthony E. Greene [mailto:[EMAIL PROTECTED]]
Sent:
On Tue, Feb 26, 2002 at 05:08:35PM +0100, Go, Jeffrey wrote:
How do I join an RH box to a windows domain?
Just edit the linuxconf file?
It's not that simple. For starters, RH box is too vague. The issue here
is you probably want Samba to authenticate against a domain, so you need to
focus
On Friday 22 February 2002 08:45 am, you wrote:
why does this matter? 7.2 is just out, is (for me) super with the
inclusion of ext3... what super crazy bleeding edge features are
you guys looking for that necessitate the obsession with a beta or
release date for the next version?
It's not so
At 08:58 2/26/2002 -0800, Redhat wrote:
I am trying to edit the two ethernet ports on my machine. I
want to change the ip address of both ports but it is not
happening when I use netconfig. This is a text based
machine. Is there another command to directly change each
port?
Edit
What or why or who would cause my boot.log to quit working. Last entry
was 4 months ago and I rebooted yesterday. Can some one please try to
explain this to me
thanks
Bryan Pershall
ProjecTools.com, Inc.
mailto:[EMAIL PROTECTED]
http://www.projectools.com
Tel: (281) 847-2097
At 08:47 2/26/2002 -0800, Redhat wrote:
How do you access ipchains/iptables from the command line?
I have not yet worked with iptables, but it can probably be invoked
directly from the command line just like ipchains:
ipchains --append input --protocol tcp 80 --syn --source xxx.xxx.xxx.xxx
I setup Squid, on a RH 7.2. The network
clients (WIN 98) can access web pages on Internet. ButI cannot make SQUID
to use Outlook Express! I hope somebody know!
,Iulian
[EMAIL PROTECTED]
On Mon, Feb 25, 2002 at 11:45:25AM -0500, Devon Harding - GTHLA wrote:
Is Ximian Red Carpet available as a command-line option instead of X?
Try apt-rpm instead:
http://freshrpms.net/apt/
It'd be great if apt would get to be more popular and we'd have more
mirrors...
The great thing with
Hi there,
Somebody of this list have idea bout the OID for monitoring CPU and Memory
of a Sun Station, SunOS 5.6?
Miguel Rosales.
Ing. Soporte
Adexus S. A.
www.adexus.cl
___
Redhat-list mailing list
[EMAIL PROTECTED]
A better idea would be to use Linuxconf. It usually works for most
simple tasks.
-- Jonathan
--
Jonathan M. Slivko [EMAIL PROTECTED]
'Life is the art of drawing without an eraser.' - John Gardner
-- Original Message --
From: Anthony E. Greene [EMAIL
Take a look at gShield, an iptables script that is well documented with just
about evey option you could want.
-Original Message-
From: Anthony E. Greene [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 26, 2002 12:30 PM
To: [EMAIL PROTECTED]
Subject: Re: WWW Visitor Blocking
At
Hi Ed,
Well..i am not going to be really looking at Samba more than just using the
box as a apps server..like perforce...
-Original Message-
From: Ed Wilts [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 26, 2002 9:21 AM
To: [EMAIL PROTECTED]
Subject:Re: joining
On Tue, Feb 26, 2002 at 07:01:21PM +0100, Go, Jeffrey wrote:
Well..i am not going to be really looking at Samba more than just using the
box as a apps server..like perforce...
The issue is that the Samba group has been doing all the development for
domain authentication. So it looks like
If you want to join a domain then that is a Samba solution.
On Tue, 26 Feb 2002, Go, Jeffrey wrote:
Hi Ed,
Well..i am not going to be really looking at Samba more than just using the
box as a apps server..like perforce...
-Original Message-
From: Ed Wilts
Why is it that after I have made the changes to the network-scripts and have
stopped and restarted the network I can't get the network to work. (It
wasn't working beforehand either) Also, when I do netstat -nr it gives me a
different ip address than the one in the ifcfg-eth0 file, this being the
Hey all,
Just noticed a new directory out on Red Hat's ftp sites under beta
called pensacola. Looks like the 8.0 beta is on the way. It is not
accessible yet but, maybe by the end of the day if we are lucky?
Bob
___
Redhat-list mailing list
I am using RH 7.1. I have configured two dial-up accounts using
the dial-up config tool provided by redhat. If I use rp3 to dial
in into any account, host resolving works without any need for
me specify any nameserver. Now, I understand that rp3 is a
wrapper for wvdial. If I try to dial into
Is there a command to test eth0 and eth1 on a machine to make sure that the
hardware actually works and hasn't failed? Up until two days ago my network
was working just fine and now it has stopped. I can't ping in or out. I
don't know what to look for.
Thanks in advance
Linda
On Tue, Feb 26, 2002 at 02:04:23PM -0500, Bob Staaf wrote:
Just noticed a new directory out on Red Hat's ftp sites under beta
called pensacola. Looks like the 8.0 beta is on the way. It is not
accessible yet but, maybe by the end of the day if we are lucky?
Or maybe they're just
On Tue, Feb 26, 2002 at 11:28:58AM -0800, [EMAIL PROTECTED] wrote:
Is there a command to test eth0 and eth1 on a machine to make sure that the
hardware actually works and hasn't failed? Up until two days ago my network
was working just fine and now it has stopped. I can't ping in or out. I
It occurs to me, though, that if you're not running the daemons as daemons,
then the server won't announce itself on the network, and you'd have to do
more work to get to it then if you simply run it from the init scripts.
Jesus Ortega (a.k.a. Nitebirdz) [EMAIL PROTECTED] said:
On Sun, 24
Not to start a holy war, here, but it is never a better idea to use
Linuxconf. Red Hat is deprecating it from their distribution, mainly due to
the user complaints, which have stemmed from Linuxconf's propensity to
overwrite certain customized configuration files with whatever it felt like
Jeffrey, sorry to step in on your thread but we are coming up on the same
issue. We have a totally WinNT/2000 shop and have finally broken into the
Linux world. We will have several database servers running RH Linux 7.1.
Is there a good whitepaper/doc on the web detailing integrating Linux in
From: Ed Wilts [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
On Tue, Feb 26, 2002 at 02:04:23PM -0500, Bob Staaf wrote:
Just noticed a new directory out on Red Hat's ftp sites under beta
called pensacola. Looks like the 8.0 beta is on the way. It is not
accessible yet but, maybe by the
Off-Topic (Largely) Perhaps someone is monitoring though :/
I received this msg (reply), a full hour before I received the original.
D-
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Ed Wilts
Sent: Tuesday, February 26, 2002 2:35 PM
To: [EMAIL
Last Friday, I installed 7.2 as an upgrade to 6.0. Since then I have
been unable to boot into Linux. I created a floppy boot disk with the
install RedHat CDs. When I start up the following happens:
Checking root filesystems (OK)
Remounting root filesystems in read-srite mode (OK)
[EMAIL PROTECTED] wrote:
Hi all,
I installed XFree 4.2.0-0.2 and I went and got a ATI Radeon 7500 card
to day but I am not having any luck configuring x to work with it.
I have XConfigurator-4.9.39.-2 installed it does not give the ATI
Radeon 7500 as a choice I tried some of the other
Hello,
I'm having a problem with one of my servers continually crashing... The
system will go to sleep and not wake up. When I review the logs, the last
entry is a seemingly random [date:time] [servername] network: Shutting down
interface eth0: succeeded. I have no idea why the machine would
Hi Matt
Have a look at how much memory you have including swap. I had a similiar
problem and had lost my swap partition. Without the swap the server
started shutting down daemons and would usually freeze at some point.
The easiest way to check the memory available is with 'top'.
david
On
When using wvdial, try to ping an ip address, say that of yahoo.com. If
this is successful, it probably means your dhcp client isnt getting a dns
address from the connection. Figure out the ip address of the dns server
your given with rp3 and try to manually set wvdial to this ip. I'm not
Kind of at a loss on where to look. RH72 systems trying to install the perl
module Net::SSH::Perl with little success. Don't really know where to turn
for help after scouring cpan site. Anyone have any suggestions one a place
to turn for information. What is happening is while trying to
On 19:25 26 Feb 2002, Iulian [EMAIL PROTECTED] wrote:
| I setup Squid, on a RH 7.2. The network clients (WIN 98) can access web pages
| on Internet. But I cannot make SQUID to use Outlook Express! I hope somebody
| know!
In what way would squid use Outlook? Squid is a web app. Outlook is a
On Tue, 26 Feb 2002, [EMAIL PROTECTED] wrote:
Why is it that after I have made the changes to the network-scripts and have
stopped and restarted the network I can't get the network to work. (It
wasn't working beforehand either) Also, when I do netstat -nr it gives me a
different ip address
On Tue, 26 Feb 2002 at 12:00pm (+0330), Sara Sodagar wrote:
Hi
Thank you very much for helping me to solve my problem
in kerberizing openssh.
I had a bad flue so I couldn't answer your mail before.
I have tested openssh-2.9p2.tar and openssh-2.9p2-gssapi.patch
I have executed
I had similar problem with the machine randomly shutting down the network
interface. I found out it was because the power management daemon. I run
setup as root, go to system services, and un-check apmd, reboot. Everything
seems to work fine eversince.
Rdb
On Tuesday 26 February 2002 05:29
I believe that one of the issues you're having with support is that probably
none of us has ever attempted an upgrade from 6.0 to 7.2. I would hazard a
guess that more people do fresh installs of Linux than do upgrades. I've
heard one (very experienced) adminstrator complain that the upgrade
Hi,
I installed Redhat 7.1 as print server and it already printing. I already tested it and works okay. The printer is a FujiXerox DC400 and has a Lan card and ip address. My questions is : Is there a software the can log who is printing in the printer? I have seen the Print Job Administration
On Tue, 26 Feb 2002, Ed Wilts wrote:
I believe that one of the issues you're having with support is that probably
none of us has ever attempted an upgrade from 6.0 to 7.2. I would hazard a
ummm ... during the RH 7.2 public Beta phase, I tested
upgrades from RH 5.0 forward (although not with
I've been looking for a utility that can take a non-form pdf file and
convert it to either a form or at least allow me to add text to the
file. I have a bunch of forms made available on a government web site
for download and would like to fill them out without the need to print
them and type on
Thanks Ed,
I realize that what you are saying is right on but I have a hard time believing
that Linux people would be so forgetting of what was happening a year to a
year and a half ago. This seems like the ultimate of the Microsoft philisophy,
i.e. f**k them if they did upgrade and if they
Thanks,
I think that I will need to decide whether to do a new installation or try to
create my own boot disk based on what I have from 6.0.
Thanks for your thoughful input.
Doug
R P Herrold wrote:
On Tue, 26 Feb 2002, Ed Wilts wrote:
I believe that one of the issues you're having with
Hi,
I am after a fax solution to replace my WinFax Pro server. (If I can get
rid of this, then I can get rid of NT :-)
So what Fax options do I have under Linux, and can remote clients (linux
and/or PC send/receive faxes too.
Where do I go to look ??
Darryl
From: doug piper [EMAIL PROTECTED]
I realize that what you are saying is right on but I have a hard time
believing
that Linux people would be so forgetting of what was happening a year to
a
year and a half ago. This seems like the ultimate of the Microsoft
philisophy,
i.e. f**k them if they
So what Fax options do I have under Linux, and can remote clients (linux
and/or PC send/receive faxes too.
Where do I go to look ??
For searches like this, my favorite place to look is
http://www.freshmeat.net. Just enter fax as a search string and you'll find
48 projects that might be
Hello Guys,
From what I saw on the thread, you want to share files to M$ clients ?
If that is the case, then install samba and webmin (www.webmin.org) and
configure the shares from there. (That is the easy, not learning a lot
method)
The other method is to install samba and hack the smb.conf
Hello lulian,
Squid is a proxy server, not a firewall.
You will have to setup one of two things :
1) Change your firewall rules
2) Install IMAP and/or POP and Fetchmail and fetch your mail to your squid
box.
Cheers,
Pieter
- Original Message -
From: Iulian
To: [EMAIL PROTECTED]
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
doug piper wrote:
I will do a fresh install of 7.2. I have no problem backing up files on my Linux
hard drive although I haven't done so previously as I can still mount all of my
linux drives and backup any data which is important to my Windows
Hello All. I have a Dell Inspiron 5000e which is
dual booting Windows 2000 and RedHat 7.2. I have encountered frequent lockups
with my system when I boot intoLinux.The screen will go black and
the system quits resonding. When I try to boot Linux, the text portion of the
process works fine
I thought @home was going out of business? Up until several days ago, I
would have had an @home address. So maybe that's a caveat. Also, as you
have been told, different ISPs may do things quite differently (and even the
same ISP may change things around). My ISP did block some ports. Also,
Thanks for the reply Linda. I changed the default run level to 3 in inittab
and I am able to login now. Also the x problem is now sorted out when I
selected a generic type monitor with correct frequencies. Let me see whether
it behaves consistently now.
Cheers!
Kiran.
[EMAIL PROTECTED] wrote:
I have had the same problem on some occasions. What caused the problem in my
case was when the scripts were edited by oops I have to say it m$ notepad or
the like. This seemed to put some hidden characters in the text which made
the interpreter real grumpy. Same thing happened to my rc.firewall
Is the file format dos or unix? An easy way using vi (you may be deluged
with alternatives) is to edit the file (e.g., 'vi scriptname.pl'), then type
':set fileformat=unix', then enter, then write the file (':wq' or 'ZZ' will
write and quit). I have found that newline differences can confuse
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
David Archer wrote:
I sometimes have a problem running downloaded perl scripts. If I type
something like perl scriptname.pl for one of these problem scripts, it
runs fine. When I try ./scriptname.pl I get the following:
bash: ./scriptname.pl: No
I had question about this some time ago, however, I
went ahead and plugged it in and try reinstalling RH 7.2 and it was
automatically recognized. I had a feeling it should work since it is
Adaptec and it is a server level full size 3 channel card built in 1996.
Thanks anyway.
CH
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Wed, 27 Feb 2002, Wesley Jay Deypalan wrote:
My questions is : Is there a software the can log
who is printing in the printer?
You will need a script that reads the log files in /var/log/samba/.
Tony
- --
Anthony E. Greene [EMAIL PROTECTED]
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Wed, 27 Feb 2002, Darryl Harvey wrote:
I am after a fax solution to replace my WinFax Pro server. (If I can get
rid of this, then I can get rid of NT :-)
So what Fax options do I have under Linux, and can remote clients (linux
and/or PC
hi all
,
i am runnning a copy
of RED HAT 7 , now the problem is that modem is winmodem and i could magnage to
get someinfo on a HOWTO which came with the CD which i have attached . now plz
anyone could visit the site listed in section 5.5 of the attachment and send me
the appropriate
I had that problem with at server at home, i wanted it to run as sleepy
as possible (energy savings for a 24/7 machine). every device went to
sleep, even the network interface (same message as you), then the server
looked frozen, and didn't take any keyboard input. BUT a simple ping to it
from
Hello Eveyone,
I have a strange request. I would like to know if there is a way that I can
check my systems interity. Normally hackers change your ps,netstat etc
commands. Surely there must be a way of checking them against the source
(rpm) or can't you make a MD5 hash of the system (exclude log
If you're concerned that you've been hacked and rootkitted, I recommend
chkrootkit (http://www.chkrootkit.org).
On Wed, 27 Feb 2002, Pieter De Wit wrote:
Hello Eveyone,
I have a strange request. I would like to know if there is a way that I can
check my systems interity. Normally hackers
--- Reply to a message ---
By: Adam Mercer
-: a Mail
:: Return Path:
When I send mail from my system the Return-Path: header in the
email is set to
Return-Path: [EMAIL PROTECTED]
this is obviously causing a few problems, how can I make sure that
this is set to the right address?
--- Reply to a message ---
By: Adam Mercer
-: a Mail
:: Re: Return Path:
127.0.0.1 localhost.localdomain localhost
xxx.xxx.xxx.xxx skymoo.dyndns.org skymoo
if so how can I write my current ip address in /etc/hosts?
then make a program that update the ip in the host file before
you start
--- Reply to a message ---
By: bbales
-: a Mail
:: Re: RH 7.2 CDROM issue, Dell OptiPlex GX1
I had a great deal of trouble installing RH7.2 on one of three
identical machines. Locked up ten seconds after selecting graphics
install.
Found that installing with linux mem=64m did the trick
89 matches
Mail list logo