Displaying 20 results from an estimated 800 matches similar to: "Can R functions be implented in Matlab"
2012 Nov 21
1
FW: Select a random subset of rows out of matrix
Hi,
This is Madhu and I have a following doubt please give a solution...
**>i have the following data frame
from this i want to select a 80% of data randomly in such a way that
if the selected records are 1 and then we have to get the all records corresponding to 1
similarly for 2 also and soon......... help me
data<-data.frame(x=c(1,1,2,2,2,3,4,4,4),y=c(23,45,87,46,78,12,87,79));**
2004 Nov 03
3
Trust between SAMBA and NT server
Hello,
I'm having problems getting the SAMBA domain to trust an NT domain. The following is how I went about the exercise:
1. On the NT domain, I added the SAMBA domain A/C in the TRUSTING DOMAINS list, providing a certain password.
2. On the SAMBA domain, I executed the following command feeding the same password given in step 1, but without
success:
[root@cobra root]# net rpc trustdom
2004 Oct 27
2
Avoiding user home directories
Hi,
When I connect to SAMBA using a particular username, apart from the shares I created,
it appears that the home directory of the user logging in also shows up in the share list.
I searched for a parameter using which I could control this, but was unsuccessful.
The [HOMES] section of my SMB.CONF looks like:
[homes]
comment = Home Directories
read only = No
create mask
2005 Mar 22
5
Issues with de-installation...
Hi,
I have a system running FC2 with SAMBA-3.0.10-1.fc2 installed on it. I
tried de-installing it, but it failed as follows:
[root@cobra /]# rpm -e samba
error: Failed dependencies:
samba is needed by (installed)
system-config-samba-1.2.22-0.fc2.1
samba = 0:3.0.10 is needed by (installed)
samba-swat-3.0.10-1.fc2
Can anyone suggest how I could go about de-installing the kit?
2016 Apr 26
2
Badlock CVE-2016-2118 in samba release 3.0.35
Hi,
Samba has released patch for CVE-2016-2118 from 3.6.x release onwards. We
use samba 3.0.35 in our product. Is there any patch available for
3.0.35?
--
Regards
Madhu
2019 Aug 07
1
difference in behaviour of --filter --delete: cmdline vs. file
Hello,
I want to avoid transferring a file which is present both on the source
tree and on the target tree when calling rsync with -a --delete.
mkdir -pv src/ dst/
echo file1 > src/file
echo file2 > dst/file
rsync -navi --delete --exclude file src/ dst/
works as expected. The file is not transferred nor is it deleted at
the receiver.
rsync -navi --delete --filter '- file' src/
2009 Aug 25
14
3.4-testing : Kernel panic on bootup (mount: could not find filesystem /dev/root/)
Hi,
I installed XEN 3.4-testing version without much problems in CentOS 5.3
running on quadcore Intel Nahelam processors using the following
installation
steps (as in the README) :
<steps>
hg clone http://xenbits.xensource.com/xen-3.4-testing.hg`
cd xen-unstable.hg
make world
make install
make linux-2.6-xen-config CONFIGMODE=menuconfig
make linux-2.6-xen-build
make linux-2.6-xen-install
2005 Mar 23
3
Problems while installing...
Hi,
I have two Linux systems, one running FC2 and the other Mandrake 10.1.
When I tried installing Samba 3.0.11 on both the systems, I get the
following error:
# rpm -i samba-3.0.11-1.i386.rpm samba-common-3.0.11-1.i386.rpm
warning: samba-3.0.11-1.i386.rpm: V3 DSA signature: NOKEY, key ID
f17f9772
error: Failed dependencies:
liblber-2.2.so.7 is needed by samba-3.0.11-1
2017 Feb 17
2
SMB Multichannel use-cases
Hello,
I'd like to understand the use-cases to use SMB multichannel. Especially,
if the SMB client and Samba server are talking over the WAN.
When does one see an improvement in throughput with multichannel? For
instance, does copying multiple files result in parallel copying over
multiple connections over the same session?
Your inputs are appreciated.
Thanks,
Madhu
2017 Feb 22
2
Linux requirements to support Multichannel
Hi,
Can someone point me to the list of pre-requisites from a linux box
(preferably a VM) for Samba to support SMB Multichannel?
For instance, if multiple interfaces are needed, then should they be of the
same type, speed etc?
Thanks,
Madhu
2020 Apr 23
1
Fwd: Load balancer for dovecot servers - Not able to send emails
Hi John,
Thank you for the reply. Actually it was setup like this by another
member, who left the team/company recently. Now it came to me to handle
that responsibility. That's how I got in to this. At present I am not able
to migrate/upgrade immediately. Because it sends emails around 100K+ emails
everyday and I do not want to disturb that.
Coming back to your question, Actually the
2020 Apr 23
2
Fwd: Load balancer for dovecot servers - Not able to send emails
Hi All,
I need your help on one of the issue in Dovecot.
I have the dovecot version 2.0.9 installed on RHEL linux 6.10 version. It's
a single/standalone Live server.
Now I have created another server with the same configuration for the
resilince purpose. I also tested and I am able to send the emails to both
of the dovecot servers separately/individually. They are working fine.
Now I have
2020 Jul 28
2
Migration issue
Hi Aki & Dovecot team,
Just continuing with the previous discussion "Migration from one server to
2 new servers".
Hi,
I have tried the same way as per your suggestion. But it's throwing an
error.
-------------
[root at production2 log]# doveadm backup -a All -R -u kishore at test.ba.com
imapc:
dsync(kishore at test.ba.com): Info: imapc(production1.baplc.com:143):
Connected
2020 Jul 27
3
Migration from one server to 2 new servers
Fair enough but the command snippet I posted was taken directly from your earlier post dated Mon Jul 27 23:11:06 EEST 2020 and it does say ?production1??I just double-checked as well...
FWIW?the server order in the command you just pasted is the exact reverse from the Jul 27th post I mentioned above?
Here you appear to be exec?ing the command on prod2 and trying to pull from the remote of prod
2020 Jul 27
2
Migration from one server to 2 new servers
I seem to recall a post a while back where, due to the age of the remote end, the remote side command had to be entered in the command executed on the local side.
Do you have dsync on the 2.0.9 machine?
> On Jul 27, 2020, at 4:16 PM, Kishore Potnuru <kishore.reachme at gmail.com> wrote:
>
> This is what my understanding. May be I am also wrong here.
>
> Backup option
2020 Jul 27
2
Migration from one server to 2 new servers
Not sure if this matters but the prompt when attempting the ?doveadm backup? command shows it to be a ?production" server?
[root at production1 <https://dovecot.org/mailman/listinfo/dovecot> test.org.com]# doveadm backup -R -u kishore at test.org.com <https://dovecot.org/mailman/listinfo/dovecot>
remote:vmail at production2.baplc.com
2020 Jul 27
2
Migration from one server to 2 new servers
Well that option set still doesn?t look correct?
Here is the doveadm option set from my 2.2.2 server which is several weeks\months before 2.2.36?
[Jul-27 @ 15:25:09 ] > dovecot --version
2.2.2
[Jul-27 @ 15:26:53 ] > ls -l /usr/local/bin/doveadm
-rwxr-xr-x 1 root root 1379203 May 22 2013 /usr/local/bin/doveadm
[Jul-27 @ 15:25:12 ] > doveadm
usage: doveadm [-Dv] [-f
2012 Nov 22
0
selcting a random sample and saving it in a seprate dataframe and also remaining part in other data frame
HI Madhu,
I guess you got your solution from Rui:
?dat1<-data.frame(x=c(1,1,2,2,2,3,4,4,4),y=c(23,45,87,46,78,12,87,79,76))
s<-sample(unique(dat1[,1]),length(unique(dat1[,1]))*0.8)
?s
#[1] 3 4 2
You can have a list containing both the dataframes
list1<-list(dat1[dat1$x%in%s,],dat1[!dat1$x%in%s,])
list1
[[1]]
#? x? y
#3 2 87
#4 2 46
#5 2 78
#6 3 12
#7 4 87
#8 4 79
#9 4 76
#[[2]]
?# x? y
2020 Jan 09
3
Dovecot HA/Resilience
Thank you Aki for the reply.
But I cannot disturb the version at present as it is a live server and
thousands of emails will circulate every hour.
Could you please suggest me how to create HA/resilience for the existing
environment. I have another server ready with the similar configuration.
Please provide any steps/link for me to proceed on this? It will be a great
help to me.
Thanks,
Kishore
2020 Jul 28
2
Migration from one server to 2 new servers
Hi!
Kishore, you got the command wrong..
`doveadm backup -R -u username-goes-here imapc:`
for this to work, you need to configure following things:
imapc_host = old-host-name
imapc_password = master-password
imapc_master_user = master-user-name
and on the old host you need
passdb {
args = /etc/dovecot/passwd.masterusers
driver = passwd-file
master = yes
pass = yes
}
This should