[CentOS] Newbie ADSL configuration, ppp0 can't activate & config not found

2007-07-13 Thread mailing-lists
I am frustrated. This is a dual boot box, Win XP (Spanish) and CentOS 4.4.
The phone company man came today and installed ADSL to the WinXP side and
that works fine. I can't get the box online, while in CentOS 4.4. The ADSL
router has a fixed IP address (192.168.1.1) and he configured it to get
the IP from the ISP via DHCP and get the DNS servers automatically. When I
try that on CentOS (which is what I use 99% of the time), it doesn't
connect. In the Network Configuration for eth0, things seem OK, but the
configuration for xDSL, ppp0, probably needs something I do not have in it
and it won't activate. Questions: (a) should I have network configurations
for both eth0 and ppp0? I've tried it with both and only with ppp0. (b) is
there a possibility that the NIC, which is integrated onto the motherboard
and has always worked fine on our home LAN, as eth0, won't work properly
as ppp0? If so, should I disable it and install a NIC in the box? I've
looked in the RHEL Step by Step Guide for RHEL 4 and Systems
Administrators Guides, but they don't seem to cover this issue. Any links
to a step by step how to, to do something I believe is simple, but, where
I'm missing something, will be greatly appreciated! TIA, Lanny


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


centos@centos.org

2007-07-14 Thread mailing-lists
>Message: 23
>Date: Fri, 13 Jul 2007 22:11:59 -0400
>From: Dan Halbert <[EMAIL PROTECTED]>
>Subject: Re: [CentOS] Newbie ADSL configuration, ppp0 can't activate &
>confignot found
>To: CentOS mailing list 
>Message-ID: <[EMAIL PROTECTED]>

[EMAIL PROTECTED] wrote:


If you have a router, then the ADSL connection you have is handled by
the router, and is invisible to you, on the LAN side of the router. The
router could be connecting to the WAN via a piece of wet string, as far
as you care. So you should just have eth0 do DHCP and leave it connected
to the router. You'll get an address like 192.168.1.2 from the router.
You don't need ppp0 at all; to Centos the router appears like a LAN that
routes to the Internet.

In Windows, do "ipconfig" in a Command window, and you'll see what I
mean. You should see something similar with ifconfig in Centos.

Dan: Thank you for replying! I will try what you suggested, ASAP. Yesterday
was Friday the 13th I need to get this working, before I try to get my
Firewall/Router working!  Lanny


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] memory query

2007-07-30 Thread Mailing LIsts
On 28 July 2007, simon wrote:

> I have recently installed centOS 5 on DELL pentium 2.7ghz (model
> optiplex GX270) and have 512 memory

Simon: Below is on the same box, after I did a clean install of CentOS
5.0. Still showing 512 MB of RAM, as it did with CentOS 4.4, which is
what's installed in the box. Look at the information in the BIOS of that
box and see what it shows you there. I'm using x86. Lanny

> [EMAIL PROTECTED] ~]$ free
>  total   used   free sharedbuffers cached
> Mem:514084 507700   6384  0  11148 226780
> -/+ buffers/cache: 269772 244312
> Swap:  10441841441044040
> [EMAIL PROTECTED] ~]$ cat /proc/meminfo
> MemTotal:   514084 kB
> MemFree:  5704 kB
> Buffers: 11292 kB
> Cached: 226316 kB
> SwapCached:  0 kB
> Active: 281128 kB
> Inactive:   130944 kB
> HighTotal:   0 kB
> HighFree:0 kB
> LowTotal:   514084 kB
> LowFree:  5704 kB
> SwapTotal: 1044184 kB
> SwapFree:  1044040 kB
> Dirty: 176 kB
> Writeback:   0 kB
> AnonPages:  174476 kB
> Mapped:  62020 kB
> Slab:21928 kB
> PageTables:   4396 kB
> NFS_Unstable:0 kB
> Bounce:  0 kB
> CommitLimit:   1301224 kB
> Committed_AS:   684364 kB
> VmallocTotal:   507896 kB
> VmallocUsed:  4748 kB
> VmallocChunk:   502772 kB
> HugePages_Total: 0
> HugePages_Free:  0
> HugePages_Rsvd:  0
> Hugepagesize: 4096 kB
> [EMAIL PROTECTED] ~]$ 


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Ham Radio s/w and CentOS? {including Echolink}

2007-08-01 Thread Mailing LIsts
On 31 July 2007, Scott Ehrlich wrote:

> I am going to present Linux to my ham radio club at some point in the
> next few months, and wanted to collect info on ham radio software,
> including options for echolink.

Not sure about echolink.

> Also, anyone know of a live-on-CD/DVD CentOS distribution that may
> include Echolink and/or other ham software?

I think there may be a Linux distribution for ham radio, but my memory
is very weak on that. Search on distro watch and maybe check out the
ARRL web site and google and yahoo.

There is (or was) something for PSK31, I think it was called KPSK or
something, that I looked into several years ago. Maybe it's on the KDE
web site.

I believe there is a  Linux kernel option, to enable stuff for packet or
something.

I wish I could be of much more help on this but I'm inactive now. 

73,

Lanny
HK5MDT

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] yum-updatesd.conf on centos 5

2007-08-01 Thread Mailing LIsts
On 01 August 2007, "Indunil Jayasooriya" <[EMAIL PROTECTED]> wrote:

> Pls note that I need to download and install all the upfdates
> automaticallyas I have installed
> yum-protectbase.

On this URL: http://wiki.centos.org/Repositories it says:

> Note: You should seriously consider using the Priorities (or
> ProtectBase) yum plugin if you are going to use a 3rd Party
> Repository. (The Priorities and ProtectBase plugins both prevent 3rd
> party repos replacing base packages, but Priorities is much more
> flexible and therefore the recommended plugin.)

Consider removing ProtectBase and installing Priorities

http://wiki.centos.org/PackageManagement/Yum/Priorities

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] dealing with spoofing

2011-08-31 Thread Mailing Lists
Spam filter that'll authorize the sending before receiving?  Just a thought
to stop the hundreds of emails...

On Wed, Aug 31, 2011 at 4:27 PM,  wrote:

> Stephen Harris wrote:
> >> Here's a thought I just thunk, folks: some scum, apparently in eastern
> >> Europe, has harvested my email, and is using it in the Reply-To: in its
> >> spamming efforts. Now, I realize that some mails go out from noreply,
> >> but
> >> other than that, is there a good reason why a mailserver would not be
> >> configured to send delivery failure to *both* Reply-To and From?
> >
> > You don't want to send rejects to more than one address 'cos you then
> > have a simple message multiplier; send one message, generate two bounces;
> > the mail server will be doubling the back-scatter problem!
> >
> > Anyway, the SMTP server should send the delivery failure to the envelope
> > address, which may be different to both the From and Reply-To addresses.
> >
> That would be lovely. Unfortunately, a high percentage seem to use the
> Reply-To address. Trust me, the last four or five months, I've gotten
> probably hundreds, if not more, of delivery failures. And I wind up at
> least glancing at them, in case email to this list, or to a friend, has
> bounced.
>
>mark
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] dealing with spoofing

2011-08-31 Thread Mailing Lists
http://www.openspf.org/Introduction - SPF FTW

On Wed, Aug 31, 2011 at 4:47 PM, Stephen Harris  wrote:

> On Wed, Aug 31, 2011 at 04:27:00PM -0400, m.r...@5-cent.us wrote:
> > Stephen Harris wrote:
> > > Anyway, the SMTP server should send the delivery failure to the
> envelope
> > > address, which may be different to both the From and Reply-To
> addresses.
> > >
> > That would be lovely. Unfortunately, a high percentage seem to use the
> > Reply-To address. Trust me, the last four or five months, I've gotten
> > probably hundreds, if not more, of delivery failures. And I wind up at
> > least glancing at them, in case email to this list, or to a friend, has
> > bounced.
>
> Envelopes can be forged just as easily as any header.
>
> --
>
> rgds
> Stephen
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 6 packages

2011-09-01 Thread Mailing Lists
digiKam is found, I had epel, rpm forge, and base CentOS repos... others not
by default, maybe if you search http://rpm.pbone.net/

On Wed, Aug 31, 2011 at 6:30 PM, CS DBA  wrote:

> Hi all;
>
> does anyone know if the following packages are available (via yum) for
> CentOS 6 and if so which repo they come from?
>
> Thanks in advance...
>
>
> kmymoney
> darktable
> digiKam
>
>
>
> --
> -
> Kevin Kempter   -   Constent State
> A PostgreSQL Professional Services Company
>   www.consistentstate.com
> -
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] No buffer space available - loses network connectivity

2011-09-01 Thread Mailing Lists
I haven't worked with xen in a few months, but I'd highly suggest looking at
the xen host server itself instead of the vps.  Setup some sort of
monitoring on the VPS, coordinate the time it looses internet connection to
the host server logs, maybe it'll provide some insight.  Unless, its this
VPS.  Was this built off of XEN's templates or a P2V system?

On Thu, Sep 1, 2011 at 12:36 AM, Sherin George wrote:

> Hi,
>
> I have a centos 5.6 xen vps which loses network connectivity once in a
> while with following error.
>
> =
> -bash-3.2# ping 8.8.8.8
> PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
> ping: sendmsg: No buffer space available
> ping: sendmsg: No buffer space available
> ping: sendmsg: No buffer space available
> ping: sendmsg: No buffer space available
> =
>
> All my investigation so far led me to believe that it is because
> skbuff cache getting full.
>
> =
>
> PROC-SLABINFO
> skbuff_fclone_cache22730851271 : tunables   54
> 278 : slabdata 44 44  0
> skbuff_head_cache   1574   1650256   151 : tunables  120   60
>  8 : slabdata110110  0
>
> SLAB-TOP
>  Active / Total Objects (% used): 2140910 / 2200115 (97.3%)
>  Active / Total Slabs (% used)  : 139160 / 139182 (100.0%)
>  Active / Total Caches (% used) : 88 / 136 (64.7%)
>  Active / Total Size (% used)   : 512788.94K / 520252.14K (98.6%)
>  Minimum / Average / Maximum Object : 0.02K / 0.24K / 128.00K
>
>  OBJS ACTIVE  USE OBJ SIZE  SLABS OBJ/SLAB CACHE SIZE NAME
> 664000 620290  93%0.09K  16600   40 66400K buffer_head
> 409950 408396  99%0.21K  22775   18 91100K dentry_cache
> 343056 340307  99%0.08K   7147   48 28588K
> selinux_inode_security
> 338590 336756  99%0.74K  677185270872K ext3_inode_cache
> 143665 143363  99%0.06K   2435   59  9740K size-64
>  99540  99407  99%0.25K   6636   15 26544K size-256
>  96450  96447  99%0.12K   3215   30 12860K size-128
>  60858  60858 100%0.52K   86947 34776K radix_tree_node
>  12420  11088  89%0.16K540   23  2160K vm_area_struct
>  5895   4185  70%0.25K393   15  1572K filp
>  4816   3355  69%0.03K 43  112   172K size-32
>  2904   2810  96%0.09K 66   44   264K sysfs_dir_cache
>  2058   1937  94%0.58K3436  1372K proc_inode_cache
>  1728   1215  70%0.02K 12  14448K anon_vma
>  1650   1590  96%0.25K110   15   440K skbuff_head_cache
>  1498   1493  99%2.00K7492  2996K size-2048
>  1050   1032  98%0.55K1507   600K inode_cache
>   792767  96%1.00K1984   792K size-1024
>   649298  45%0.06K 11   5944K pid
>   600227  37%0.09K 15   4060K journal_head
>   590298  50%0.06K 10   5940K delayacct_cache
>   496424  85%0.50K 628   248K size-512
>   413156  37%0.06K  7   5928K fs_cache
>   404 44  10%0.02K  2  202 8K biovec-1
>   390293  75%0.12K 13   3052K bio
>   327327 100%4.00K3271  1308K size-4096
>   320190  59%0.38K 32   10   128K ip_dst_cache
>   308227  73%0.50K 447   176K skbuff_fclone_cache
>   258247  95%0.62K 436   172K sock_inode_cache
>   254254 100%1.84K1272   508K task_struct
>   252225  89%0.81K 289   224K signal_cache
>   240203  84%0.73K 485   192K shmem_inode_cache
>   204204 100%2.06K 683   544K sighand_cache
>   202  4   1%0.02K  1  202 4K revoke_table
>   195194  99%0.75K 395   156K UDP
>   159 77  48%0.07K  3   5312K eventpoll_pwq
>   145139  95%0.75K 295   116K files_cache
>   144 41  28%0.02K  1  144 4K journal_handle
>   140140 100%0.88K 354   140K mm_struct
>   140 77  55%0.19K  7   2028K eventpoll_epi
>   135135 100%2.12K1351   540K kmem_cache
>   121 45  37%0.69K 11   1188K UNIX
>   119114  95%0.52K 17768K idr_layer_cache
>   118 41  34%0.06K  2   59 8K blkdev_ioc
>   112 32  28%0.03K  1  112 4K tcp_bind_bucket
>   110 56  50%0.17K  5   2220K file_lock_cache
>   106 35  33%0.07K  2   53 8K avc_node
>   105 98  93%1.50K 215   168K TCP
>   105100  95%1.04K 157   

[CentOS] Overwrite target of ln

2008-03-04 Thread Matt Arnilo S. Baluyos (Mailing Lists)
Hi all,

Sorry if this seems too basic.

But is there a way to overwrite the target of a symbolic link without
first deleting the symlink itself?

For example, if I have this:

public_html -> releases/b2b-20080228

... and there's a new update, I can then just do the following:

$ ln releases/site-latest public_html

I tried using the -f option but it doesn't seem to work as expected.

-- 
Stand before it and there is no beginning.
Follow it and there is no end.
Stay with the ancient Tao,
Move with the present.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Overwrite target of ln

2008-03-04 Thread Matt Arnilo S. Baluyos (Mailing Lists)
On 05/03/2008, Garrick Staples <[EMAIL PROTECTED]> wrote:
> On Wed, Mar 05, 2008 at 07:20:50AM +0800, Matt Arnilo S. Baluyos (Mailing 
> Lists) alleged:
>
> > Hi all,
>  >
>  > Sorry if this seems too basic.
>  >
>  > But is there a way to overwrite the target of a symbolic link without
>  > first deleting the symlink itself?
>  >
>  > For example, if I have this:
>  >
>  > public_html -> releases/b2b-20080228
>  >
>  > ... and there's a new update, I can then just do the following:
>  >
>  > $ ln releases/site-latest public_html
>  >
>  > I tried using the -f option but it doesn't seem to work as expected.
>
>
> Your example doesn't have -s?  I assume that was a typo?
>
>  Anyways, ln -sf does exactly what you describe.
>
>  $ ls -l foo
>  lrwxrwxrwx  1 garrick rds 3 Mar  4 15:24 foo -> bar
>  $ ln -sf bar2 foo
>  $ ls -l foo
>  lrwxrwxrwx  1 garrick rds 4 Mar  4 15:24 foo -> bar2

Hi,

Sorry. That was a typo.

I have just tried using a target as a file and it does seem to work
with the -f option. It's only when the target is a directory that it
fails:

$ ll
drwxrwxr-x 2 matt matt 4096 Mar  4 14:34 dir1
drwxrwxr-x 2 matt matt 4096 Mar  4 14:34 dir2
lrwxrwxrwx 1 matt matt4 Mar  4 14:35 link -> dir1

$ ln -s dir2 link

$ ll
drwxrwxr-x 2 matt matt 4096 Mar  4 14:35 dir1
drwxrwxr-x 2 matt matt 4096 Mar  4 14:34 dir2
lrwxrwxrwx 1 matt matt4 Mar  4 14:35 link -> dir1

-- 
Stand before it and there is no beginning.
Follow it and there is no end.
Stay with the ancient Tao,
Move with the present.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Overwrite target of ln

2008-03-04 Thread Matt Arnilo S. Baluyos (Mailing Lists)
On 05/03/2008, Matt Arnilo S. Baluyos (Mailing Lists)
<[EMAIL PROTECTED]> wrote:
> On 05/03/2008, Garrick Staples <[EMAIL PROTECTED]> wrote:
>  > On Wed, Mar 05, 2008 at 07:20:50AM +0800, Matt Arnilo S. Baluyos (Mailing 
> Lists) alleged:
>  >
>  > > Hi all,
>  >  >
>  >  > Sorry if this seems too basic.
>  >  >
>  >  > But is there a way to overwrite the target of a symbolic link without
>  >  > first deleting the symlink itself?
>  >  >
>  >  > For example, if I have this:
>  >  >
>  >  > public_html -> releases/b2b-20080228
>  >  >
>  >  > ... and there's a new update, I can then just do the following:
>  >  >
>  >  > $ ln releases/site-latest public_html
>  >  >
>  >  > I tried using the -f option but it doesn't seem to work as expected.
>  >
>  >
>  > Your example doesn't have -s?  I assume that was a typo?
>  >
>  >  Anyways, ln -sf does exactly what you describe.
>  >
>  >  $ ls -l foo
>  >  lrwxrwxrwx  1 garrick rds 3 Mar  4 15:24 foo -> bar
>  >  $ ln -sf bar2 foo
>  >  $ ls -l foo
>  >  lrwxrwxrwx  1 garrick rds 4 Mar  4 15:24 foo -> bar2
>
>
> Hi,
>
>  Sorry. That was a typo.
>
>  I have just tried using a target as a file and it does seem to work
>  with the -f option. It's only when the target is a directory that it
>  fails:
>
>  $ ll
>  drwxrwxr-x 2 matt matt 4096 Mar  4 14:34 dir1
>  drwxrwxr-x 2 matt matt 4096 Mar  4 14:34 dir2
>  lrwxrwxrwx 1 matt matt4 Mar  4 14:35 link -> dir1
>
>  $ ln -s dir2 link

That should be:

$ ln -sf dir2 link

Early morning here. :)

-- 
Stand before it and there is no beginning.
Follow it and there is no end.
Stay with the ancient Tao,
Move with the present.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Overwrite target of ln

2008-03-04 Thread Matt Arnilo S. Baluyos (Mailing Lists)
On 05/03/2008, Michael D. Kralka <[EMAIL PROTECTED]> wrote:
> Matt Arnilo S. Baluyos (Mailing Lists) wrote:
>  > On 05/03/2008, Matt Arnilo S. Baluyos (Mailing Lists)
>  > <[EMAIL PROTECTED]> wrote:
>  >> On 05/03/2008, Garrick Staples <[EMAIL PROTECTED]> wrote:
>
> >>  I have just tried using a target as a file and it does seem to work
>  >>  with the -f option. It's only when the target is a directory that it
>  >>  fails:
>  >>
>  >>  $ ll
>  >>  drwxrwxr-x 2 matt matt 4096 Mar  4 14:34 dir1
>  >>  drwxrwxr-x 2 matt matt 4096 Mar  4 14:34 dir2
>  >>  lrwxrwxrwx 1 matt matt4 Mar  4 14:35 link -> dir1
>  >>
>  >>  $ ln -s dir2 link
>  >
>  > That should be:
>  >
>  > $ ln -sf dir2 link
>
>
> from the ln man page:
>
>  -n, --no-dereference
> treat destination that is a symlink to a directory as if it
> were a normal file

Great! Working now. Thanks.

I've read the man page but didn't understand that option to be what
I'm looking for.

-- 
Stand before it and there is no beginning.
Follow it and there is no end.
Stay with the ancient Tao,
Move with the present.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] "Site down for maintenance" - How is this accomplished?

2007-08-23 Thread Matt Arnilo S. Baluyos (Mailing Lists)
Hello everyone,

Although we use CentOS primarily on our servers, this query is
actually more of a general networking question than something specific
to CentOS.

In the next week or so, we shall be migrating our in-house servers to
a data center. While we're doing that, we'd like to show a "Site down
for maintenance" message while the servers that hosts our websites (we
have around 15 sites hosted btw), are down.

So, how is this accomplished? While I can probably hack something on
our name servers, I'm sure there are people on this list that have
been doing this and could give some recommendations as to the best
practices for this type of task.

Thanks in advance,
Matt

-- 
Stand before it and there is no beginning.
Follow it and there is no end.
Stay with the ancient Tao,
Move with the present.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] "Site down for maintenance" - How is this accomplished?

2007-08-26 Thread Matt Arnilo S. Baluyos (Mailing Lists)
Thanks for the interesting insights everyone. I'll definitely look at
your suggestions.

And yes, the data center is off-site so that means the servers will be
on a different network.

On 8/25/07, Warren Young <[EMAIL PROTECTED]> wrote:
> Brian Mathis wrote:
> >
> > Messing with DNS is really the wrong way to go on this.  You'd be
> > forcing all of the DNS servers involved to start messing with their
> > caches, update more frequently, etc.., pushing the problem out onto
> > "everyone else", and you have no control over any of it really.  Cache
> > time is only a suggestion, and not all DNS servers follow it.
>
> The only moral of this story is that you can't control everything.  That
> doesn't mean you shouldn't do what you can to speed the changeover.
>
> Temporarily lowering the DNS cache time for a server during a time of
> change is well established practice.  The only problem is that it'll
> increase the load on the primary name servers for that domain.  That's
> the best argument for it being temporary.
>
> > The way to go is to assign that same IP address to another box during
> > maintenance, and have that box show the page.
>
> The original poster did not explicitly say so, but the impression I got
> is that this "data center" is off-site, and possibly managed by a third
> party.  Letting multiple machines handle a single IP only works within a
> single physical site.  When multiple sites are involved, the only way to
> move an IP is to change global routing rules, which is more fraught with
> problems than the DNS change-over, which you already don't like.
>
> I guess theoretically you can have a single IP at multiple sites, with
> both routes being advertised as viable, but this will cause chaos as
> half the packets go one direction and half go the other.  "Don't cross
> the streams" indeed.


-- 
Stand before it and there is no beginning.
Follow it and there is no end.
Stay with the ancient Tao,
Move with the present.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Getting info on hardware RAID

2007-08-27 Thread Matt Arnilo S. Baluyos (Mailing Lists)
Hello everyone,

I'm doing an audit of all our servers here (there aren't that many
maybe around 5-10) and one of the things I'm doing is taking note of
each server's hardware specs (processor, memory, etc).

I can't seem to figure out how to get the information for the hard
drives. The drives are in a hardware RAID5 array and are all SCSI
types. I would like to get each physical SCSI drive's specifications
(like, disk capacity).

Also, we have another server that also uses Hardware RAID and there's
a RAID5 and a RAID1 array in there and I would also like to get as
much information as I have on them.

How do I get this information from the console? Is this possible? I
don't have physical access to the servers and can only log in
remotely.

Thanks,
Matt

-- 
Stand before it and there is no beginning.
Follow it and there is no end.
Stay with the ancient Tao,
Move with the present.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Getting info on hardware RAID

2007-08-27 Thread Matt Arnilo S. Baluyos (Mailing Lists)
On 8/27/07, Mezei Zoltán <[EMAIL PROTECTED]> wrote:
> Matt Arnilo S. Baluyos (Mailing Lists) wrote:
> >
> > I'm doing an audit of all our servers here (there aren't that many
> > maybe around 5-10) and one of the things I'm doing is taking note of
> > each server's hardware specs (processor, memory, etc).
> >
> As a first task for your audit I'd recommend counting your servers :-p

Haha. Was too lazy to look at my notes. We currently have 8 servers.


> Hardware RAID cards are usually managed by third-party add-on programs.
> E.g. HP provides the tool called hpacucli which can determine everything
> regarding your RAID controller and discs.
>
> What kind of hardware RAID solution do you have? If you can't determine,
> the output of lspci might help.

It's a Dell 2550 PowerEdge server.

Below is the result of lspci:

00:00.0 Host bridge: Broadcom CNB20HE Host Bridge (rev 23)
00:00.1 Host bridge: Broadcom CNB20HE Host Bridge (rev 01)
00:00.2 Host bridge: Broadcom CNB20HE Host Bridge (rev 01)
00:00.3 Host bridge: Broadcom CNB20HE Host Bridge (rev 01)
00:0e.0 VGA compatible controller: ATI Technologies Inc Rage XL (rev 27)
00:0f.0 ISA bridge: Broadcom OSB4 South Bridge (rev 50)
00:0f.1 IDE interface: Broadcom OSB4 IDE Controller
00:0f.2 USB Controller: Broadcom OSB4/CSB5 OHCI USB Controller (rev 04)
01:08.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5700
Gigabit Ethernet (rev 10)
02:02.0 PCI bridge: Intel Corporation 80960RM [i960RM Bridge] (rev 01)
02:02.1 RAID bus controller: Dell PowerEdge Expandable RAID Controller
3/Di (rev 01)
02:04.0 Ethernet controller: Intel Corporation 82557/8/9 [Ethernet Pro
100] (rev 08)


-- 
Stand before it and there is no beginning.
Follow it and there is no end.
Stay with the ancient Tao,
Move with the present.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] TFTP server not working as expected when run from xinetd

2007-10-24 Thread Matt Arnilo S. Baluyos (Mailing Lists)
Hi All,

I have a Trixbox server (CentOS derivative) from which our Cisco IP
phones get their config files via TFTP.

I have noticed that when I run the TFTP server via "service xinetd
start", I am not able to get files via TFTP. I have tested it by doing
a manual transfer via a TFTP client from another machine.

When I try to run the TFTP service manually by doing
"/usr/sbin/in.tftpd -l", I do not encounter any problem whatsoever?

Any pointers regarding this issue? Do I have to enable anything else?

Thanks.

-- 
Stand before it and there is no beginning.
Follow it and there is no end.
Stay with the ancient Tao,
Move with the present.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] TFTP server not working as expected when run from xinetd

2007-10-24 Thread Matt Arnilo S. Baluyos (Mailing Lists)
Hi,

Here's the dump of /etc/xinetd.d/tftp:

[EMAIL PROTECTED] xinetd.d]# cat tftp
# default: off
# description: The tftp server serves files using the trivial file
transfer protocol. The tftp protocol is often used to boot diskless
workstations, download configuration files to network-aware printers,
and to start the installation process for some operating systems.
service tftp
{
disable = no
socket_type = dgram
protocol= udp
wait= yes
user= root
server  = /usr/sbin/in.tftpd
server_args = --logfile /var/log/atftpd.log
per_source  = 11
cps = 100 2
flags   = IPv4
}
[EMAIL PROTECTED] xinetd.d]#


On 10/25/07, Alain Spineux <[EMAIL PROTECTED]> wrote:
> Did you check any of the option in /etc/xinetd.d/tftp file ?
> Can you make a dump of it ?
>
>
> On 10/25/07, Matt Arnilo S. Baluyos (Mailing Lists)
> <[EMAIL PROTECTED]> wrote:
> > Hi All,
> >
> > I have a Trixbox server (CentOS derivative) from which our Cisco IP
> > phones get their config files via TFTP.
> >
> > I have noticed that when I run the TFTP server via "service xinetd
> > start", I am not able to get files via TFTP. I have tested it by doing
> > a manual transfer via a TFTP client from another machine.
> >
> > When I try to run the TFTP service manually by doing
> > "/usr/sbin/in.tftpd -l", I do not encounter any problem whatsoever?
> >
> > Any pointers regarding this issue? Do I have to enable anything else?
> >
> > Thanks.

-- 
Stand before it and there is no beginning.
Follow it and there is no end.
Stay with the ancient Tao,
Move with the present.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] TFTP server not working as expected when run from xinetd

2007-10-25 Thread Matt Arnilo S. Baluyos (Mailing Lists)
On 10/25/07, Alain Spineux <[EMAIL PROTECTED]> wrote:
> On 10/25/07, Matt Arnilo S. Baluyos (Mailing Lists)
> <[EMAIL PROTECTED]> wrote:
> > Here's the dump of /etc/xinetd.d/tftp:
> >
> > [EMAIL PROTECTED] xinetd.d]# cat tftp
> > # default: off
> > # description: The tftp server serves files using the trivial file
> > transfer protocol. The tftp protocol is often used to boot diskless
> > workstations, download configuration files to network-aware printers,
> > and to start the installation process for some operating systems.
> > service tftp
> > {
> > disable = no
> > socket_type = dgram
> > protocol= udp
> > wait= yes
> > user= root
> > server  = /usr/sbin/in.tftpd
> > server_args = --logfile /var/log/atftpd.log
>
> The --logfile dont exist in my man page!
> Can you try to remove it (including /var/log/atftpd.log ) ?
> Can you try to start tftpd from command line using this option and see
> if you have any error ?

Hi Guys,

Yup. That line is the guilty one.

I have removed the arguments by setting server_args to none and
restarted the service. Then I tested it by doing a transfer and it's
working already.

Thanks guys! :)

-- 
Stand before it and there is no beginning.
Follow it and there is no end.
Stay with the ancient Tao,
Move with the present.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Re: [CentOS-announce] Release for CentOS-5.1 i386 and x86_64

2007-12-02 Thread Matt Arnilo S. Baluyos (Mailing Lists)
On 03/12/2007, Matt Arnilo S. Baluyos (Mailing Lists)
<[EMAIL PROTECTED]> wrote:
> On 03/12/2007, James A. Peltier <[EMAIL PROTECTED]> wrote:
> > Karanbir Singh wrote:
> > > 
> > > This is the first release where we are also publishing a special
> > > netinstall iso that can be used to start a remote install. Its
> > > included in the isos/ directory. This iso is in addition to the
> > > boot.iso published in the images/ directory of the distribution -
> > > there are no changes to that file.
> > > 
>
> Is this netinstall ISO pretty much the same as the ServerCD of the
> CentOS 4 series?

Hmmm. Just looked at the mirror directory, the ISO is only 7.3 MB - so
I guess it's not the same as the Server CD.

-- 
Stand before it and there is no beginning.
Follow it and there is no end.
Stay with the ancient Tao,
Move with the present.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Re: [CentOS-announce] Release for CentOS-5.1 i386 and x86_64

2007-12-02 Thread Matt Arnilo S. Baluyos (Mailing Lists)
On 03/12/2007, James A. Peltier <[EMAIL PROTECTED]> wrote:
> Karanbir Singh wrote:
> > 
> > This is the first release where we are also publishing a special
> > netinstall iso that can be used to start a remote install. Its
> > included in the isos/ directory. This iso is in addition to the
> > boot.iso published in the images/ directory of the distribution -
> > there are no changes to that file.
> > 

Is this netinstall ISO pretty much the same as the ServerCD of the
CentOS 4 series?

-- 
Stand before it and there is no beginning.
Follow it and there is no end.
Stay with the ancient Tao,
Move with the present.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] African IP addresses list

2008-06-27 Thread Matt Arnilo S. Baluyos (Mailing Lists)
Hi all,

I am trying to block all IP addresses from Africa due to a high rate
of fraudulent orders coming from them.

I have some found some websites that can generate a range of IP
addresses. However, you would have to enter the ranges by country. I
can use those perhaps but that would mean I would have to get the
ranges for each country one by one.

Has anyone here a list of addresses from Africa already? It would
definitely be a time saver for me. My firewall uses IP blocking by
CIDR.

Thanks,
Matt

-- 
Stand before it and there is no beginning.
Follow it and there is no end.
Stay with the ancient Tao,
Move with the present.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] African IP addresses list

2008-07-01 Thread Matt Arnilo S. Baluyos (Mailing Lists)
On Sun, Jun 29, 2008 at 4:58 AM, Miark <[EMAIL PROTECTED]> wrote:
> ... and by "high rate" I assume you mean 100%, just as my
> company has experienced.

Yes. Our company had lost some money because of this incident. It has
all the signs of an organized syndicate as they use stolen credit
cards to buy from our store and then have the goods shipped to an
address in Australia which forwards to wherever they are going to pick
them up.

>> Has anyone here a list of addresses from Africa already?
> I use:
>
>  * 041/8
>  * 154/8
>  * 196/8
>
> which I got from here:
>
>  * http://www.iana.org/assignments/ipv4-address-space

Thanks. That is exactly what I was looking for. I have now added a
rule to our firewall (APF).



-- 
Stand before it and there is no beginning.
Follow it and there is no end.
Stay with the ancient Tao,
Move with the present.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] African IP addresses list

2008-07-01 Thread Matt Arnilo S. Baluyos (Mailing Lists)
On Sat, Jun 28, 2008 at 2:58 AM, Raymond Lillard <[EMAIL PROTECTED]> wrote:
> Matt,
>
> I've no idea where on planet Earth you are located, but
> if you think firewalling any block of addresses is good
> policy for your site, that is your prerogative.
>
> I am aware of several small companies whose business
> interests are confined to with in a few hours driving
> distance from their offices.  Accepting traffic only
> from ARIN, blocking all others reduced spam and various
> other misbehaviors by more than 50%.
>
> These businesses have computing facilities for the
> operation of the business and not for entertainment
> of its employees.  Address blocking and clear acceptable
> use policies have greatly reduced IT administration
> costs for these companies.
>
> Go to IANA for the list of class A address allocations.
>
> http://www.iana.org/assignments/ipv4-address-space

Thanks Ray.

We are an Australian company and we only ship to within Australia so
it's highly suspicious that someone from Africa would be ordering from
our online store.


-- 
Stand before it and there is no beginning.
Follow it and there is no end.
Stay with the ancient Tao,
Move with the present.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] PAE or use 64-bit?

2009-06-08 Thread Matt Arnilo S. Baluyos (Mailing Lists)
Hi all,

Which would you recommend for a 4GB+ machine?

A 32-bit install with PAE-enabled kernel or just use 64-bit?

Regards,
Matt

-- 
Stand before it and there is no beginning.
Follow it and there is no end.
Stay with the ancient Tao,
Move with the present.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] PAE or use 64-bit?

2009-06-08 Thread Matt Arnilo S. Baluyos (Mailing Lists)
On Tue, Jun 9, 2009 at 2:09 PM, Akemi Yagi wrote:
> On Mon, Jun 8, 2009 at 8:30 PM, Filipe
> Brandenburger wrote:
>
>> Even though PAE might work reasonably well if you have 4GB or 6GB or
>> 8GB and with your current applications, 64-bit will keep working well
>> when you need to upgrade your machine to 16GB or 32GB and run
>> additional applications or newer versions that need to address more
>> than 4GB per process.
>
> Indeed.  This reminded me of the incorrect description about
> kernel-PAE in the CentOS documentaion.  I filed a request to correct
> it in this bug tracker:
>
> http://bugs.centos.org/view.php?id=3231

Thanks guys.

It's 64-bit then.

-- 
Stand before it and there is no beginning.
Follow it and there is no end.
Stay with the ancient Tao,
Move with the present.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Dealing with backscatter

2009-07-27 Thread Matt Arnilo S. Baluyos (Mailing Lists)
Hi all,

I've had to deal with a sudden surge of backscatter email lately.

Would anyone be able to suggest to solutions that worked for them
regarding this problem?

We are using Scalix 11 as our email platform. It uses Sendmail MTA for
those who may not be familiar.

Thanks,
Matt

-- 
Stand before it and there is no beginning.
Follow it and there is no end.
Stay with the ancient Tao,
Move with the present.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Run GNU screen as a normal user

2009-08-29 Thread Matt Arnilo S. Baluyos (Mailing Lists)
Hi guys,

I am currently looking for a workaround with regards to running screen
as a normal user.

When I try to run it, I get the following:

[mbalu...@mla torrents]$ screen
Cannot open your terminal '/dev/pts/0' - please check.

To get around this, I had to chmod 777 /dev/pts/0. It's an insecure
hack so I'm looking for the right way of doing it.

Would anyone be able to guide me as to how I can run screen the way
normal users should run it?

This behavior just seemed to happen with CentOS 5.3. I remember not
running into such issues on an older CentOS/screen version.

Thanks in advance,
Matt

-- 
Stand before it and there is no beginning.
Follow it and there is no end.
Stay with the ancient Tao,
Move with the present.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Run GNU screen as a normal user

2009-08-29 Thread Matt Arnilo S. Baluyos (Mailing Lists)
OK. Got it figured out.

It seemed that it didn't work because I was su'ing to that normal user
when I originally logged in as root.

Apparently, you can only use screen (at least without any workaround)
when you log in as the user you want to run it on.

On Sun, Aug 30, 2009 at 2:29 AM, Matt Arnilo S. Baluyos (Mailing
Lists) wrote:
> Hi guys,
>
> I am currently looking for a workaround with regards to running screen
> as a normal user.
>
> When I try to run it, I get the following:
>
> [mbalu...@mla torrents]$ screen
> Cannot open your terminal '/dev/pts/0' - please check.
>
> To get around this, I had to chmod 777 /dev/pts/0. It's an insecure
> hack so I'm looking for the right way of doing it.
>
> Would anyone be able to guide me as to how I can run screen the way
> normal users should run it?
>
> This behavior just seemed to happen with CentOS 5.3. I remember not
> running into such issues on an older CentOS/screen version.
>
> Thanks in advance,
> Matt


-- 
Stand before it and there is no beginning.
Follow it and there is no end.
Stay with the ancient Tao,
Move with the present.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Using yum with CentOS-2 mirrors

2009-09-23 Thread Matt Arnilo S. Baluyos (Mailing Lists)
Hi all,

I was having yum errors while updating our CentOS-2 box. Further
reading lead me to a readme file on the mirrors
(http://mirror.centos.org/centos-2/readme.txt) and it gave me the new
URL to use for CentOS-2 mirrors. I have edited /etc/yum.conf with the
new URLs but I'm still having issues with yum giving me "ValueError:
unpack list of wrong size" errors.

Has anyone been able to update their yum configuration to be still
able to use yum? How were you able to configure it?

I understand that CentOS-2 has now reached its EOL but we have a
legacy application that won't run on newer distros.

-- 
Stand before it and there is no beginning.
Follow it and there is no end.
Stay with the ancient Tao,
Move with the present.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Using yum with CentOS-2 mirrors

2009-09-27 Thread Matt Arnilo S. Baluyos (Mailing Lists)
On Fri, Sep 25, 2009 at 7:20 AM, Scott Silva  wrote:
> on 9-23-2009 11:41 PM Matt Arnilo S. Baluyos (Mailing Lists) spake the 
> following:
>>
>> I understand that CentOS-2 has now reached its EOL but we have a
>> legacy application that won't run on newer distros.
>>
> EOL means there will be no updates. So yum is not going to help you get
> updates that don't exist. Are you sure that the app won't run on newer
> distros, or you just might need a legacy library that isn't installed by
> default on a newer distro?

Hi Scott,

Thanks for the response.

The primary reason for our need to have the CentOS-2 mirrors is for
automated installation of packages if needed rather than getting the
latest package updates.

Also, as we have already put the system into production, it would be
best for us to make do with what's in there already.

Regards,
Matt

-- 
Stand before it and there is no beginning.
Follow it and there is no end.
Stay with the ancient Tao,
Move with the present.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Using yum with CentOS-2 mirrors

2009-09-27 Thread Matt Arnilo S. Baluyos (Mailing Lists)
On Fri, Sep 25, 2009 at 8:16 AM, Karanbir Singh  wrote:
> On 24/09/09 07:41, Matt Arnilo S. Baluyos (Mailing Lists) wrote:
>> I was having yum errors while updating our CentOS-2 box. Further
>> reading lead me to a readme file on the mirrors
>> (http://mirror.centos.org/centos-2/readme.txt) and it gave me the new
>> URL to use for CentOS-2 mirrors.
>
> what did you have as the baseurl earlier and what have you changed it to
> now ?

Hi Karan,

This is the current /etc/yum.conf:

[r...@odx root]# cat /etc/yum.conf
[main]
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest

[base]
name=CentOS-2 base
baseurl=http://mirror.centos.org/centos-2/i386/CentOS/
;baseurl=http://vault.centos.org/2.1/final/i386/CentOS/

[updates]
name=CentOS-2 updates
baseurl=http://mirror.centos.org/centos-2/updates/
;baseurl=http://vault.centos.org/2.1/updates/i386/

;[extras]
;name=CentOS-2 extras
;baseurl=http://mirror.centos.org/centos-2/extras/

Note that I have reverted the URLs back to their default, the
commented lines are what I tried earlier to be able to use the
archived CentOS-2 mirrors.



-- 
Stand before it and there is no beginning.
Follow it and there is no end.
Stay with the ancient Tao,
Move with the present.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] yum-fastestmirror inconsistent exclude behavior

2010-08-05 Thread Matt Arnilo S. Baluyos (Mailing Lists)
Hi guys,

I'm trying to figure out something wherein excluded repositories for
the yum-fastestmirror plugin are still being used by the system.

To illustrate:

[r...@sales ~]# cat /etc/yum/pluginconf.d/fastestmirror.conf
[main]
enabled=1
verbose=0
socket_timeout=3
hostfilepath=/var/cache/yum/timedhosts.txt
maxhostfileage=10
maxthreads=15
#exclude=.gov, facebook
exclude=maulvi, .gov.ph, .vn

(Note the name of mirrors that I am trying to exclude)

However, when I run yum, this is what I get:

[r...@sales ~]# yum update
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Excluding mirror: mirror.pscigrid.gov.ph
Excluding mirror: mirror.viethosting.vn
 * addons: centos.maulvi.net
Excluding mirror: mirror.pscigrid.gov.ph
Excluding mirror: mirror.viethosting.vn
 * base: centos.maulvi.net
Excluding mirror: mirror.pscigrid.gov.ph
Excluding mirror: mirror.viethosting.vn
 * extras: centos.maulvi.net
 * rpmforge: fr2.rpmfind.net
Excluding mirror: centos.maulvi.net
 * updates: mirror.viethosting.vn
Setting up Update Process
No Packages marked for Update
[r...@sales ~]#

If you notice, centos.maulvi.net is still being used despite me
putting it on the exclude list of the fastestmirror config. Also, the
behavior does not seem to be consistent as on another repo (updates),
the previously excluded mirror.viethosting.vn is used.

Any pointers on what I could be doing wrong? or is this a bug?

Thanks!

Regards,
Matt

-- 
Stand before it and there is no beginning.
Follow it and there is no end.
Stay with the ancient Tao,
Move with the present.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] screen not sourcing .bashrc

2008-08-25 Thread Matt Arnilo S. Baluyos (Mailing Lists)
Hi everyone,

I use the "screen" command from time to time and what i would still
have to figure out how to do is for it to be able to source .bashrc
and read my user-defined configuration (aliases for example).

I have already added the "source /root/.bashrc" line on
/root/.screenrc but it doesn't seem to be working.

Would anyone know how this should work?

Thanks,
Matt

-- 
Stand before it and there is no beginning.
Follow it and there is no end.
Stay with the ancient Tao,
Move with the present.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Back up to Rackspace Cloud Files from a CentOS server

2010-03-28 Thread Matt Arnilo S. Baluyos (Mailing Lists)
Hi all,

I'm looking for a solution to be able to back up to a Rackspace Cloud
Files account from a CentOS server.

I have set up Duplicity but have found out that the back-ups are in
GPG-encrypted volumes. There are also GUI clients for Windows and Mac
but they're not what I need.

I'm looking for something like a command-line tool that will let me
push directories on the server (via rsync perhaps) to the Rackspace
Cloud Files container. Being able to run it non-interactively on the
shell is a requirement because I need to be able to run backup scripts
via cron.

Any help would be appreciated. Thanks.

-Matt

-- 
Stand before it and there is no beginning.
Follow it and there is no end.
Stay with the ancient Tao,
Move with the present.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos