Re: [CentOS] Disabling Firewall/iptables on CentOS 7??

2017-03-24 Thread James Pifer
On 3/24/2017 3:16 AM, Łukasz Posadowski wrote: Data Wed, 22 Mar 2017 19:56:03 -0400 James Pifer <j...@obrien-pifer.com> wrote: I apologize if this has been asked and answered, but I googled and attempted things for several hours today without success. Iptables isn't used by default, at

[CentOS] Disabling Firewall/iptables on CentOS 7??

2017-03-22 Thread James Pifer
I apologize if this has been asked and answered, but I googled and attempted things for several hours today without success. I have a freshly installed CentOS 7 system that I'd like to disable the firewall and all iptables rules. Basically the equivalent of doing iptables -F In a nutshell

[CentOS] OT: missing /dev paths

2014-03-12 Thread James Pifer
Looking for help kind of in a hurry. I've been searching google but not finding any options. Is there any way to fix missing /dev paths to luns without rebooting? For example, see the output from lsscsi below. The only way I know to fix this is with a reboot, but I REALLY Need to avoid that if

Re: [CentOS] OT: missing /dev paths

2014-03-12 Thread James Pifer
On 3/12/2014 9:18 PM, Steven Tardy wrote: rescan-scsi-bus.sh? https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/5/html/Online_Storage_Reconfiguration_Guide/rescan-scsi-bus.html Tried that, as well as rescan-scsi-bus.sh --forcerescan, as well as a rescan-scsi-bus.sh

Re: [CentOS] OT: missing /dev paths

2014-03-12 Thread James Pifer
On 3/12/2014 9:18 PM, Steven Tardy wrote: rescan-scsi-bus.sh? https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/5/html/Online_Storage_Reconfiguration_Guide/rescan-scsi-bus.html So far the only thing that I found to work is to remove the path from the SAN side, then

Re: [CentOS] OT: missing /dev paths

2014-03-12 Thread James Pifer
On 3/12/2014 9:18 PM, Steven Tardy wrote: rescan-scsi-bus.sh? https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/5/html/Online_Storage_Reconfiguration_Guide/rescan-scsi-bus.html I think I found a solution. For each incorrect disk run: echo scsi remove-single-device 2

[CentOS] bind (named) compromised?

2014-02-08 Thread James Pifer
I'm having problems where my upstream bandwidth is being saturated. I've narrowed it down to a DNS issue of some type. If I stop the named service then my bandwidth drops to normal according to my untangle firewall. I'm running bind-9.3.6-20.P1.el5_8.6. I'm seeing the following in

Re: [CentOS] - monitoring software

2013-10-18 Thread James Pifer
On 10/18/2013 7:04 PM, Gordon Messmer wrote: On 10/18/2013 06:48 AM, Rodrigo Pichiñual Norin wrote: Nagios is software that performs all your looking. ..except graphing. Graphing is done with external components, and is typically a *lot* of work.

Re: [CentOS] surveillance DVR

2013-07-31 Thread James Pifer
Ok, I *must* not have made clear what I was asking for. Let me try one more time We want an appliance, such as http://www.zmodo.com/4ch-h-264-full-d1-dvr-500gb-hdd-with-4-cmos-480tvl-ir-outdoor-security-cameras-with-11-leds.html, that we can put on our network, and manage, and d/l videos

Re: [CentOS] OT: Script Help

2013-05-19 Thread James Pifer
On 5/19/2013 9:03 AM, Larry Martell wrote: On Sat, May 18, 2013 at 6:31 PM, James Pifer j...@obrien-pifer.com wrote: On 5/18/2013 3:23 PM, Larry Martell wrote: On Sat, May 18, 2013 at 1:15 PM, James Pifer j...@obrien-pifer.com wrote: Sorry for the off topic, but don't a better resource. I'm

[CentOS] OT: Script Help

2013-05-18 Thread James Pifer
Sorry for the off topic, but don't a better resource. I'm not great at scripting, but need a quick script to modify a file. I have a long file that has lines like this: some text some text2 CN=DATA.OU=XYZ.O=CO some text3 some text4 And this repeats, but XYZ changes. DATA is always called data.

Re: [CentOS] OT: Script Help

2013-05-18 Thread James Pifer
On 5/18/2013 3:23 PM, Larry Martell wrote: On Sat, May 18, 2013 at 1:15 PM, James Pifer j...@obrien-pifer.com wrote: Sorry for the off topic, but don't a better resource. I'm not great at scripting, but need a quick script to modify a file. I have a long file that has lines like this: some

[CentOS] [OT] Playing mp4's on centos httpd

2012-11-27 Thread James Pifer
Sorry for the off topic, but hoping someone here can point me in a direction and end my endless googling... I have some mp4 training videos that our users need to be able to download or stream directly to their browser. I have the h.264 module loaded on httpd on centos (using

Re: [CentOS] [OT] Playing mp4's on centos httpd

2012-11-27 Thread James Pifer
On 11/27/2012 7:23 PM, John R Pierce wrote: On 11/27/12 4:04 PM, James Pifer wrote: Sorry for the off topic, but hoping someone here can point me in a direction and end my endless googling... I have some mp4 training videos that our users need to be able to download or stream directly

Re: [CentOS] [OT] Playing mp4's on centos httpd

2012-11-27 Thread James Pifer
On 11/27/2012 8:02 PM, Patrick Lists wrote: On 11/28/2012 01:04 AM, James Pifer wrote: Sorry for the off topic, but hoping someone here can point me in a direction and end my endless googling... I have some mp4 training videos that our users need to be able to download or stream directly

Re: [CentOS] [SOLVED] Re: lost udp packets

2012-10-07 Thread James Pifer
On 10/7/2012 4:03 AM, Gordon Messmer wrote: On 10/05/2012 11:53 AM, James Pifer wrote: Now I need to figure out how to have the traps forwarded but retain the real source of the trap. If you want to forward the traps without modifying the source address on the UDP packet, you'll need to use

[CentOS] [SOLVED] Re: lost udp packets

2012-10-05 Thread James Pifer
Reboot didn't help, but modifying my snmpd.conf and adding master agentx did the trick. Apparantly snmpd was quietly denying snmptrapd from connecting. Just happened to come across the suggestion. Now I need to figure out how to have the traps forwarded but retain the real source of the trap.

[CentOS] lost udp packets

2012-10-04 Thread James Pifer
I have a CentOS release 5.8 that has snmp traps being sent to it. I've been trying to forward the snmp traps to another system. I've tried forwarding with snmpd/snmptrapd, iptables, and some forwarding programs. I can see snmp traps getting delivered to the system with tcpdump and wireshark,

Re: [CentOS] lost udp packets

2012-10-04 Thread James Pifer
On 10/4/2012 9:40 AM, James Pifer wrote: I have a CentOS release 5.8 that has snmp traps being sent to it. I've been trying to forward the snmp traps to another system. I've tried forwarding with snmpd/snmptrapd, iptables, and some forwarding programs. I can see snmp traps getting delivered

Re: [CentOS] lost udp packets

2012-10-04 Thread James Pifer
I'd try strace'ing the app that is supposed to be receiving them to see if the socket opens are working and what happens with a packet arrives on the port. No idea what this means. snmptrapd keeps running (strace snmptrapd -f -Le -c /etc/snmp/snmptrapd.conf), but I see this over and over

Re: [CentOS] lost udp packets

2012-10-04 Thread James Pifer
On 10/4/2012 1:56 PM, m.r...@5-cent.us wrote: James Pifer wrote: I'd try strace'ing the app that is supposed to be receiving them to see if the socket opens are working and what happens with a packet arrives on the port. No idea what this means. snmptrapd keeps running (strace snmptrapd -f

Re: [CentOS] lost udp packets

2012-10-04 Thread James Pifer
On 10/4/2012 2:52 PM, Les Mikesell wrote: On Thu, Oct 4, 2012 at 12:45 PM, James Pifer j...@obrien-pifer.com wrote: No idea what this means. snmptrapd keeps running (strace snmptrapd -f -Le -c /etc/snmp/snmptrapd.conf), but I see this over and over after the initial start: recv(7, \1\22\0\0

[CentOS] OT: forwarding SNMP traps

2012-09-28 Thread James Pifer
Can anyone here give me a hand with forwarding snmp traps? I'm looking at Zenoss and I want to see how it handles snmp traps. We currently have snmp traps getting sent to two servers. One of them is basically ignoring the traps, but I can't just change the ip address (to give to Zenoss)

[CentOS] Tomcat5 with Oracle/Sun jdk on CentOS 5.8

2012-05-21 Thread James Pifer
I know this question could be asked on tomcat or possibly other mailing lists, but I'm hoping I can get some help here instead of joining yet another list. I'm running tomcat5 on CentOS 5.8. I'm trying to setup Oracle/Sun java rather than icedtea. I've installed the latest jdk 1.7 and setup

Re: [CentOS] Tomcat5 with Oracle/Sun jdk on CentOS 5.8

2012-05-21 Thread James Pifer
On Mon, 2012-05-21 at 16:20 +0100, Lars Hecking wrote: I'm also not sure where tomcat5 set JRE_HOME. Been searching and can't find it. Maybe you should look for JAVA_HOME ... /etc/init.d/tomcat5 /etc/tomcat5/tomcat5.conf /etc/sysconfig/tomcat5 That's all I can say - while I

Re: [CentOS] Removing LVM

2012-04-10 Thread James Pifer
On Tue, 2012-04-10 at 04:59 +0200, Markus Falb wrote: On 10.4.2012 02:42, James Pifer wrote: I have a CentOS 5 machine in which I'm trying to remove lvm. I dd'ed the file system to another partition, then dd'ed it back overwriting the lvm partition. I then modified menu.lst and fstab

[CentOS] Removing LVM

2012-04-09 Thread James Pifer
I have a CentOS 5 machine in which I'm trying to remove lvm. I dd'ed the file system to another partition, then dd'ed it back overwriting the lvm partition. I then modified menu.lst and fstab and replaced the paths to point to the correct device. When the system boots it's still looking for lvm.

[CentOS] OT: virtual host for apache/tomcat servers

2011-03-29 Thread James Pifer
I hope someone here can answer my question so I don't have to join another mailing list, on too many as it is... I have the following installed: httpd-2.2.3-43.el5.centos.3 tomcat5-5.5.23 I have a small jsp app that I can hit through apache like: http://www.mydomain.com/tomcat/myapp.jsp So

[CentOS] OT: Web Project type software

2009-07-15 Thread James Pifer
Sorry for the OT... I'm looking for some software to fill a fairly specific set of requirements. I'm not necessarily looking for project software, but it seems like the closest to match what I need. I'm also not tied into open source or free. If anyone knows of any software that might fill these

Re: [CentOS] OT: Web Project type software

2009-07-15 Thread James Pifer
On Wed, 2009-07-15 at 13:03 -0500, Neil Aggarwal wrote: James: I wonder if you can do this in two pieces: 1. Dotproject for the project management 2. Subversion for the file storage and revision tracking. Subversion has the ability to keep synchronized repositories in different

Re: [CentOS] OT: Web Project type software

2009-07-15 Thread James Pifer
On Wed, 2009-07-15 at 14:04 -0400, Ryan Pugatch wrote: James Pifer wrote: snip 1) Web enabled application 2) File storage - need to stare a large amount of large cad files - be able to categorize file storage (not one large list) - keep different revisions of files

Re: [CentOS] pop3 attack

2009-03-14 Thread James Pifer
I use zen.spamhaus.org on my server, so you're welcome to send a test message directly to me off list and see if it bounces or not (you will get greylisted first for 60 seconds) Sent a test message. Here's what's in maillog: Mar 14 11:00:28 mailserver sendmail[25108]: n2EF0LTt025094:

Re: [CentOS] pop3 attack

2009-03-13 Thread James Pifer
The masquerading options are for a different purpose. I'm glad you got it sorted out. Although I'm able to send mail to most people without a problem using smarthost, I still have a few that bounce back with errors like: Your message was rejected by mail.lance.com for the following reason:

Re: [CentOS] pop3 attack

2009-03-13 Thread James Pifer
The problem has nothing to do with the Smart host server entry. Read the information in the URL above and contact your ISP. I understand the problem is I'm in a residential range of dynamic IP, even though I have commercial class, and I DID read the information in the URL. That's how I

[CentOS] Mail delivery failing with 450

2009-03-07 Thread James Pifer
I'm not sure why this started, but apparently I'm having a DNS problem. Yesterday mail started bouncing with this error: 450 Unable to find obrien-pifer.com I think the messages eventually get delivered, but not sure. I guess I'll see if this one makes the list. I checked my domain using

Re: [CentOS] Mail delivery failing with 450

2009-03-07 Thread James Pifer
On Sat, 2009-03-07 at 14:01 +0100, Joebstl Thomas wrote: Hi James, MX-records must point to A-records and not to IP adresses. A dig -t AXFR obrien-pifer.com @ns1.obrien-pifer.com | grep MX returns: mail.obrien-pifer.com. 38400 IN MX 1 70.62.90.185.obrien-pifer.com. Whereas

Re: [CentOS] Mail delivery failing with 450

2009-03-07 Thread James Pifer
$ whois obrien-pifer.com ... Domain Name: OBRIEN-PIFER.COM Registrar: WILD WEST DOMAINS, INC. Whois Server: whois.wildwestdomains.com Referral URL: http://www.wildwestdomains.com Name Server: NS1.OBRIEN-PIFER.COM Name Server: NS2.OBRIEN-PIFER.COM Server Name:

[CentOS] OT: procmail recipe question

2009-02-02 Thread James Pifer
I'm trying to use procmail and I'm having trouble getting it to set some headers. I have one mailing list that sets Newsgroups: in the header and I want to remove it. I have the following test recipe: :0 * ^Subject:.*\testing * ^(Mime-Version:|Content-) | formail -IMime-Version: -IContent- If I

Re: [CentOS] OT: procmail recipe question

2009-02-02 Thread James Pifer
Thanks, that worked. James On Mon, 2009-02-02 at 16:55 +0100, Paul Bijnens wrote: On 2009-02-02 16:45, James Pifer wrote: I'm trying to use procmail and I'm having trouble getting it to set some headers. I have one mailing list that sets Newsgroups: in the header and I want to remove

Re: [CentOS] pop3 attack

2008-12-11 Thread James Pifer
I think all the masquerade options are causing your problems. Just set the proper smarthost and restore the other options to what they were and then test. Scott, Thanks, removing the masquerade options did fix it. I'm back to using smarthost instead of mailertable. Thanks. Also, thanks

Re: [CentOS] pop3 attack

2008-12-10 Thread James Pifer
On Tue, 2008-12-09 at 16:26 -0500, James Pifer wrote: Thanks to all. For now I've stopped it using iptables. I tried stopping it at my router without success, yet another reason to replace it! I will also report it to [EMAIL PROTECTED] My issues have gotten worse. Apparently over the last

Re: [CentOS] pop3 attack

2008-12-10 Thread James Pifer
so, using a roadrunner mail server as a smarthost is the only viable choice I looked at it too. On PBL. So it's possible that Time Warner just recently updated the list or something? Anyway, I tried setting up smarthost and was not able to get it to work, but I was successful setting up

[CentOS] pop3 attack

2008-12-09 Thread James Pifer
I was looking at my maillog and it looks like someone is trying to get into my pop3 server. Dec 9 15:28:54 mailserver dovecot: pop3-login: Aborted login: user=alexis, method=PLAIN, rip=:::66.167.184.203, lip=:::192.168.1.2 Dec 9 15:29:08 mailserver dovecot: pop3-login: Aborted login:

Re: [CentOS] pop3 attack

2008-12-09 Thread James Pifer
Thanks to all. For now I've stopped it using iptables. I tried stopping it at my router without success, yet another reason to replace it! I will also report it to [EMAIL PROTECTED] Thanks, James ___ CentOS mailing list CentOS@centos.org

[CentOS] syslog question

2008-07-29 Thread James Pifer
I have a 64bit centos 5.2 system. My router supports sending logs to a syslog server, so I was hoping to send them to my centos box so they are easier to keep an eye on. I've been googling for howto's etc, but I didn't think syslog would be that difficult. Do I need to use syslog-ng or can I use

Re: [CentOS] syslog question

2008-07-29 Thread James Pifer
James Pifer wrote: | I have a 64bit centos 5.2 system. My router supports sending logs to a | syslog server, so I was hoping to send them to my centos box so they are | easier to keep an eye on. | On your CentOS box, edit /etc/sysconfig/syslog. The comments in the file should

Re: [CentOS] syslog question

2008-07-29 Thread James Pifer
On Tue, 2008-07-29 at 12:52 -0600, Milton Calnek wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 James Pifer wrote: | Yeah, that was pretty easy. Any way to get it to save logs from | different hosts to specific files? You need rsyslog for that. I believe that FC9 has an rpm