Re: [CentOS] Mail has quit working

2018-07-23 Thread tdukes




 Original Message 
Subject: Re: [CentOS] Mail has quit working
From: Nataraj 
Date: Mon, July 23, 2018 9:01 pm
To: centos@centos.org

On 07/23/2018 03:39 PM, TE Dukes wrote:
> Hello,
>
> Mail has come to an abrupt stop. Running C7, postfix and dovecot. Using
> Roundcube as the client.
>
> Mail stopped working Saturday and I cannot figure was has happened. I have
> not touched this server except to upgrade packages. I believe Roundcube was
> updated maybe a week ago but know I was getting mail since then.
>
> Crond is no longer send mail. I checked /var/spool/mail as well as /Maildir
> in home directories. Zero byte files.
>
> Checked all logs and the only thing I could find was in /var/log/maillog :
> warning hostname localhost does not resolve to address 127.0.0.1
>
> I corrected that by changing inet_interfaces to localhost from all in
> postfix.cf
>
> When I try to log in with Roundcube, it just times out.
>
> I'm stuck!
>
> TIA for any suggestions!!
>
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos

More information would be helpful to troubleshoot this.  Try sending
output from:

postfix status

mailq

Try telnetting to your smtp server and sending a message like this from
the local system:
substitute a valid user/domain on the mail from line and a valid email
address in your domain
on the rcpt to line. Do this, logged onto the mailserver.

telnet localhost 25
helo mydomain.com (substitute a valid domain here)
mail from: 
rcpt to: 
data
From: someu...@validdomain.com
to: youremailaddr...@yourdomain.com
subject: test

This is a test mesage
.

note: blank line between mail headers and body

end data with line containing only '.'.

Then check your maillog and send the output to the list.


Nataraj

postfix status:

postfix/postfix-script: the Postfix mail system is running: PID 5936

mailq: Mail queue is empty

Did the telnet localhost 25, it answered but not sure I understood you
what I needed to do.

Thanks!!
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] usb drives & Orico ORICO 9548U3-BK

2017-02-19 Thread tdukes

> -Original Message-
> From: CentOS [mailto:centos-boun...@centos.org] OnBehalf Of Gregory P.
> Ennis
> Sent: Sunday, February 19, 2017 12:31 PM
> To: centos@centos.org
> Subject: Re: [CentOS] usb drives & Orico ORICO9548U3-BK
> 
> 
> >
> > I decided to build an archive server for thepurpose of backing up
> > other fedora/centos desktops at theoffice.  I built a machine and
> > have installed Centos 7.3 on it with all updatescurrent.  I also
> > purchased a 3.0 usb sata drive cabinet (OricoORICO 9548U3-BK) and
> > installed two 5T black WDdrives.   There was no problem installing
> > the usb cabinet or the drives.  Iformatted each drive with xfs as
> > /dev/sdc and /dev/sdd, and then combined theminto a software mirrored
> > raid with mdadm as /dev/md0.
> 
> I've always thought that the perceived wisdom is tonot try and do software
> raid across USB - especially when both drives are atthe other end of the
> same USB cable. Sure USB 3 is faster and there's abetter chance it will appear
> to work at a reasonable speed, but it's notsomething I would contemplate.
> 
> >
> > Everything was working perfectly until Iremoved the terminal,
> > keyboard and mouse and tried to reboot themachine.  It took a while
> > to figure out, but when the mouse and keyboardwere removed the boot
> > process assigns the usb drives differentlywhich makes /dev/md0
> > created by mdadm fail.
> 
> Which means that the drive letters are explicitlymentioned in
> /etc/mdadm.conf - you can change it to be wildcardedor leave mdadm to
> figure it all out itself.  See 'manmdadm.conf'.
> 
> >
> > My fstab file looks like :
> >
> > /dev/mapper/centos_poar-root  /xfsdefaults  0
> > 0
> > UUID=f915a354-28bf-4110-bec9-3767ef1fe52c/bootxfsdefaults  0
> > 0
> >/dev/mapper/centos_poar-home  /homexfs defaults 0
> > 0
> >/dev/mapper/centos_poar-u /u   xfs defaults 0
> > 0
> >/dev/mapper/centos_poar-swap  swap swapdefaults 0
> > 0
> >/dev/sda  /u0  btrfs   defaults 0
> > 0
> > # entries below were combined into one mirroredraid system
> #/dev/sdc
> >/u1  xfs defaults 0
> > 0
> >#/dev/sdd/u2  xfs defaults 0
> > 0
> >/dev/md0/u1  xfs defaults 0
> > 0
> 
> Another likely issue is that you explicitly mention/dev/sda in the fstab - if 
> the
> drives are re-ordered, then /dev/sda will not bewhat you think it is.  It's a
> much better idea to use UUIDs when mounting drives.You can find the UUID
> with
> 
>   lsblk --fs /dev/sda
> 
> BTW, are you really using partitionless disks - isit really /dev/sda and not
> /dev/sda1 ?
> 
> >
> >
> > This works perfectly when a usb mouse and a usbkeyboard are attached,
> > but when I remove the mouse and keyboard thesystem will not boot
> > because the usb drives are relabeled as/dev/sda and /dev/sdb.
> 
> I would have thought that any SATA drives would havebeen processed
> before the USB drives - certainly it looks that wayon my system. Try going
> through the output of dmesg to see if you can seewhat is really happening
> when in the boot sequence.
> 
> >
> >
> > My thought is that if I could force the usbdrives to be labeled as
> > /dev/sdc and /dev/sdd whether the mouse andkeyboard are attached or
> > not, I might be able to fix the problem
> 
> It's much easier to make sure you don't explicitlyuse drive letters - because,
> as you've found out, they can change.  Usefilesystem labels or UUIDs or disk
> IDs. The disk IDs can be found in /dev/disk/by-idand they should remain the
> same.
> 
> P.
> 
>-
> 
> Pete,
> 
> Thank you for such excellent help; I appreciate yourwisdom and challenges.
> The machine I am working on is still at the 'lab'stage so everything can be
> changed at this point.  I don't have the benefit of much 'perceivedwisdom' in
> that most of my knowledge comes from mistakes I havemade or mistakes
> others on this list have made that Ican learnfrom.  So thanks again.
> 
> Here are some of my thoughts... right or wrong.
> 
> #1. 3.0 USB drives
> I originally performed some testing on a small usbpassport 3T drive and was
> amazed by the response and access times.  I stumbled across the Orico
> cabinet during a NewEgg search, and decided to giveit a try.  I was even
> more impressed with the response and accesstimes.  I decided to attempt a
> mdadm raid on the the Orico and everything hasworked better than
> expected except for the problems I have had withdevice
> assignments.  I did have an electrical failure at my home related to
> weather of which the ups powered down after 30minutes that caused one
> of the raid 5T drives to become corrupted.  I reformatted the drive and
> rebuilt the raid with mdadm, and everything worked alot better than I
> expected.  Iwill only be using this system to store *.tar.gz backup 

[CentOS] RAID questions

2017-02-14 Thread tdukes

Hello,

Just a couple questions regarding RAID. Here's thesituation.

I bought a 4TB drive before I upgraded from 6.8 to 7.3. I'm not too far
into this that Ican't start over. I wanted disk space to backup 3 other
machines. I way overestimated what I needed for full, incremental and
image backups with UrBackup.I've used less than 1TB so far. I would like
to add an additional drive to makeit a RAID server.

I may use a PCIe SSD for the boot drive if I can find onecompatible with
my old hardware.

1- Better to go with a hardware RAID (mainboardsupported) or software?

2 - Can an existing drive with data on it be used as aRAID drive without
losing current data?

3 - Can additional drive(s) be added later with a changein RAID level
without current data loss?

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


Re: [CentOS] Automounting a USB drive

2017-02-12 Thread tdukes



 Original Message 
Subject: Re: [CentOS] Automounting a USB drive
From: Fred Smith 
Date: Sun, February 12, 2017 9:52 pm
To: centos@centos.org

On Sun, Feb 12, 2017 at 06:19:34PM -0700, tdu...@palmettoshopper.com
wrote:
> 
> Hello,
> 
> Been try to use autofs to mount and unmount a usb flashdrive.

I've never had to do anything at all to make this work,...
I insert the USB device, wait a few seconds, and voila!

are you trying this because you can't get it to work the "normal" way,
or is this simply an educational experience?

Fred

Its not mounting on its own as it did in 6.8.

If I click on it in gnome, it mounts but REAR won't backup to it.

If i manually mount it from a terminal, I have read/write access.

Haven't been able to get a backup since I upgraded back in mid-January.

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


[CentOS] Automounting a USB drive

2017-02-12 Thread tdukes

Hello,

Been try to use autofs to mount and unmount a usb flashdrive.

The mount point is /media

When the drive is NOT inserted, /media is empty. When Iinsert the drive,
I see directories in /media that are on the usb drive but nocontent.

So, its kind working.

/etc/auto,master:

#
# Sample auto.master file
# This is a 'master' automounter map and it has thefollowing format:
# mount-point [map-type[,format]:]map [options]
# For details of the format look at auto.master(5).
#
/misc /etc/auto.misc
#
# NOTE: mounts done from a hosts map will be mounted withthe
# "nosuid"and "nodev" options unless the "suid" and "dev"
# optionsare explicitly given.
#
/net   -hosts
#
# Include /etc/auto.master.d/*.autofs
# The included files must conform to the format of thisfile.
#
+dir:/etc/auto.master.d
#
# Include central master map if it can be found using
# nsswitch sources.
#
# Note that if there are entries for /net or /misc (as
# above) in the included master map any keys that are the
# same will not be seen as the first read key seen takes
# precedence.
#
+auto.master

/media   /etc/auto.usb

/etc/auto.usb:

usb-fstype=auto:/dev/sdb1

The particular usb drive is a REAR backup drive but Iused -fstype=auto
in case it may be something different.

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


Re: [CentOS] Virtualization Networking

2016-09-28 Thread tdukes



 Original Message 
Subject: Re: [CentOS] Virtualization Networking
From: Warren Young 
Date: Wed, September 28, 2016 1:19 pm
To: CentOS mailing list 

On Sep 28, 2016, at 9:43 AM, 
 wrote:
> 
> The first one, I created in my / file system but didn't really have the
> space so I deleted it.

One of the primary advantages of VMs over real machines is that you can
pause them, move them, and then restart them, with the VM guest OS not
realizing that anything has happened.

Some virtual machine management systems even automate this, letting you
move an active VM without any downtime at all.

> The second one, I created in /home/kvm, but deleted it as well when I
> couldn't access it FROM the internet.

That’s actually the main reason to use NAT over bridged networking: to
*prevent* outsiders from connecting into the VM guest. It’s a good
thing for exactly the same reason your home internet service’s
router/gateway’s NAT is a good thing.

While it is possible to drill a hole back through the VM’s NAT layer
into the guest using port mapping rules, that amounts to double NAT,
which adds an unnecessary amount of complexity.

If all of the threats to the VM guest are outside the LAN’s border
gateway, it’s simpler to use bridged networking, and set up the port
forwarding rules on the LAN border gateway.

Beyond that general advice, you escape anything CentOS-specific, so you
need to take the problem up elsewhere, such as https://portforward.com/

> I want to be able to access this VM from the internet.

Once the VM is set to use port forwarding and a static IP, you can
forward port 22 to the Internet.

I recommend that the port forwarding rule expose the internal port 22 as
some random value on the outside. This will cut down on a lot of script
kiddie spam in your logs. Some will decry this as “security through
obscurity,” but that’s bogus. Obscurity is not a bad thing in
itself. The problem comes when obscurity is your *only* security.
That’s not the case with SSH.

I don’t recommend forwarding any other ports to the Internet, if you
can possibly get away with it. SSH can do its own port forwarding, which
reduces your VM’s attack surface from the Internet. With SSH acting as
a poor-man’s VPN, an attacker would have to break SSH before they can
get into any of your internal VM’s other services.

Alternately, you could set up a VPN, and then you wouldn’t need to
mess with port forwarding, either at the LAN border or via SSH.
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


It appears I am confused. I thought a VM could be accessible with all
services like the host machine.

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


Re: [CentOS] Virtualization Networking

2016-09-28 Thread tdukes



 Original Message 
Subject: Re: [CentOS] Virtualization Networking
From: John R Pierce 
Date: Wed, September 28, 2016 12:54 pm
To: CentOS mailing list 

On 9/28/2016 8:43 AM, tdu...@palmettoshopper.com wrote:
> I'm a little confused on which networking option I need to choose when
> setting up a VM.

the host thats running the VM, is it connected to a LAN behind a 
firewall/router, or directly to the internet? if directly, is there a 
dedicated internet IP address that the VM can use? if yes, then you 
want a bridged network where the VM uses that dedicated internet IP 
seperate from the host's IP.
-

Right, its connected to a router. The host acts as an internal router
for machines and devices on the LAN.


if its on a LAN with private addressing, you want to use a dedicated LAN

IP address, seperate from the host's LAN IP, but since its behinda NAT 
router, I really don't know how you'd expect it to use DDNS as that will

only see the router's internet IP address.


This is what I was seeing. Either it lands on the DSL router's login
page or the host's website.

I guess this is why I'm confused. I thought a VM could be setup as its
own domain with all available services.

-- 
john r pierce, recycling bits in santa cruz

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


[CentOS] Virtualization Networking

2016-09-28 Thread tdukes
Hello,

I'm a little confused on which networking option I need to choose when
setting up a VM.

I set up two VMs this past weekend both with NAT. Both able to were
access the internet.

The first one, I created in my / file system but didn't really have the
space so I deleted it.

The second one, I created in /home/kvm, but deleted it as well when I
couldn't access it FROM the internet. I had a full backup scheduled for
that night and deleted it as well.

I have one of those free domains/DNS from no-ip.com, centos7vm.ddns.net
I plan to use as the host name.

I want to be able to access this VM from the internet.

So, how much in the network setup for the new installation do I need to
do? Do I need to go with NAT or bridged?


I did four installations last night and could get any of the access the
internet with ym. Must have been dumb luck the first two times.

I think it maybe something in iptables from one of the previous installs
causing the problem. In ifconfig, I still have virbr0 and virbr1. Didn't
have those before.

Here's my iptables:

# Generated by iptables-save v1.4.7 on Tue Sep 27 22:17:35 2016
*mangle
:PREROUTING ACCEPT [29980:14598541]
:INPUT ACCEPT [4740:1518258]
:FORWARD ACCEPT [25240:13080283]
:OUTPUT ACCEPT [6749:1743387]
:POSTROUTING ACCEPT [30207:14647456]
-A POSTROUTING -o virbr0 -p udp -m udp --dport 68 -j CHECKSUM
--checksum-fill 
-A POSTROUTING -o virbr1 -p udp -m udp --dport 68 -j CHECKSUM
--checksum-fill 
-A POSTROUTING -o virbr0 -p udp -m udp --dport 68 -j CHECKSUM
--checksum-fill 
-A POSTROUTING -o virbr1 -p udp -m udp --dport 68 -j CHECKSUM
--checksum-fill 
COMMIT
# Completed on Tue Sep 27 22:17:35 2016
# Generated by iptables-save v1.4.7 on Tue Sep 27 22:17:35 2016
*nat
:PREROUTING ACCEPT [1130:73984]
:POSTROUTING ACCEPT [20:1245]
:OUTPUT ACCEPT [245:19366]
-A POSTROUTING -s 192.168.122.0/24 ! -d 192.168.122.0/24 -p tcp -j
MASQUERADE --to-ports 1024-65535 
-A POSTROUTING -s 192.168.122.0/24 ! -d 192.168.122.0/24 -p udp -j
MASQUERADE --to-ports 1024-65535 
-A POSTROUTING -s 192.168.122.0/24 ! -d 192.168.122.0/24 -j MASQUERADE 
-A POSTROUTING -s 192.168.122.0/24 ! -d 192.168.122.0/24 -p tcp -j
MASQUERADE --to-ports 1024-65535 
-A POSTROUTING -s 192.168.122.0/24 ! -d 192.168.122.0/24 -p udp -j
MASQUERADE --to-ports 1024-65535 
-A POSTROUTING -s 192.168.122.0/24 ! -d 192.168.122.0/24 -j MASQUERADE 
-A POSTROUTING -o eth1 -j MASQUERADE 
-A POSTROUTING -o br0 -j MASQUERADE 
-A POSTROUTING -o eth0 -j MASQUERADE 
COMMIT
# Completed on Tue Sep 27 22:17:35 2016
# Generated by iptables-save v1.4.7 on Tue Sep 27 22:17:35 2016
*filter
:INPUT ACCEPT [0:0]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
:IP4BOGONS - [0:0]
:f2b-default - [0:0]
:f2b-dovecot-pop3imap - [0:0]
-A INPUT -m set --match-set blacklistnet src -j DROP 
-A INPUT -m set --match-set blacklist src -j DROP 
-A INPUT -s 127.0.0.1/32 -j ACCEPT 
-A INPUT -m set --match-set block src -j DROP 
COMMIT
# Completed on Tue Sep 27 22:17:35 2016


And my ifconfig:

eth0  Link encap:Ethernet  HWaddr 44:37:E6:53:1E:E2  
  inet addr:192.168.1.110  Bcast:192.168.1.255 
Mask:255.255.255.0
  inet6 addr: fe80::4637:e6ff:fe53:1ee2/64 Scope:Link
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:601486 errors:0 dropped:0 overruns:0 frame:0
  TX packets:601818 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000 
  RX bytes:412662650 (393.5 MiB)  TX bytes:508284675 (484.7 MiB)
  Interrupt:20 Memory:fe50-fe52 

eth1  Link encap:Ethernet  HWaddr 00:1B:21:AF:6D:22  
  inet addr:192.168.0.111  Bcast:255.255.255.255 
Mask:255.255.255.0
  inet6 addr: fe80::21b:21ff:feaf:6d22/64 Scope:Link
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  TX packets:260 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000 
  RX bytes:0 (0.0 b)  TX bytes:53372 (52.1 KiB)

loLink encap:Local Loopback  
  inet addr:127.0.0.1  Mask:255.0.0.0
  inet6 addr: ::1/128 Scope:Host
  UP LOOPBACK RUNNING  MTU:65536  Metric:1
  RX packets:44216 errors:0 dropped:0 overruns:0 frame:0
  TX packets:44216 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:0 
  RX bytes:26786210 (25.5 MiB)  TX bytes:26786210 (25.5 MiB)

virbr0Link encap:Ethernet  HWaddr 00:00:00:00:00:00  
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:0 
  RX bytes:0 (0.0 b)  TX bytes:162 (162.0 b)

virbr1Link encap:Ethernet  HWaddr 00:00:00:00:00:00  
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  TX packets:4 errors:0 dropped:0 

Re: [CentOS] ipset and blacklisting

2016-09-21 Thread tdukes



 Original Message 
Subject: Re: [CentOS] ipset and blacklisting
From: "Albert McCann" 
Date: Wed, September 21, 2016 5:34 am
To: "'CentOS mailing list'" 

How are you saving and reloading the ipsets over a reboot?

> -Original Message-
> From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On
> Behalf Of TE Dukes
> Sent: Tuesday, September 20, 2016 9:46 PM
> To: 'CentOS mailing list' 
> Subject: [CentOS] ipset and blacklisting
> 
> This is what ipset can do for traffic on a home server that's not wanted
> on
> a slow 6MB DSL connection.
> 
> http://palmettoshopper.com/httpd_traffic.jpg
> 
> I only use my home server for zoneminder, testing my commercial website
> and
> streaming movies.
> 
> Got tired of hackers looking for files that don't exist on my home server
> and non-complying robots.
> 
> Check the drop in bandwidth.
> 
> Setup up a redirect to the NSA webite. They can deal with the hackers.
> 
> HTH
> 

I do a:

ipset save blacklist, and service ipset save

I use three scripts:

access_log_ips.sh

#!/bin/bash
##
cp /root/blacklist /root/blacklist.old

sed -e 's/\([0-9]\+\.[0-9]\+\.[0-9]\+\.[0-9]\+\).*$/\1/' -e t -e d
/var/log/httpd/access_log | sort | uniq > blacklist

exit 0



import_blacklist.sh

#!/bin/bash
##
sed s/,/\\n/g /root/blacklist |while read i; do ipset add blacklist $i

/usr/sbin/ipset save blacklist

# rm -f /root/blacklist.old

done

and most importantly so I don't ban myself,

ipset_whitelist.sh

#!/bin/bash
##
ipset del blacklist 192.168.1.102
ipset del blacklist 192.168.1.110
ipset del blacklist 107.161.163.5
ipset del blacklist 24.168.204.125
ipset del blacklist 107.161.163.4
ipset del blacklist 66.87.133.247
ipset del blacklist 107.161.163.10
ipset del blacklist 192.240.96.67
ipset del blacklist 107.161.163.8
ipset del blacklist 192.240.96.133
ipset del blacklist 127.0.0.1

ipset save blacklist

service ipset save

exit 0

I combined the three in another script that runs 4 times a day.
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Networking/routing issue

2016-09-03 Thread tdukes



 Original Message 
Subject: Re: [CentOS] Networking/routing issue
From: Ulf Volmer 
Date: Sat, September 03, 2016 5:47 am
To: centos@centos.org

On 09/03/2016 01:31 PM, TE Dukes wrote:

> Centos 6.8 server eth0 > 192.168.1.110 > gateway 192.168.1.111
> eth1 > 192.168.1.111 > gateway
> 192.168.1.100
> |
> |
> Switch > other computers and devices > gateway 192.168.1.110
> 
> I want to send all internal traffic through 192.168.1.110, all external
> traffic through 192.168.1.111, then back through 192.168.1.110.

As far as i understand, you have two interfaces in the same subnet.

This is usually a bad idea.

best regards
Ulf Volmer

A few of the examples I tried, had them on different subnets. I will
change that and see what happens.

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


[CentOS] (OT) Computer seems to have died

2016-01-04 Thread tdukes
Hello, 

I have an old IBM Netvista. Lately, it would seem to go into sleep mode
but I have all that disabled. I would have to power off to wake it up.
Now I think its done. I can't even get to the CMOS/BIOS. The power light
is on but no beeps or anything spinning up. 

I have two of these Netvistas and had put on away when I upgraded one of
the machines. I pulled the HD from it and installed it in the other.
Same thng. I'm fairly certain it was working when I updraded. I've
swapped out monitors as well. 

Power supply or hard drive, any ideas? 

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


Re: [CentOS] zoneminder

2014-02-05 Thread tdukes



 Original Message 
Subject: [CentOS] zoneminder
From: m.r...@5-cent.us
Date: Wed, February 05, 2014 8:58 am
To: CentOS mailing list centos@centos.org

Is there a package for zoneminder in the std repos (base, rpmfusion,
epel), or just on rpmforge?

 mark unless someone's got a security DVR to loan us for testing

Last time I checked on RPM Pbone search, there was not a current
packe\age compatible with Centos 6.

I took one from SRPM from rawhide and rebuilt it. The newer packages
have a different kind on init script that Fedora uses.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Motion Detecting Camera

2014-02-01 Thread tdukes



 Original Message 
Subject: [CentOS] Motion Detecting Camera
From: Leslie S Satenstein lsatenst...@yahoo.com
Date: Sat, February 01, 2014 7:27 am
To: centos@centos.org centos@centos.org

mark wrote

With the continuing annoyance from motion, my manager's asked me to go
looking again for a video surveillance appliance: basically, a
motion-detecting DVR and cameras. The big thing, of course, is a) price
(this is a US federal gov't agency, and being civilian, money is
*tight*,
don't give me the libertarian/GOP line about how freely we spend,
thankyouverymuch), b) it has to be on the network, and c) we need to be
able to d/l to a server, and rm after we do that... and we want to
script
or cron job that.

I was in Costco (USA warehouse store) and saw a Philips LED display,
Camera, Recorder, that was motorized. The camera followed the movement
across the front of it, and could snapshot to a memory chip.  It was
under $80.00 for the ensemble. The floor model worked well.

If you do not require realtime recording to a hard disk, then this item
may be a reasonable cost solution.



 
Regards 

 Leslie

Mr. Leslie Satenstein
SENT FROM MY OPEN SOURCE LINUX SYSTEM.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos



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


[CentOS] Strange Postfix problem

2013-04-09 Thread tdukes
Hello,

Was trying to setup postfix on my home PC. Running Centos 6.4. I don't
have a static IP and use zoneedit and ddclient to keep my installation
of zoneminder current.

So I decided I wanted to get zoneminder to send me email alerts. Sent
some test messages but none were sent.

I went to webdnstools website thinking maybe there is a dns or network
problem.

When it checks my dns setup, everything is fine except the mail server
is has the wrong IP address. The A record and the www A record have the
correct IP. The IP address its reporting is one that belongs to my ISP.

TIA


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


Re: [CentOS] This doesn't make sense

2011-09-21 Thread tdukes
As the OP, I will say this. I blew out my CentOS 6.0 installation having installed SL kernel and firmware packages. I thought I would install SL 6.1 to see how it would be since it was a new install with no real value as far as customizations. It wouldn't run after the installation, boot up and crap out. And no, I didn't burn the DVDs on the bad DVD burner.My thinking was how could the SL people be better than the CentOS people. They aren't for reasons unbeknown to me.While I'm in the process of changing ISPs, I'm stuck hotspotting my (home) internet through my iPhone. Hopefully, I will be back by the weekend.I will be sticking with CentOS with a few mods from SL. I don't know, but I would wager RH is having 6.1 problems.Thanks for ALL you do!!Eddie
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Networking question

2011-09-07 Thread tdukes

 m.r...@5-cent.us wrote: 
 tdu...@sc.rr.com wrote:
   David G. Miller d...@davenjudy.org wrote:
   tdukes@... writes:
  
   Is it possible to use a mobile hot spot such as the one from Verizon
   to run a home network? Is there a way to do
   this without having to buy wireless cards? I was thinking maybe I
 snip
  After checking with Verizon on their mobile Hotspot plans, it isn't
  feasible. However, I can do it through my unlimited data plan for my
  iPhone. 3G is faster than the Road Runner service I have.
 
  If I use the IPhone, I can use a USB connection. My centos machine acts as
  my firewall/gateway on my wired network so the question now is, if I use
  the USB connection to my centos machine will that bypass the firewall?
 
 Why go through all these contortions? Why not get a wired (or FIOS) drop
 in your house, and get *much* larger bandwidth (and more secure)? Most of
 the cable modems or DSL modems they give you these days have wireless, as
 well.

I'm done with Time Warner Cable/Road Runner. Looking for alternatives.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Networking question

2011-09-07 Thread tdukes

 Les Mikesell lesmikes...@gmail.com wrote: 
 On Wed, Sep 7, 2011 at 1:40 PM,  tdu...@sc.rr.com wrote:
 
 
  After checking with Verizon on their mobile Hotspot plans, it isn't 
  feasible. However, I can do it through my unlimited data plan for my 
  iPhone. 3G is faster than the Road Runner service I have.
 
 That's kind of pathetic for a cable service.  Is that the best they
 can do or is this a 'Lite' service?

It is what the call the speed of light package. Not the slowest and not the 
fastest. Its just their crappy service, customer service, etc.

I watched a football (not soccer) on my iPhone and the same game over cable on 
my PC on ESPN3. The 3G was perfect (except) for the same screen. :-) Watching 
on the PC was like looking through your car windshield in pouring down rain 
without windshield wipers.
 
 -- 
   Les Mikesell
lesmikes...@gmail.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] Networking question

2011-09-07 Thread tdukes

 John R Pierce pie...@hogranch.com wrote: 
 On 09/07/11 12:15 PM, tdu...@sc.rr.com wrote:
  I watched a football (not soccer) on my iPhone and the same game over cable 
  on my PC on ESPN3. The 3G was perfect (except) for the same screen. :-) 
  Watching on the PC was like looking through your car windshield in pouring 
  down rain without windshield wipers.
 
 that could be a lot of things, such as video streams optimized for the 
 small screen of the iphone...  also, the small screen hides compression 
 artifacts that would be obvious and annoying on a larger screen...

Could be. I think my roadrunner is 3MB down and .5MB up. 

I jailbroke my iphone last night a installed a wifi hotspot package. The laptop 
I'm on, tethered to it shows 15MB down and 5MB up.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Networking question

2011-09-06 Thread tdukes
Hello,

Is it possible to use a mobile hot spot such as the one from Verizon to run a 
home network? Is there a way to do this without having to buy wireless cards? I 
was thinking maybe I would have to buy one for my centos machine which acts as 
my gateway but would like to have other devices wired.

Not sure if a wireless router or access point would allow me to do so.

TIA,

Eddie

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


Re: [CentOS] ffmpeg

2011-08-10 Thread tdukes
 m.r...@5-cent.us wrote: 
 This is annoying. I've been trying to get motion working correctly on
 CentOS 6. First, there was no ffmpeg rpms. Now, I try to install it, and
 it's found on rpmfusion... except that it will not install. It insists
 that libfaad.so.0 is required, and tells me faad2-libs-2.6.1-5 from el5 is
 available. (I've done some stuff with my repos to try to get what I need
 for motion.)
 
 I installed faad2-libs. It *still* will not install, telling me the same:
 Error: Package: ffmpeg-libs-0.4.9-0.52.20080908.el5.x86_64
 (rpmfusion-free-updates5-testing)
Requires: libfaad.so.0()(64bit)
Available: 1:faad2-libs-2.6.1-5.el5.x86_64
 (rpmfusion-free-updates5-testing)
libfaad.so.0()(64bit)
 
 I've run into problems with libfaad being missing before. Here's the real
 question: how were the ffmpeg and ffmpeg-libs *built*, if a libfaad
 package isn't available in the repository?
 
   mark

I use ffmpeg with Zoneminder. If you go to their website, there some links to 
download the latest version with svn. I never could find a rpm that worked.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] 5.5 install

2010-05-19 Thread tdukes

 Digimer li...@alteeve.com wrote: 
 On 10-05-19 07:10 AM, Nicolas Thierry-Mieg wrote:
  Digimer wrote:
  On 10-05-18 08:51 PM, Thomas Dukes wrote:
  Just installed from scratch 5.5
 
  Weird, eth0 is now eth1 and eth1 is eth0. Don't even know how I'm sending
  this message as the the CentOS machine can't connect to the internet and
  this windoze box uses the Centos box as a gateway.
 
  I've had to swap out the ethX mapping enough times that I wrote down how
  to do it here:
 
  http://wiki.alteeve.com/index.php/Changing_the_ethX_to_Ethernet_Device_Mapping_in_Red_Hat/CentOS
 
  Sorry for the long URL. Also, it's a side page to a larger paper, so the
  Xen stuff you can ignore. Other than that, it's a step-by-step
  walkthrough on swapping the ethX devices around.
 

Thanks,

I edited the files last night and got it set like it was.

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


[CentOS] Networking setup/help

2010-05-19 Thread tdukes
I had to install 5.5 from scratch and now I have to rebuild my home networking 
system.

I haven't had to mess with this stuff in over 5+ years and I'm sure there may 
be better ways of doing it now.

My liunx box acts as firewall/gateway for 2 other pcs. I was using a script 
from the Linux IP Masquerade HOWTO with ddclient (since I have a dynamic ip). 

Also, I don't think I need a full name server. Can I get by with a caching 
nameserver?

Thanks!!

Eddie


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


Re: [CentOS] [OT] Urgent request

2009-12-24 Thread tdukes

 Mike A. Harris mhar...@mharris.ca wrote: 
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 tdu...@sc.rr.com wrote:
  mark
  
  We have been searching the internet since Tuesday.
  
  We have already tried installing a video card, that didn't work.  The beeps 
  at start up indicate to check the video ram. It will boot and run if we put 
  it in another pc. 
  
  The server is running c-sytems software on a sco operating system.  They 
  tell us we can't pull the hard drive and move it to another pc - something 
  about a bug causing it to lose data.
  
  I've been running linux systems since the late 80's.  I have never heard of 
  this but then, I have never run a sco system either.
 ^^^
 
 I can't believe nobody commented about this yet...  ;o)
 
 Linux didn't exist until 1991, so it would have been quite the feat to
 be running it in the 1980's indeed.  ;o)
 
 I can't believe everyone let that slip by...  ;o)
 
 Merry Christmas!

Someone did and I meant the 90's
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] [OT] Urgent request

2009-12-17 Thread tdukes
Help,

Our server at work is down. The video memory is out.  Its an old IBM PC300PL, 
6892-12U, running SCO.

If anyone happens to a stick of this type memory and would be willing to sell 
it, please let me know.  Below are the requirements for the video memory:

The video memory interface is controlled by an S3 TRIO 3D graphics controller. 
The amount of SGRAM
shipped with the video subsystem is 4MB in the PC 300PL computers, and 2MB in 
the PC 300GL
computers.
The video memory module used in the PC 300PL (Types 6862 and 6892) is 2 MB 512K 
X32, with
100MHz SGRAM.
The video memory module used in the PC 300GL (Types 6275 and 6285) is 2 MB 256K 
X32, with
100MHz SGRAM. The PC 300GL (Types 6275 and 6285) can be upgraded from 2 MB 
SGRAM to 4 MB
SGRAM with a 2 MB SGRAM SODIMM. The SODIMM can be plugged into the SODIMM 
socket on the
system board.

I know, this machine should have been scraped a long time ago.

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


Re: [CentOS] [OT] Urgent request

2009-12-17 Thread tdukes

 m.r...@5-cent.us wrote: 
  tdu...@sc.rr.com wrote:
  Help,
 
  Our server at work is down. The video memory is out.  Its an old IBM
  PC300PL, 6892-12U, running SCO.
 
  If anyone happens to a stick of this type memory and would be willing to
  sell it, please let me know.  Below are the requirements for the video
  memory:
 snip
  this is a server ?  who -cares- about the video card, yank it out, and
  stick something else in its place, like a old ATI Rage card.   google is
  telling me thats a pentium-II system, so it must be about 10 years
  old.   that or pull the disks out and get them working on another
  computer.
 
  oh, its onboard video, ok, not going to replace it.
 snip
 That's silly - you put in a video card, and configure the system to use that.
 
 mark

We have been searching the internet since Tuesday.

We have already tried installing a video card, that didn't work.  The beeps at 
start up indicate to check the video ram. It will boot and run if we put it in 
another pc. 

The server is running c-sytems software on a sco operating system.  They tell 
us we can't pull the hard drive and move it to another pc - something about a 
bug causing it to lose data.

I've been running linux systems since the late 80's.  I have never heard of 
this but then, I have never run a sco system either.

Any help or suggestions?

TIA


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


Re: [CentOS] [OT] Urgent request

2009-12-17 Thread tdukes

 William L. Maltby centos4b...@triad.rr.com wrote: 
 On Thu, 2009-12-17 at 13:29 -0500, tdu...@sc.rr.com wrote:
   m.r...@5-cent.us wrote: 
  snip
 
  We have been searching the internet since Tuesday.
  
  We have already tried installing a video card, that didn't work.  The beeps 
  at start up indicate to check the video ram. It will boot and run if we put 
  it in another pc. 
  
  The server is running c-sytems software on a sco operating system.  They 
  tell us we can't pull the hard drive and move it to another pc - something 
  about a bug causing it to lose data.
  
  I've been running linux systems since the late 80's.  I have never heard of 
  this but then, I have never run a sco system either.
  
  Any help or suggestions?
 
 Some BIOS allow you to disable on-board video. Can you get to BIOS and
 see? If you can that might get you going with another video card added
 to the system.
 

We have no video at all.  Was hoping a video card would have at least let us in 
to reconfigure the bios but we are unable to see anything.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Deleting contents of /tmp on shutdown

2009-12-14 Thread tdukes

 Ross Walker rswwal...@gmail.com wrote: 
 On Dec 14, 2009, at 7:14 AM, Thomas Dukes tdu...@sc.rr.com wrote:
 
 
 
  -Original Message-
  From: centos-boun...@centos.org
  [mailto:centos-boun...@centos.org] On Behalf Of Eero Volotinen
  Sent: Monday, December 14, 2009 3:27 AM
  To: CentOS mailing list; Sorin Srbu
  Cc: 'CentOS mailing list'
  Subject: Re: [CentOS] Deleting contents of /tmp on shutdown
 
  Quoting Sorin Srbu sorin.s...@orgfarm.uu.se:
 
  -Original Message-
  From: centos-boun...@centos.org
  [mailto:centos-boun...@centos.org] On
  Behalf
  Of Geerd-Dietger Hoffmann
  Sent: Saturday, December 12, 2009 11:22 PM
  To: CentOS mailing list
  Subject: Re: [CentOS] Deleting contents of /tmp on shutdown
 
  On Sat, Dec 12, 2009 at 10:05 PM, Thomas Dukes
  tdu...@sc.rr.com wrote:
 
  I have the /tmp in memory, which effectively deletes everything on
  reboot. Maybe another solution?
 
  How do you achieve that?
  --
  /Sorin
 
 
  using tmpfs?
 
  http://kevin.vanzonneveld.net/techblog/article/create_turbocha
  rged_storage_using_tmpfs/
 
 
  One thing that's not clear in the two links that have been posted  
  about
  doing this is, do you add the line or replace the the line already  
  present
  in /etc/fstab?
 
  /dev/VolGroup00/LogVol00 /   ext3 
  defaults1 1
  LABEL=/boot /boot   ext3 
  defaults1 2
  none/dev/ptsdevpts   
  gid=5,mode=620  0 0
  none/dev/shmtmpfs
  defaults0 0
  --
  none/proc   proc 
  defaults0 0
  none/syssysfs
  defaults0 0
  /dev/VolGroup00/LogVol01 swapswap 
  defaults0 0
 
 Here is what I put in my fstab:
 
 tmpfs /tmp tmpfs defaults 0 0
 
 And your done. By default it will use 1/2 of your memory and under  
 pressure it's first to swap and even if you run off swap it gives  
 comparable performance to the way it is now.
 
 -Ross

Thanks, Ross

Do I leave this line in tact or remove/replace it:

none/dev/shmtmpfs


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


Re: [CentOS] mailscanner installation - centos 5.2 - rpmforge + vanderkooij rpms

2009-02-28 Thread tdukes
I think ClamAV updates itself via cron.

The modules you are missing can be installed from CPAN maybe yum or check Dag 
Wieers site.

 Linux Advocate linuxhous...@yahoo.com wrote: 
 
 Guys,  i have just installed  ( after reading
 the docs on the mailscanner site and centos lists ) Mailscanner, and was 
 wondering
 
 a.) How do i test my installation? is there some sample spam/ virus messages 
 that can be used to test.
 
 b.) MailScanner -V shows;
 
 b.1)
 
 LibClamAV Warning: **
 LibClamAV Warning: ***  The virus database is older than 7 days!  ***
 LibClamAV Warning: ***   Please update it as soon as possible.***
 LibClamAV Warning: **
 
 how do i update this database?
 
 b.2) there are some modules missing; how do i iinstall them or do i ignore 
 them
 
 
 
 Module versions are:
 1.00AnyDBM_File
 1.16Archive::Zip
 0.17bignum
 1.04Carp
 1.42Compress::Zlib
 1.119   Convert::BinHex
 missing Convert::TNEF --- missing ?
 
 2.121_08Data::Dumper
 2.27Date::Parse
 1.00DirHandle
 1.05Fcntl
 
 
 Optional module versions are:
 
 1.30Archive::Tar
 0.17bignum
 missing Business::ISBN missing ?
 
 missing Business::ISBN::Data
 missing Data::Dump
 1.814   DB_File
 1.14DBD::SQLite
 1.52DBI
 1.14Digest
 1.01Digest::HMAC
 2.36Digest::MD5
 2.11Digest::SHA1
 missing Encode::Detect
 missing Error
 missing ExtUtils::CBuilder
 missing ExtUtils::ParseXS
 
 
 regards,
 mgomez.
 
 
   
 ___
 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] OT: Looking for a timer/counter script

2009-01-23 Thread tdukes

 Rudi Ahlers rudiahl...@gmail.com wrote: 
 On Fri, Jan 23, 2009 at 2:27 PM, Thomas Dukes tdu...@sc.rr.com wrote:
  Hello,
 
  Was hoping someone could help me find a script for a website that increments
  at a specified rate over a specified period of time, something similar to
  the US National Debt site.  I searched hotscripts but not really sure what
  this type script would be called.
 
  TIA
 
  PS  I looked at the code for the national debt script but I can't make head
  or tails of it.
 
  ___
  CentOS mailing list
  CentOS@centos.org
  http://lists.centos.org/mailman/listinfo/centos
 
 
 
 Well, a simple time ticker would do. You should be able to set the
 rate / time for the counter increments. Hotscripts.com, under PHP have
 quite a few turorials for this kind of thing.
 
 Look, for exampe, for a countdown timer, and the modify the code a
 bit to run forwards instead of backwards.
 -- 
 
 Kind Regards
 Rudi Ahlers


Thanks, will look again!
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Upgrade from 4.7 to 5.2 problem with udev and ssl

2008-12-30 Thread tdukes

 Lanny Marcus lmmailingli...@gmail.com wrote: 
 On Tue, Dec 30, 2008 at 7:05 AM, Vandaman vandaman2002...@yahoo.co.uk wrote:
  Thomas Dukes tdu...@sc.rr.com wrote:
  Got cocky and decided to upgrade from from 4.7 to 5.2.
  Have a couple
  problems I can't figure out.
 
  Was that upgrade using anaconda or yum? Hadn't you thought  of backing 
  up and doing a clean install of 5.2?
 
 I believe backing up and then doing a clean install, between major
 releases, like from 4 to 5, is what Upstream and the CentOS developers
 recommend. Trying to upgrade between major releases, frequently
 becomes problematic.
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos

I got the firefox issue resolved.

Here's the ssl error from firefox when I try to connect securely to webmin:

Secure Connection Failed

An error occurred during a connection to palmettodomains.com:x.

SSL received a record that exceeded the maximum permissible length.

(Error code: ssl_error_rx_record_too_long)

I regenerated a new certificate, but that didn't help.

Thanks!!

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


Re: [CentOS] Neighbour table overflow

2008-11-28 Thread tdukes

 Robert Moskowitz [EMAIL PROTECTED] wrote: 
 Thomas Dukes wrote:
   
 
  *From:* [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
  *On Behalf Of *chloe K
  *Sent:* Thursday, November 27, 2008 9:10 PM
  *To:* CentOS mailing list
  *Subject:* Re: [CentOS] Neighbour table overflow
 
  what is your netmask?  
   
  eth0 = 255.255.240.0
 
 Why do you have such a large subnet?  There are a number of potential 
 performance problems with such a setup.  I typically only see this in 
 large, bridged wireless campuses.  Little justification for it in a 
 wired network.  (I do have lots of networking experience and knowledge, 
 having consulted with a number of large deployments).
 
 Even with a large subnet, you should not be arping everywhere.  Either 
 two things are happening:
 
 Your system is recording every ARP request it sees ('Who has IP 
 x.x.x.x') to avoid arping later.  Bad behaviour (IMNSHO), given your 
 network.
 
 Your system is ARPing for every IP address in the subnet to learn all of 
 its neighbors.  WHy would it do that?  Unless you have some snooping 
 software running on your system.
 
Hi Robert,

I did not set this value.  Something did but not me.

I am on a roadrunner connection with a dynamic ip.  What do you suggest I 
change it to?

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


Re: [CentOS] How to upgrade WBEL4 to CentOS4?

2007-09-10 Thread tdukes

 Phil Schaffner [EMAIL PROTECTED] wrote: 
 On Sat, 2007-09-08 at 01:03 -0400, Eric B. wrote:
  Hi,
  
  I've got a couple of servers that are running WBEL4 that I would like to 
  upgrade to CentOS4.  I noticed that there is a FAQ which explains how to 
  upgrade WBEL3 to CentOS3, but haven't found anything similar for WBEL4.
  
  Are the instructions for the WBEL3 upgrade the same for WBEL4?  Should I be 
  doing something else instead?
  
  Any help would be greatly appreciated.

I did this using those instructions some time back.  Just substitute WBEL3 for 
WBEL4.  The paths for the rpms were different is about the only thing if I 
remember correctly was what I had to change.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos