Re: [CentOS] updating pandoc and converting to UTF-8

2014-11-07 Thread Jason T. Slack-Moehrle
Hi John,

I got this figured out finally! The answer was to get the binaries for
Haskell Platform, get the canal-install source and compile that, set a path
variable to these directories. Works.

Thank You.
Jason


On Fri, Nov 7, 2014 at 2:04 AM, John Doe jd...@yahoo.com wrote:

 From: Jason T. Slack-Moehrle slackmoeh...@gmail.com

  I need to run pandoc. (http://johnmacfarlane.net/pandoc/installing.html)
  How can I update to the latest? Yum doesn't have anything more that I can
  see.

 The page says: If the version in your repository is too old, use the
 instructions below under All platforms
 Or upgrade to CentOS 7 maybe... it seems to have 1.12.x

  Also, is there a tool like 'iconv' on OS X where I can convert between
  encodings? It seems when moving this from OS X to Linux I am getting a
 few
  encoding errors when building my project.

 iconv is/should already be installed...
   /usr/bin/iconv

 JD
 ___
 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


[CentOS] updating pandoc and converting to UTF-8

2014-11-06 Thread Jason T. Slack-Moehrle
Hi guys,

I need to run pandoc. (http://johnmacfarlane.net/pandoc/installing.html)

I did this:

rpm -ivh
http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm

yum install -y pandoc

This is version 1.9.4.1

They are up to 13.1.1.

How can I update to the latest? Yum doesn't have anything more that I can
see.

Also, is there a tool like 'iconv' on OS X where I can convert between
encodings? It seems when moving this from OS X to Linux I am getting a few
encoding errors when building my project.

Thoughts are appreciated.

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


[CentOS] CentOS 6.5 equivalents in CentOS 7

2014-10-29 Thread Jason T. Slack-Moehrle
I tried to install CentOS 7 on a new system. It works.

However, I'm noticing small things:
1. system-config-network-tui is not installed and yum cannot find it. I
realized for this -- nmtui

What about firewall? I can't seem to understand the replacement from
system-config-firewall-tui

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


Re: [CentOS] Wow! Double wow!

2014-10-29 Thread Jason T. Slack-Moehrle

 in my enterprise world, production systems are fully redundant, and have
 staging servers running identical software configurations.  all upgrades
 and upgrade procedures are tested on staging before being deployed in
 production.quite often, the staging systems double as the Disaster
 Recovery systems, but thats another story. virtually all production systems
 either have a schedulable downtime (2am sunday morning?), or support
 rolling upgrades with no downtime (such as our 24/7 factory operations
 where downtime == no product).

 personally, I'm very glad I work in development, where our informal SLA is
 more like 9-9 5 days/week (developers like to work late).


​Sounds like you have a dream job John! At the very least for a company
that spends money on proper hardware!
​
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 6.5 equivalents in CentOS 7

2014-10-29 Thread Jason T. Slack-Moehrle
so I figured this out, I think:

firewall-cmd --zone=public --add-port=2888/tcp --permanent

but if is a known service, you can use:

firewall-cmd --zone=public --add-service=http --permanent

and then reload the firewall

firewall-cmd --reload


On Wed, Oct 29, 2014 at 5:50 PM, Jason T. Slack-Moehrle 
slackmoeh...@gmail.com wrote:

 I tried to install CentOS 7 on a new system. It works.

 However, I'm noticing small things:
 1. system-config-network-tui is not installed and yum cannot find it. I
 realized for this -- nmtui

 What about firewall? I can't seem to understand the replacement from
 system-config-firewall-tui

 Jason


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


Re: [CentOS] CentOS 6.5 equivalents in CentOS 7

2014-10-29 Thread Jason T. Slack-Moehrle
Thanks Marko for the reply.

Soo I changed my ssh port in sshd_config and did: systemctl restart
 sshd.service.
I then did:

firewall-cmd --add-port=port/tcp
firewall-cmd --permanent --add-port=port/tcp
firewall-cmd --reload
and for safety: systemctl restart firewalld

and I get a connection:refused.

so I decided to do systemctl stop firewalld

and try again, still connection refused.

Commented out the port line in sshd_config (so back to 22) and restart,
works.

so I am confused as to what is happening. I have done this 100 times in
CentOS 6.x





On Wed, Oct 29, 2014 at 7:13 PM, Marko Vojinovic vvma...@gmail.com wrote:

 On Wed, 29 Oct 2014 17:50:54 -0700
 Jason T. Slack-Moehrle slackmoeh...@gmail.com wrote:

  I tried to install CentOS 7 on a new system. It works.
 
  However, I'm noticing small things:
  1. system-config-network-tui is not installed and yum cannot find it.
  I realized for this -- nmtui
 
  What about firewall? I can't seem to understand the replacement from
  system-config-firewall-tui

 man firewall-cmd

 HTH, :-)
 Marko

 ___
 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.5 equivalents in CentOS 7

2014-10-29 Thread Jason T. Slack-Moehrle
yes, so I just figured out. Thank you so much. Where does `semanage` come
from? I tried policycoreutils-python but it cannot be found.

On Wed, Oct 29, 2014 at 8:10 PM, Peter pe...@pajamian.dhs.org wrote:

 On 10/30/2014 03:41 PM, Jason T. Slack-Moehrle wrote:
  Soo I changed my ssh port in sshd_config and did: systemctl restart
   sshd.service.
 ...
  and I get a connection:refused.

 selinux is set to only allow sshd to listen on port 22, you need to do
 something like:
 semanage port -a -t ssh_port_t -p tcp 


 Peter
 ___
 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


[CentOS] Booting using another kernel

2014-10-28 Thread Jason T. Slack-Moehrle
Hi Guys,

I am encountering this bug: https://bugs.centos.org/view.php?id=7656

I put in the CentOS 7 DVD and it starts to install and hangs with starting
x.

The suggestion was made in the bug report to boot using the 'kernel-ml' and
to be honest I don't know how to do that.

I build a machine that has 4 video cards in it. (2 x nVidia Geforce GT 970
and 2 x Sapphire Toxic R9 270x).

Can anyone give me a hand?

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


[CentOS] OT: Would you purchase this hardware?

2014-10-14 Thread Jason T. Slack-Moehrle
I have about $1200 to spend on 2 boxes and I'd like them to be identical.
Very basic web serving, simple HTML5 video, light email serving. Looking
around NewEgg, I come across:

http://www.newegg.com/Product/Product.aspx?Item=9SIA65C1ZT3064

These use ECC unbuffered RAM which is expensive but I did find 8gb sticks
for under $70 each:
http://www.newegg.com/Product/Product.aspx?Item=N82E16820613386

I'd still have to add hard drives and more RAM and 2nd GB NICS. I also
found out the power supply is non standard so if it goes in order to put in
a standard power supply you need an adaptor:
http://www.moddiy.com/products/IBM-Lenovo-PSU-Main-Power-24%252dPin-to-14%252dPin-Adapter-Cable-%2830cm%29.html

I haven't purchased hardware in 2 years. I could even use a desktop system
versus this server class. I feel like by time I add more to each box to
make it run perhaps there is a better machine to buy?

Anyway if anyone has any advice I'd appreciate it. These are personal
funds, I don't want to make a poor decision.

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


[CentOS] file system replication

2014-10-09 Thread Jason T. Slack-Moehrle
Hi Everyone,

I need to keep 2 systems identical. Mostly e-mail directories, web
directories, mysql, etc. The goal here is to have a 2nd system ready to go
it the first one starts to exhibit hardware issues.

What are options to have this happen? I'm going out on a limb and thinking
rsync but I haven't used it past just simple use cases.

Can anyone provide some insight for me?

CentOS 6.5.

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


Re: [CentOS] file system replication

2014-10-09 Thread Jason T. Slack-Moehrle
Hi John,

On Thu, Oct 9, 2014 at 10:44 AM, John R Pierce pie...@hogranch.com wrote:

 On 10/9/2014 10:39 AM, Jason T. Slack-Moehrle wrote:

 I need to keep 2 systems identical. Mostly e-mail directories, web
 directories, mysql, etc. The goal here is to have a 2nd system ready to go
 it the first one starts to exhibit hardware issues.

 What are options to have this happen? I'm going out on a limb and thinking
 rsync but I haven't used it past just simple use cases.

 Can anyone provide some insight for me?


 drbd is the live replication system, this does block level replication of
 logical volumes.   rsync doesn't handle changing-on-the-fly stuff very
 well, especially stuff like a database file system which is undergoing
 constant random write activity.

 but note, the drbd slave copy can't be mounted until drbd is stopped, or
 all heck breaks loose.


​Just to clarify. What state is the slave in?

If master goes down, how does the slave become active? Just reboot it and
let it come up? The wording slave copy can't be mounted until drdb is
stopped leads me to believe the slave is in some alternate state to be
receiving the blocks of data.
​
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] file system replication

2014-10-09 Thread Jason T. Slack-Moehrle
Hi John,

On Thu, Oct 9, 2014 at 12:53 PM, John R Pierce pie...@hogranch.com wrote:

 On 10/9/2014 11:57 AM, Jason T. Slack-Moehrle wrote:

 ​Just to clarify. What state is the slave in?

 If master goes down, how does the slave become active? Just reboot it and
 let it come up? The wording slave copy can't be mounted until drdb is
 stopped leads me to believe the slave is in some alternate state to be
 receiving the blocks of data.


 the slave is up and running, but the file systems you're replicating are
 unmounted, and its services are stopped, so you could consider this to be a
 'standby' state.

 yes, to use drbd, its important that you put your email spools, databases,
 etc, on dedicated file system(s), NOT on the OS root file system.   I
 generally use lvm for all this.

 a cluster management package, such as the ones suggested by another
 poster, would take care of all this for you (once you have things setup
 properly), if the master fails, it would 'activate' the slave, switch its
 IP[*] over to be the 'production' system, and mount its file systems,
 starting its services (mysqld, postfix, etc) per your configuration.

 [*] typically, you use THREE IP addresses for a HA cluster.   a unique IP
 for each system, used only for management, and a 'service' IP used for the
 production accesses, which is held by the currently active system.   when
 the master fails, the slave adopts this service IP.


​Thank you for this info. This clears up a lot and is very helpful.

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


Re: [CentOS] Fwd: CentOS list troubles

2014-10-09 Thread Jason T. Slack-Moehrle
Karanbir,

mark is currently moderated away from the list.


​Would you be able to help us understand what Mark did to have this happen?

I ask since you recently sent the e-mail about list conduct. I think it
would help us to understand what specifically you used for criteria to
moderate in this case.

Thanks for the clarification.

Best,
Jason
​
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] NIC Throwing errors I dont understand

2014-01-24 Thread Jason T. Slack-Moehrle
Hi Mark,

  I am having an issue where eth1 is throwing some messages and stops
  responding. Restarting networking doesn't work and also just bringing
 down
  eth1 with 'ifdown' doesn't fix it. I have never seen anything like these
  messages:
 
  eth1: no IPv6 routers present
  r8169 :03:00.0: eth1: rtl_counters_cond == 1 (loop: 1000, delay: 10).
  r8169 :03:00.0: eth1: rtl_chipcmd_cond == 1 (loop: 100, delay: 100).
  r8169 :03:00.0: eth1: rtl_phyar_cond == 1 (loop: 20, delay: 25).
 ...
  r8169 :03:00.0: eth1: rtl_phyar_cond == 1 (loop: 20, delay: 25).
  r8169 :03:00.0: eth1: rtl_phy_reset_cond == 1 (loop: 100, delay: 1).
  r8169 :03:00.0: eth1: rtl_phyar_cond == 1 (loop: 20, delay: 25).
 snip
  r8169 :03:00.0: eth1: rtl_phyar_cond == 1 (loop: 20, delay: 25).
  r8169 :03:00.0: eth1: link up
 
  [root@mail jtsm]# lspci | grep -i net
  02:00.0 Ethernet controller: Intel Corporation 82574L Gigabit Network
  Connection
  03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
  RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 01)

 Googling on rtl_counters_cond finds a lot of folks talking about laptop
 mode error, and somebody mentions zero configuration, which I assume
 they mean zeroconf. Is this a laptop? Is this wired or not? If it's wired,
 and not a laptop, I'd shut down avahi-daemon and chkconfig it off (and the
 same with NetworkMangler, er, Manager), and see what happens.


I found those same resources. This is NOT a laptop and it is wired. Has
been for a few years.

I tried 'service avahi-daemon stop' and 'service NetworkManager stop' and
both are unrecognized.

Another possibility, if wired, check your patch cord, and make sure it's
 plugged in securely at both ends.


I replaced the cable completely just in case and nada.

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


[CentOS] NIC Throwing errors I dont understand

2014-01-22 Thread Jason T. Slack-Moehrle
I am having an issue where eth1 is throwing some messages and stops
responding. Restarting networking doesn't work and also just bringing down
eth1 with 'ifdown' doesn't fix it. I have never seen anything like these
messages:

eth1: no IPv6 routers present
r8169 :03:00.0: eth1: rtl_counters_cond == 1 (loop: 1000, delay: 10).
r8169 :03:00.0: eth1: rtl_chipcmd_cond == 1 (loop: 100, delay: 100).
r8169 :03:00.0: eth1: rtl_phyar_cond == 1 (loop: 20, delay: 25).
r8169 :03:00.0: eth1: rtl_phyar_cond == 1 (loop: 20, delay: 25).
r8169 :03:00.0: eth1: rtl_phyar_cond == 1 (loop: 20, delay: 25).
r8169 :03:00.0: eth1: rtl_phyar_cond == 1 (loop: 20, delay: 25).
r8169 :03:00.0: eth1: rtl_phyar_cond == 1 (loop: 20, delay: 25).
r8169 :03:00.0: eth1: rtl_phyar_cond == 1 (loop: 20, delay: 25).
r8169 :03:00.0: eth1: rtl_phy_reset_cond == 1 (loop: 100, delay: 1).
r8169 :03:00.0: eth1: rtl_phyar_cond == 1 (loop: 20, delay: 25).
r8169 :03:00.0: eth1: rtl_phyar_cond == 1 (loop: 20, delay: 25).
r8169 :03:00.0: eth1: rtl_phyar_cond == 1 (loop: 20, delay: 25).
r8169 :03:00.0: eth1: rtl_phyar_cond == 1 (loop: 20, delay: 25).
r8169 :03:00.0: eth1: rtl_phyar_cond == 1 (loop: 20, delay: 25).
r8169 :03:00.0: eth1: rtl_phyar_cond == 1 (loop: 20, delay: 25).
r8169 :03:00.0: eth1: rtl_phyar_cond == 1 (loop: 20, delay: 25).
r8169 :03:00.0: eth1: link up

[root@mail jtsm]# lspci | grep -i net
02:00.0 Ethernet controller: Intel Corporation 82574L Gigabit Network
Connection
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 01)

DEVICE=eth1
HWADDR=00:0A:CD:17:07:7E
TYPE=Ethernet
UUID=800623a1-adc6-401a-a3fa-c6d1348056c8
ONBOOT=yes
NM_CONTROLLED=yes
BOOTPROTO=none
IPADDR=10.0.254.11
PREFIX=24
#GATEWAY=10.0.254.1
DNS1=8.8.8.8
DNS2=8.8.4.4

Does anyone have any ideas or have experienced this before.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Network card throwing messages I dont understand

2014-01-19 Thread Jason T. Slack-Moehrle
I am having an issue where eth1 is throwing some messages and stops
responding. Restarting networking doesn't work and also just bringing down
eth1 with 'ifdown' doesn't fix it. I have never seen anything like these
messages:

eth1: no IPv6 routers present
r8169 :03:00.0: eth1: rtl_counters_cond == 1 (loop: 1000, delay: 10).
r8169 :03:00.0: eth1: rtl_chipcmd_cond == 1 (loop: 100, delay: 100).
r8169 :03:00.0: eth1: rtl_phyar_cond == 1 (loop: 20, delay: 25).
r8169 :03:00.0: eth1: rtl_phyar_cond == 1 (loop: 20, delay: 25).
r8169 :03:00.0: eth1: rtl_phyar_cond == 1 (loop: 20, delay: 25).
r8169 :03:00.0: eth1: rtl_phyar_cond == 1 (loop: 20, delay: 25).
r8169 :03:00.0: eth1: rtl_phyar_cond == 1 (loop: 20, delay: 25).
r8169 :03:00.0: eth1: rtl_phyar_cond == 1 (loop: 20, delay: 25).
r8169 :03:00.0: eth1: rtl_phy_reset_cond == 1 (loop: 100, delay: 1).
r8169 :03:00.0: eth1: rtl_phyar_cond == 1 (loop: 20, delay: 25).
r8169 :03:00.0: eth1: rtl_phyar_cond == 1 (loop: 20, delay: 25).
r8169 :03:00.0: eth1: rtl_phyar_cond == 1 (loop: 20, delay: 25).
r8169 :03:00.0: eth1: rtl_phyar_cond == 1 (loop: 20, delay: 25).
r8169 :03:00.0: eth1: rtl_phyar_cond == 1 (loop: 20, delay: 25).
r8169 :03:00.0: eth1: rtl_phyar_cond == 1 (loop: 20, delay: 25).
r8169 :03:00.0: eth1: rtl_phyar_cond == 1 (loop: 20, delay: 25).
r8169 :03:00.0: eth1: link up

[root@mail jtsm]# lspci | grep -i net
02:00.0 Ethernet controller: Intel Corporation 82574L Gigabit Network
Connection
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 01)

DEVICE=eth1
HWADDR=00:0A:CD:17:07:7E
TYPE=Ethernet
UUID=800623a1-adc6-401a-a3fa-c6d1348056c8
ONBOOT=yes
NM_CONTROLLED=yes
BOOTPROTO=none
IPADDR=10.0.254.11
PREFIX=24
#GATEWAY=10.0.254.1
DNS1=8.8.8.8
DNS2=8.8.4.4

Does anyone have any ideas or have experienced this before.

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


[CentOS] default /etc/ssh/sshd_config?

2013-12-11 Thread Jason T. Slack-Moehrle
Hello All,

I was setting up a new server and I accidentally overwrote the default
/etc/ssh/sshd_config.

Can anyone bail me out with a vanilla copy?

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


Re: [CentOS] default /etc/ssh/sshd_config?

2013-12-11 Thread Jason T. Slack-Moehrle
That is way better. Thanks for the reminder that it is really that easy.


On Wed, Dec 11, 2013 at 5:28 PM, John R Pierce pie...@hogranch.com wrote:

 On 12/11/2013 4:53 PM, Jason T. Slack-Moehrle wrote:
  ll,
 
  I was setting up a new server and I accidentally overwrote the default
  /etc/ssh/sshd_config.
 
  Can anyone bail me out with a vanilla copy?

 yum reinstall openssh-server


 -done-



 --
 john r pierce  37N 122W
 somewhere on the middle of the left coast

 ___
 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


[CentOS] Do I need a dedicated firewall?

2013-12-11 Thread Jason T. Slack-Moehrle
Hi All,

So my electricity bill is through the roof and I need to pair down some
equipment.

I have a CentOS 6.5 Server (a few TB, 32gb RAM) running some simple web
stuff and Zimbra. I have 5 static IP's from Comcast. I am considering
giving this server a public IP and plugging it directly into my cable
modem. This box can handle everything with room for me to do more.

Doing this would allow me to power down my pfSense box and additional
servers by consolidating onto this single box.

I have the firewall on on the server and only allowing the few ports I need.

I dont run ssh on 22

What do you guys think?

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


[CentOS] Firewire 800 PCI-E card?

2013-09-08 Thread Jason T. Slack-Moehrle
Hello All,

I need to add a few Firewire 800 ports to the box I have running CentOS
6.4. I have an available PCI-E slot.

Does anyone know of a Firewire 800 PCI-E card that is compatible with
CentOS 6.4 out of the box?

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


[CentOS] 2nd NIC troubles

2013-04-16 Thread Jason T. Slack-Moehrle
Hi All,

I have 2 NICS in this system. CentOS 6.4

eth0 is the virtual IP from PFSense mapping connected to the router, works
fine.

eth1 is a second NIC that I have assigned a private IP to and connected it
to a switch on the private network. I have many other private devices, so I
know this setup works.

When I connect the cable to the switch and bring up eth1 the system
basically stops taking requests. I can no longer SSH in, Websites stop
responding, etc. If I walk over to the server and take down eth1,
everything works fine.

Here is eth0:
DEVICE=eth0
HWADDR=00:1b:21:cd:80:bf
TYPE=Ethernet
UUID=68a95912-3915-4b1a-9080-eb2017330153
ONBOOT=yes
NM_CONTROLLED=yes
BOOTPROTO=none
IPADDR=192.168.1.27
NETMASK=255.255.255.0
DNS2=8.8.4.4
GATEWAY=192.168.1.1
DNS1=8.8.8.8
IPV6INIT=no
USERCTL=no

Here is eth1:
DEVICE=eth1
HWADDR=00:0a:cd:17:07:7e
TYPE=Ethernet
UUID=b3851363-ae9e-4066-8993-caed07b9945b
ONBOOT=no
NM_CONTROLLED=yes
BOOTPROTO=none
IPADDR=10.0.254.11
NETMASK=255.255.255.0
GATEWAY=10.0.254.1
DNS1=8.8.8.8
DNS2=8.8.4.4
IPV6INIT=no
USERCTL=no

I have never experienced this before.

Also, when I check system-config-network-tui, some .bak, which I made, but
deleted the files from the file system when I was trying a few things. But
how do I get rid of them?

I attached a screenshot

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


Re: [CentOS] 2nd NIC troubles

2013-04-16 Thread Jason T. Slack-Moehrle
I do have another gateway at 10.0.254.1, it is a Linksys router that all
the provate stuff plugs into, and that Linksys plugs directly into our
modem.


On Tue, Apr 16, 2013 at 10:42 AM, Michael Mol mike...@gmail.com wrote:

 On 04/16/2013 01:37 PM, Jason T. Slack-Moehrle wrote:
  Hi All,
 
  I have 2 NICS in this system. CentOS 6.4
 
  eth0 is the virtual IP from PFSense mapping connected to the router,
 works
  fine.
 
  eth1 is a second NIC that I have assigned a private IP to and connected
 it
  to a switch on the private network. I have many other private devices,
 so I
  know this setup works.
 
  When I connect the cable to the switch and bring up eth1 the system
  basically stops taking requests. I can no longer SSH in, Websites stop
  responding, etc. If I walk over to the server and take down eth1,
  everything works fine.
 
  Here is eth0:
  DEVICE=eth0
  HWADDR=00:1b:21:cd:80:bf
  TYPE=Ethernet
  UUID=68a95912-3915-4b1a-9080-eb2017330153
  ONBOOT=yes
  NM_CONTROLLED=yes
  BOOTPROTO=none
  IPADDR=192.168.1.27
  NETMASK=255.255.255.0
  DNS2=8.8.4.4
  GATEWAY=192.168.1.1
  DNS1=8.8.8.8
  IPV6INIT=no
  USERCTL=no
 
  Here is eth1:
  DEVICE=eth1
  HWADDR=00:0a:cd:17:07:7e
  TYPE=Ethernet
  UUID=b3851363-ae9e-4066-8993-caed07b9945b
  ONBOOT=no
  NM_CONTROLLED=yes
  BOOTPROTO=none
  IPADDR=10.0.254.11
  NETMASK=255.255.255.0
  GATEWAY=10.0.254.1
  DNS1=8.8.8.8
  DNS2=8.8.4.4
  IPV6INIT=no
  USERCTL=no
 
  I have never experienced this before.

 Remove the GATEWAY line from eth1, unless you have another router (with
 its own access to the Internet) at 10.0.254.1. If eth0 points at your
 upstream, then this is unlikely.



 ___
 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] 2nd NIC troubles

2013-04-16 Thread Jason T. Slack-Moehrle
Hi John,

 I do have another gateway at 10.0.254.1, it is a Linksys router that all

  the provate stuff plugs into, and that Linksys plugs directly into our
  modem.

 multiple gateways is problematic.   there should be only one default
 route to 0.0.0.0/0


 so you have a pfSense firewall AND a linksys soho router both connected
 to the internet? sounds messy.


Yes, indeed. We have a pfsense box with servers behind it connected to our
modem as well as a router connected with private stuff behind it.

We do need to move the private stuff behind the pfsense box as well. It is
on the list.

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


Re: [CentOS] 2nd NIC troubles

2013-04-16 Thread Jason T. Slack-Moehrle
Hi Les,

  I do have another gateway at 10.0.254.1, it is a Linksys router that all
  the provate stuff plugs into, and that Linksys plugs directly into our
  modem.

 You can only have one 'default' gateway.  Keep the one pointed to the
 internet router.  Make a file named
 /etc/sysconfig/network-scripts/route-eth1 to hold the route(s) handled
 by the other interface.  Something like:
 10.0.0.0/8 via 10.0.254.1
 should work if you want the whole private class A space to go that way.
 The ifup/ifdown scripts will add/remove the routes matching the interfaces.


So this is a static route. I trued what you suggested and the eth1
interface stalls to come up. It just wont. All ssh sessions get
disconnected and everything stops working

I did:

[root@meowbox network-scripts]# cat route-eth1
10.0.0.0/8 via 10.0.254.1

I found:
http://www.centos.org/docs/5/html/5.1/Deployment_Guide/s1-networkscripts-static-routes.html

So I changed it to:

[root@meowbox network-scripts]# cat route-eth1
10.0.0.0/8 via 10.0.254.1 dev eth1

and commented out the GATEWAY= line in ifcfg-eht1 and the interface comes
up.

Testing ssh and the websites, they seem to be fine.

Thank you for this lesson.

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


Re: [CentOS] web collaboration packages.

2013-04-11 Thread Jason T. Slack-Moehrle
Thanks for the notes John, let me go through this process again.




On Thu, Apr 11, 2013 at 3:37 AM, John Doe jd...@yahoo.com wrote:

 From: Jason T. Slack-Moehrle slackmoeh...@gmail.com
  I can get through the install but Zimbra wont start. It says it started,
  but didn't I get LDAP errors, Sasl errors, AV and antispam. I worked
 though
  them a lot yesterday but I still can not get the mta started and nothing
  starts listening on 443 either. I have Apache not listening to 443, only
  80. I turned off the firewall, postfix, sendmail, all just to be sure.
 Both
  stopping the service and chkconfig so it wont start up again on startup.
 
  I was really close yesterday but I gave up again. I even tried 7.2.3
  instead of 8.0.3 and that seemed worse. I uninstalled everything and
  removed all the pieces and figured that I would give it a shot again
 today.

 Nothing in the zimbra logs?

 I started with a 6.x.x on CentOS 5, and I upgraded it up to 7.2.0.
 So it is not the same setup as yours...
 From my notes, I did:
   yum install nc libidn-devel gmp-devel perl-Net-Ident perl-Razor-Agent \
   perl-Encode-Detect
   ./install.sh --platform-override
   Change domain name? [Yes]
   Create domain: [OLD] NEW
   3) zimbra-store:
 Server mode: mixed
   cd /usr/sbin
   mv sendmail sendmail.old; ln -s /opt/zimbra/postfix/sbin/sendmail
 sendmail
   Copy ssl keys to /opt/zimbra/ssl/zimbra/commercial/
 commercial.key
 commercial.crt
 commercial_ca.crt
   /opt/zimbra/bin/zmcertmgr verifycrt comm commercial.key commercial.crt
   /opt/zimbra/bin/zmcertmgr deploycrt comm commercial.crt commercial_ca.crt
   Change ports:
 zmprov -l gs FQDN | grep Port:
 zmprov -l ms FQDN zimbraMailPort 80 zimbraMailProxyPort 0 \
  zimbraMailSSLPort 443
 zimbraMailSSLProxyPort 0
 zmprov -l gs FQDN | grep Port:
 zmcontrol restart

 JD
 ___
 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


[CentOS] How to change 'fstab' when you cannot boot the machine?

2013-04-11 Thread Jason T. Slack-Moehrle
Hello All,

So My Drobo finished formatting and I added an entry to fstab for it and
now I cannot boot the machine. I get an error about

fsck.ext3: is a directory while trying to open /drobo
and then a mention of a valid super block

I had mounted the Drobo as /drobo and in 'fstab' I copied the line for '/'
changing to ext3 where it was ext4.

I have made a mistake

I cannot fix it because trying to edit fstab results in a read only file
system message

Can anyone help me learn how to recover?

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


Re: [CentOS] How to change 'fstab' when you cannot boot the machine?

2013-04-11 Thread Jason T. Slack-Moehrle
 why not try it out?

 as said:
 ANY linux with a terminal is enough to mount the rootfs
 and edit /ect/fstab with vi or whatever

 P.S: use the mailing-list instead off-list replies

 Am 12.04.2013 01:42, schrieb Jason T. Slack-Moehrle:
  If I have a CentOS 6.4 DVD is that the 'Rescue installed system' menu
 option?


Sorry for the personal reply. An oversight.

My hesitation with the 'Rescue installed system' sort of reminds me of
Windows where this option will go and blindly copy new versions of files to
a system to get it to boot. I wasn't sure what would happen if I selected
this option from the DVD.

I will try it now.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] web collaboration packages.

2013-04-10 Thread Jason T. Slack-Moehrle
Hi John,

I can get through the install but Zimbra wont start. It says it started,
but didn't I get LDAP errors, Sasl errors, AV and antispam. I worked though
them a lot yesterday but I still can not get the mta started and nothing
starts listening on 443 either. I have Apache not listening to 443, only
80. I turned off the firewall, postfix, sendmail, all just to be sure. Both
stopping the service and chkconfig so it wont start up again on startup.

I was really close yesterday but I gave up again. I even tried 7.2.3
instead of 8.0.3 and that seemed worse. I uninstalled everything and
removed all the pieces and figured that I would give it a shot again today.

Jason




On Wed, Apr 10, 2013 at 7:30 AM, John Doe jd...@yahoo.com wrote:

 From: Jason T. Slack-Moehrle slackmoeh...@gmail.com

  Try as I might, I cannot get Zimbra 8.0.3 to install on CentOS 6.4, even
  with --platform override. I followed some tutorials even that show the
  result working and nada.

 What do you mean by cannot get to install...?
 Up to where does the install process go?
 Any specific error message?

 JD
 ___
 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


[CentOS] Formatting a USB Drive

2013-04-10 Thread Jason T. Slack-Moehrle
Hi All,

I have a Drobo, connected to a CentOS 6.4 box. The box sees it as /dev/sdg.

I want to format it ext3 (as they dont support ext4) but when I try I get:

# fdisk -u /dev/sdg

WARNING: GPT (GUID Partition Table) detected on '/dev/sdg'! The util fdisk
doesn't support GPT. Use GNU Parted.


WARNING: The size of this disk is 17.6 TB (17592186044416 bytes).
DOS partition table format can not be used on drives for volumes
larger than (2199023255040 bytes) for 512-byte sectors. Use parted(1) and
GUID
partition table format (GPT).


WARNING: DOS-compatible mode is deprecated. It's strongly recommended to
 switch off the mode (command 'c').

So I run:
# parted
GNU Parted 2.1
Using /dev/sda
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) select /dev/sdg
Using /dev/sdg
(parted) print
Model: DROBO DroboPro (scsi)
Disk /dev/sdg: 17.6TB
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number  Start  End  Size  File system  Name  Flags

(parted)

and looking at an example of creating a partition: (parted) mkpart primary
106 16179

I dont know what to do next since I dont see any partitions listed. I dont
know what do to for the start and end point, although the man page says
size in MB. Do I just say 0 to (and convert 16.0TB to MB? Yes, I know it
says 17.6 TB but this model drobo can only support partitions up to 16tb
without making a second partition.

Can anyone provide some advice on that I am missing conceptually?

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


Re: [CentOS] Formatting a USB Drive

2013-04-10 Thread Jason T. Slack-Moehrle
I dont have a graphical desktop installed.



On Wed, Apr 10, 2013 at 11:09 AM, Les Mikesell lesmikes...@gmail.comwrote:

 On Wed, Apr 10, 2013 at 11:54 AM, Jason T. Slack-Moehrle
 slackmoeh...@gmail.com wrote:
 
  I have a Drobo, connected to a CentOS 6.4 box. The box sees it as
 /dev/sdg.
 
  # parted
  GNU Parted 2.1
  Using /dev/sda
  Welcome to GNU Parted! Type 'help' to view a list of commands.
  (parted) select /dev/sdg
  Using /dev/sdg
  (parted) print
  Model: DROBO DroboPro (scsi)
  Disk /dev/sdg: 17.6TB
  Sector size (logical/physical): 512B/512B
  Partition Table: gpt
 
  Number  Start  End  Size  File system  Name  Flags
 
  (parted)
 
  and looking at an example of creating a partition: (parted) mkpart
 primary
  106 16179
 
  I dont know what to do next since I dont see any partitions listed. I
 dont
  know what do to for the start and end point, although the man page says
  size in MB. Do I just say 0 to (and convert 16.0TB to MB? Yes, I know
 it
  says 17.6 TB but this model drobo can only support partitions up to 16tb
  without making a second partition.
 
  Can anyone provide some advice on that I am missing conceptually?

 If you have a GUI desktop installed you can install the gparted
 package from EPEL. It is easier to use than raw parted and mkfs.

 --
   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] Formatting a USB Drive

2013-04-10 Thread Jason T. Slack-Moehrle
Hi Mark,

 Can anyone provide some advice on that I am missing conceptually?

 Several issues. First, if you use 4k blocks, the max filesystem size for
 ext3 is 16TB (see wikipedia on ext3). Second, I can't remember where, but
 on some filesystem tool's manpage, I read that the tools have problems
 going over 16TB. Third, fsck on a 16TB filesystem will take *days*,
 literally. I'm setting up, right now, a humongous RAID box, and I'll
 probably be divvying up the 42TB (mirrored!) as 3 14TB filesystems, and
 they're going to be ext4.


16tb is the max I would have for this device.

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


Re: [CentOS] Formatting a USB Drive

2013-04-10 Thread Jason T. Slack-Moehrle
I found an article that led me to do:

(parted) mkpart primary 0GB 16TB
(parted) print
Model: DROBO DroboPro (scsi)
Disk /dev/sdg: 17.6TB
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number  Start   End SizeFile system  Name Flags
 1  1049kB  16.0TB  16.0TB   primary




On Wed, Apr 10, 2013 at 11:50 AM, Jason T. Slack-Moehrle 
slackmoeh...@gmail.com wrote:

 Hi Mark,

  Can anyone provide some advice on that I am missing conceptually?

 Several issues. First, if you use 4k blocks, the max filesystem size for
 ext3 is 16TB (see wikipedia on ext3). Second, I can't remember where, but
 on some filesystem tool's manpage, I read that the tools have problems
 going over 16TB. Third, fsck on a 16TB filesystem will take *days*,
 literally. I'm setting up, right now, a humongous RAID box, and I'll
 probably be divvying up the 42TB (mirrored!) as 3 14TB filesystems, and
 they're going to be ext4.


 16tb is the max I would have for this device.

 Jason

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


Re: [CentOS] Formatting a USB Drive

2013-04-10 Thread Jason T. Slack-Moehrle
Hi Mark,

Do you override the automatic fsck check with tune2fs? It would be a huge
bummer to do through a check frequently, I forget the defaults but I think
180 days or a certain number of mounts, iirc.

Jason



On Wed, Apr 10, 2013 at 11:39 AM, m.r...@5-cent.us wrote:

 Jason T. Slack-Moehrle wrote:
 
  I have a Drobo, connected to a CentOS 6.4 box. The box sees it as
  /dev/sdg.
 
  I want to format it ext3 (as they dont support ext4) but when I try I
 get:
 snip
  So I run:
  # parted
  GNU Parted 2.1
  Using /dev/sda
  Welcome to GNU Parted! Type 'help' to view a list of commands.
  (parted) select /dev/sdg
  Using /dev/sdg
  (parted) print
  Model: DROBO DroboPro (scsi)
  Disk /dev/sdg: 17.6TB
  Sector size (logical/physical): 512B/512B
  Partition Table: gpt
 
  Number  Start  End  Size  File system  Name  Flags
 
  (parted)
 
  and looking at an example of creating a partition: (parted) mkpart
 primary
  106 16179
 
  I dont know what to do next since I dont see any partitions listed. I
 dont
  know what do to for the start and end point, although the man page says
  size in MB. Do I just say 0 to (and convert 16.0TB to MB? Yes, I know
 it
  says 17.6 TB but this model drobo can only support partitions up to 16tb
  without making a second partition.
 
  Can anyone provide some advice on that I am missing conceptually?

 Several issues. First, if you use 4k blocks, the max filesystem size for
 ext3 is 16TB (see wikipedia on ext3). Second, I can't remember where, but
 on some filesystem tool's manpage, I read that the tools have problems
 going over 16TB. Third, fsck on a 16TB filesystem will take *days*,
 literally. I'm setting up, right now, a humongous RAID box, and I'll
 probably be divvying up the 42TB (mirrored!) as 3 14TB filesystems, and
 they're going to be ext4.

 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] Formatting a USB Drive

2013-04-10 Thread Jason T. Slack-Moehrle
Thanks for the advice.

What are you storing on your large RAIDS that you mention?



On Wed, Apr 10, 2013 at 12:35 PM, m.r...@5-cent.us wrote:

 Jason T. Slack-Moehrle wrote:
  Hi Mark,
 
  Do you override the automatic fsck check with tune2fs? It would be a huge
  bummer to do through a check frequently, I forget the defaults but I
 think
  180 days or a certain number of mounts, iirc.
 
 We do it manually, when we get to it, and when the users are going to be
 off long enough

 Btw, I saw that you said you'd started on 1M - good move. I always start
 parted with -a optimal. I've read that non-optimal alignment can result in
 serious slowdowns in throughput - half as fast, or even slower.

   mark
  Jason
 
 
 
  On Wed, Apr 10, 2013 at 11:39 AM, m.r...@5-cent.us wrote:
 
  Jason T. Slack-Moehrle wrote:
  
   I have a Drobo, connected to a CentOS 6.4 box. The box sees it as
   /dev/sdg.
  
   I want to format it ext3 (as they dont support ext4) but when I try I
  get:
  snip
   So I run:
   # parted
   GNU Parted 2.1
   Using /dev/sda
   Welcome to GNU Parted! Type 'help' to view a list of commands.
   (parted) select /dev/sdg
   Using /dev/sdg
   (parted) print
   Model: DROBO DroboPro (scsi)
   Disk /dev/sdg: 17.6TB
   Sector size (logical/physical): 512B/512B
   Partition Table: gpt
  
   Number  Start  End  Size  File system  Name  Flags
  
   (parted)
  
   and looking at an example of creating a partition: (parted) mkpart
  primary
   106 16179
  
   I dont know what to do next since I dont see any partitions listed. I
  dont
   know what do to for the start and end point, although the man page
  says
   size in MB. Do I just say 0 to (and convert 16.0TB to MB? Yes, I
  know
  it
   says 17.6 TB but this model drobo can only support partitions up to
  16tb
   without making a second partition.
  
   Can anyone provide some advice on that I am missing conceptually?
 
  Several issues. First, if you use 4k blocks, the max filesystem size for
  ext3 is 16TB (see wikipedia on ext3). Second, I can't remember where,
  but
  on some filesystem tool's manpage, I read that the tools have problems
  going over 16TB. Third, fsck on a 16TB filesystem will take *days*,
  literally. I'm setting up, right now, a humongous RAID box, and I'll
  probably be divvying up the 42TB (mirrored!) as 3 14TB filesystems, and
  they're going to be ext4.
 
  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
 


 ___
 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] Formatting a USB Drive

2013-04-10 Thread Jason T. Slack-Moehrle
Hi John,

Thanks for this info. Drobo says no ext4:
http://support.drobo.com/app/answers/detail/a_id/165/~/how-do-i-use-my-drobo-with-a-linux-machine%3F

I will look up XFS.

Jason



On Wed, Apr 10, 2013 at 1:50 PM, John R Pierce pie...@hogranch.com wrote:

 On 4/10/2013 9:54 AM, Jason T. Slack-Moehrle wrote:
  # parted
  GNU Parted 2.1

 here's my parted recipe for making very large volumes...   this will
 fill the disk, reserving 512K up front to be on a reasonable stripe
 boundary

 |parted /dev/sdb ||mklabel gpt|
 |parted -a none /dev/sdb ||mkpart primary 1024s -1s|

 I would under NO conditions make a EXT3 volume anywheres NEAR as big as
 you're talking about.   my preference for large volumes is XFS.

  VG=vg_$(hostname -s)_data
  vgcreate $VG /dev/sdb1
  lvcreate --size 8T --name lv_data $VG
  mkfs.xfs  /dev/$VG/lv_data
  mount /dev/$VG/lv_data /data

 if your storage device presents the storage as a block device, then
 there's no 'support' issues I'm aware of for file systems, its just
 sectors as far as the storage device is concerned, the file system is
 strictly up to your OS.


 --
 john r pierce  37N 122W
 somewhere on the middle of the left coast

 ___
 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


[CentOS] web collaboration packages.

2013-04-09 Thread Jason T. Slack-Moehrle
Hello All,

Try as I might, I cannot get Zimbra 8.0.3 to install on CentOS 6.4, even
with --platform override. I followed some tutorials even that show the
result working and nada.

Can anyone suggest a good setup for e-mails erving, calendaring, web mail?
Web mail is particularly important for my wife so she can check e-mail when
she is at work.

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


Re: [CentOS] web collaboration packages.

2013-04-09 Thread Jason T. Slack-Moehrle
Wow, a better search yields a fair amount of packages.



On Tue, Apr 9, 2013 at 10:46 AM, Jason T. Slack-Moehrle 
slackmoeh...@gmail.com wrote:

 Hello All,

 Try as I might, I cannot get Zimbra 8.0.3 to install on CentOS 6.4, even
 with --platform override. I followed some tutorials even that show the
 result working and nada.

 Can anyone suggest a good setup for e-mails erving, calendaring, web mail?
 Web mail is particularly important for my wife so she can check e-mail when
 she is at work.

 Jason


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


[CentOS] Hostname question

2013-04-08 Thread Jason T. Slack-Moehrle
CentOS 6.4, clean install.
Zimbra 8.0.3

I am behind a PfSense box using a virtual IP. So the IP of the box is
192.168.1.27

I entered this in /etc/hosts:

127.0.0.1   localhost localhost.localdomain localhost4
localhost4.localdomain4
::1 localhost localhost.localdomain localhost6
localhost6.localdomain6
192.168.1.27 mail mail.meowbox.me meowbox.me

but `hostname -f` says:

$ hostname -f
hostname: Unknown host

Do I need to put the public IP for where this record resolves? Since
PFSense is forwarding traffic from it to the virtual IP?

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


Re: [CentOS] Hostname question

2013-04-08 Thread Jason T. Slack-Moehrle
Hi Mark,

I did a reboot and not `hostname -f` says: mail.

But I think that will still be wrong in terms of what Zimbra is looking for.

When I did the install I set the hostname to `webserver.localdomain`, so I
see in /var/log/messages:
`Apr  7 12:35:48 webserver kernel: SRAT: PXM 0 - APIC 0 - Node 0`

I think I might need to trick Zimbra bu changing:

192.168.1.27 mail mail.meowbox.me meowbox.me

to

192.168.1.27 mail.meowbox.me mail.meowbox.me meowbox.me


Jason

On Mon, Apr 8, 2013 at 11:26 AM, m.r...@5-cent.us wrote:

 Jason T. Slack-Moehrle wrote:
  CentOS 6.4, clean install.
  Zimbra 8.0.3
 
  I am behind a PfSense box using a virtual IP. So the IP of the box is
  192.168.1.27
 
  I entered this in /etc/hosts:
 
  127.0.0.1   localhost localhost.localdomain localhost4
  localhost4.localdomain4
  ::1 localhost localhost.localdomain localhost6
  localhost6.localdomain6
  192.168.1.27 mail mail.meowbox.me meowbox.me
 
  but `hostname -f` says:
 
  $ hostname -f
  hostname: Unknown host
 
  Do I need to put the public IP for where this record resolves? Since
  PFSense is forwarding traffic from it to the virtual IP?

 Quick check: is the hostname showing in /var/log/messages? If not, did you
 either reboot the box, or set the hostname manually, or restart the
 network? It won't take effect until you do one of those.

 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] Hostname question

2013-04-08 Thread Jason T. Slack-Moehrle
Hi Johnny:

# cat /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=mail.meowbox.me

Jason


On Mon, Apr 8, 2013 at 11:45 AM, Johnny Hughes joh...@centos.org wrote:

 On 04/08/2013 01:35 PM, Jason T. Slack-Moehrle wrote:
  Hi Mark,
 
  I did a reboot and not `hostname -f` says: mail.
 
  But I think that will still be wrong in terms of what Zimbra is looking
 for.
 
  When I did the install I set the hostname to `webserver.localdomain`, so
 I
  see in /var/log/messages:
  `Apr  7 12:35:48 webserver kernel: SRAT: PXM 0 - APIC 0 - Node 0`
 
  I think I might need to trick Zimbra bu changing:
 
  192.168.1.27 mail mail.meowbox.me meowbox.me
 
  to
 
  192.168.1.27 mail.meowbox.me mail.meowbox.me meowbox.me
 
 
  Jason
 
  On Mon, Apr 8, 2013 at 11:26 AM, m.r...@5-cent.us wrote:
  Jason T. Slack-Moehrle wrote:
  CentOS 6.4, clean install.
  Zimbra 8.0.3
 
  I am behind a PfSense box using a virtual IP. So the IP of the box is
  192.168.1.27
 
  I entered this in /etc/hosts:
 
  127.0.0.1   localhost localhost.localdomain localhost4
  localhost4.localdomain4
  ::1 localhost localhost.localdomain localhost6
  localhost6.localdomain6
  192.168.1.27 mail mail.meowbox.me meowbox.me
 
  but `hostname -f` says:
 
  $ hostname -f
  hostname: Unknown host
 
  Do I need to put the public IP for where this record resolves? Since
  PFSense is forwarding traffic from it to the virtual IP?
  Quick check: is the hostname showing in /var/log/messages? If not, did
 you
  either reboot the box, or set the hostname manually, or restart the
  network? It won't take effect until you do one of those.

 What is the hostname listed in /etc/sysconfig/network ?



 ___
 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] Hostname question

2013-04-08 Thread Jason T. Slack-Moehrle
John,

Weird question, but if web and e-mail are going to be on the same box. Do I
need to do mail.hostname.tld or can I just to hostname.tld?

For the MeowBox.me domain.
for DNS A-record: @ is the public IP
A-record mail is the public IP.

Mx record is 0 mail mail.meowbox.me



On Mon, Apr 8, 2013 at 11:46 AM, John R Pierce pie...@hogranch.com wrote:

 On 4/8/2013 11:17 AM, Jason T. Slack-Moehrle wrote:
  but `hostname -f` says:
 
  $ hostname -f
  hostname: Unknown host

 put the hostname in /etc/sysconfig/network, as ..

 HOSTNAME=full.domain.name.com

 example...

 $ more /etc/sysconfig/network
 NETWORKING=yes
 NETWORKING_IPV6=no
 HOSTNAME=hostname.mydomain.com
 GATEWAY=x.y.w.x


 --
 john r pierce  37N 122W
 somewhere on the middle of the left coast

 ___
 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] Hostname question

2013-04-08 Thread Jason T. Slack-Moehrle
Thanks everyone for all of the help, I appreciate it.




On Mon, Apr 8, 2013 at 12:09 PM, John R Pierce pie...@hogranch.com wrote:

 On 4/8/2013 11:52 AM, Jason T. Slack-Moehrle wrote:
  Weird question, but if web and e-mail are going to be on the same box.
 Do I
  need to do mail.hostname.tld or can I just to hostname.tld?
 
  For the MeowBox.me domain.
  for DNS A-record: @ is the public IP
  A-record mail is the public IP.
 
  Mx record is 0 mail mail.meowbox.me

 the FQDN hostname can be whatever.

 --
 john r pierce  37N 122W
 somewhere on the middle of the left coast

 ___
 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


[CentOS] SpamAssassin reporting help

2012-09-19 Thread Jason T. Slack-Moehrle
Hello All,

CentOS release 6.3 (Final)

I am getting e-mails now where they are:

Subject: Cron root@www /usr/share/spamassassin/sa-update.cron 21 |
tee -a /var/log/sa-update.log

Body: http: GET http://daryl.dostech.ca/sa-update/asf/1387055.tar.gz
request failed: 404 Not Found: !DOCTYPE HTML PUBLIC -//IETF//DTD
HTML 2.0//EN htmlhead title404 Not Found/title /headbody
h1Not Found/h1 pThe requested URL /sa-update/asf/1387055.tar.gz
was not found on this server./p hr addressApache/2.2.6 (Fedora)
Server at daryl.dostech.ca Port 80/address /body/html

Can anyone help me understand what is happening here?

Are they trying to inject an http request, looking for a specific
file? Or checking to see if I am running a piece of software that has
vulnerabilities to exploit?

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


Re: [CentOS] an assortment of mail serving issues - PARTIALLY SOLVED

2012-04-13 Thread Jason T. Slack-Moehrle

OK, I solved this, partially. It turns out that this is 

'nearly always caused by a host that is configured on private IP Space (or 
using NAT) and that does not have an interface for the public IP address the 
server resides on. This can be easily fixed by simply using native IP address 
lookups for lmtp rather than DNS'

so a few Zimbra commands and everything works Zimbra wise.

Special thanks to John Stanley for e-mailing me privately about a few things.

The remaining issue is that e-mail from our websites isn't working still

PHP mail functions dont seem to be getting to us.

Items like:

$headers = 'MIME-Version: 1.0' . \r\n;
$headers .= 'Content-type: text/html; charset=iso-8859-1' . \r\n;
$mail_to = ja...@thedigiologygroup.org;
$mail_subject = [6Colors] Contact Requested!;
$mail_body = htmlbodybr /; 
$mail_body = $mail_body.[6Colors - CONTACT]br /br /;
$mail_body = $mail_body.Name: .$vName.br /;
$mail_body = $mail_body.E-Mail Address: .$vEmail.br /br /;
$mail_body = $mail_body.Comments: .$vComment.br /;
$mail_body = $mail_body. END  br /;
$mail_body = $mail_body.br //body/html;
mail($mail_to, $mail_subject, $mail_body, $headers);



I tried a test message from the website and then looked at `/var/log/maillog' 
and I dont see anything.

Any thoughts?

-Jason



  
 


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


[CentOS] an assortment of mail serving issues

2012-04-12 Thread Jason T. Slack-Moehrle
Hi All,

I moved to a new CentOS6 install after an old CentOS5 server started exhibiting 
problems. I am having mail serving issues and they are confusing. I am seeing 
both Sendmail and Zimbra issues.

We front e-end out operation with a pfSense box and it has the following mail 
ports open: 25, 465, 587, 110, 143, 993, 995.

We have Zimbra  and that also requires 7025 and 7071 be open.

This sent OS Server has these same ports open and verified by 
'system-config-network-tui'

1. We have a few php based sites that utilize code like:

$headers = 'MIME-Version: 1.0' . \r\n;
$headers .= 'Content-type: text/html; charset=iso-8859-1' . \r\n;
$mail_to = slackmoeh...@gmail.com;
$mail_subject = [6Colors] Footage!;
$mail_body = htmlbodybr /; 
$mail_body = $mail_body.[6Colors - FOOTAGE]br /br /;
$mail_body = $mail_body.Name: .$vName.br /;
$mail_body = $mail_body.E-Mail Address: .$vEmail.br /br /;
$mail_body = $mail_body.Comments: .$vComment.br /;
$mail_body = $mail_body. END  br /;
$mail_body = $mail_body.br //body/html;
mail($mail_to, $mail_subject, $mail_body, $headers);



This mail is failing to be delivered.

2. We have a database backup script that e-mails a few very small databases 
every night.

#Enter the email address you would like to receive the backup
EMAIL=slackmoeh...@gmail.com;


MAIL=/usr/bin/mail;

/usr/bin/uuencode $DUMP$EXT2$EXT4 $DUMP$EXT2$EXT4 |$MAIL -s Mysql Backup For 
$DATABASE $EMAIL ;

This mail is failing to be delivered.

3. We have a CMS running that we have tried using SendMail and SMTP by 
authenticating using Google credentials, following Google instructions and the 
CMS cannot send outgoing mail as well.

4. Zimbra users can send mail, but replying back doesn't work. They cannot 
receive e-mails.

I thought to check '/var/log/maillog' so I did 'tail maillog'

# tail maillog

Apr 12 20:43:56 www postfix/lmtp[21788]: connect to 
thedigiologygroup.org[75.149.56.27]:7025: Connection timed out
Apr 12 20:43:56 www postfix/lmtp[21788]: 6AD69198102B: 
to=ja...@thedigiologygroup.org, relay=none, delay=21, delays=0.07/0.01/21/0, 
dsn=4.4.1, status=deferred (connect to 
thedigiologygroup.org[75.149.56.27]:7025: Connection timed out)
Apr 12 20:44:04 www postfix/smtpd[21765]: disconnect from 
mail-pz0-f51.google.com[209.85.210.51]

Here clearly is a connection timeout on port 7025, but I do see that it is open 
on our pfSense box and the CentOS server experiencing this.

So I started checking things like DNS, etc

# host thedigiologygroup.org
thedigiologygroup.org has address 75.149.56.27
thedigiologygroup.org mail is handled by 0 mail.thedigiologygroup.org.



# dig +short thedigiologygroup.org mx
0 mail.thedigiologygroup.org.



I had Comcast create Reverse PTR records yesterday for the IP 75.149.56.27 for 
mail.thedigiologygroup.org and mail.ouremail.us. I use DNSQueries to test this 
and I found they have a type for the mail.ouremail.us entry, they used .com, so 
I will call and have them correct it

I tried doing an SMTP test on DNSqueries.com and it fails saying: I was NOT 
able to connect on port 25 to mail.thedigiologygroup.org

I dont know if this is trying open relay stuff, so that should fail?

I rebooted the server finally and looked at maillog after a reboot and I see:

# tail /var/log/maillog
Apr 12 21:14:05 www zmmailboxdmgr[5836]: status OK
Apr 12 21:14:05 www zmmailboxdmgr[6021]: status requested
Apr 12 21:14:05 www zmmailboxdmgr[6021]: status OK
Apr 12 21:14:30 www postfix/postqueue[6243]: fatal: Queue report unavailable - 
mail system is down
Apr 12 21:15:00 www postfix/postqueue[6251]: fatal: Queue report unavailable - 
mail system is down
Apr 12 21:15:07 www zmmailboxdmgr[6351]: status requested
Apr 12 21:15:07 www zmmailboxdmgr[6351]: status OK
Apr 12 21:15:07 www zmmailboxdmgr[6360]: status requested
Apr 12 21:15:07 www zmmailboxdmgr[6360]: status OK
Apr 12 21:15:30 www postfix/postqueue[6559]: fatal: Queue report unavailable - 
mail system is down




So I am really confused and I was hoping for some advice on sorting this out.

-Jason


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


[CentOS] MySQL on CentOS 6 broken? No 'mysql' database?

2012-02-06 Thread Jason T. Slack-Moehrle
Hi Guys,

I installed CentOS 6 and installed 'yum install mysql mysql-devel mysql-server'

When I try and start MySQL I get:
120206 16:42:07 mysqld_safe Starting mysqld daemon with databases from 
/var/lib/mysql
/usr/libexec/mysqld: Table 'mysql.plugin' doesn't exist
120206 16:42:07 [ERROR] Can't open the mysql.plugin table. Please run 
mysql_upgrade to create it.
120206 16:42:07 InnoDB: Started; log sequence number 0 44233
120206 16:42:07 [ERROR] Fatal error: Can't open and lock privilege tables: 
Table 'mysql.host' doesn't exist
120206 16:42:07 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid 
ended



if I go look in /var/lib/mysql I see:

-rw-rw. 1 mysql mysql 10485760 Feb 5 16:53 ibdata1
-rw-rw. 1 mysql mysql 5242880 Feb 6 16:42 ib_logfile0
-rw-rw. 1 mysql mysql 5242880 Feb 5 16:33 ib_logfile1
drwx--. 2 mysql mysql 4096 Feb 5 16:55 mysql
drwx--. 2 mysql mysql 4096 Feb 5 16:55 test



and the 'mysql' is empty.

I dont understand, I have never had this issue. I assume that the 'mysql' 
directory should contain something?

So with this, I cannot do anything to get MySQL going!

I tried a 'yum upgrade' to make sure everything was up to date.

[root@www mysql]# cat /etc/*release*
CentOS release 6.2 (Final)
cat: /etc/lsb-release.d: Is a directory
CentOS release 6.2 (Final)
CentOS release 6.2 (Final)
cpe:/o:centos:linux:6:GA



Any thoughts?
-Jason

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


[CentOS] One of my servers wont boot today

2012-01-30 Thread Jason T. Slack-Moehrle
Hi All,

One of my servers upon a restart today comes up with an error 

checking filesystems:

fsck.ext3: no such file or directory while trying to open 
/dev/VolGroup-1/Logvol00.

/dev/VolGroup-1/LogVol00. The superblock could not be read or does not describe 
a correct ext2 filesystem. If the device is valid and it really contains an 
ext2 filesystem (and not swap or ufs or something else), then the superblock is 
corrupt, and you might try running e2fsck with an alternate superblock: e2fsck 
-b 8193 device

I dropped into the shell and tried mounting:

mount -t ext3 /dev/VolGroup-1/LogVol00 

I tried booting to media and do 'linux rescue' but it could not mount file 
filesystems either and nothing at all ends up in /mnt/sysimage.

I think this was caused by installing quotas and changing /etc/fstab to add 
,usrquota,grpquota.

There are 2 x 1tb drives, software raid, mirrored.

Can anyone provide advice on how to solve? I would think if I could get 
/etc/fstab edited back to normal I would be all set.

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


Re: [CentOS] One of my servers wont boot today

2012-01-30 Thread Jason T. Slack-Moehrle
It says File based locking initialization failed


-- 
Jason T. Slack-Moehrle


On Monday, January 30, 2012 at 9:59 AM, Dennis Jacobfeuerborn wrote:

 The no such file or directory sound more like the LV cannot be found. 
 What does lvdisplay say?
 
 Regards,
 Dennis
 
 On 01/30/2012 06:56 PM, Jason T. Slack-Moehrle wrote:
  Hi All,
  
  One of my servers upon a restart today comes up with an error
  
  checking filesystems:
  
  fsck.ext3: no such file or directory while trying to open 
  /dev/VolGroup-1/Logvol00.
  
  /dev/VolGroup-1/LogVol00. The superblock could not be read or does not 
  describe a correct ext2 filesystem. If the device is valid and it really 
  contains an ext2 filesystem (and not swap or ufs or something else), then 
  the superblock is corrupt, and you might try running e2fsck with an 
  alternate superblock: e2fsck -b 8193device
  
  I dropped into the shell and tried mounting:
  
  mount -t ext3 /dev/VolGroup-1/LogVol00
  
  I tried booting to media and do 'linux rescue' but it could not mount file 
  filesystems either and nothing at all ends up in /mnt/sysimage.
  
  I think this was caused by installing quotas and changing /etc/fstab to add 
  ,usrquota,grpquota.
  
  There are 2 x 1tb drives, software raid, mirrored.
  
  Can anyone provide advice on how to solve? I would think if I could get 
  /etc/fstab edited back to normal I would be all set.
  
  -Jason
  ___
  CentOS mailing list
  CentOS@centos.org (mailto:CentOS@centos.org)
  http://lists.centos.org/mailman/listinfo/centos
 
 
 
 ___
 CentOS mailing list
 CentOS@centos.org (mailto: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] One of my servers wont boot today

2012-01-30 Thread Jason T. Slack-Moehrle

  It says File based locking initialization failed
 
 
 Try the --ignorelockingfailure argument.

I am not familiar with that and 'man lvdisplay' does not show it as an option. 
Google for that turns up more results. Is it used with e2fsck, I dont see it 
there either.


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


Re: [CentOS] One of my servers wont boot today

2012-01-30 Thread Jason T. Slack-Moehrle
It says File based locking initialization failed
   
   
   
   Try the --ignorelockingfailure argument.
  
  I am not familiar with that and 'man lvdisplay' does not show it as an 
  option. Google for that turns up more results. Is it used with e2fsck, I 
  dont see it there either.
 
 It's an option for most LVM commands. Do a man lvdisplay and look in the 
 SYNOPSIS section. Apparently most options lvdisplay understands aren't 
 actually listed in the OPTIONS section.

Thanks.

It does list out the volume information, what else should it do?  


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


Re: [CentOS] One of my servers wont boot today

2012-01-30 Thread Jason T. Slack-Moehrle
Hi,

 Try the --ignorelockingfailure argument.


I am not familiar with that and 'man lvdisplay' does not show it as an 
option. Google for that turns up more results. Is it used with e2fsck, 
I dont see it there either.
   
   It's an option for most LVM commands. Do a man lvdisplay and look in the
   SYNOPSIS section. Apparently most options lvdisplay understands aren't
   actually listed in the OPTIONS section.
  
  
  
  Thanks.
  
  It does list out the volume information, what else should it do?
 
 what does lvm lvscan says, are they active? if not, run vgchange -a y 
 VolGroup-1 to activate them (temporary only, while using that 
 DVD/LiveDVD). it should activate that Volume Group and all Logical 
 Volumes in it. Now you can scan it wit fsck
 
 Then you may need to mount it in some created folder (mkdir -p 
 /sysimage/LogVol00; mount /dev/VolGroup-1/LogVol00 /sysimage/LogVol00).
 
 Check if your system had any updates (kernel in particular) between 
 reboots. Maybe something gone bad.

I did  vgchange -a y VolGroup00

and it activated 3 volumes

So I am trying to fsck and it comes up with the same super block error I had 
but I dont see how to fix it.

It says:

/dev/VolGroup00/. The superblock could not be read or does not describe a 
correct ext2 filesystem. If the device is valid and it really contains an ext2 
filesystem (and not swap or ufs or something else), then the superblock is 
corrupt, and you might try running e2fsck with an alternate superblock: e2fsck 
-b 8193 device

So I tried e2fsck -b 8193 /dev/VolGroup00 

and it seems I get the same error coming up over and over

I tried:

fsck -y b=8193 /dev/VolGroup00 as well

Any thoughts?

-Jason




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


Re: [CentOS] One of my servers wont boot today

2012-01-30 Thread Jason T. Slack-Moehrle
  It says:
  
  /dev/VolGroup00/. The superblock could not be read or does not describe a 
  correct ext2 filesystem. If the device is valid and it really contains an 
  ext2 filesystem (and not swap or ufs or something else), then the 
  superblock is corrupt, and you might try running e2fsck with an alternate 
  superblock: e2fsck -b 8193 device
  
  So I tried e2fsck -b 8193 /dev/VolGroup00 
  
  and it seems I get the same error coming up over and over
  
  I tried:
  
  fsck -y b=8193 /dev/VolGroup00 as well
  
  Any thoughts?
 
 You need to fsck each logical volume, not the whole volume group, e.g.
 
 e2fsck -b 8193 /dev/VolGroup00/LogVol01
sure, I thought of that too.

under /dev/VolGroup00 is LogVol00, LogVol01, LogVol02.

I do e2fsck -b 8193 /dev/VolGroup00/LogVol00 and I get the same super block 
error above.

Same with LogVol01 and 02.

-Jason

 


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


Re: [CentOS] One of my servers wont boot today

2012-01-30 Thread Jason T. Slack-Moehrle
   It says:
   
   /dev/VolGroup00/. The superblock could not be read or does not describe a 
   correct ext2 filesystem. If the device is valid and it really contains an 
   ext2 filesystem (and not swap or ufs or something else), then the 
   superblock is corrupt, and you might try running e2fsck with an alternate 
   superblock: e2fsck -b 8193 device
   
   So I tried e2fsck -b 8193 /dev/VolGroup00 
   
   and it seems I get the same error coming up over and over
   
   I tried:
   
   fsck -y b=8193 /dev/VolGroup00 as well
   
   Any thoughts?
  
  You need to fsck each logical volume, not the whole volume group, e.g.
  
  e2fsck -b 8193 /dev/VolGroup00/LogVol01
 sure, I thought of that too.
 
 under /dev/VolGroup00 is LogVol00, LogVol01, LogVol02.
 
 I do e2fsck -b 8193 /dev/VolGroup00/LogVol00 and I get the same super block 
 error above.
 
 Same with LogVol01 and 02.
Forgot:

e2fsck: Bad magic number in super-block while trying to open LogVol00

The superblock could not be read or does not describe a correct ext2
filesystem. If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 device 


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


[CentOS] A Hardware Observation (and Thank You To John Pierce)

2012-01-29 Thread Jason T. Slack-Moehrle

A few days ago, John Pierce made a comment about Intel network cards and that 
they are more reliable and a better overall card than most. (This is not 
exactly what he said, but rather I am paraphrasing) My small cluster of servers 
all had generic PCI nics in them (I was not using any onboard NICS).

Today, I replaced the NICS with Intel Pro 1000 PCI-E NICS and replaces our 
small 5 port TP-Link GB switch with a nice 8 port Cisco GB switch and what a 
world of difference. The network is zippier for sure. Copying large files 
between machines using 'scp' is faster, our websites come up better (testing 
from my wife's work) too.

I know some have joked about the PB conversation in terms of not realizing the 
amount of electricity and space it will take, but I really do read and pay 
attention and try not to ask totally stupid questions.

John Pierce, thank you!

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


Re: [CentOS] Can anyone talk infrastructure with me?

2012-01-26 Thread Jason T. Slack-Moehrle
Hi John, 
  Are you using Comcast in Santa Cruz?
 
 absolutely not.the local cable system blows. my home is on a sonic.net 
 (http://sonic.net) 
 ADSL circuit resold by another ISP. television is on satellite.

I am looking at Sonic.net and I am awaiting a call from a sales rep (had been 2 
days) 

They are offering a Business T for $308 per month and I also see they have 
the bonded 

They advertise the starting Business T at 1.5Mbps per second 

They advertise the ADSL2+ 2 lines at up to 40Mbps per second.

Am I mis-understanding that the cost for a T seems high, but a better option 
for me than getting their ADSL2+ service? I mean, is the T faster over all 
given it is all my traffic and I am not sharing?

Can you explain a bit so I can develop a better understanding of how they 
advertise speeds, etc?

-Jason



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


Re: [CentOS] Can anyone talk infrastructure with me?

2012-01-26 Thread Jason T. Slack-Moehrle
Hi Karanbir,
  Can you explain a bit so I can develop a better understanding of how they 
  advertise speeds, etc?
 
 
 
 have you considered taking your questions to the lopsa lists ? That
 would be far more topical ( or even to a local LUG list ) than the
 CentOS lists.

I have no idea what lopsa is, so let me look it up. I know my questions are 
surely off topic here.

-Jason 


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


Re: [CentOS] Can anyone talk infrastructure with me?

2012-01-26 Thread Jason T. Slack-Moehrle
Hi Gordon.

  They advertise the starting Business T at 1.5Mbps per second
  They advertise the ADSL2+ 2 lines at up to 40Mbps per second.
  Am I mis-understanding that the cost for a T seems high, but a better
  option for me than getting their ADSL2+ service? I mean, is the T
  faster over all given it is all my traffic and I am not sharing?
  Can you explain a bit so I can develop a better understanding of how
  they advertise speeds, etc?
 
 
 
 Yes, the cost for a T1 will seem very high. It is antiquated telco 
 tech. T1s are generally very reliable, but very very slow.
 
 1.5Mbps is not faster than 40Mbps. There's nothing hidden in the way 
 they advertise speeds.
 
 DSL and DOCSIS technologies have advanced and matured over the last 
 couple of decades. T1 has not. A T1 connection is the same now as it 
 has always been.

Your timing is perfect with this reply. I was just on the phone with Sonic.net 
and the rep told me that the T1 was better due to it being all my traffic and 
much more reliable.

They told me that most companies buying internet for hosting their 
infrastructure internally are not happy with 40Mbps.

With Comcast we currently have a 20 x 5 and they are offering us a 50 x 10 
circuit for $123/month.

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


[CentOS] HP ProLiant N40L

2012-01-25 Thread Jason T. Slack-Moehrle

Hi All,

A friend gave me his HP ProLiant N40L and I am wondering if anyone has 
installed CentOS 6 on it? Raided the drives, etc?

-Jason




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


Re: [CentOS] HP ProLiant N40L

2012-01-25 Thread Jason T. Slack-Moehrle
Did you have any trouble using a USB DVD drive or did you put an internal in it?

Do you know if I buy an internal blu-ray if CentOS has a way to write to the 
media for backup? 

-- 
Jason T. Slack-Moehrle


On Wednesday, January 25, 2012 at 12:14 PM, Ade wrote:

 I have an N40L and its running RHEL6 totally fine
 
 On 25 January 2012 19:39, Jason T. Slack-Moehrle slackmoeh...@gmail.com 
 (mailto:slackmoeh...@gmail.com)wrote:
 
  
  Hi All,
  
  A friend gave me his HP ProLiant N40L and I am wondering if anyone has
  installed CentOS 6 on it? Raided the drives, etc?
  
  -Jason
  
  
  
  
  ___
  CentOS mailing list
  CentOS@centos.org (mailto:CentOS@centos.org)
  http://lists.centos.org/mailman/listinfo/centos
 
 
 ___
 CentOS mailing list
 CentOS@centos.org (mailto: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] HP ProLiant N40L

2012-01-25 Thread Jason T. Slack-Moehrle
Have you tried to use 2 x 8gb DDR3 to get it to 16gb instead of the 8gb they 
say is max?


-- 
Jason T. Slack-Moehrle


On Wednesday, January 25, 2012 at 12:57 PM, Jason T. Slack-Moehrle wrote:

 Did you have any trouble using a USB DVD drive or did you put an internal in 
 it?
 
 Do you know if I buy an internal blu-ray if CentOS has a way to write to the 
 media for backup? 
 
 -- 
 Jason T. Slack-Moehrle
 
 
 On Wednesday, January 25, 2012 at 12:14 PM, Ade wrote:
 
  I have an N40L and its running RHEL6 totally fine
  
  On 25 January 2012 19:39, Jason T. Slack-Moehrle slackmoeh...@gmail.com 
  (mailto:slackmoeh...@gmail.com)wrote:
  
   
   Hi All,
   
   A friend gave me his HP ProLiant N40L and I am wondering if anyone has
   installed CentOS 6 on it? Raided the drives, etc?
   
   -Jason
   
   
   
   
   ___
   CentOS mailing list
   CentOS@centos.org (mailto:CentOS@centos.org)
   http://lists.centos.org/mailman/listinfo/centos
  
  
  
  
  ___
  CentOS mailing list
  CentOS@centos.org (mailto:CentOS@centos.org)
  http://lists.centos.org/mailman/listinfo/centos
 



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


[CentOS] Can anyone talk infrastructure with me?

2012-01-25 Thread Jason T. Slack-Moehrle
Hi All,

I started a 501c3 (not-for-profit) organization back in February 2011 to deal 
with information archival. A long vision here, I wont bore you with the details 
(if you really want to know, e-mail me privately) but the gist is I need to 
build an infrastructure to accommodate about 2PB of data that is database 
stuff, stored video, crawl data, static data sets, etc. Right now in my testing 
of the software I can easily bang down 300+gb a month of data. I have a Comcast 
business circuit and so far so good with them. I am investigating Sonic.net for 
a Business T solution as they call it.

As part of their deal, they want to lease me a Managed Cisco Router. I know, 
i know which one? Well none of the Sales people know and they have to find out 
for me! They also told me that with this router, there is no reason to run my 
own dedicated firewall. Which I have been investigating recently as well. I do 
have cisco PIX experience and I am not sure how much of that translates to real 
world use now-a-days. I have not touched a PIX in 5 years.

So I am confused and I would appreciate some advice.

So this Cisco device they want to put in front of everything. I then wanted to 
run my own dedicated firewall (a custom build box probably thanks to John 
Pierce's advice about pfSense recently). Coming off that dedicated Firewall, I 
need a DMZ for web-serving, a private VLAN for database servers, etc and a 
private VLAN for my computers here that I use to do all the work behind the NPO.

Here is where I draw some confusion. Where do items such as Varnish Cache, 
HAProxy go in relationship to firewall, DMZ, etc? 

HAProxy is a load-balancer, so It should do in front of web-servers so it can 
decide which web-server to send the traffic to?

Varnish Cache is all about caching commonly used resources so it seems that 
this has to go in front too? 

Can this be the same box realistically? How does one spec this box out?

Database servers and storage servers would go on the private VLAN? I am 
building a box to store all the data (mysql, video, crawl data, static 
datasets) and I strongly think it might be a backBlaze POD running CentOS.

I know this is not the best list to ask these types of questions on, so if 
there is a better place besides ServerFault or SuperUser.com, I would 
appreciate knowing. I just find the folks here have so much knowledge besides 
CentOS.

I look at some of these organizations that talk about their infrastructure like 
WikiMedia Foundation, StackOverflow and I sort of really become quickly amazed 
that I could full the garage in my house with equipment easily and my wife wont 
like that!

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


Re: [CentOS] Can anyone talk infrastructure with me?

2012-01-25 Thread Jason T. Slack-Moehrle
Hi,
  I started a 501c3 (not-for-profit) organization back in February 2011 to 
  deal with information archival. A long vision here, I wont bore you with 
  the details (if you really want to know, e-mail me privately) but the gist 
  is I need to build an infrastructure to accommodate about 2PB of data
 
 
 2PB? At home?
 
 http://www.youtube.com/watch?v=Eu430bqbK5w
 
 Rent a rack somewhere, or three.
 Unless nobody is retrieving the data and you are just archiving it.

Well, people will be retrieving the data, analyzing it, etc. Plus we allow them 
to conduct crawls for potential relevant data as well.

At home, sort of, my garage. We really have no need for office space with 
everything that can be done remote now-a-days. 

I really dont want to rent a rack someplace as the cost is way up there and if 
I do it myself I always know the status of the equipment, quality of hardware, 
etc. I also get the burden of every problem too, I realize. Yes, I am thinking 
about dedicated power, backup generators, cooling, etc.

Thanks for the YouTube link, looks helpful.

-Jason


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


Re: [CentOS] Can anyone talk infrastructure with me?

2012-01-25 Thread Jason T. Slack-Moehrle
can you explain to the calculation to determine that 300gb is 2mbps? 

What it is 300gb a day? Comcast has told me in the last two days I went through 
127gb 

-- 
Jason T. Slack-Moehrle


On Wednesday, January 25, 2012 at 4:21 PM, Karanbir Singh wrote:

 Hi,
 
 On 01/25/2012 11:53 PM, Jason T. Slack-Moehrle wrote:
  Hi All,
  
  I started a 501c3 (not-for-profit) organization back in February 2011 to 
  deal with information archival. A long vision here, I wont bore you with 
  the details (if you really want to know, e-mail me privately) but the gist 
  is I need to build an infrastructure to accommodate about 2PB of data that 
  is database stuff, stored video, crawl data, static data sets, etc. Right 
  now in my testing of the software I can easily bang down 300+gb a month of 
  data. 
 
 300gb a month is barely 2mbps...
 
 2PiB is a whole different ballgame.
 
 Most of what how you setup, network, maintain and then grow/manage into
 the future will depend on what you want to do with the data, how you
 want to expose it to the user and how much money you want to throw at
 the issues.
 
 Even using the most commodity of hardware, with 95 percentile psu's -
 your garage is unlikely to have enough electricity to power a 2PiB
 store. Or cool it.
 
 -- 
 Karanbir Singh
 +44-207-0999389 | http://www.karan.org/ | twitter.com/kbsingh 
 (http://twitter.com/kbsingh)
 ICQ: 2522219 | Yahoo IM: z00dax | Gtalk: z00dax
 GnuPG Key : http://www.karan.org/publickey.asc
 ___
 CentOS mailing list
 CentOS@centos.org (mailto: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] Can anyone talk infrastructure with me?

2012-01-25 Thread Jason T. Slack-Moehrle
Hi Aurf,

I am seeing a lot of solutions that are not all perfect and just insanely 
expensive. BackBlaze seems like a pretty decent solution, I have control of all 
hardware and software to do with as I please.

If you have ideas, please talk to me about them!

-Jason 

-- 
Jason T. Slack-Moehrle


On Wednesday, January 25, 2012 at 4:29 PM, aurfalien wrote:

 
 On Jan 25, 2012, at 3:53 PM, Jason T. Slack-Moehrle wrote:
 
  Hi All,
  
  I started a 501c3 (not-for-profit) organization back in February 
  2011 to deal with information archival.
  Database servers and storage servers would go on the private VLAN? I 
  am building a box to store all the data (mysql, video, crawl data, 
  static datasets) and I strongly think it might be a backBlaze POD 
  running CentOS.
 
 
 
 
 Hi Jason,
 
 Not to be one of those guys who answers a question with a question, 
 but... why backBlaze for archival?
 
 Are you building in some safe guards/redundancy not found in the 
 current backBlaze implenetation?
 
 Just curious, not a challenge or anything.
 
 - aurf
 ___
 CentOS mailing list
 CentOS@centos.org (mailto: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] Can anyone talk infrastructure with me?

2012-01-25 Thread Jason T. Slack-Moehrle
 racking 2 PiB (or 2048TiB) of nearline grade storage will require about
 1000 3.5 3TB drives, allowing for a reasonable raid level and suitable 
 number of hotspares. If its frequently updated transactional database 
 storage, I'd want to use raid10. Using somethign like the Supermicro 
 847 chassis, you can get 36 drives plus a server in 4U, and draw about 
 700 watts actual in use I estimate you'll want about 28 of these 
 servers, which will take two full racks and draw about 20KW, or 180 amps 
 off 120V household circuits (realistically, you'll need 208V for this 
 many servers). You'll also need about 10-15KW worth of air 
 conditioning equipment to deal with the generated 68000 BTUs of heat. 
 HVAC will push your power usage up to the 30-40kW range, or 2500 
 KWH/month, at $0.20/KWH typical residential power usage, you're looking 
 at a $5000/month power bill, give or take.
 
 those 28 SuperMicro servers will cost about $200,000 for the 1000 3TB 
 enterprise nearline disks, plus another $200,000 or so for reasonably 
 well configured servers. 20KVA of redundant UPS and 7 BTU worth of 
 computer room A/C will add a good chunk more  to this.

 
Hi John,

Yes, our (meaning yours and mine) calculations are different and I am probably 
wrong. 

I think I am drawn to the BackBlaze POD for reasons like this. 135TiB in a 
single enclosure and that is not even using 4TB drives.

2PiB is an estimate for the next 2 years, currently there is a little bit over 
480TiB according to adding up various math calculations (databases, du, app 
data, static files, etc)

I see your calculations about power and yes, currently power for just the UPS, 
Computers, fans and stuff runs me about $400 a month and I only have a few 
boxes handling the demo of the product. This will be my first summer in my new 
location in Cupertino and I know I will need to act on cooling really soon. 

Are you using Comcast in Santa Cruz?

-Jason



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


Re: [CentOS] Can anyone talk infrastructure with me?

2012-01-25 Thread Jason T. Slack-Moehrle
I will read this tonight.

I have a meeting with Drobo tomorrow and I think this is the same article on of 
their guys sent me. 

-- 
Jason T. Slack-Moehrle


On Wednesday, January 25, 2012 at 5:37 PM, aurfalien wrote:

 On Jan 25, 2012, at 4:50 PM, John R Pierce wrote:
 
  On 01/25/12 4:27 PM, Jason T. Slack-Moehrle wrote:
   can you explain to the calculation to determine that 300gb is 2mbps?
  
  
  
  300GB (big B for byte) / 30 days / 24 hours/day / 3600 seconds/hour, 
  and
  I get 0.12MB/second, so multiplying by 10 to get bits allowing for 
  basic
  protocol overhead, I come up with 1.2Mbit/sec sustained average.
  
  
  racking 2 PiB (or 2048TiB) of nearline grade storage will require 
  about
  1000 3.5 3TB drives, allowing for a reasonable raid level and 
  suitable
  number of hotspares. If its frequently updated transactional 
  database
  storage, I'd want to use raid10. Using somethign like the Supermicro
  847 chassis, you can get 36 drives plus a server in 4U, and draw about
  700 watts actual in use I estimate you'll want about 28 of these
  servers, which will take two full racks and draw about 20KW, or 180 
  amps
  off 120V household circuits (realistically, you'll need 208V for this
  many servers). You'll also need about 10-15KW worth of air
  conditioning equipment to deal with the generated 68000 BTUs of heat.
  HVAC will push your power usage up to the 30-40kW range, or 2500
  KWH/month, at $0.20/KWH typical residential power usage, you're 
  looking
  at a $5000/month power bill, give or take.
  
  those 28 SuperMicro servers will cost about $200,000 for the 1000 3TB
  enterprise nearline disks, plus another $200,000 or so for reasonably
  well configured servers. 20KVA of redundant UPS and 7 BTU worth 
  of
  computer room A/C will add a good chunk more  to this.
  
  are you serious?
 
 Nice analysis.
 
 Yea the heat footprint alone will require some good AC. I'm open 
 minded and am intrigued on who this will be pulled off but still, 
 sounds crazy and not too well thought out.
 
 I do like the not for profit spin which helps the cause out.
 
 A quick search found this;
 
 http://bioteam.net/2011/08/why-you-should-never-build-a-backblaze-pod/
 
 Basically its a sort of why not to use a backBlaze but we sort did ...
 
 - aurf
 ___
 CentOS mailing list
 CentOS@centos.org (mailto:CentOS@centos.org)
 http://lists.centos.org/mailman/listinfo/centos



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


[CentOS] Theoretical Firewall Specs?

2012-01-17 Thread Jason T. Slack-Moehrle
So, the more I look at various ways to lay out my infrastructure, the more I am 
thinking about specs for hardware.

Starting with firewalling.

How does one determine the specs for a firewall? 

What I mean is:

1. motherboard/CPU - p4? Dual-Core? Intel i3, i5, i7?

2. RAM? 4gb? 8gb? More? 32gb?

3. Obviously GB Nics!

I am bring about 300gb of traffic a month right now and I expect that to 
increase significantly with my next offerings. 

Obviously one answer is to but a beefy motherboard that supports lots of RAM 
and add more as needed, but where does one start out? 

How do I know if my firewall would need more RAM?

How do I know if the CPU is good enough?

I still go back to my Cisco PIX days where these devices were amazing on just 
256MB of RAM. We piloted a large chunk of Cornell University's Lab Of 
Ornithology on 2 of these, but now-a-days it seems that a PIX would not be good 
enough. Is it because the nature of the internet and data and attacks has 
changed over time? more aggressive?

-Jason


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


[CentOS] Dedicated Firewall/Router

2012-01-16 Thread Jason T. Slack-Moehrle
Hi All,

I want to build a dedicated firewall/router as I am launching a NPO and I can 
host this in my garage. (Comcast offered me a 100 x 20 circuit for $99/mo with 
5 statics)

I used to run Untangle, but as of version 9, you are forced to use their build 
in protocol policies versus the firewalling I am used to (Deny All and then 
opening holes for specific IP's, etc).

There are so many firewall distros to choose from. FireStarter, IPCOP, etc.

The box I was going to use is a P4, 3GB RAM, 3 GB NICS.

I could always use a beefier box also if there was really a need to for such a 
task. 

I am used to some Cisco PIX boxes and they just seem fast on hardly any specs. 
I had a PIX 525 that only had 256mb of RAM about 8 years ago and it was a 
rockstar.

Thoughts, opinions, suggestions are welcome as to what to do!


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


[CentOS] Changing Root E-Mail address

2010-12-22 Thread Jason T. Slack-Moehrle
Hi All,

I installed a new CentOS 5.5 box and I am getting a daily e-mail (I am not sure 
how this was triggered) with XNTPD logs, HTTP Error and Disk Space).

It is being sent to r...@www.6colors.co which bounces, but I have a catch all 
so it does get to me. 

How do I change where this e-mail is sent? I have tried in 
/etc/postfix/main.cd, master.cf, bounce.cf.default, etc and I don't see where 
this is set.

Can anyone help out?

Best,
-Jason
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Changing Root E-Mail address

2010-12-22 Thread Jason T. Slack-Moehrle

 I installed a new CentOS 5.5 box and I am getting a daily e-mail (I am not 
 sure how this was triggered) with XNTPD logs, HTTP Error and Disk Space).

 Its LOGWATCH what is doing it. It will be scheduled in / ETC / CRONTAB

Thanks Paul, I found it!

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


Re: [CentOS] Changing Root E-Mail address

2010-12-22 Thread Jason T. Slack-Moehrle

 On Wed, 2010-12-22 at 10:25 -0600, Les Mikesell wrote:
 
 If you are running the default sendmail, put an alias for root in 
 /etc/aliases and restart sendmail or run 'newaliases'.
 
 
 Or you can edit
 
   /etc/share/logwatch/scripts/logwatch.pl
 
 and change line 64
 
   $Config{'mailto'} = root;

Exactly what I did earlier.

-Jason

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


Re: [CentOS] httpd log weirdness

2010-12-20 Thread Jason T. Slack-Moehrle
Kai,

There is nothing deployed on this server as of yet. It simply serves the 
default apache page when you hit it at this point. So it does seem weird to me 
to have that show up.

I will examine the log manually and see what that yields.

-Jason

On Dec 20, 2010, at 2:31 AM, Kai Schaetzl wrote:

 The logs do not contain hostnames like this. This was a request for 
 http://your.example.com/http://www.cablecarmuseum.org/Car42.jpg
 or something similar.
 
 In addition to Eero's explanation it could be a wrong link in one of your 
 pages. Scan your logs manually.
 
 Kai
 
 -- 
 Get your web at Conactive Internet Services: http://www.conactive.com
 
 
 
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos

Jason T. Slack-Moehrle
slackmoeh...@me.com

http://gallery.me.com/slackmoehrle

FaceTime: slackmoeh...@me.com

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


Re: [CentOS] CentOS 6

2010-12-20 Thread Jason T. Slack-Moehrle

 I'm sitting here with my manager and the other admin, as they argue as to
 when CentOS 6 will be out. Anyone have a clue as to when? Are we getting
 close?

 this happens every release.  there's no set date.  it'll be done when it 
 is completed.

Is there a roadmap or expected feature set that we can look at?

-Jason

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


[CentOS] httpd log weirdness

2010-12-19 Thread Jason T. Slack-Moehrle
Hi All,

I setup a new Centos 5.5 bod and it will be running a site for me. Apache is 
running and daily I get e-mailed a log from the box. 

The log today said:

- httpd Begin  
Requests with error response codes
   404 Not Found
  http://www.cablecarmuseum.org/Car42.jpg: 1 Time(s)
-- httpd End - 

But that is not my domain at all. How would this entry show up in my log?

I ping'd the domain above and it does not resolve to the IP of the box or any 
of my IP's.

Can anyone shed some light on this?

Best,
-Jason

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


[CentOS] RAID help

2010-12-14 Thread Jason T. Slack-Moehrle
Hi All,

I have a new system with 2 Seagate 1TB SATA Enterprise level drives in it.

I want to RAID1 (mirror) these drives. 

This machine will be a web-server in my apartment hosting an HTML video fan 
site I am creating. Apache, MySQL, PHP etc. This site will easily be 300+ gigs 
with all the versions of each video, the MySQL won't be huge, but will grow as 
data for each video is added (i.e location on the server, keyframe name, etc)

I am a bit confused by: 
http://www.centos.org/docs/5/html/Deployment_Guide-en-US/s1-raid-config.html

So if I simplify, I must:
1. Create a software raid partition on each drive
2. Create a RAID 1 out of that partition and use a mount point of /boot

3. Create other mount points I might want i.e swap, /home, etc
4. Create RAID1 out of these partitions

5. rinse and repeat this for each mount point I want

A few questions:

1. This system support 16gb of RAM. I have 9gb in it, but I will max it out 
over the next few months as I find great deals on RAM, what should my SWAP 
space be? I recall a long while ago that SWAP should match physical RAM.

2. Any reason I can't just create a single mount point taking up the entire 
drive and RAID1 the entire thing? Can anyone recommend some ideal mount points 
and sizes? 

3. What should I account for if my /var/www/html will be very large?

Best,
-Jason
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] RAID help

2010-12-14 Thread Jason T. Slack-Moehrle
Hi Mark,

Thanks for the reply.

 2. Create a RAID 1 out of that partition and use a mount point of /boot
 
 Only if you want to mirror the boot partition.

Doesn't one want to mirror that partition?

 
 3. Create other mount points I might want i.e swap, /home, etc
 4. Create RAID1 out of these partitions
 
 Only if you want each directory RAIDed. DO NOT mirror swap. Bad idea.
 snip

Right, I get that, but what is fuzzy is it you, say have a drive with a few 
partitions that you don't mirror and a few that you do, doesn't the drive you 
are mirroring to have unused space equal to the amount of the partitions you 
are not mirroring?


 A few questions:
 
 1. This system support 16gb of RAM. I have 9gb in it, but I will max it
 out over the next few months as I find great deals on RAM, what should my
 SWAP space be? I recall a long while ago that SWAP should match physical
 RAM.
 
 Nope. Received Wisdom said 2-2.5 times RAM. However, in these days of in
 insanely huge amounts of RAM, it's not really important. At work, I just
 make swap 2G for everything (and trust me, we've got servers that make
 your memory look piddly).

Thanks.

 My manager here doesn't like LVM; but if it were me, I'd make that
 /var/www an LVM virtual partition. That way, you can always add another
 drive and thow more space into it.

I am not as familiar with LVM as I should be, do you have a link to 
info/tutorial?

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


Re: [CentOS] RAID help

2010-12-14 Thread Jason T. Slack-Moehrle

 My manager here doesn't like LVM; but if it were me, I'd make that
 /var/www an LVM virtual partition. That way, you can always add another
 drive and thow more space into it.

Ah I found this: 
http://www.centos.org/docs/5/html/Cluster_Logical_Volume_Manager/

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


Re: [CentOS] RAID help

2010-12-14 Thread Jason T. Slack-Moehrle
Hi,

 If you dont know in advance how your storage is allocated the best way,
 use lvm. The space you dont need today is in the pool and be it
 /var/www/html or swap or whatever assign it as needed in the future.
 
 Note that its maybe better to not put /boot into lvm.
 
 I would suggest
 
 /dev/md0 - /boot
 /dev/md1 - lvm with all other partitions including swap

OK, I have done this, I need to create mount points and I am not sure how to 
initially size.

How does everyone size /?

Since I know my /var/www/html will be large, say 300GB, I can create a mount 
point for at least that, but with LVM you are saying I can change the size 
later to increase it?

What other mount points should one have (besides swap)? No users will be 
storing sata on this box.

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


Re: [CentOS] RAID help

2010-12-14 Thread Jason T. Slack-Moehrle
Hi Markus,

 My idea was to assign minimum at now. It could go like this:

snip /

 If you need more space in one of the partitions, just grow it, out of
 the pool of 947GB. Logical Volumes can be resized online and many
 filesystems can be grown online (mounted) too. If the initial 1GB for
 some partition proves to be to low, e.g. it has to be increased on every
 server you have than adjust it to initial 2GB or whatever size is
 adequat for you. I am not after numbers at all. My point is: If you dont
 know how to partition, assign at minimum, allowing for future flexibility.

Perfect, makes sense now what should be done.

I appreciate the explanation.

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


[CentOS] CentOS 5.5 on a new Mac Mini? no CD Driver?

2010-12-06 Thread Jason T. Slack-Moehrle
Hi All,

I am attempting to install CentOS 5.5 64 bit on my new Mac Mini. I boot to the 
CD and when I get to selecting where I am installing from (local cd, hard disk, 
ftp, etc) I select Local CD and it cannot find a driver and wants me to 
manually specify or use a driver disk.

I ave no idea what drive is in this system. 

Can anyone point me in the right direction?

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


Re: [CentOS] CentOS 5.5 on a new Mac Mini? no CD Driver?

2010-12-06 Thread Jason T. Slack-Moehrle
OK, my problems get worse.

I connected an external USB DVD Drive and that worked.

Now, however, no hard disks are recognized

I was really hoping to run CentOS on this machine, but I guess back to Snow 
Leopard Server I go

On Dec 6, 2010, at 12:54 PM, Jason T. Slack-Moehrle wrote:

 Hi All,
 
 I am attempting to install CentOS 5.5 64 bit on my new Mac Mini. I boot to 
 the CD and when I get to selecting where I am installing from (local cd, hard 
 disk, ftp, etc) I select Local CD and it cannot find a driver and wants me to 
 manually specify or use a driver disk.
 
 I ave no idea what drive is in this system. 
 
 Can anyone point me in the right direction?
 
 -Jason
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos

Jason T. Slack-Moehrle
slackmoeh...@me.com

http://gallery.me.com/slackmoehrle

FaceTime: slackmoeh...@me.com

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


Re: [CentOS] CentOS 5.5 on a new Mac Mini? no CD Driver?

2010-12-06 Thread Jason T. Slack-Moehrle

Hi Keith,

 As a test, you might consider getting a Fedora 14 live CD and see if it
 can find the drives.  If so, it may be the same issue.  It's possible
 that the release version of RHEL 6 supports it, if you can get hold of
 it to test it, or you may just want to put Fedora 14 on it if the
 difference doesn't bother you too much.  

I just know CentOS really. Can I adapt easily? I assume things like yum and 
apache conf, etc are the same?

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