Displaying 20 results from an estimated 500 matches similar to: "restorecon and sudo"
2011 Dec 07
2
yum with a proxy
Hello,
While yum is configured to use a proxy, like this :
[base]
name=CentOS-$releasever - Base
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os
#baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
proxy=http://proxy.lasb:3128
it still make some attempts to connect
2011 Nov 03
1
CentOS-5.7 + megaraid + SELinux : update problem
Hello,
After updating to CentOS-5.7, I have a (small) problem :
The context of /dev/megadev0 is now defined
(in /etc/selinux/targeted/contexts/files/file_contexts) as
system_u:object_r:removable_device_t:s0.
This cause smartmontools to fail :
avc: denied { read write } for pid=2847 comm="smartd"
name="megadev0" dev=tmpfs ino=8284
2011 Sep 08
1
rsync -x does not do the same on EL 5.6 and 5.7
Hi,
We re doing backups of all filesystems to a dedicated server using "rsync
-x". Now, the latest CentOS versions (5.7/6.x) come with rsync-3.0.6
instead of rsync-2.x. That's nice but unfortunately it doesn't do the same
as 2.x in certain situations.
The problem is with the -x option, which does not delete content under a
mount point anymore. It was my impression that this is
2011 Oct 28
2
read failed after messages of non existing harddisks
Hi,
some time ago I removed some physical disks from a server and now I'm
still getting dmesg messages like:
sd 0:2:2:0: SCSI error: return code = 0x00040001
end_request: I/O error, dev sdc, sector 0
And all lvm tools still grumbel about that disks too:
/dev/sdb: read failed after 0 of 4096 at 0: Eingabe-/Ausgabefehler
/dev/sdb: read failed after 0 of 4096 at 1746969493504:
2012 Nov 23
2
centos 6.3, cron and mail script output
Hi all
I have a '/etc/cron.daily/push-to-backup' script which the content is:
#!/bin/bash
/usr/bin/rsync [... long options line ...]
echo "finished pushing to the backup"
Launched manually, it's OK.
Waiting for cron to execute it,
In the "/var/log/cron", I see the starting time and the finish time, and
I see it take about 10 minutes to make the job.
2003 Oct 17
1
heatmap function
Hi all,
By default, the heatmap function gives an image with a dendrogram added
to the
left side and to the top. Is it possible to only add the dendrogram to
the left side
and let the order of the columns unchanged ?
I tried
heatmap(mat, col=rbg,Rowv=res.hclust$order,Colv=1:dim(mat)[[2]]).
In this case, the order of the columns are unchanged but a dendrogram
is added to the top. How can I
2012 May 25
2
support for Broadcom BCM4313
Hello,
The support for Broadcom Corporation BCM4313 802.11b/g/n Wireless is
native in the kernel since 2.6.37 (module brcm80211, renamed brcmsmac
since 2.6.39).
But is it backported to some kernel available for CentOS ?
Thanks,
--
Philippe Naudin
2020 Feb 04
5
Relabel /usr directory
Hi,
I've done the following:
- Copy usr content with rsync to another partition:
rsync -av --partial --progress /usr/ /mnt
Then, unmounted, added to fstab a line for /usr, then deleted /usr/* (not
the directory itself). But I've found that is bad labeled:
ls -Z /usr
unconfined_u:object_r:unlabeled_t:s0 bin
unconfined_u:object_r:unlabeled_t:s0 local
unconfined_u:object_r:unlabeled_t:s0
2011 Aug 29
1
mounting an ext3 filesystem "-o ro"
Hi,
I want to do something *bad* : to mount an already mounted ext3
partition.
Mounting "-o bind" is not an option, this partition is mounted by
different virtual machines. NFS is the right way to go, so I want
another one :-)
I have no problem mounting this partition read-only, but it seems
that actually it is not really read-only. From /var/log/messages :
Aug 29 11:26:43 xen02
2020 Feb 04
0
Relabel /usr directory
On 2/4/20 9:59 AM, Sergio Belkin wrote:
> Hi,
> I've done the following:
> - Copy usr content with rsync to another partition:
>
> rsync -av --partial --progress /usr/ /mnt
>
> Then, unmounted, added to fstab a line for /usr, then deleted /usr/* (not
> the directory itself). But I've found that is bad labeled:
>
> ls -Z /usr
>
2005 Jun 16
1
identical results with PQL and Laplace options in lmer function (package lme4)
Dear R users
I encounter a problem when i perform a generalized linear mixed model (binary data) with the lmer function (package lme4)
with R 2.1.0 on windows XP and the latest version of package "lme4" (0.96-1) and "matrix" (0.96-2)
both options "PQL" and "Laplace" for the method argument in lmer function gave me the same results (random and fixed effects
2003 Aug 12
1
classification with quantitative variables
Hi all,
I want to conduct a cluster analysis with quantitative variables.
More precisely, it concerns binary and non-ordered categorical
variables. For such data, various
similarity measures have been proposed, such as the Jaccard index or the
simple matching index.
So, is there a package such as mva or multiv in the case of quantitative
variables?
Could you indicate me reviews, papers or
2006 Aug 02
0
expected survival from a frailty cox model using survfit
Hello R users
Would somebody know how to estimate survival from a frailty cox model,
using the function survfit
and the argument newdata ? (or from any other way that could provide
individual expected survival
with standard error); Is the problem related to how the random term is
included in newdata ?
kfitm1 <- coxph(Surv(time,status) ~ age + sex + disease + frailty(id,
2003 Oct 13
4
help with gsub and grep functions
Hi all,
Let Names a vector of chatacters. For example,
> Names
[1] "g 604 be-0 -p1 (602 matches)" "g 606 Phli-0 -p2 (517 matches)"
[3] "g 608 alu-0 (659 matches)"
I try to use gsub or grep functions for two problems :
1. First, I would like to delete all the characters between parentheses.
[1] "g 604 be-0 -p1" "g 606 be-0 -p2"
[3] "g
2003 Aug 28
2
how to call a C program from R function
Hi all,
I would like to call a C program from R function. I tried to use the
.C() function
without success. I need a very simple example (such as the hello
program) to understand
how it works. Could you give a such example?
(I use the 1.7.1 Version of R with linux)
Does it work in the case of a C++ program instead of a C programm?
Best regards,
Olivier
--
2003 Sep 08
1
graphic of hierachical clustering
Hi all,
I would like to save the dendrogram of a hierarchical clustering.
Let reshc the result of the fucntion hclust(). To save the dendrogram,
I can use the function postscript:
postscript(file="hc605.ps")
plot(as.dendrogram(reshc),horiz=T,ylab="",main=" ")
dev.off()
Using the functions plot and as.dendrogram, it is possible to obtain an
horizontal tree with
2012 Jan 13
1
SELinux and rsh+xauth
Hello,
I have a strange (for me) problem with these two machines :
- Client, a CentOS-5.7 workstation ;
- Server, a CentOS-6.2 headless, up-to-date server.
From Client, I want to use xauth on Server with the help of rsh (yes, I
know, ssh and all this sort of things... another time.)
When SELinux is in permissive mode on Server, all these commands
perform as expected :
rsh Server
2016 Sep 01
2
[Bug 12199] New: multiple link-dest dirs not working
https://bugzilla.samba.org/show_bug.cgi?id=12199
Bug ID: 12199
Summary: multiple link-dest dirs not working
Product: rsync
Version: 3.0.6
Hardware: All
OS: All
Status: NEW
Severity: major
Priority: P5
Component: core
Assignee: wayned at samba.org
Reporter: brian at
2007 Jun 30
2
import data
Hello!
I wonder if you might help me with informations about how to import data with a 2.4.1 R version without the menu "Import data".
Best regards.
Eric Duplex ZOUKEKANG
Ingénieur Zootechnicien
Montpellier SupAgro
Master2 AAA-PARC
tel : +33(0)661432340
zoukekan@supagro.inra.fr
___________________________________________________________________________
[[alternative
2012 Mar 13
2
mkswap, lvm and bootbits sectors
Hello,
I am confused by a warning from mkswap :
When making a swap on a LVM volume, I see the following warning :
mkswap: /dev/vg_SDB1/swap_test6_64: warning: don't erase bootbits
sectors on whole disk. Use -f to force.
Setting up swapspace version 1, size = 1048572 KiB
Is it safe to use mkswap -f in this case ?
(If that matters, the swap is intended for a virtual machine, and
the