Re: [CentOS] Virtualization option at first install CentOS-5.4 x86_64

2009-11-07 Thread Mathieu Baudier
>
> Well, it turns out that qemu is required and kvm-qemu-img was the
> source of the problem.  Removing this and installing qemu instead
> fixed the problem.
>

Actually I did the other way round:
yum remove qemu (which is in the extras repo)
yum install -x qemu kvm (excluding qemu and thus kvm-qemu-img will be taken)

My idea was to test the official upstream vendor stuff and only this.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] my cpanel can not shows up after running 'latest'.

2009-11-07 Thread David
Ricky Tompu Breaky wrote:
> Dear my friends...
>
> I am still new in CentOS. I use CentOS 5 for my new server with cpanel.
>
> I have installed the cpanel. The steps were:
> 1. cd /tmp
> 2. wget http://layer1.cpanel.net/latest
> 3. sh latest
>
> The installation show a message that the cpanel installation
> was completed.
>
> But I can not see the cpanel login form on my server,
> either:
> "http://WWW.MYWEBSERVER.COM:2082";
> or:
> "https://WWW.MYWEBSERVER.COM:2083";.
>
> I thought it was just caused by my firewall so I open the ports with
> this way:
> 1. setup;
> 2. I chose the 'firewall menu';
> 3. Allow incoming: ssh, www(http), secure www(https), telnet, samba,
> nfs4, ftp, mail, pop3:tcp infowave:tcp radsec:tcp gnunet:tcp eli:tcp
> sep:tcp nbx-ser:tcp nbx-dir:tcp .
> But opening the tcp ports does not make any change at all.
>
> Please tell me where my mistake.
>
> Thank you very much.
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
>   
Trying to disable firewall and selinux?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Centos HP Pavilion box

2009-11-07 Thread Mike -- EMAIL IGNORED
Has anyone put Centos 5.4 (or ant version on aHP Pavilion box?
I'm having some problems.  For example, I can't get
my Dell E198WFPV 1440x900 monitor to work correctly.

Thanks,
Mike.

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


Re: [CentOS] No Such File...

2009-11-07 Thread Victor Subervi
If it were the interpreter, then my test.py and test2.py that are
_word_for_word_ the _exact_same_code_ would not work, correct?

dos2unix?! Huh? Where's the dos?

recode? man recode gives nothing.
V

On Fri, Nov 6, 2009 at 5:41 PM, Alexander Dalloz

> wrote:

> Victor Subervi schrieb:
>
> > Ok. As I mentioned before, I copied the contents of these two files:
> > index.py
> > template.py // which is referenced by the former
> > --into--
> > test.py
> > test2.py
> > I pasted them in through the ssh client, changing only the import
> statement
> > from template to test2. *That worked.* However, the material that I
> uploaded
> > through ftp doesn't render, it throws the error. The permissions are the
> > same as the tests. So is the ownership. What gives??
> > V
>
> dos2unix 
>
> Or use recode.
>
> Alexander
>
> ___
> 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] my cpanel can not shows up after running 'latest'.

2009-11-07 Thread Garry.Dale
On Fri, Nov 6, 2009 at 9:33 PM, Ricky Tompu Breaky  wrote:

> "http://WWW.MYWEBSERVER.COM:2082";

> "https://WWW.MYWEBSERVER.COM:2083";.


Ricky, please carefully review the cPanel WHM documentation regarding
initial setup and port numbers. The CentOS lists are not the
appropriate place to ask for cPanel support.

Thanks.

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


[CentOS] Serious Privileges Problem: Second Post!

2009-11-07 Thread Victor Subervi
I have a serious privileges problem that is making it impossible to serve
python pages on a CentOS server. I have tried to resolve this problem in my
last post, but now it appears that interest has petered out. I'm desperate
and hoping someone on this list can help.

[Fri Nov 06 11:50:40 2009] [error] [client 66.248.168.98] (2)No such file or
directory: exec of '/var/www/html/angrynates.com/global_solutions/index.py'
failed, referer: http://angrynates.com/global_solutions/
[Fri Nov 06 11:50:40 2009] [error] [client 66.248.168.98] Premature end of
script headers: index.py, referer: http://angrynates.com/global_solutions/

Now, the file does exist:

[r...@13gems global_solutions]# pwd
/var/www/html/angrynates.com/global_solutions
[r...@13gems global_solutions]# ls

-rwxr-xr-x 1 victor victor 275 Nov 6 07:05 index.py

and it serves just fine on another server, so there is no "premature end of
script headers".


Here's where it gets really weird. If I copy the code for index.py and
template.py which the former calls, and create files test.py and test2.py
and paste the code from the former files in those new files changing only
the import statement from "template" to "test2", the tests will resolve!!
Now, the ownership and mode are identical on all of them!!


[r...@13gems global_solutions]# ls -al | grep test.py
-rwxr-xr-x 1 root root 298 Nov 6 12:24 test.py
[r...@13gems global_solutions]# ls -al | grep test2.py
-rwxr-xr-x 1 root root 5716 Nov 6 12:25 test2.py
[r...@13gems global_solutions]# ls -al | grep index.py
-rwxr-xr-x 1 root root 316 Nov 6 07:05 index.py
[r...@13gems global_solutions]# ls -al | grep template.py
-rwxr-xr-x 1 root root 5806 Nov 6 07:06 template.py
-rwxr-xr-x 1 root root 6093 Nov 6 07:06 template.pyc

where test.py is identical to index.py (other than the necessary import) and
template is identical to test2.py


fixfiles relabel /var/www/html
# might just work
It didn't

touch /.autorelabel
# and then reboot will relabel all copied files to the correct contexts for
the location
I rebooted apache with no luck

or you could turn off SELinux and reboot
I did that and the following two solutions with no luck:
echo 0 >/selinux/enforce

[r...@13gems ~]# cd /etc/
[r...@13gems etc]# mv selinux/ selinux.BAK
[r...@13gems etc]# mkdir selinux
[r...@13gems etc]# echo 0>/selinux/enforce

...and the problem continues:
[r...@13gems etc]# tail /var/log/httpd/error_log
[Fri Nov 06 12:51:49 2009] [error] [client 66.248.168.98] Premature end of
script headers: index.py, referer: http://angrynates.com/global_solutions/
[Fri Nov 06 12:56:18 2009] [error] [client 66.248.168.98] (2)No such file or
directory: exec of '/var/www/html/angrynates.com/global_solutions/index.py'
failed, referer: http://angrynates.com/global_solutions/
[Fri Nov 06 12:56:18 2009] [error] [client 66.248.168.98] Premature end of
script headers: index.py, referer: http://angrynates.com/global_solutions/
[Fri Nov 06 12:56:20 2009] [error] [client 67.96.172.81] (2)No such file or
directory: exec of '/var/www/html/angrynates.com/global_solutions/index.py'
failed
[Fri Nov 06 12:56:20 2009] [error] [client 67.96.172.81] Premature end of
script headers: index.py
[Fri Nov 06 13:52:15 2009] [error] [client 66.249.67.153] File does not
exist: /var/www/html/angrynates.com/robots.txt
[Fri Nov 06 13:52:52 2009] [error] [client 208.84.198.58] (2)No such file or
directory: exec of '/var/www/html/angrynates.com/global_solutions/index.py'
failed, referer: http://angrynates.com/global_solutions/
[Fri Nov 06 13:52:52 2009] [error] [client 208.84.198.58] Premature end of
script headers: index.py, referer: http://angrynates.com/global_solutions/
[Fri Nov 06 13:52:52 2009] [error] [client 208.84.198.58] File does not
exist: /var/www/html/angrynates.com/favicon.ico
[Fri Nov 06 13:52:53 2009] [error] [client 208.84.198.58] File does not
exist: /var/www/html/angrynates.com/favicon.ico
[r...@13gems etc]#

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


Re: [CentOS] Inquiry:Mainboard type?

2009-11-07 Thread Drew
EPIA is the name for the family of motherboards VIA makes in the
Mini-ITX & smaller form factors. The series includes about 4-5
different processor families ranging from the old C3 's up to the Nano
processor.

The only way I know of to figure out which which mainboard  you have
is to cross reference the outputs of "cat /proc/cpuinfo" and "lspci -v
" against VIA's own specs lists. You may even have to go so far as to
open the unit's case to find the silk screened model number.


-- 
Drew

"Nothing in life is to be feared. It is only to be understood."
--Marie Curie
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Serious Privileges Problem: Second Post!

2009-11-07 Thread Neil Aggarwal
Victor:
 
> I have a serious privileges problem that is making it impossible 
> to serve python pages on a CentOS server. I have tried to resolve 
> this problem in my last post, but now it appears that interest 
> has petered out. I'm desperate and hoping someone on this list can help.

You need to move to a host that includes support or hire a consultant.
 
Neil

--
Neil Aggarwal, (281)846-8957, http://www.JAMMConsulting.com
CentOS 5.4 KVM VPS $55/mo, no setup fee, no contract, dedicated 64bit CPU
1GB dedicated RAM, 40GB RAID storage, 500GB/mo premium BW, Zero downtime 

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


Re: [CentOS] Serious Privileges Problem: Second Post!

2009-11-07 Thread Victor Subervi
On Sat, Nov 7, 2009 at 9:23 AM, Neil Aggarwal wrote:

> Victor:
>
> > I have a serious privileges problem that is making it impossible
> > to serve python pages on a CentOS server. I have tried to resolve
> > this problem in my last post, but now it appears that interest
> > has petered out. I'm desperate and hoping someone on this list can help.
>
> You need to move to a host that includes support or hire a consultant.
>

Nonsense. You can't solve it either, can you? You're as stumped as the rest
of us...but arrogant, too.
V

>
>Neil
>
> --
> Neil Aggarwal, (281)846-8957, http://www.JAMMConsulting.com
> CentOS 5.4 KVM VPS $55/mo, no setup fee, no contract, dedicated 64bit CPU
> 1GB dedicated RAM, 40GB RAID storage, 500GB/mo premium BW, Zero downtime
>
> ___
> 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] Serious Privileges Problem: Second Post!

2009-11-07 Thread Bobby
On Saturday 07 November 2009 09:14:06 Victor Subervi wrote:
> I have a serious privileges problem that is making it impossible to serve
> python pages on a CentOS server. I have tried to resolve this problem in my
> last post, but now it appears that interest has petered out. I'm desperate
> and hoping someone on this list can help.

You may have better luck at a python list. 

Plus you should never reveal the IP address where you are having problems as 
it may very well invite someone to take advantage of your problem and making 
things a lot worse.

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


Re: [CentOS] Question - Xen host, DHCPD and guest VMs

2009-11-07 Thread Kai Schaetzl
Scot P. Floess wrote on Fri, 6 Nov 2009 12:46:35 -0500 (EST):

> OK - I'll look through the list and see if I can find the discussion :)

I think you actually found it already. It's on the xen list and not on 
centos-virt, sorry. But you will find a related thread about problems with 
xenbr0 on centos-virt just a few days earlier. Maybe it gives you some 
hints if you read both. I'm not sure if I solved this problem.

Kai

-- 
Kai Schätzl, Berlin, Germany
Get your web at Conactive Internet Services: http://www.conactive.com



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


Re: [CentOS] No Such File...

2009-11-07 Thread Benjamin Franz
Victor Subervi wrote:
> If it were the interpreter, then my test.py and test2.py that are 
> _word_for_word_ the _exact_same_code_ would not work, correct?
>
> dos2unix?! Huh? Where's the dos?
>
> recode? man recode gives nothing.


What he was suggesting is that you may have non-Unix end-of-lines in 
your file. dos2unix fixes that.

Try it rather than complaining.

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


Re: [CentOS] Serious Privileges Problem: Second Post!

2009-11-07 Thread Drew
> Nonsense. You can't solve it either, can you? You're as stumped as the rest
> of us...but arrogant, too.
> V

Victor,

To be brutally honest, you haven't given the list the info we need to
help you solve this problem. I've been following this thread and so
far I'm seeing a puzzle with half the pieces missing.

That said the first line of your error messages typically indicates
that the script can't find the python executable pointed at by the
script on the #! line.


-- 
Drew

"Nothing in life is to be feared. It is only to be understood."
--Marie Curie
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Serious Privileges Problem: Second Post!

2009-11-07 Thread Victor Subervi
On Sat, Nov 7, 2009 at 10:05 AM, Drew  wrote:

> > Nonsense. You can't solve it either, can you? You're as stumped as the
> rest
> > of us...but arrogant, too.
> > V
>
> Victor,
>
> To be brutally honest, you haven't given the list the info we need to
> help you solve this problem. I've been following this thread and so
> far I'm seeing a puzzle with half the pieces missing.
>

Can you please ask questions that I can answer so that you can help me?

>
> That said the first line of your error messages typically indicates
> that the script can't find the python executable pointed at by the
> script on the #! line.
>

[r...@13gems html]# ls /usr/bin/|grep pyth*
python
python2
python2.4

 Someone asked for the code:

THIS IS index,py

#!/usr/bin/python

import string
import cgitb; cgitb.enable()
import cgi
import sys,os
sys.path.append(os.getcwd())
from template import template

ourFile = string.split(__file__, "/")
page = ourFile[len(ourFile) - 1][:-3]

form = cgi.FieldStorage()
w = form.getfirst('w', '1024')

template(page, w)

THIS IS template.py

#!/usr/bin/python

import cgitb; cgitb.enable()
import cgi
import sys,os
sys.path.append(os.getcwd())

p = 'template'

def template(page, w):
  wn = int(w)/1024
  print "Content-Type: text/html"
  print
  print '''
http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd";>
http://www.w3.org/1999/xhtml";>

.text {  font-family: Arial, Helvetica, sans-serif; font-size: 16px;
text-decoration: none; text-align: justify}

Global Solutions Group









'''
  print "


'''

TIA,
V

>
>
> --
> Drew
>
> "Nothing in life is to be feared. It is only to be understood."
> --Marie Curie
> ___
> 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] Question - Xen host, DHCPD and guest VMs

2009-11-07 Thread Scot P. Floess


Thanks!  As it stands now, if I bounce dhcpd and then xme create's in 
/etc/rc.local it works fine.  Just felt like a hack ;)


I'll definitely be looking at it off and on till I figure it out :)


On Sat, 7 Nov 2009, Kai Schaetzl wrote:


Scot P. Floess wrote on Fri, 6 Nov 2009 12:46:35 -0500 (EST):


OK - I'll look through the list and see if I can find the discussion :)


I think you actually found it already. It's on the xen list and not on
centos-virt, sorry. But you will find a related thread about problems with
xenbr0 on centos-virt just a few days earlier. Maybe it gives you some
hints if you read both. I'm not sure if I solved this problem.

Kai

--
Kai Schätzl, Berlin, Germany
Get your web at Conactive Internet Services: http://www.conactive.com



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



Scot P. Floess
27 Lake Royale
Louisburg, NC  27549

252-478-8087 (Home)
919-890-8117 (Work)

Chief Architect JPlate   http://sourceforge.net/projects/jplate
Chief Architect JavaPIM  http://sourceforge.net/projects/javapim

Architect Keros  http://sourceforge.net/projects/keros___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Serious Privileges Problem: Second Post!

2009-11-07 Thread Les Mikesell
Victor Subervi wrote:
> 
> 
> fixfiles relabel /var/www/html
> # might just work
> It didn't
> 
> touch /.autorelabel
> # and then reboot will relabel all copied files to the correct contexts 
> for the location
> I rebooted apache with no luck
> 
> or you could turn off SELinux and reboot
> I did that and the following two solutions with no luck:
> echo 0 >/selinux/enforce
> 

What do you mean by 'rebooted apache'?  You have to reboot the whole machine to 
change selinlux settings.

-- 
   Les Mikesell
lesmikes...@gmail.com

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


Re: [CentOS] Serious Privileges Problem: Second Post!

2009-11-07 Thread Victor Subervi
Thank you. I just rebooted the machine. Unfortunately, that didn't help.
V

On Sat, Nov 7, 2009 at 11:00 AM, Les Mikesell  wrote:

> Victor Subervi wrote:
> >
> >
> > fixfiles relabel /var/www/html
> > # might just work
> > It didn't
> >
> > touch /.autorelabel
> > # and then reboot will relabel all copied files to the correct contexts
> > for the location
> > I rebooted apache with no luck
> >
> > or you could turn off SELinux and reboot
> > I did that and the following two solutions with no luck:
> > echo 0 >/selinux/enforce
> >
>
> What do you mean by 'rebooted apache'?  You have to reboot the whole
> machine to
> change selinlux settings.
>
> --
>   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] Inquiry:Mainboard type?

2009-11-07 Thread mark
hadi motamedi wrote:
> Dear All
> Can you please do me favor and let me know how can I check for my CentOS
> mainboard type ? Please be informed that I want to know if it is as EPIA 500
> or EPIA 600 and I am seeking a way to check it as we check for our HDD type
> via /proc/ide/hda/model . Can you please let me know where such an info can
> be checked via /proc folder ?
> Let me thank you in advance

lshw.

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


Re: [CentOS] SELinux is preventing httpd from loading /usr/local/apache/modules/libphp5.so

2009-11-07 Thread mark
Ricky Tompu Breaky wrote:
> Dear my friends...
> 
> Anybody would be so nice for telling me the solution of my problem.
> 
> My Apache2 can not start.
> 
> I find this error in /var/log/messages:
> Nov  7 14:20:47 cencen setroubleshoot: SELinux is preventing httpd from
> loading /usr/local/apache/modules/libphp5.so which requires text
> relocation. For complete SELinux messages. run Realertrag -l
> 077ac3bc-5f20-4954-99c3-a754f9cd7df2
> 
> I've done: sealert -l 077ac3bc-5f20-4954-99c3-a754f9cd7df2
>  but It does not make any change.
> 
Did you even bother to read what sealert told you to do?

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


Re: [CentOS] Centos HP Pavilion box

2009-11-07 Thread mark
Mike -- EMAIL IGNORED wrote:
> Has anyone put Centos 5.4 (or ant version on aHP Pavilion box?
> I'm having some problems.  For example, I can't get
> my Dell E198WFPV 1440x900 monitor to work correctly.

What's the video card?

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


Re: [CentOS] Serious Privileges Problem: Second Post!

2009-11-07 Thread Negative
On Sat, Nov 7, 2009 at 11:12 AM, Victor Subervi wrote:

> Thank you. I just rebooted the machine. Unfortunately, that didn't help.
> V
>
>
> On Sat, Nov 7, 2009 at 11:00 AM, Les Mikesell wrote:
>
>> Victor Subervi wrote:
>> >
>> >
>> > fixfiles relabel /var/www/html
>> > # might just work
>> > It didn't
>> >
>> > touch /.autorelabel
>> > # and then reboot will relabel all copied files to the correct contexts
>> > for the location
>> > I rebooted apache with no luck
>> >
>> > or you could turn off SELinux and reboot
>> > I did that and the following two solutions with no luck:
>> > echo 0 >/selinux/enforce
>> >
>>
>> What do you mean by 'rebooted apache'?  You have to reboot the whole
>> machine to
>> change selinlux settings.
>>
>> --
>>   Les Mikesell
>>lesmikes...@gmail.com
>>
>>
>>
Note that you copied files have different file sizes. (e.g. index.py and
test.py).

Can you run index.py and template.py on the command line without error? You
could easily have an indent error in one file.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Serious Privileges Problem: Second Post!

2009-11-07 Thread mark
Les Mikesell wrote:
> Victor Subervi wrote:
>>
>> fixfiles relabel /var/www/html
>> # might just work
>> It didn't
>>
>> touch /.autorelabel
>> # and then reboot will relabel all copied files to the correct contexts 
>> for the location
>> I rebooted apache with no luck
>>
>> or you could turn off SELinux and reboot
>> I did that and the following two solutions with no luck:
>> echo 0 >/selinux/enforce
> 
> What do you mean by 'rebooted apache'?  You have to reboot the whole machine 
> to 
> change selinlux settings.
> 
No, you don't. Either the echo, or the setenforce command will change it.

mark

-- 
An answer to gun nuts (2):"Have you ever been in a pub where everyone goes 
armed? Oh, things are a little polite at first, ... then some twerp drinks out 
of the wrong mug or picks up someone else's change by mistake and five minutes 
later you're picking noses out of the beer nuts-" - Commander Vimes "Jingo", 
Terry Pratchett
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Serious Privileges Problem: Second Post!

2009-11-07 Thread Benjamin Donnachie
2009/11/7 mark :
>> What do you mean by 'rebooted apache'?  You have to reboot the whole machine 
>> to
>> change selinlux settings.
> No, you don't. Either the echo, or the setenforce command will change it.

Rebooting probably turned SELinux back on again.  Run the "setenforce
permissive" command again and then try.

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


Re: [CentOS] Serious Privileges Problem: Second Post!

2009-11-07 Thread Victor Subervi
selinux must be off because I moved the whole folder to a backup.
Regarding running index.py, how? I tried this:
python index.py
and it just printed the whole thing to screen. But I can't image how there
would be an indent error. (1) This exact file without edit displays fine on
another server. (2) I copied the whole thing and pasted it into test.py. I
can't explain the size difference.

[r...@13gems global_solutions]# diff index.py test.py
1,19c1,17
< #!/usr/bin/python
<
< import string
< import cgitb; cgitb.enable()
< import cgi
< import sys,os
< sys.path.append(os.getcwd())
< from template import template
<
< ourFile = string.split(__file__, "/")
< page = ourFile[len(ourFile) - 1][:-3]
<
< form = cgi.FieldStorage()
< w = form.getfirst('w', '1024')
<
< print page
<
< template(page, w)
<
---
> #!/usr/bin/python
>
> import string
> import cgitb; cgitb.enable()
> import cgi
> import sys,os
> sys.path.append(os.getcwd())
> from test2 import template
>
> ourFile = string.split(__file__, "/")
> page = ourFile[len(ourFile) - 1][:-3]
>
> form = cgi.FieldStorage()
> w = form.getfirst('w', '1024')
>
> template(page, w)
>


On Sat, Nov 7, 2009 at 11:42 AM, Benjamin Donnachie
wrote:

> 2009/11/7 mark :
> >> What do you mean by 'rebooted apache'?  You have to reboot the whole
> machine to
> >> change selinlux settings.
> > No, you don't. Either the echo, or the setenforce command will change it.
>
> Rebooting probably turned SELinux back on again.  Run the "setenforce
> permissive" command again and then try.
>
> Ben
> ___
> 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 HP Pavilion box

2009-11-07 Thread Mike -- EMAIL IGNORED
On Sat, 07 Nov 2009 11:33:08 -0500, mark wrote:

> Mike -- EMAIL IGNORED wrote:
>> Has anyone put Centos 5.4 (or ant version on aHP Pavilion box? I'm
>> having some problems.  For example, I can't get my Dell E198WFPV
>> 1440x900 monitor to work correctly.
> 
> What's the video card?
> 
>   mark

Video card: NVIDA C73 [GeForce: 7100/ nForce 630i]

When I go to: Administration -> Display -> Settings
and select 1440x900, it changes it to 1280x1024.
It does this for various settings of Hardware -> Monitor Type.
The monitor is a Dell E198WFPV.  I note that the list CentOS
offers includes all of this except the terminal 'V', with
analog and digital options.  I tried both, as well as
generic choices.

Thanks,
Mike.

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


Re: [CentOS] Serious Privileges Problem: Second Post!

2009-11-07 Thread Les Mikesell
Victor Subervi wrote:
> selinux must be off because I moved the whole folder to a backup.
> Regarding running index.py, how? I tried this:
> python index.py
> and it just printed the whole thing to screen. But I can't image how 
> there would be an indent error. (1) This exact file without edit 
> displays fine on another server. (2) I copied the whole thing and pasted 
> it into test.py. I can't explain the size difference.

How did you get it from machine to machine?  This could be a line-ending issue 
from a copy from windows or the wrong mode in ftp.

-- 
   Les Mikesell
 lesmikes...@gmail.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] chroot question - can you help?

2009-11-07 Thread adrian kok
Hi 


I install new linux in sda and try to recover the boot partition in sdb

I mount it /dev/sdb1 /bootpartion

but I can't chroot into it and grub-install

Can you help

[r...@host ~]# chroot /bootpartion

chroot: cannot run command `/bin/bash': No such file or directory

Send instant messages to your online friends http://uk.messenger.yahoo.com 
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] chroot question - can you help?

2009-11-07 Thread John R Pierce
adrian kok wrote:
> Hi 
>
>
> I install new linux in sda and try to recover the boot partition in sdb
>
> I mount it /dev/sdb1 /bootpartion
>
> but I can't chroot into it and grub-install
>
> Can you help
>
> [r...@host ~]# chroot /bootpartion
>
> chroot: cannot run command `/bin/bash': No such file or directory
>   


was the system you're recovering built with a /boot and a seperate / ?  
thats not uncommon.

if thats the case, mount /dev/sdb2 /bootpartition && mount /dev/sdb1 
/bootpartition/boot
then try the chroot again.  (I'm assuming /dev/sdb2 was the root and 
sdb1 was the /boot)


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


Re: [CentOS] Serious Privileges Problem: Second Post!

2009-11-07 Thread Kwan Lowe
On Sat, Nov 7, 2009 at 12:04 PM, Les Mikesell  wrote:

> How did you get it from machine to machine?  This could be a line-ending issue
> from a copy from windows or the wrong mode in ftp.

That is my guess too.   This exact error will happen if the file is
copied in Dos format to Linux.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Serious Privileges Problem: Second Post!

2009-11-07 Thread John R Pierce
Kwan Lowe wrote:
> On Sat, Nov 7, 2009 at 12:04 PM, Les Mikesell  wrote:
>
>   
>> How did you get it from machine to machine?  This could be a line-ending 
>> issue
>> from a copy from windows or the wrong mode in ftp.
>> 
>
> That is my guess too.   This exact error will happen if the file is
> copied in Dos format to Linux.
>   

ah, yes, python, where whitespace is  a syntax element


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


Re: [CentOS] Serious Privileges Problem: Second Post!

2009-11-07 Thread Victor Subervi
Adding python debugging to apache revealed an import error. The strange
thing is that when I load the exact lines of code in the command line python
interpreter, it has no trouble importing the class in question.

With respect to the dos question, I've uploaded this exact code in its exact
format (*.py files) to another server where it serves just fine. I can't
find where to get dos2unix, but do I need it?
V

On Sat, Nov 7, 2009 at 1:23 PM, John R Pierce  wrote:

> Kwan Lowe wrote:
> > On Sat, Nov 7, 2009 at 12:04 PM, Les Mikesell 
> wrote:
> >
> >
> >> How did you get it from machine to machine?  This could be a line-ending
> issue
> >> from a copy from windows or the wrong mode in ftp.
> >>
> >
> > That is my guess too.   This exact error will happen if the file is
> > copied in Dos format to Linux.
> >
>
> ah, yes, python, where whitespace is  a syntax element
>
>
> ___
> 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] Serious Privileges Problem: Second Post!

2009-11-07 Thread Stephen Harris
On Sat, Nov 07, 2009 at 10:23:11AM -0800, John R Pierce wrote:
> Kwan Lowe wrote:
> > On Sat, Nov 7, 2009 at 12:04 PM, Les Mikesell  wrote:
> >
> >   
> >> How did you get it from machine to machine?  This could be a line-ending 
> >> issue
> >> from a copy from windows or the wrong mode in ftp.
> >> 
> >
> > That is my guess too.   This exact error will happen if the file is
> > copied in Dos format to Linux.
> >   
> 
> ah, yes, python, where whitespace is  a syntax element

Not necessarily anything to do with python; a shell script or perl program
would suffer the same problem.

See if a file beginning "#!/bin/sh" was sent as a DOS file then Unix would
see it as "#!/bin/sh^M" (where ^M is the carriage-return character 0x0d)
and so would try to run the script under "/bin/sh^M".  This, clearly,
doesn't exit.  Same would be true for /usr/bin/perl^M or /usr/bin/python^M
and so on.

Victor was told do to "dos2unix" which fixes the problem but he ignored
the info ("dos2unix?! Huh? Where's the dos?") so *shrug*

As they say, you can lead a horse to water...

-- 

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


Re: [CentOS] Serious Privileges Problem: Second Post!

2009-11-07 Thread Benjamin Donnachie
2009/11/7 Victor Subervi :
> selinux must be off because I moved the whole folder to a backup.

Did you edit /etc/selinux/config to disable it?

Please, just try the things people are suggesting rather than
dismissing them instantly - it'll be much easier in the long run.

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


[CentOS] anyone here using the virtualmin script?

2009-11-07 Thread Eugeneapolinary Ju
Hi!



Has anyone here using the:



http://www.webmin.com/vinstall.html



Virtualmin's script?



http://software.virtualmin.com/gpl/scripts/install.sh



Are there any opinions about it?



How can I save the configs, data, etc, when I want to make a backup of the 
server?



Regards and Thank you.




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


[CentOS] Cluster server options?

2009-11-07 Thread Scott Ehrlich
I have a 10 blade cluster of just hardware - I can install what I
want, how I want.   What options are there if I wanted to build the 10
blades as one large beast, but _NOT_ necessarily for someone doing
grid-type work?    Some users don't now how to program that way, but
they'd like to have their program run on something that acts like a
single processor, but a massive single processor with lots of memory.
 Some code is designed for a single, powerful workstation.  I'd like
this cluster to act as one powerful workstation.

Thanks for insights.

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


Re: [CentOS] Serious Privileges Problem: Second Post!

2009-11-07 Thread Robert


Victor Subervi wrote:
> Adding python debugging to apache revealed an import error. The 
> strange thing is that when I load the exact lines of code in the 
> command line python interpreter, it has no trouble importing the class 
> in question.
>
> With respect to the dos question, I've uploaded this exact code in its 
> exact format (*.py files) to another server where it serves just fine. 
> I can't find where to get dos2unix,
Where have you looked?? 

# yum list dos2unix
# yum install dos2unix

> but do I need it?
Presently?  Who knows.  But it will come in handy at some point in time 
and it's only about 16K.
> V
R



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


Re: [CentOS] Serious Privileges Problem: Second Post!

2009-11-07 Thread Victor Subervi
I moved /etc/selinux/config to /etc/selinux/config.BAK and created an empty
folder to replace it. Then I rebooted the server.

It's been a while, but now I remember what a dos file looks like in a unix
environment. No, these files look like unix files (without the carets and
crap).
TIA,
V

On Sat, Nov 7, 2009 at 1:42 PM, Benjamin Donnachie
wrote:

> 2009/11/7 Victor Subervi :
> > selinux must be off because I moved the whole folder to a backup.
>
> Did you edit /etc/selinux/config to disable it?
>
> Please, just try the things people are suggesting rather than
> dismissing them instantly - it'll be much easier in the long run.
>
> Ben
> ___
> 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] Serious Privileges Problem: Second Post!

2009-11-07 Thread Benjamin Donnachie
2009/11/7 Victor Subervi :
> I moved /etc/selinux/config to /etc/selinux/config.BAK and created an empty
> folder to replace it. Then I rebooted the server.

Check with the command getenforce please.

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


Re: [CentOS] Serious Privileges Problem: Second Post!

2009-11-07 Thread Les Mikesell
Victor Subervi wrote:
> I moved /etc/selinux/config to /etc/selinux/config.BAK and created an 
> empty folder to replace it. Then I rebooted the server.
> 
> It's been a while, but now I remember what a dos file looks like in a 
> unix environment. No, these files look like unix files (without the 
> carets and crap).

I'm not sure what you remember but with most ways of displaying files there is 
no visible different when a CRLF is present instead of just LF.  If there's a 
difference in size that you can't see, and diff shows them as different, that's 
almost certain it.

Vim might show a [dos] in the bottom line when you load it, and could fix it by 
a :set fileformat unix and writing back.

-- 
   Les Mikesell
lesmikes...@gmail.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Serious Privileges Problem: Second Post!

2009-11-07 Thread Frank Cox
On Sat, 07 Nov 2009 14:10:30 -0500
Victor Subervi wrote:

> It's been a while, but now I remember what a dos file looks like in a unix
> environment. No, these files look like unix files (without the carets and
> crap).

The file command will verify that for you.

You said that this thing runs fine on another server.   Is the other server
running Linux or Windows? (Or something else?)

-- 
MELVILLE THEATRE ~ Melville Sask ~ http://www.melvilletheatre.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Cluster server options?

2009-11-07 Thread nate
Scott Ehrlich wrote:

>  Some code is designed for a single, powerful workstation.  I'd like
> this cluster to act as one powerful workstation.

Good luck with that..

http://www.theregister.co.uk/2009/11/04/scalemp_vsmp_smb_cloud/

Is the only product I've heard of that claims to do what your
aiming for.

Suggest your programmers get with the game and learn how to
effectively scale their apps horizontally or be left behind.

nate


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


Re: [CentOS] Cluster server options?

2009-11-07 Thread Neil Aggarwal
Scott:

>  Some code is designed for a single, powerful workstation.  I'd like
> this cluster to act as one powerful workstation.

I think your application has to be designed to run in a cluster
environment.  Splitting up a job into multiple streams of
execution requires some the application to coordinate the
different pieces that are running.

Neil

--
Neil Aggarwal, (281)846-8957, http://www.JAMMConsulting.com
CentOS 5.4 KVM VPS $55/mo, no setup fee, no contract, dedicated 64bit CPU
1GB dedicated RAM, 40GB RAID storage, 500GB/mo premium BW, Zero downtime 

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


[CentOS] Problem: NVIDIA C73 & 1440x900

2009-11-07 Thread MIKE - EMAIL IGNORED
As mentioned in my previous thread, I can't get my
Video card: NVIDIA C73 [GeForce: 7100/ nForce 630i]
to display 1440x900 on my CentOS 5.4 on my HP
Pavilion with monitor Dell E198WFPV.

Googing around, I see that others have had this problem
with the NVIDIA card.  In one case, it was solved by
gaining access to card parameters and setting them
directly.  I can't find a way to do this on my box.

One solution might be to just insert another video
card in the bus, and ignore the NVIDIA.  Would this
work?  I have a card that I know works.

Thanks in advance for your advice.

Thanks,
Mike.

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


Re: [CentOS] Problem: NVIDIA C73 & 1440x900

2009-11-07 Thread fred smith
On Sat, Nov 07, 2009 at 09:31:20PM +, MIKE - EMAIL IGNORED wrote:
> As mentioned in my previous thread, I can't get my
> Video card: NVIDIA C73 [GeForce: 7100/ nForce 630i]
> to display 1440x900 on my CentOS 5.4 on my HP
> Pavilion with monitor Dell E198WFPV.
> 
> Googing around, I see that others have had this problem
> with the NVIDIA card.  In one case, it was solved by
> gaining access to card parameters and setting them
> directly.  I can't find a way to do this on my box.
> 
> One solution might be to just insert another video
> card in the bus, and ignore the NVIDIA.  Would this
> work?  I have a card that I know works.
> 
> Thanks in advance for your advice.

Mike:

I have no experience with that card, but here are a couple of ideas
that may help:
--are you using a digital (DVI) video cable, or the analog cable from
  video card to monitor? If DVI, try the analog (VGA) cable and see if
  it allows you to select the resolution you need. (my new DVI monitor
  came with a note that said that some cards cannot select the right
  resolution when using the DVI cable, but will work fine with a VGA
  cable--though it worked fine for me with my nvidia card (9800GT))
--have you tried using xrandr to force it to the desired resolution?
  'man xrandr' is your friend.

Fred
-- 
 Fred Smith -- fre...@fcshome.stoneham.ma.us -
"Not everyone who says to me, 'Lord, Lord,' will enter the kingdom of
 heaven, but only he who does the will of my Father who is in heaven."
-- Matthew 7:21 (niv) -
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] administering an MS Windows partition under Linux

2009-11-07 Thread Ross Walker
On Nov 6, 2009, at 3:31 PM, Kai Schaetzl   
wrote:

> Boris Epstein wrote on Fri, 6 Nov 2009 14:21:39 -0500:
>
>> If I have a dual-boot machine (Linux and Windows) would I have any
>> good tools under Linux that would allow me to look at the content of
>> the Windows boot partition, administer it, clean up the registry,
>> remove viruses if any, etc? The Windows installation seems to be so
>> defective as to be quite useless so I am trying to think of a good
>> strategy for dealing with the situation.
>
> Why would you want to do that? If there's valuable data you can get  
> them
> off the partition with Linux (CentOS can mount NTFS) and then  
> reinstall
> your Windows to that partition. Actually the data on the partition  
> should
> stay unharmed by a reinstallation or repair installation (you can do a
> repair installation from the install media).
> When reinstalling Windows you may lose bootability to Linux and
> reestablish grub. There are lots of articles/tutorials on the net if  
> you
> need help on that.

Reinstallation repairs reinit the registry which borks all the  
applications installed, so it is always better to just reinstall.

-Ross

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


[CentOS] Net-SNMP interfaces out of order

2009-11-07 Thread Bob p...@nle
Hello Centos People,

I have a CentOS 5.3 box that had a total of 5 ethernet cards in it.  It 
functions to share an internet connection with 4 different subnets.  All 
works fine, except I'm noticing that my MRTG traffic graphs are wrong.  
Further digging with snmpwalk reveal that the order of the ethernet 
interfaces changes every time the machine is rebooted to a different order.

For example, I currently see:

IF-MIB::ifDescr.1 = STRING: lo
IF-MIB::ifDescr.2 = STRING: eth3
IF-MIB::ifDescr.3 = STRING: eth4
IF-MIB::ifDescr.4 = STRING: eth0
IF-MIB::ifDescr.5 = STRING: eth1
IF-MIB::ifDescr.6 = STRING: eth2
IF-MIB::ifDescr.7 = STRING: sit0

Why is this not in proper order?  Other servers seem to be ok.  my 
snmpd.conf file has little, if anything as far as config.  Is there 
something I need to put in there for persistence?

Bob

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


Re: [CentOS] Virtualization option at first install CentOS-5.4 x86_64

2009-11-07 Thread David McGuffey
I've been doing a lot of research on virtualization (VMWare, EXSi, xen,
kvm, VirtualBox, etc.) and ended up choosing kvm.  I'm very surprised at
how quick I was able to bring up a WinXP VM.

I tried VMWare's EXSi 4.0 on bare metal, and failed.  Then I tried
VirtualBox on CentOS 5.3 and failed.  So I decided to download a fresh
CentOS 5.4 iso and see if kvm would work.  Since Red Hat has purchased
the developer of kvm, I figured y the time it showed up in 5.4 most of
the kinks would be worked out.

Go with kvm...that appears to be the future for RHEL and CentOS.

DaveM

On Fri, 2009-11-06 at 13:30 -0500, James B. Byrne wrote:
> When I choose the virtualization option during the first install of
> CentOS-5.4 do I get KVM or XEN?
> 
> Regards,
> 
> 

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


Re: [CentOS] Virtualization option at first install CentOS-5.4 x86_64

2009-11-07 Thread David McGuffey

On Fri, 2009-11-06 at 16:21 -0500, James B. Byrne wrote:
> On Fri, November 6, 2009 13:50, James B. Byrne wrote:
> >
> >
> > Evidently, one gets XEN.  I will get kvm from extras and go about
> > installing it manually.
> >
> >
> 
> # grep 'vmx' /proc/cpuinfo
> 
> flags   : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr
> pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm
> syscall nx lm constant_tsc pni monitor ds_cpl vmx est tm2 cx16 xtpr
> lahf_lm
> 
> 
> I installed kvm.x86_64-83-105.el5_4.9 successfully.  I also
> installed virt-manager.  I tried to install qemu but failed due to
> this file conflict:
> 
> Transaction Check Error:
>   file /usr/share/man/man1/qemu-img.1.gz from install of
> qemu-0.9.0-4.x86_64 conflicts with file from package
> kvm-qemu-img-83-105.el5_4.9.x86_64
> 
> I infer from this that qemu is NOT required with KVM and that
> kvm-qemu takes its place.
> 
> Proceeding to the next stage I tried to load the kvm-module:
> 
> # modprobe kvm-intel
> 
> Which fails like this:
> 
> FATAL: Error inserting kvm_intel
> (/lib/modules/2.6.18-164.el5/weak-updates/kmod-kvm/kvm-intel.ko):
> Operation not supported
> 
> So, what is going on?  What am I missing?  The CentOS HowTos on kvm
> do not cover the current kernel insofar as I can see.

I checked the 'kvm' box during the install of 5.4 64bit and didn't have
to install anything from the extras or rpmforge repos.  It just worked
right off the iso.

DaveM


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


[CentOS] USB disks for VMs in kvm, 5.4 x86_64

2009-11-07 Thread David McGuffey
Have a fresh install of 5.4 x86_64 with kvm. Created a WinXP VM and it
works well.  Now trying to get the VM to use a usb thumb-dirve.  I
seemed to have hit a wall trying to figure out how to configure it.

Any tips?

DaveM


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


[CentOS] errors on multimedia guidance for x86_64

2009-11-07 Thread David McGuffey
I have a fresh install of 5.4 x86_64 from a dvd .iso.  All has worked
well for several days, including kvm and WinXP running in a vm.

Decided it was time to get the multimedia stuff up and running so I
could listen to music CDs and watch DVD movies while working.  I
followed the guidance on the "Tips and Tricks" page for multimedia. Had
no problem with the "priorities" or the rpmforge installs.  Here is
where it went south:

[r...@desk Desktop]# yum install libdvdcss libdvdread libdvdplay
libdvdnav lsdvd mplayerplug-in mplayer mplayer-gui compat-libstdc++-33
flash-plugin gstreamer-plugins-bad gstreamer-plugins-ugly
gstreamer-ffmpeg libquicktime
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
 * addons: yum.singlehop.com
 * base: mirror.fdcservers.net
 * extras: mirrors.liquidweb.com
 * rpmforge: fr2.rpmfind.net
 * updates: centos.mirror.nac.net
440 packages excluded due to repository priority protections
Setting up Install Process

...

--> Finished Dependency Resolution
gstreamer-plugins-bad-0.10.8-3.el5.rf.x86_64 from rpmforge has
depsolving problems
  --> Missing Dependency: libfaad.so.0()(64bit) is needed by package
gstreamer-plugins-bad-0.10.8-3.el5.rf.x86_64 (rpmforge)
libquicktime-1.1.3-1.el5.rf.x86_64 from rpmforge has depsolving problems
  --> Missing Dependency: libfaad.so.0()(64bit) is needed by package
libquicktime-1.1.3-1.el5.rf.x86_64 (rpmforge)
Error: Missing Dependency: libfaad.so.0()(64bit) is needed by package
libquicktime-1.1.3-1.el5.rf.x86_64 (rpmforge)
Error: Missing Dependency: libfaad.so.0()(64bit) is needed by package
gstreamer-plugins-bad-0.10.8-3.el5.rf.x86_64 (rpmforge)
 You could try using --skip-broken to work around the problem
 You could try running: package-cleanup --problems
package-cleanup --dupes
rpm -Va --nofiles --nodigest
The program package-cleanup is found in the yum-utils package.
[r...@desk Desktop]# 

First question: Is the guidance for multimedia accurate for an 5.4
x86_64 load?

Second question: is rpmforge fully ready for 5.4?

Dave


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


Re: [CentOS] SELinux is preventing httpd from loading /usr/local/apache/modules/libphp5.so

2009-11-07 Thread David McGuffey
Recommend you dump a copy of the selinux error message and send it to
the selinux forum.  Can't remember the full name off the top of my head
but I believe if you google for selinux-list, you will hit it.

DaveM

On Sat, 2009-11-07 at 14:36 +0700, Ricky Tompu Breaky wrote:
> Dear my friends...
> 
> Anybody would be so nice for telling me the solution of my problem.
> 
> My Apache2 can not start.
> 
> I find this error in /var/log/messages:
> Nov  7 14:20:47 cencen setroubleshoot: SELinux is preventing httpd from
> loading /usr/local/apache/modules/libphp5.so which requires text
> relocation. For complete SELinux messages. run Realertrag -l
> 077ac3bc-5f20-4954-99c3-a754f9cd7df2
> 
> I've done: sealert -l 077ac3bc-5f20-4954-99c3-a754f9cd7df2
>  but It does not make any change.
> 
> Please tell me.
> 
> Thank you very much.
> ___
> 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] Cluster server options?

2009-11-07 Thread James A. Peltier

On Sat, 7 Nov 2009, Scott Ehrlich wrote:


I have a 10 blade cluster of just hardware - I can install what I
want, how I want.   What options are there if I wanted to build the 10
blades as one large beast, but _NOT_ necessarily for someone doing
grid-type work?    Some users don't now how to program that way, but
they'd like to have their program run on something that acts like a
single processor, but a massive single processor with lots of memory.
 Some code is designed for a single, powerful workstation.  I'd like
this cluster to act as one powerful workstation.


I have had okay experiences with ScaleMPs vSMP software.  Depending on 
workload it may or may not be good for your needs but it does work, 
however, you'll also need to ensure that the nodes are connected via a 
high speed interconnect like Infiniband.  The vSMP system is based around 
a COMA architecture.  As such some memory is reserved for caching to hide 
the latencies.  We had issues with job affinities.  Jobs would migrate 
from CPU to CPU frequently leading to rather poor performance.  All of 
these findings were reported to them as we were an early adoptor.


While this can for for some of your jobs, I would advise that if you are 
looking to the long term, consider taking advantage of MPI, OpenMP or 
concurrent languages like Erlang.  You'll be happier for it.


--
James A. Peltier
Systems Analyst (FASNet), VIVARIUM Technical Director
HPC Coordinator
Simon Fraser University - Burnaby Campus
Phone   : 778-782-6573
Fax : 778-782-3045
E-Mail  : jpelt...@sfu.ca
Website : http://www.fas.sfu.ca | http://vivarium.cs.sfu.ca
  http://blogs.sfu.ca/people/jpeltier
MSN : subatomic_s...@hotmail.com

Treat your password like your toothbrush.  Don't let anybody
else use it, and get a new one every six months.
 - Clifford Stoll___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] administering an MS Windows partition under Linux

2009-11-07 Thread Drew
> Reinstallation repairs reinit the registry which borks all the
> applications installed, so it is always better to just reinstall.

Not since XP. I've done half a dozen or so "Repair" installs of XP
over the last couple of years and to date I don't think I've lost an
app's config due to the re-install itself. The losses of apps were
usually due to any corruption of the filesystem, missing files or the
app's registry entries.

That said, it's always preferable in XP to start fresh if it's that
bad. Sometimes you can't though.


-- 
Drew

"Nothing in life is to be feared. It is only to be understood."
--Marie Curie
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] USB disks for VMs in kvm, 5.4 x86_64

2009-11-07 Thread S.Tindall

On Sat, 2009-11-07 at 18:49 -0500, David McGuffey wrote:
> Have a fresh install of 5.4 x86_64 with kvm. Created a WinXP VM and it
> works well.  Now trying to get the VM to use a usb thumb-dirve.  I
> seemed to have hit a wall trying to figure out how to configure it.
> 
> Any tips?
> 
> DaveM

libvirt.org is your friend.

There is a section on usb:

http://libvirt.org/formatdomain.html#elementsUSB

I remember getting a usb flash drive hotplug to work with an winxp guest
under F10/kvm, but do not remember the details offhand. Seems like it
was covered on the fedora-virt ML maybe 6-9 months ago.

Sorry my memory isn't better. ;-)

Steve

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


Re: [CentOS] Problem: NVIDIA C73 & 1440x900

2009-11-07 Thread MIKE - EMAIL IGNORED
On Sat, 07 Nov 2009 16:42:11 -0500, fred smith wrote:

> On Sat, Nov 07, 2009 at 09:31:20PM +, MIKE - EMAIL IGNORED wrote:
>> As mentioned in my previous thread, I can't get my Video card: NVIDIA
>> C73 [GeForce: 7100/ nForce 630i] to display 1440x900 on my CentOS 5.4
>> on my HP Pavilion with monitor Dell E198WFPV.
>> 
>> Googing around, I see that others have had this problem with the NVIDIA
>> card.  In one case, it was solved by gaining access to card parameters
>> and setting them directly.  I can't find a way to do this on my box.
>> 
>> One solution might be to just insert another video card in the bus, and
>> ignore the NVIDIA.  Would this work?  I have a card that I know works.
>> 
>> Thanks in advance for your advice.
> 
> Mike:
> 
> I have no experience with that card, but here are a couple of ideas that
> may help:
> --are you using a digital (DVI) video cable, or the analog cable from
>   video card to monitor? If DVI, try the analog (VGA) cable and see if
>   it allows you to select the resolution you need. (my new DVI monitor
>   came with a note that said that some cards cannot select the right
>   resolution when using the DVI cable, but will work fine with a VGA
>   cable--though it worked fine for me with my nvidia card (9800GT))
> --have you tried using xrandr to force it to the desired resolution?
>   'man xrandr' is your friend.
> 
> Fred

The screen is connected through an Iogear switch so the screen works
with two Linux boxes.  I assume that this is a digital connection,
although I don't really know.  Everything is fine with the other box
as well as the old box I am replacing.

I tried:  xrandx --verbose -s 1440x900

I get:  "Size 1440x900 is not found in available modes"

I am considering taking the video card from the old box and putting
it in the new one, and ignoring the original card in the new box.
Might this work?

Mike.

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


Re: [CentOS] administering an MS Windows partition under Linux

2009-11-07 Thread Rob Townley
On Fri, Nov 6, 2009 at 1:21 PM, Boris Epstein  wrote:
> Hi all,
>
> If I have a dual-boot machine (Linux and Windows) would I have any
> good tools under Linux that would allow me to look at the content of
> the Windows boot partition, administer it, clean up the registry,
> remove viruses if any, etc? The Windows installation seems to be so
> defective as to be quite useless so I am trying to think of a good
> strategy for dealing with the situation.
>
> Thanks in advance for any and all advice.
>
> Boris.
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>

The Helix LiveCD for forensics does registry editing, av scans, ...
i would be surprised if SysRescCD doesn't give you registry editing as well.
f-prot cd for virus scans as well.
Not to mention the rootkit detection cds.

Make sure you update the virus definitions after boot up with the live cds.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Virtualization option at first install CentOS-5.4 x86_64

2009-11-07 Thread Les Mikesell
David McGuffey wrote:
> 
> I tried VMWare's EXSi 4.0 on bare metal, and failed.  Then I tried
> VirtualBox on CentOS 5.3 and failed.


What did these fail to do?

-- 
   Les Mikesell
lesmikes...@gmail.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Some basic LVM questions

2009-11-07 Thread Monte Milanuk




Hello all,

I've been 'away' from all things Linux in general and RH in particular
for a long while, so I've got some catching up to do ;)

I've got a pretty fair collection of tabs reading on LVM and how it
works and why its such a great thing for enterprise use, etc., being
able to add storage to the pool and all that.  LVM was just kind of
catching on when I moved away from Linux for a while, so it's a little
odd to me.  

What I have currently is an older PC that I'm hoping to use as a home
server / occasional 'workstation'.  One 13GB main drive, and a 500GB
drive for network storage.  The default install in CentOS 5.4 seems to
want to just lump everything together in one big volume.  I was
thinking perhaps it'd be better to have two volumes (or pools, like I
said - still learning and not entirely confident of the lingo
involved)... one for the main or 'system' drive (the 13GB one with /
mounted on it), and another one for the 500GB sata drive on it - so if
I want to add another big drive for more storage, it'd go under that
group, ready to serve up storage to the WLAN.

Is there anything particularly 'wrong' with that layout, as compared to
the default 'everything in one logical volume' approach that the
installer utilized?

Another question... I thought the filesystem hierarchy standard
outlined a /srv directory for services provided... like storage space,
etc. but it didn't seem to be listed as one of the available mount
points when I was fiddling with the partitioning segment of the
installer, debating whether to over ride it or let it do its thing. 
There was of course the option to enter my own mount point... but in
the end I opted to wait and see if there was maybe a reason why
RH/CentOS doesn't seem to include this in the default setup?  Is there
a more traditionally suitable location for things to go under?  99% of
the use of this machine is going to be providing storage space to the
various laptops and PCs in the house, so primarily as a Samba server...

Thanks,

Monte



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