[CentOS] Is there a comprehensive documentation about CentOS7?

2016-04-18 Thread Shawn Fang
Hello everyone,
  I visited https://www.centos.org/docs/ and found no documentation
about CentOS7. Is the documentation about CentOS5 still suitable?

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


Re: [CentOS] Centos 7 using cups with cups-lpd loaded getting print jobs from an Sco Unix lpd system

2015-09-17 Thread Shawn Parks - CMAC

Centos users,
  I new to Centos 7 and my problem is the following:
I am using my Centos 7 system as a print server in a warehouse.
Using cups for the print queue's.  Which I can print to the printers
find from the Centos 7 machine.

The hosting system is Sco Unix using lpd printing.  This machine is
in Illinois and the warehouse / Centos 7 machine is in Arizona.

I have loaded "cups-lpd" using yum and it seems fine.  I have
also setup "/etc/xinetd.d/cups-lpd"

Following is a "netstat -tanp |grep -i listen"

tcp0  0 0.0.0.0:22  0.0.0.0:*   
LISTEN  1090/sshd
tcp0  0 0.0.0.0:631 0.0.0.0:*   
LISTEN  1096/cupsd
tcp0  0 127.0.0.1:250.0.0.0:*   
LISTEN  1671/master
tcp6   0  0 :::515  :::*
LISTEN  1095/xinetd
tcp6   0  0 :::22   :::*
LISTEN  1090/sshd
tcp6   0  0 :::631  :::*
LISTEN  1096/cupsd
tcp6   0  0 ::1:25  :::*
LISTEN  1671/master


I notice that "port 515" is only listening on tcp6 not tcp.

Question:  could this be my problem?  and how can I get "port 515" to be 
listened to on tcp?


my Sco Unix print queue "status" file says "waiting for gate to come 
up".


I have had the local hardware person verify that the router is "port 
forwarding" port 515

to my Centos 7 system.

Help in this matter would be greatly appreciated.

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


Re: [CentOS] Centos 7 yum search giving Could not retrieve mirrorlist

2015-09-14 Thread Shawn Parks - CMAC

Centos main list,
  I am working on a Centos 7 system and trying to do the following.

 yum search cups-lpd

I am getting the following


Could not retrieve mirrorlist 
http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os&infra=stock 
error was
12: Timeout on 
http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os&infra=stock: 
(28, 'Resolving timed out after 30382 milliseconds')



 One of the configured repositories failed (Unknown),
 and yum doesn't have enough cached data to continue. At this point the 
only

 safe thing yum can do is fail. There are a few ways to work "fix" this:

 1. Contact the upstream for the repository and get them to fix the 
problem.


 2. Reconfigure the baseurl/etc. for the repository, to point to a 
working

upstream. This is most often useful if you are using a newer
distribution release than is supported by the repository (and 
the

packages for the previous distribution release still work).

 3. Disable the repository, so yum won't use it by default. Yum will 
then
just ignore the repository until you permanently enable it again 
or use

--enablerepo for temporary usage:

yum-config-manager --disable 

 4. Configure the failing repository to be skipped, if it is 
unavailable.
Note that yum will try to contact the repo. when it runs most 
commands,
so will have to try and fail each time (and thus. yum will be be 
much
slower). If it is a very temporary problem though, this is often 
a nice

compromise:

yum-config-manager --save 
--setopt=.skip_if_unavailable=true


Cannot find a valid baseurl for repo: base/7/x86_64




I am using cups on this Centos 7 machine.  Which prints fine from the 
Centos to my

print queue's

However I have an Sco Unix system using lpd printing that I am trying to 
send print
jobs to the Centos 7 system and those are not even getting to the 
system.

  I get message: waiting on queue to be enabled


QUESTION FOR main list:
Is the Centos 7 "yum" commands being worked on?
When might this be fixed?

Thanks,
Shawn ( CMAC )
phone 618 / 242 - 4020  ext 21
  fax 618 / 242 - 3383
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] surveillance DVR

2013-08-01 Thread Shawn Stephens
I use an appliance from Smartvue - the Smartvue S9.  They have a very small 
version - the S9i - now that has 128GB of SSD for ~$700 that will handle 10 
cameras.

http://smartvue.com/products/index.html

I have been running the S9 version for a little over a year with only a few 
issues.  It's been very reliable and easy to use.  It actually runs Fedora 
under the hood!

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


Re: [CentOS] 10 Year old IT Infrastructure

2009-10-09 Thread Shawn Everett
Thanks to everyone for their comments so far.

The "server" in question is a basic 2 node cluster connected to an MSA500.

It runs a variety of applications including Oracle, Apache, Samba, and a
proprietary app built by another vendor.

The hardware is monitored, maintained and backed up regularly.

The setup is mission critical to my client.  They spent a lot of time and
money to make sure it wouldn't go down.

The list's point is well taken that old *nix installs are very reliable
long term.  I've had similar experiences.  Given this particular client's
need for a reliable, stable, redundant system, I was contemplating
alternatives or future upgrades rather than letting things age.

Shawn

> Hi Guys,
>
> I have a client who hopes to keep their server another 5 years making it
> 10 years old at that time.
>
> At this point there are no plans to add new infrastructure or a new server
> to the mix.  Their business model is fairly static.
>
> I'd like to see them upgrade.  Can anyone suggest specific reasons why
> running a business on 10 year old equipment is a bad thing?
>
> Specific arguments I can think of would be:
> - Hard/Impossible to find replacement hardware
> - Lack of support for both H/W and S/W
> - Possibly unable to run current versions of CentOS
> - Higher probability of hardware failures over time
> - Performance bottlenecks
>
> Any other thoughts?
>
> Shawn
>
> ___
> 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] 10 Year old IT Infrastructure

2009-10-09 Thread Shawn Everett
Hi Guys,

I have a client who hopes to keep their server another 5 years making it
10 years old at that time.

At this point there are no plans to add new infrastructure or a new server
to the mix.  Their business model is fairly static.

I'd like to see them upgrade.  Can anyone suggest specific reasons why
running a business on 10 year old equipment is a bad thing?

Specific arguments I can think of would be:
- Hard/Impossible to find replacement hardware
- Lack of support for both H/W and S/W
- Possibly unable to run current versions of CentOS
- Higher probability of hardware failures over time
- Performance bottlenecks

Any other thoughts?

Shawn

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


[CentOS] (solved) HP C4580 printer x86_64

2009-08-13 Thread Shawn Brown
Hi,

I managed to get my C4580 (4500 series) connected to my router to work
with 64 bit 5.3.

That printer needs at least hplip 2.8.10 which I found at
http://rpm.pbone.net/index.php3/stat/4/idpl/12086038/com/hplip-2.8.10-0.1.el5.test.x86_64.rpm.html

It was just a matter of following the manual install instructions for
hplip here 
http://hplipopensource.com/hplip-web/install/manual/distros/redhatenterprise.html

and then getting the necessary dependencies.

In the end it worked with (this is for the last line of step 3 in HP's
instuctions)

rpm -Uvh ./hplip-2.8.10-0.1.el5.test.x86_64.rpm
./python-imaging-1.1.6-2.el5.rf.x86_64.rpm
./hpijs-2.8.10-0.1.el5.test.x86_64.rpm
./net-snmp-5.3.2.2-5.el5_3.1.x86_64.rpm
./net-snmp-libs-5.3.2.2-5.el5_3.1.x86_64.rpm
./lm_sensors-2.10.7-4.el5.x86_64.rpm

I'm happy with HP's Linux support!

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


Re: [CentOS] IPv6 range provisioning question

2009-06-12 Thread Shawn O'Shea
Filipe Brandenburger wrote:
> I really doubt that this will work with this exact syntax, as these
> are Bourne shell variable assignments and each of them will overwrite
> the previous one...
> 
> Shouldn't it be something like this?
> IPV6ADDR_SECONDARIES="2001:0470:0103:001A::3/64
> 2001:0470:0103:001A::4/64 2001:0470:0103:001A::5/64
> 2001:0470:0103:001A::6/64 2001:0470:0103:001A::7/64
> 2001:0470:0103:001A::8/64"
> 

Looking in /etc/sysconfig/network-scripts, a quick grep shows that 
ifup-ipv6 handles the IPV6ADDR_SECONDARIES.

The comments at the top of this file state:
#  IPV6ADDR_SECONDARIES="[/] ..." (optional)

so yes indeed that appears to be the correct syntax...in fact later in 
the script IPV6ADDR_SECONDARIES gets walked through in a for loop:
# Setup additional IPv6 addresses from list, if given
if [ -n "$IPV6ADDR_SECONDARIES" ]; then
 for ipv6addr in $IPV6ADDR_SECONDARIES; do
 ipv6_add_addr_on_device $DEVICE $ipv6addr
 done
fi

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


Re: [CentOS] OT - Automated rpm builds

2008-11-17 Thread Shawn O'Shea

Tom Brown wrote:

Hi

Currently devs check code into perforce and we have to checkout > 
package > update repo > deploy


I know this could be scripted but are there any tools out there that can 
take code from a repository and build rpm's in a continuous integration 
type manner? I have been hunting around for such a tool and so far not 
seeing anything obvious as i dont want to reinvent the wheel if at all 
possible.


I'm currently using Apache Ant to do my CVS checkouts and RPM builds. It 
has task support for Perforce as well. There's a good O'Reilly book on 
Ant (Ant: The Definitive Guide).


I'm looking into moving to the Hudson continuous integration server. It 
also supports Perforce and can call ant scripts to perform actual builds.


Apache Ant
http://ant.apache.org/
Ant Manual
http://ant.apache.org/manual/
Docs on the Ant RPM task
http://ant.apache.org/manual/OptionalTasks/rpm.html
Docs on the Ant Perforce tasks
http://ant.apache.org/manual/OptionalTasks/perforce.html
Ant: The Definitive Guide 2nd Edition
http://oreilly.com/catalog/9780596006099/index.html
Hudson CI server
https://hudson.dev.java.net/
Hudson Perforce plugin
http://hudson.gotdns.com/wiki/display/HUDSON/Perforce+Plugin

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


Re: [CentOS] enterprise backup solution (probably amanda?)

2008-07-30 Thread Shawn Everett
I think backups are important and always on topic. 

You could always use Veritas Netbackup.  That's what one of my clients uses 
with great success.  It backups up Windows, Linux and does full, 
incremental, restores etc etc all from a nice Java GUI.

It's $$$ but you can't get more Enterprise than that. ;)

Shawn

On Wednesday 30 July 2008, David Hláčik wrote:
> Hello guys,
>
> hope i am not making an offtopic
>
> Currently we are looking for storage/backup solution in our company.
>
> Basically we need to backup data incrementaly from windows server and
> centos server + subversion repositories.
>
> So far i believe amanda would be best for this situation and also has
> good reference.
>
> Is there anything else - i would be glad to have space for research and
> choose backuping solution which fits for my needs best.
>
> Thanks in advance!
>
> David

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


[CentOS] Modem network card conflict

2008-07-30 Thread Shawn Everett
Hi All,

Here's a strange one for you...

I have a Linux box with a PCMCIA adapter PCI card in it.  Plugged into said 
card is a cellular modem card.

I can configure wvdial and dial the modem card perfectly.  My ppp0 
interface comes up and I can ping everything.

I also have a network card on the motherboard.  Once again, by itself the 
network card works correctly.  That is with the modem NOT dialed up.

Here's where things get interesting...

If I flush the firewall rules: iptables -F
Bring down the eth0 interface: ifconfig eth0 down
Connect with the modem: wvdial &
Bring up the interface: ifconfig eth0 192.168.7.1

At this point the ppp0 interface drops off and redials.  It is no longer 
able to maintain a stable connection.  ppp0 and eth0 do not use the same 
IP range.

Thoughts?

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


Re: [CentOS] Yum Troubles

2008-07-27 Thread Shawn Everett
Just a quick thought...

If /boot is it's own partition does it have enough free space?

Shawn

On Sunday 27 July 2008, Matt wrote:
> Could anyone tell me whats going wrong here?
>
> Matt
>
> 
>= Package Arch   Version  Repository 
>   Size
> 
>= Installing:
>  kernel  i686   2.6.9-67.0.22.EL  update
> 12 M
>
> Transaction Summary
> 
>= Install  1 Package(s)
> Update   0 Package(s)
> Remove   0 Package(s)
> Total download size: 12 M
> Is this ok [y/N]: y
> Downloading Packages:
> (1/1): kernel-2.6.9-67.0. 100% |=|  12 MB   
> 01:43 Running Transaction Test
> Finished Transaction Test
> Transaction Test Succeeded
> Running Transaction
>   Installing: kernel   #
> [1/1] error: unpacking of archive failed on file
> /boot/System.map-2.6.9-67.0.22.EL;488cb6dd: cpio: write
>
> Installed: kernel.i686 0:2.6.9-67.0.22.EL
> Complete!
> ___
> 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] Re: CentOS 64bits can't boot

2008-06-03 Thread Shawn


> 
> Memory for crash kernel (0x0 to 0x0) notwithin
> permissible range
> 
> *PCI: BIOS Bug MCFG area at e000 is not
> E020-reserved*
> ...
 
I get this all the time on my asus p5b-vm but it boots and runs fine.

Shawn



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


Re: [CentOS] 1333/8GB Intel motherboard for C5.1

2008-05-21 Thread Shawn
 
> Realtek drivers can be found in the CentOS wiki:
> 
> http://wiki.centos.org/HardwareList#head-851e245f4f537add3de9c3c6a6d686771fb01bfa
 
Sweet thanks. Now I know about dkms-enabled driver package which
rebuilds the driver automatically for each kernel upgrade! 

Shawn



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


Re: [CentOS] RHCE Training

2008-04-23 Thread Shawn Everett
There used to be an RHCE self assessment feature on the Red Hat site.  If
you pass that reasonably well you should be just fine to take the RHCE
exams.  I took the rapid track exam and passed with no problems.

My advice for the exams would be don't over think the questions and know
which man pages have examples you can gain experience from. :) 
Interestingly the pass rate isn't as high as I would have thought.

Shawn

> I am possibly going to be sent for my RHCE training.
> Looking at
> https://www.redhat.com/courses/rh300_rhce_rapid_track_course_and_rhce_exam/details/
> I am thinking the concepts do not look difficult at all, having a manual
> and instructor makes this look fairly easy actually.
>
> The only thing that looks important to take outside of this would be rh253
> if I wasn't interested in taking the elementary courses.
>
> Anyone done the VT courses? To fit within the budget and get what I think
> I need, I might take the rh253vt before the rh300.
>
> Any thoughts or pointers from guys here who have done all this?
>
> Thanks!
> jlc
> ___
> 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] MS Exchange Replacement

2008-04-07 Thread Shawn Everett
On Sunday 06 April 2008, Joseph L. Casale wrote:
> What is the closest open source mail server I can replace exchange with
> that provides the nearest equivalent in user experience?
>
> Thanks!
> jlc

Kollab is pretty decent although it's a bit particular to install.

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


Re: [CentOS] Bind Problem

2008-03-16 Thread Shawn Everett
> Ok, copied your file exactly as is with obvious name/ip changes and set
> perms correctly. It didn't makle any difference? I enabled logging and
> set it to debug and it shows nothing. I was doings this remotely from a
> windows box and using nslookup on the windows box, funny thing is using
> nslookup and set q=mx works on the local CentOS Bind server but from the
> windows client it doesn't?

So from the CentOS box you can type something like:
host -t mx domain.com

and that works?

How about this from the Windows box:
c:\>nslookup
> server YourCentOSName or IP
> set type=mx
> yourdomain.com

That should work

If that also works, then check the DNS server your windows box is using.  
It may have cached the DNS entry for domain.com (assuming the DNS server 
is NOT the CentOS box)

You could also try an ipconfig /flushdns

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


Re: [CentOS] Bind Problem

2008-03-16 Thread Shawn Everett
On Sunday 16 March 2008, Joseph L. Casale wrote:
> I have a DNS server which is not returning mx queries for some reason?
> The zone file is as follows:
>
> $TTL 1H
> @   IN  SOA example.com.root.example.com. (
> 1   ; serial#
> 3H  ; refresh
> 1H  ; retry
> 1W  ; expire
> 1H ); minimum
> NS  ns1.example.com.
> MX  10 mail
> TXT "v=spf1 a mx include:isp.com -all"
>
> example.com.A   aaa.bbb.ccc.ddd
> ns1 A   aaa.bbb.ccc.ddd
> mailA   aaa.bbb.ccc.ddd
>
> The server is setup as with a caching only configuration with recursion
> turned off. Anyone have any idea what could be wrong?
>

You should probably be using a FQDN for the MX record.

Here's an example of a DNS record that works for me:
; Zone File for hosix.com
$TTL 14400
@   14440   IN  SOA ns1.hosix.com.  root.alder.hosix.com.   ( 
2005043003
14400
7200
360
86400
)

hosix.com.  14400   IN  NS  ns1.hosix.com.
hosix.com.  14400   IN  NS  ns2.hosix.com.

hosix.com.  14400   IN  A   207.58.168.98

hosix.com.  14400   IN  MX  0   hosix.com.

mail14400   IN  CNAME   hosix.com.
www 14400   IN  CNAME   hosix.com.
ftp 14400   IN  CNAME   hosix.com.

The named log files are pretty good at showing why things aren't working.

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


Re: [CentOS] Backup Question

2008-03-16 Thread Shawn Everett
After a moment or two of digging:
http://www.bacula.org/en/dev-manual/Tips_Suggestions.html#19274

Run Before Job = ShellScriptShownBelow

Shawn


On Sunday 16 March 2008, Shawn Everett wrote:
> > I can't install cygwin or a daemon for that matter on the Windows
> > Server, but I could execute a scheduled job to run a Widows port of
> > rsync on the file server which I am not opposed to at all. My only
> > problem with that is how do I then trigger the Bacula server to begin
> > the dump to tape once the sync is complete?
>
> Use a batch file and schedule that. :)
>
> @echo off
> del /place/you/sync/to/done.txt
> robocopy/rsync files (whatever)
> echo > /place/you/sync/to/done.txt
>
> Schedule the batch file for say 11:00pm
>
> At some reasonable time schedule a bash script in Linux via cron:
>
> #!/bin/bash
> while test ! -e done.txt; do
>   sleep 1m
> done
> tar -czf /dev/tape /sync/path
>
> Simple. :)  The above script will wait until done.txt exists and then
> backs up the repository.  If you're really lucky Bacula has a post
> backup script that can be run.  I'm rather traditional and use tar. :)
>
> Shawn
> ___
> 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] Backup Question

2008-03-16 Thread Shawn Everett
> I can't install cygwin or a daemon for that matter on the Windows
> Server, but I could execute a scheduled job to run a Widows port of
> rsync on the file server which I am not opposed to at all. My only
> problem with that is how do I then trigger the Bacula server to begin
> the dump to tape once the sync is complete?

Use a batch file and schedule that. :)

@echo off
del /place/you/sync/to/done.txt
robocopy/rsync files (whatever)
echo > /place/you/sync/to/done.txt

Schedule the batch file for say 11:00pm

At some reasonable time schedule a bash script in Linux via cron:

#!/bin/bash
while test ! -e done.txt; do
sleep 1m
done
tar -czf /dev/tape /sync/path

Simple. :)  The above script will wait until done.txt exists and then backs 
up the repository.  If you're really lucky Bacula has a post backup script 
that can be run.  I'm rather traditional and use tar. :)

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


Re: [CentOS] what should I do?

2008-03-15 Thread Shawn Everett
On Saturday 15 March 2008, Sobari Tanuwijaya wrote:
> Dear All,
> a friend of mine who has a small office want to have a configuration
> like this:
> * around 3 people can have full access to internet
> * around 1-2 people can just have email access (can send and receive
>email to any address)
> * the rest of the people in the company just can have internal email
>(can send and receive email just to/from the peer - on the same
> domain).

I set up one client using a configuration of the first 2 points you 
describe.

I did it by installing Postfix and using MAC address filtering.  It works 
great.

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


Re: [CentOS] rpm - spec - on remove

2008-03-03 Thread Shawn O'Shea

Tom Brown wrote:

Hi

Is there an option in the spec that i can say on remove do X - eg move a
backup file back into place etc?

eg

%onremove mv foo bar
  
There are some gotchas (re: removal during an upgrade vs outright 
removal, aka erasing an RPM) that are good to know about.


This IBM DeveloperWorks article talks about the pre & post 
install/uninstall script parts of RPMs and covered these gotchas.


http://www-128.ibm.com/developerworks/linux/library/l-rpm3.html?dwzone=linux

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


[CentOS] Internet Load Balancing and Failover

2008-02-24 Thread Shawn Everett
Hi All,

Does anyone have any experience connecting two or more DSL/Cable modems to 
a Linux box to provide load balancing and failover?

I've done some googling and found a few resources but very few solid 
experiences.

I'm trying to optimize my LAN->Internet traffic for a bunch of 
workstations.

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


Re: [CentOS] Making FORWARD_IPV4=YES permanent / DHCP multiple routers

2008-02-12 Thread Shawn O'Shea

Tim Alberts wrote:

First,

I'd like to configure my system to forward ip, to act as a gateway for
my network.  I've always used a script during startup to do this:

echo 1 > /proc/sys/net/ipv4/ip_forward
iptables -t nat -A POSTROUTING -o ${UPLINK} -j SNAT --to ${IP_NAT}
  
For ip forwarding, edit /etc/sysctl.conf and make sure you have a line 
that says

net.ipv4.ip_forward = 1

For iptables, if you already have a working iptables config, just run:
service iptables save
This will create an /etc/sysconfig/iptables for you. Then make sure that 
the system loads up these rules on boot with:

chkconfig iptables on

Re: your dhcp question below...you can do what you list (the man page 
[man dhcp-options] and RFC2132 say they should be listed in order of 
preference) but the question really is, "What will the DHCP client do 
with multiple IPs in this option?" because I could see this behavior 
being inconsistent.


-Shawn

This works fine, however I want this permanent so I don't have to run
the script on startup.  I have the firewall setup with SNAT fine, but
when I write the file /etc/sysconfig/network with the line
'FORWARD_IPV4=YES' it still doesn't enable the ip forwarding after boot?

cat /proc/sys/net/ipv4/ip_forward
0

So how do I do this?


Second,
In DHCP, you can specify multiple DNS servers:

option domain-name-servers 10.0.0.1, 10.0.0.2, 10.0.0.3;

can you also do this with routers?

option routers 10.0.0.1 10.0.0.2;

so that if one is down, the network PC's can fail over to another?


___
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] Internet usage monitoring

2008-01-22 Thread Shawn Everett
> I was just curious what other admins were using to monitor internet
> usage just a squid transparent proxy with something like sarge?
>
> Thanks!
>
> dnk

I've been using ntop with great success.

Shawn

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


Re: [CentOS] OT? Creative Zen player not registering as a USB device

2007-12-25 Thread Shawn Everett
On Tuesday 25 December 2007, MHR wrote:
> I plugged my son's new (Christmas) Zen V player into my CentOS 5.1 box
> and it doesn't register as a device that the system can see or mount.
>
> If I lsusb, it shows up as bus 2, device 8, but there is no
> corresponding /dev/??? device for it, so the system can't get at it.
>
> (I tried my flash drive in the same USB port and it works fine, so it's
> not the hardware.)
>
> How do I get around this?
>
> Thanks.
>
> mhr

You might try installing and running gnomad.

I have a fairly old Creative Nomad Zen Extra and it works great when using 
gnomad.

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


Re: [CentOS] Looking for Insights

2007-12-01 Thread Shawn Everett
On Saturday 01 December 2007, Barry Brimer wrote:
> > Strangely, all files added via Samba after Monday are gone. This is
> > limited to only one device: md3.  Everything else is fine.
> >
> > Checking the two drives/partitions that make up md3 show none of the
> > missing files.
> >
> > Any brilliant thoughts as to where those files might have gone would
> > be appreciated.  The files lost are not critical so there are no major
> > problems but it's a puzzle I can't quite figure out.
>
> Is there any information available in the samba log files?

None of the logs show anything unusual.

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


[CentOS] Looking for Insights

2007-12-01 Thread Shawn Everett
Hi Guys,

I had a strange problem yesterday and I'm curious as to what everyone 
thinks.

I have a client with a Red Hat Enterprise 2.1 cluster.  All quality HP 
equipment with an MSA 500 storage array acting as the shared storage 
between the two nodes in the cluster.

This cluster is configured for reliability and not load balancing.  All 
work is handled by one node or the other not both.

There are two 100GB RAID 5 logical drives in the MSA500.  Linux sees them 
as /dev/md2 and /dev/md3 respectively.  Running cat /proc/mdstat shows 
them as "active multipath" and otherwise healthy.

There is a nightly shell script that runs and backs up information via tar 
to a USB external drive.  The last thing the script does before unmounting 
the USB drive is to run the sync command.

Yesterday it was noticed that the backup script was hung.  A quick check 
via "ps aux" showed the backup script and a sync process still hanging 
around from Monday night.

All attempts to stop these processed failed and it was decided a reboot was 
the best fix.  All production services where shut down as much as 
possible.  Because of the locked processes the machine would hot shut down 
properly and was physically turned off.

On reboot the drives in the server were checked via e2fsck with no 
problems.

The shared storage: md2 and md3 also mounted without errors.

All services started properly.

No errors about md2 or md3 were reported in dmesg or /var/log/messages

Strangely, all files added via Samba after Monday are gone. This is limited 
to only one device: md3.  Everything else is fine.

Checking the two drives/partitions that make up md3 show none of the 
missing files.

Any brilliant thoughts as to where those files might have gone would be 
appreciated.  The files lost are not critical so there are no major 
problems but it's a puzzle I can't quite figure out.

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


Re: [CentOS] Announcing the CentOS on Laptops initiative

2007-11-28 Thread Shawn O'Shea



Dag, is this the correct page?
http://wiki.centos.org/HowTos/Laptops/



It is. I forgot to send a link with the announcement :|

  

And are we supposed to do it on our own page and then link to it? Seems like
the existing ones are like that.



No, I googled for specific keywords to find existing pages. These links
eventually belong in their own Laptop-model pages.


  

Or, if we create a page on there, should multiple entries of the same laptop
model go on the same line somehow?



What I prefer is to have one single page per Laptop model. And a different
section for each CentOS version (starting with the latest, CentOS-5
first).

If people have their own blog articles or webpages about their laptop
model, I would like to have this information reside inside of that page
(now they are on the index page temporarily).

Sadly, for now, you have to request access to be allowed to create or edit
these pages. I hope in the future we will have a more liberal view wrt.
the wiki.

PS I created this structure for your X60 for now, I plan to add my own
laptops soon (but it does not include a X60). If you can add your
information to this existing page, I am sure this is very valuable for
another X60 owner.

  
I think it is cool to see this effort undertaken, thanks Dag! :) I may 
need to install C5 on my Fujitsu that currently has Ubuntu on it.


Speaking of which, those guys have been maintaining both official and 
user submitted laptop reports for awhile so you might want to take a 
look over there and possibly borrow some cues or ideas for this project.


https://wiki.ubuntu.com/LaptopTestingTeam
https://wiki.ubuntu.com/LaptopTesting
https://wiki.ubuntu.com/LaptopTestingTeamTemplate

-Shawn

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


Re: [CentOS] How to know when files have finished FTPing?

2007-11-11 Thread Shawn Everett
On Sunday 11 November 2007, Neil Aggarwal wrote:
> Shawn:
>
> Thanks for the tip, but I don't think I can ask the
> client to provide md5s of the input files.  That
> would be too much to ask.
>
> Any other ideas?
>
>   Neil

I assumed the uploads where automated.  It would have been simple in that 
case.  Even using Windows. :)

Are the file names unique?  You could test the age of each file to make 
sure it hasn't been modified in over a minute or something...

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


Re: [CentOS] How to know when files have finished FTPing?

2007-11-11 Thread Shawn Everett
> Is there a way to tell when a file has finished
> uploading?
>

One thought that comes to mind is to upload a file containing the md5sums 
of the other files.

Your script would then read the check file and compare the md5sum of each 
file with the one recorded in the check file.  Good files are copied, bad 
files are left until the next time.

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


Re: [CentOS] Wierd Networking Problem

2007-10-31 Thread Shawn Everett
> > Have you contacted "isp.net", whoever they are, to make sure that they
> > have not blackholed or tarpitted that particular machine's IP address
> > for some reason?
>
> He said that the box is behind a nat and only that box behind the nat
> has a problem. I doubt that it has been specifically targetted by ip.

I've narrowed things down to not include the Linux box. :)

I took the Linux box's IP and moved it to another  non Linux machine.  The 
same issues occur.

I have the network guy reviewing things.

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


Re: [CentOS] Wierd Networking Problem

2007-10-31 Thread Shawn Everett
On Wednesday 31 October 2007, Alain Spineux wrote:
> Did you tried to ping other host inside and outside your network, your
> gateway ? If not working, did you tried to arping your gateway ?
> Did you look for packet with "tcpdump -n -i eth0" ?
>

I  can successfully traceroute from the server to google.  I didn't try an 
arping.

I'll review the tcpdump messages today and let you know...

Shawn

> On 10/31/07, Shawn Everett <[EMAIL PROTECTED]> wrote:
> > Hi Guys,
> >
> > I'm 100% sure this is not a Linux issue but I want a second opinion...
> >
> > I have a Linux server running CentOS.  It was been absolutely perfect
> > without any errors or problems.
> >
> > Since Monday it has been unable to send email.  It is configured to
> > act as a smart host.  All email gets forwarded to smtp.isp.net.
> >
> > The server is on a network behind a firewall completely nat'd.  No
> > ports are forwarded to it.
> >
> > telnet smtp.isp.net 25 generates the following:
> > Trying a.b.c.d...
> > Connected to smtp.isp.net.
> > Escape character is '^]'.
> >
> > And then nothing.  All other machines can connect to smtp.isp.net 25
> > without a problem.  They also use that host for their outgong mail
> > server.
> >
> > Using links to surf the web has a similar result.  It just hangs
> >
> > traceroute and nslookups work correctly.
> >
> > There are no errors anywhere.
> >
> > The network in question has various routing and vlan configurations,
> > proxy servers and such.  I tend to suspect they're the problem. 
> > They're also not in my control.
> >
> > The firewall does show the Linux box attempting to make SMTP
> > connections but nothing else.
> >
> > Any ideas or suggestions would be appreciated.  I have not yet
> > rebooted the server.
> >
> > Shawn
> > ___
> > 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] Wierd Networking Problem

2007-10-30 Thread Shawn Everett
Hi Guys,

I'm 100% sure this is not a Linux issue but I want a second opinion...

I have a Linux server running CentOS.  It was been absolutely perfect 
without any errors or problems.

Since Monday it has been unable to send email.  It is configured to act as 
a smart host.  All email gets forwarded to smtp.isp.net.

The server is on a network behind a firewall completely nat'd.  No ports 
are forwarded to it.

telnet smtp.isp.net 25 generates the following:
Trying a.b.c.d...
Connected to smtp.isp.net.
Escape character is '^]'.

And then nothing.  All other machines can connect to smtp.isp.net 25 
without a problem.  They also use that host for their outgong mail server.

Using links to surf the web has a similar result.  It just hangs

traceroute and nslookups work correctly.

There are no errors anywhere.

The network in question has various routing and vlan configurations, proxy 
servers and such.  I tend to suspect they're the problem.  They're also 
not in my control.

The firewall does show the Linux box attempting to make SMTP connections 
but nothing else.

Any ideas or suggestions would be appreciated.  I have not yet rebooted the 
server.

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


Re: [CentOS] bugzilla on C5?

2007-10-29 Thread Shawn Everett
> On 10/29/07, Scott Ehrlich <[EMAIL PROTECTED]> wrote:
>> I'd like to test/play with bugzilla on my CentOS 5 system.  I tried yum
>> install bug* but that came up empty.  I tried a google for yum install
>> bugzilla and found a few people who had apparently done it...
>>
>> I then went to the bugzilla web site and downloaded 3.0.2, extracted it
>> to
>> a directory of my choice, then visited the Quickstart file.   Initial
>> trial of perl -MCPAN -e 'install GD::Graph' yields some errors I'm not
>> versed in deciphering on how to fix.
>>
>> Help is most appreciated.

Installing Bugzilla from source is pretty easy.  I did it here the other day.

Shawn

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


[CentOS] Samba, AD and non AD Machines

2007-10-23 Thread Shawn Everett
Hi All,

I have configured Samba 3.0.23 to work with Active Directory.  Based on
all the tests shown here:
http://us3.samba.org/samba/docs/man/Samba-Guide/unixclients.html#adssdm

Things are working as expected.

Most machines and users are working as expected.

I do have some Windows machines on another subnet, NOT joined to the
domain that are giving me grief.  Going to
Start->Run->\\ip.of.samba.server I get the following error: The format for
the computer name is invalid

I can ping the samba server without problems.

Reviewing the Samba logs I see:
"pam auth crap domain" messages in winbind.log

In the machine.log file I see:
[2007/10/23 03:05:17, 3] auth/auth.c:check_ntlm_password(221)
  check_ntlm_password:  Checking password for unmapped user
[EMAIL PROTECTED] with the new password interface
[2007/10/23 03:05:17, 3] auth/auth.c:check_ntlm_password(224)
  check_ntlm_password:  mapped user is: [EMAIL PROTECTED]
[2007/10/23 03:05:17, 3] smbd/sec_ctx.c:push_sec_ctx(208)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2007/10/23 03:05:17, 3] smbd/uid.c:push_conn_ctx(345)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2007/10/23 03:05:17, 3] smbd/sec_ctx.c:set_sec_ctx(241)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2007/10/23 03:05:17, 3] smbd/sec_ctx.c:pop_sec_ctx(339)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2007/10/23 03:05:17, 2] auth/auth.c:check_ntlm_password(319)
  check_ntlm_password:  Authentication for user [acronis] -> [acronis]
FAILED with error NT_STATUS_INVALID_COMPUTER_NAME
[2007/10/23 03:05:17, 3] smbd/error.c:error_packet(146)
  error packet at smbd/sesssetup.c(99) cmd=115 (SMBsesssetupX)
NT_STATUS_INVALID_COMPUTER_NAME


Any thoughts or suggestions would be appreciated.

Shawn

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


Re: [CentOS] Centos 5 on Large Disks.

2007-10-23 Thread Shawn Everett
> I will be telling them wait for a power loss, wait for the XFS code to
> shut down one of its filesystem for no reason, take a good look at the
> neverending stream of bug fixes in the mainline kernel, take a look at
> those kernel developers who have openly announced they want nothing to
> do with the XFS codebase and to note the fact that the XFS code is the
> largest there is for a filesystem due to all the workarounds they have
> had to put into to deal with Linux's different vm and other stuff.
>

I have a couple mission critical servers (3TB) that I formatted with JFS.  
I have been completely happy with the results and have yet to see any 
filesystem corruption.

A JFS Fsck on the drive takes only a few seconds even after a crash.

I have created and moved various large files without a problem.  I have 
also pulled the plug during write intensive operations.

Just wanted to add another vote for JFS. :)

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


Re: [CentOS] concat mount

2007-10-14 Thread Shawn Everett
On Sunday 14 October 2007, Michael Kress wrote:
> Hi, I've got a buffalo 1TB DriveStation run in RAID 1 mode, i.e. 500G
> space available, but that beast is preformatted in vfat. Buffalo doesn't
> recommend to run it as ext2/ext3, so I mount a vfat drive wich has the
> limitations "no symlinks, no uids, no gids, etc.". As I just want to use
> the DriveStation as a backup target, I did the following: I created
> files of 4G size with 'dd if=/dev/zero of=x01-backup.ext3 bs=1G count=4'
> (as 4GB is the maximum file size under vfat) and formatted them as ext3.
> I can mount them and work with them, no prob. Now I'd like to have my 25
> files of 4GB file size each coherently mounted as one 100G drive. Is
> this possible? Must be something like Raid 0.
> TIA Michael

You might try something like this:
http://osdir.com/ml/linux.lvm.general/2003-10/msg00096.html

Personally I think it's a bad idea. :)

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


Re: [CentOS] Cross-platform GUI libraries with drag 'n drop IDEs

2007-10-03 Thread Shawn Everett
On Wednesday 03 October 2007, Tomasz 'Zen' Napierala wrote:
> Tuesday 02 October 2007 00:38:36 Ioannis Vranos napisał(a):
> > OS: CentOS 5.0 x86.
> >
> > I am a programmer, relatively new to GNU/Linux and am looking for
> > cross platform GUI development, mainly for EL5 and Windows. I have
> > found wxWidgets so far. I prefer drag 'n drop programming IDEs, QT
> > seems to provide this for GNU/Linux, but it isn't free for Windows.
> >
> > Does anyone know of any decent GUI cross-platform library for EL5 and
> > Windows with a drag 'n drop IDE?
>
> GTK + Glade + whatever

Java+swt+Eclipse+Visual Editor plugin ?

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


Re: [CentOS] Formatting a large disk

2007-09-23 Thread Shawn Everett
As William mentioned the easiest way is to format the drive after the fact.

Create an LVM and write it directly onto the drive.  Things work great that 
way.  I haven't tried formatting a raw device.

Shawn
  - Original Message - 
  From: Rajeev R Veedu 
  To: centos@centos.org 
  Sent: Sunday, September 23, 2007 10:43 AM
  Subject: [CentOS] Formatting a large disk


  I need to install Centos on a machine with 3tb raid disk. (3 ware raid card) 
Could someone in the list suggest a utility for partition this disk. I would 
like to have the whole disk in 1 partition and format it for ext3. The default 
partitioning utility doesn't do this. The OS sits on another SATA disk and each 
time during the installation it doesn't format the full disk which is 3TB. 

   

  Could someone suggest another disk partitioning utility (other than fdisk) 
please?

   

  Thanks

   

  Rajeev R. Veedu



--


  ___
  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] yum proxy username with @ character

2007-09-13 Thread Shawn K. O'Shea



Brad Beyenhof wrote:

Clint Dilks wrote:
http_proxy understands the format :@proxy>: so in this case the @ is probably being 
interpreted as server identifier.  I would try enclosing the user 
name in single quotes or adding a \ before the @.  If these do not 
work your only option may be to contact the proxy admin and obtain a 
username without the @


If putting '\@' to escape the at sign didn't work, have you tried 
using the URL escape code of '%40' to represent it?


I was really curious about this, so I googled around a bit. I don't know 
about the support in the environment variables, but from what I'm 
reading, the "%40" encoding should definitely work if you use the proxy 
variables in yum.conf, ie:

proxy=http://proxyserver.somedomain.local:portnum/
proxy_username=username%40stuffafteratsymbol
proxy_password=password

This should at a minimum be true for CentOS 4.5 since I cracked open the 
python on my box to see exactly what the proxy code was doing :)


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


Re: [CentOS] machine with 2 ethernet cards e1000 and forcedeth

2007-08-30 Thread Shawn K. O'Shea



Jerry Geis wrote:

I am using centos 5 x86_64 AMD64 X2 4200+. I am current on yum update.

My machine has two ethernet cards. e1000 (eth0) and forcedeth (eth1)

[snip]

How can I get this connection to RELIABLY come up
each time as eth0 is e1000 and eth1 is forcedeth

Thanks,

Jerry

From the RHEL4 docs (also applicable to C5): 
http://www.redhat.com/docs/manuals/enterprise/RHEL-4-Manual/ref-guide/s1-networkscripts-interfaces.html


HWADDR=, where  is the hardware address of the 
Ethernet device in the form AA:BB:CC:DD:EE:FF. This directive is useful 
for machines with multiple NICs to ensure that the interfaces are 
assigned the correct device names regardless of the configured load 
order for each NIC's module. This directive should /not/ be used in 
conjunction with MACADDR.


You can get the mac address from running ifconfig. The HWADDR setting 
goes in the /etc/sysconfig/network-scripts/ifcfg-eth0 (and ifcfg-eth1) 
files. (the setting either doesn't exist, or may be transposed and 
causing your problems)


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


Re: [CentOS] Clone physical into virtual

2007-08-08 Thread Shawn K. O'Shea



You can use a free tool called "VMware Converter", available here:
http://www.vmware.com/products/converter/

  
VMware Converter is a Windows app. I haven't used it for P2V, but it 
does work great. (used for converting between ESX and VMware Server)


Problem is that the OP wants to P2V a CentOS system. The VMware 
Converter FAQ states"
NOTE: Experimental support only is available for Linux-based physical to 
virtual machine conversions using the Vmware Converter BootCD (cold 
cloning) if the source physical machine has SCSI disks.


...so YMMV.

http://www.vmware.com/products/converter/faqs.html

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


Re: [CentOS] CentOS vs RedHat packages

2007-08-05 Thread Shawn Everett
On Saturday 04 August 2007, Scott Ehrlich wrote:
> On Sat, 4 Aug 2007, Shawn Everett wrote:
> >> Anyone on the list experience the same kind of problem, and find an
> >> answer?  If so, what was it?
> >
> > A couple of follow up questions:
> > - How much disk space is on the server and how is it partitioned?  How
> > many logical disks in the RAID controller (if any) are made?
>
> About 200 GB total, using RH's default layout.   More than emough.   One
> logical disk on the RAID.
>
Thx.  The reason I asked is many of us have ran into issues with large 
disks (2TB+).  You would only have to search back in the archives to find 
those details.

I did my RHCE on RHEL5.  I can confirm there are some weird bugs in some 
system-config scripts.  One of them bit me during the exam. :)  I didn't 
and have never used system-config-services so I can't comment on that one 
specifically.

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


Re: [CentOS] CentOS vs RedHat packages

2007-08-04 Thread Shawn Everett
> Anyone on the list experience the same kind of problem, and find an
> answer?  If so, what was it?
>

A couple of follow up questions:
- How much disk space is on the server and how is it partitioned?  How many 
logical disks in the RAID controller (if any) are made?

- Have you noticed any programs mysteriously stop working after the reboot?

Personally I never use the system-config-* scripts.  I do 90% of the 
configuration by hand.  That's a throwback to my Slackware days and that 
way I know things work.

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


Re: [CentOS] CentOS vs RedHat packages

2007-08-04 Thread Shawn Everett
> I've got some basic issues with a critical server I'm about to set up,
> and if I cannot get beyond said issues, I may opt to try CentOS.  Seeing
> that CentOS is free (can't call RedHat for support), I'm wondering if I
> should try and make the case for CentOS over RedHat.  Once the choice is
> made, it may be next to impossible to revert to the other version (RH vs
> CentOS).
>

Hi Scott,

If you explain the "basic issues" you are having we might be able to help 
you out.

I have installed Oracle 10g and Veritas Netbackup on CentOS servers with no 
problem at all.  I've been 100% happy with how things have worked.

If this really is a critical server, I would suggest going with the vendor 
supported distribution.  Running an (untested to you) distribution that 
you are not completely familiar with (on a critical server) is a recipe 
for disaster.

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


Re: [CentOS] yum remove 'tomcat*'?

2007-07-31 Thread Shawn
Hi,
> This is a known issue in that using yum to remove packages is 
> to use a blunt tool -- use rpm for finer control on package 
> removals
 
It doesn't work.  Taking out the tomcat5-jsp-2.0-api-5.5 keeps pulling
out packages until openoffice goes too.

  tomcat5-jsp-2.0-api is needed by (installed) bsf-2.3.0-11jpp.1.x86_64
  bsf is needed by (installed) bsh-1.3.0-9jpp.1.x86_64
 bsh is needed by (installed) openoffice.org-core-2.0.4-5.4.17.2.x86_64

Shawn


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


Re: [CentOS] yum remove 'tomcat*'?

2007-07-31 Thread Shawn

> >> It seems bizarre for an office suite to depend on a java servlet engine,
> >> but OK...  

You can remove some of the tomcat packages without removing openoffice

 Populating transaction set with selected packages. Please wait.
---> Package tomcat5-webapps.x86_64 0:5.5.23-0jpp.1.0.4.el5 set to be
erased
---> Package tomcat5-jasper.x86_64 0:5.5.23-0jpp.1.0.4.el5 set to be
erased
---> Package tomcat5.x86_64 0:5.5.23-0jpp.1.0.4.el5 set to be erased
---> Package tomcat5-common-lib.x86_64 0:5.5.23-0jpp.1.0.4.el5 set to be
erased
--> Running transaction check
--> Processing Dependency: tomcat5-jasper = 0:5.5.23-0jpp.1.0.4.el5 for
package: tomcat5-server-lib
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package tomcat5-server-lib.x86_64 0:5.5.23-0jpp.1.0.4.el5 set to be
erased
--> Running transaction check


BUT--->you can't remove the servlet or jsp api without removing
openoffice and a host of others.

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


Re: [CentOS] yum remove 'tomcat*'?

2007-07-31 Thread Shawn

> > It seems bizarre for an office suite to depend on a java servlet engine,
> > but OK...  
 
> Now how do I get one that works under Sun java?  And is there
> > a way to get eclipse without gcj?
> > 
> 
> Not from Red Hat (wrt sun java) ... they did use tomcat and gcj.  If you
> want sun java, I imagine you would have to change the specs and rebuild.
>   I have no idea how to do that (I have not looked at it at all).

http://wiki.centos.org/HowTos/JavaOnCentOS


> You COULD get the OOo2 suite from the openoffice.org website ... that
> gets rid of the tomcat issues.
> 
> Eclipse ... not sure.
I kept having serious issues with gcj and so went to sun's version then
just got a .tar.gz package from eclipse.org

I run it with:
-vm /usr/lib/jvm/java-1.5.0-sun-1.5.0.12/jre/bin/java -vmargs
-XX:PermSize=1024M

[-vm is because I do have gcj installed but do _not_ want to use it; -XX
is that with sun's java and what I was doing, it would crash unless the
vm had a larger permSize]

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


[CentOS] asus p5b-vm 4gb ram ok (was 4gb ram shows as 3.3gb)

2007-07-26 Thread Shawn
Hi,
> The board has to support it. It has to be able to map the underlying memory to
> a higher address space, and the bios has to notify the OS where this is. Are
> you using a desktop board as opposed to a server board?
 
Anyone trying for 3>gb ram on an Asus p5b-vm should try their new bios
901 
. 2007/07/18

Quote "P5B-VM BIOS 0901
Fix memory remapping function is not working properly issue."

Flashed mine and now 4 gb is mapped properly.

Shawn

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


should I try to report this scim bug?(was Re: [CentOS] scim-panel-gtk segfault (2))

2007-07-20 Thread Shawn
Hi,

> Here's more info on the problem below:
> 
> newer scim packages scim-1.4.6-5.fc8 (fc8) do fix a segfault:

I upgraded to the fc8 scim packages and found the segfault on shut down
went away.  So it seems known.  Still, should I try to report this bug
so we can get a proper package for centos5 from upstream?

Shawn

> * Fri Nov 17 2006 Shawn Huang <[EMAIL PROTECTED]> - 1.4.5-2
> - add scim-fix-unload-segfault.patch to fix xim process segfaulting
>   when already running (#206995)
> 
> Could that be the issue?
> 
> --previous post below 
> 
> Running kernel 2.6.18-8.1.4.el5.centos.plus on centos5, on shutdown
> sometimes I get:
> 
> Starting killall:
> Sending all processes the TERM signal...scim-panel-gtk
> ...scim-panel-gtk[4065]- segfault at... error 4.
> (sometimes there is one segfault error and sometimes 7+]
>  
>  rpm -qa | grep scim
> scim-1.4.4-39.el5.x86_64
> scim-bridge-gtk-0.4.5-7.el5.i386
> scim-libs-1.4.4-39.el5.x86_64
> scim-bridge-0.4.5-7.el5.x86_64
> scim-anthy-1.2.0-5.el5.x86_64
> scim-bridge-gtk-0.4.5-7.el5.x86_64


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


[CentOS] scim-panel-gtk segfault (2)

2007-07-13 Thread Shawn
Hello,

Here's more info on the problem below:

newer scim packages scim-1.4.6-5.fc8 (fc8) do fix a segfault:

* Fri Nov 17 2006 Shawn Huang <[EMAIL PROTECTED]> - 1.4.5-2
- add scim-fix-unload-segfault.patch to fix xim process segfaulting
  when already running (#206995)

Could that be the issue?

--previous post below 

Running kernel 2.6.18-8.1.4.el5.centos.plus on centos5, on shutdown
sometimes I get:

Starting killall:
Sending all processes the TERM signal...scim-panel-gtk
...scim-panel-gtk[4065]- segfault at... error 4.
(sometimes there is one segfault error and sometimes 7+]
 
 rpm -qa | grep scim
scim-1.4.4-39.el5.x86_64
scim-bridge-gtk-0.4.5-7.el5.i386
scim-libs-1.4.4-39.el5.x86_64
scim-bridge-0.4.5-7.el5.x86_64
scim-anthy-1.2.0-5.el5.x86_64
scim-bridge-gtk-0.4.5-7.el5.x86_64












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


[CentOS] scim-panel-gtk segfault

2007-07-13 Thread Shawn
Hello,

Running kernel 2.6.18-8.1.4.el5.centos.plus on centos5, on shutdown
sometimes I get:

Starting killall:
Sending all processes the TERM signal...scim-panel-gtk
...scim-panel-gtk[4065]- segfault at... error 4.
(sometimes there is one segfault error and sometimes 7+]

Also, [and this may be unrelated] I occasionally can't boot into X and
need to: 
#rm /tmp/.X0-lock   
Then I can startx.

I have noticed sometimes that I get the segfault, but the next time I
boot, I can boot into X.  I really don't know enough to guess whether
sometimes it is finishing X and removing the lock before the segfault
and sometimes it is not.

I am not so unhappy with the situation but being unknowledable of course
worry about what effects a segfault during shutdown may have.  I do
notice that after the segfaults, it goes on to unmount the filesystems
and other things that it does normally (but I can't say everything
normally as I don't really understand the normal steps of it shutting
down).

I'd like to:

1) figure out how to stop the segfault especially since sometimes the
scim panel won't appear after a reboot (and requires another reboot to
appear again).

2) see if the scim segfault is causing the trouble with X starting and
if not, figure out why the lock is not being removed.

If you have suggestions as to what to look into, I am happy to hear
them.

The only thing I have tried is googling scim-panel-gtk segfault and
found

scim-lib 0.99.6 is available (13 Aug 2004)
Fixed a bug which causes segfault on x86_64 platform.

But that must be a different bug as:
rpm -qa | grep scim-lib
scim-libs-1.4.4-39.el5.x86_64

I saw an RPM someplace for scim-debug but wouldn't really know how to go
about trying to debug it.

Shawn

P.S.  Note, I do not believe this is in anyway connected to being a
centos plus kernel as on a stock kernel had the trouble.











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


Re: [CentOS] CentOS5: Can't Access the Web Using Firefox Web Browser

2007-06-30 Thread Shawn Everett

> How do I access the web from the command line?  - Bob T.

From a terminal window type:
firefox

If things are set up properly this will just work.

If you want to test general web/internet accessability these commands can 
help:

ping
traceroute
wget

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


Re: [CentOS] Re: empty /var/log/messages

2007-06-26 Thread Shawn Everett
On Tuesday 26 June 2007, beast wrote:
> On 26/06/07 13:42 +0100, Seán O Sullivan wrote:
> >>> I have one centos 4.0 server which /var/log/messages was always
> >>> empty (0 bytes). I wonder what has been blocking the syslog to write
> >>> the log.
> >>
> >> Firstly, I'd suggest updating to 4.5.
>
> This is the production machine and has been runing for years, so
> upgrading OS is not not my first option :)
>
> >> Secondly, is /tmp mounted with noexec option?
>
> No afaik.
>
> root# mount | grep var
> /dev/hda4 on /var type ext3 (rw)
>
> >forgot to add, check /var/log/messages.* for current syslog messages
>
> root# ls -l messages*
> -rw---  1 root root0 Jun 25 11:11 messages
> -rw---  1 root root 32480831 Jun  3 00:04 messages.1.gz
> -rw---  1 root root 81601061 May 27 00:13 messages.2.gz
> -rw---  1 root root   905460 May 20 00:01 messages.3.gz
> -rw---  1 root root  1055604 May 13 00:01 messages.4.gz
>
> Note: previous messages.gz was having gigantic size because recent bug
> in spamassassin, it logs all spampd log thats why I disable it on the
> syslog.conf. But after few days I notice that messages were always
> empty, even I restart syslog and then mv and touch messages
>

Is it possible you broke your syslog.conf file?  You could always try 
reinstalling the file from the RPM.

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


[CentOS] libraw1394 and kino

2007-06-17 Thread Shawn
Hi,

How do I get a libraw1394 kernel module loaded?


I tried
 # /sbin/modprobe raw1394
FATAL: Module raw1394 not found.


 # rpm -qa | grep 1394
libraw1394-devel-1.2.1-1.fc6
libraw1394-1.2.1-1.fc6
libdc1394-2.0.0-0.1.pre7.el5.rf
libavc1394-0.5.3-1.fc6

# uname -r
2.6.18-8.1.6.el5

Thanks,

Shawn


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


[CentOS] lvm

2007-06-12 Thread Shawn
Hello,

I have a physical volume with no volume group.

# /sbin/pvscan -n
  WARNING: only considering physical volumes in no volume group
  PV /dev/sdg2 lvm2 [148.95 GB]
  Total: 1 [148.95 GB] / in use: 0 [0   ] / in no VG: 1 [148.95 GB]

Can I just create a volume group -- for example:
# vgcreate my_volume_group /dev/sdg2

and then activate it:

# vgchange -a y my_volume_group

I don't wish to reformat it or otherwise lose data stored on the volume
if possible.

Other suggestions?

Shawn


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