[CentOS] unsubscribe
Rajeev R. Veedu ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] problems installing samba
Dear all, I am trying to install Samba 3.0.30 on a new Centos 5 machine and I am getting following error. Samba has been downloaded form setnet. Could some please let me know how to fix this? rpmdb: Program version 4.3 doesn't match environment version error: db4 error(-30974) from dbenv-open: DB_VERSION_MISMATCH: Database environment version mismatch warning: cannot open Solve database in /usr/lib/rpmdb/x86_64-redhat-linux/CentO rpmdb: Program version 4.3 doesn't match environment version Rajeev R. Veedu ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Copying files from specific date.
Dear all, Does anyone aware of any utility to copy files which are created or modify form a specific date ?. Thanks Rajeev R. Veedu ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
RE: [CentOS] Copying files from specific date.
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steve Huff Sent: Monday, June 09, 2008 7:34 PM To: centos@centos.org Subject: Re: [CentOS] Copying files from specific date. On Jun 9, 2008, at 11:16 AM, Rajeev R. Veedu wrote: Does anyone aware of any utility to copy files which are created or modify form a specific date ?. to copy all files in /dir1 modified within the last 5 days to /dir2: $ find /dir1 -mtime -5 | xargs -I {} cp {} /dir2 if the filenames have whitespace in them, you can use this trick: $ find /dir1 -mtime -5 -print0 | xargs -0 -I {} cp {} /dir2 for more details on selecting by time: $ man find pay particular attention to the options -atime, -amin, -ctime, -cmin, -mtime, -mmin, and -daystart. -steve -- Actually I need to copy this on to another server with same folder structure. I think I need to explain bit of history. I had a server crash last week, and we have restored the files from the tape. However during this period of making the server up, the users having adding or changed files from our backup Server (Samba server which rsync to production server every night.) now I need to copy the files which user added/ modify last 7 days. Ideally if I can get this option in rsync it would be better. Otherwise I need to have a method so that all changed files to go on the relevant folder on the production server. I cannot take the full files in the backup files since they are historical backup and there are some unwanted files. Can I use scp instead of cp in your statement?. But how does it take the same directory name as the original location? Eg:from ServerA/FLDR2/FLDR3/Filename should go to ServerB/FLDR2/FLDR3/FILENAME Only change is the server name all other values will remain same. Any help would be really appreciated. Thanks Rajeev ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] FW: Partitioning help
Hi, I have Centos server 4.5 with 3.3TB raid disk on a 3 ware controller. Now the problem is that I am not able to see the partition in full since it shows only 1.2TB. I have created a partition with Parted and (GNU PARTED) and I have seen it is 3.3 T there. However I have to make this partition on ext3 with make2efs j /dev/sda1 and after the formatting it went to 1.2T. Could someone help me to address this issue by suggesting a proper partitioning utility which does this for me?. It is a production server on which 2 hdd had been failed and I need to make it up and running ASAP. Any suggestion and help would be really appreciated. Regards, Rajeev R. Veedu ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
RE: [CentOS] Retrieving a banned e-mail
We have a postfix+cyrus+Spamassassin setup and all the virus or Banned or spam e-mails will move to a folder on /var/virusmails. egrep From:|To:|Subject: /var/virusmails/* I have a falseposative mail moved due to a banned attachment name. Could you please help me to retrieve these e-mails? How do I forward this e-mail and attachments to the concerned user? Thanks Rajeev ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
RE: [CentOS] Retrieving a banned e-mail
Thanks for your support. I think in panic I did not mention amavisd. It was amavisd-release command I was after. Thanks Rajeev -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alain Spineux Sent: Tuesday, November 13, 2007 6:47 PM To: CentOS mailing list Subject: Re: [CentOS] Retrieving a banned e-mail using sendmail command. first try to send it to yourself, to calibrate the sendmail command and option then send it to the user. Just an hint On Nov 13, 2007 3:28 PM, Rajeev R Veedu [EMAIL PROTECTED] wrote: We have a postfix+cyrus+Spamassassin setup and all the virus or Banned or spam e-mails will move to a folder on /var/virusmails. egrep From:|To:|Subject: /var/virusmails/* I have a falseposative mail moved due to a banned attachment name. Could you please help me to retrieve these e-mails? How do I forward this e-mail and attachments to the concerned user? Thanks Rajeev ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos -- Alain Spineux aspineux gmail com May the sources be with you ___ 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] getmailrc
Hi, I am trying to configure getmail to fetch mails from my company's catchall account and I am not successful in getting it work. Could you please post a getmailrc file for Postfix+cyrus_imap setup? thanks Rajeev R. Veedu ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
RE: [CentOS] Formatting a large disk
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of John R Pierce Sent: Monday, September 24, 2007 1:16 AM To: CentOS mailing list Subject: Re: [CentOS] Formatting a large disk William L. Maltby wrote: IIRC, sector size is controlled at the hardware level(used to be set with jumpers and/or low-level format programs?). I seem to recall that new drives don't really have sectors anymore, but have supporting circuits/(EE)proms that emulate that? no, sectors are still 512 bytes (plus ECC and header info) on the physical disk. its the 'heads' and 'cylinders' that are abstracted. there's still heads and cylinders, its just that different zones of the disk have differing sector/track counts. I got a Gparted live CD and tried to create a partition for 3tb but still the maximum size of partition I could create is 0.75gb. it shows 2.0tb space as unused but If I add another partition it doesn't take(it says no empty cylinders). The version I am tiring to install is centos5. Thanks Rajeev ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[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] Problem with VSFTP
I have a vsftp server hosted on custom dyndns site. We have a 4mb ADSL connection. When I tried to download the files from the ftp server with wan IP address or the dyndns address it downloads some files and disconnects. Please find below an extract from the log file (ace ftp client). I would appreciate if someone could guide me, possibly with a solution for this problem. Many thanks Rajeev 150 Opening BINARY mode data connection for 4393 MP001.dwg (15434547 bytes). 226 File send OK. Transferred 15,434,547 bytes in 20.02 seconds (753.04 KB/s) PASV 227 Entering Passive Mode (86,98,38,95,118,208) RETR 4393 MP002.dwg 150 Opening BINARY mode data connection for 4393 MP002.dwg (9642920 bytes). 226 File send OK. Transferred 9,642,920 bytes in 11.64 seconds (809.01 KB/s) PASV 227 Entering Passive Mode (86,98,38,95,91,22) RETR 4393 SC001.dwg 150 Opening BINARY mode data connection for 4393 SC001.dwg (382929 bytes). 226 File send OK. Transferred 382,929 bytes in 0.20 seconds (1842.14 KB/s) PASV 227 Entering Passive Mode (86,98,38,95,54,129) RETR 4393a1frontpage.dwg 150 Opening BINARY mode data connection for 4393a1frontpage.dwg (1709818 bytes). 226 File send OK. Transferred 1,709,818 bytes in 0.95 seconds (1752.09 KB/s) PASV Connection aborted Unable to open data socket Delaying for 5 seconds before next attempt... Processing item, attempt 2... Connecting to 86.98.38.95 on port 21. Attempt 1 of 3... 220 Welcome to Our FTP server. USER Ourferns 331 Please specify the password. PASS * 230 Login successful. Server Type: UNIX (standard) FEAT My VSFTPD.CONF anonymous_enable=NO local_enable=YES write_enable=YES xferlog_enable=YES connect_from_port_20=YES chown_uploads=YES xferlog_file=/var/log/vsftpd.log xferlog_std_format=YES ftpd_banner=Welcome to our FTP server. # chroot_list_enable=YES chroot_list_file=/etc/vsftpd.chroot_list #chroot_local_user=YES pam_service_name=vsftpd userlist_enable=YES #enable for standalone mode listen=YES tcp_wrappers=YES ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] SATA vs. SAS
I have 8 WD SATA HDD with raid ready (3mbps) hard disks on a 8 port 3ware controller.(on raid 5.) Does anyone have a comparison on SATA raid and SAS raid disk. As you know SAS disk are very expensive and I would like to know from experts in the list who could suggest which of the following would be the best. Option 1) 2 servers each having 2.0TB raid disk with SAS drives, 2GB ram and standard other features. Option 2) 4 No servers with 1TB each with 2GB ram and standard other features. If Data files (mostly AutoCAD Drawings of size 5MB to 50MB) are distributed as per the above options do you think which could perform better?. As you know the price of SATA disk is much cheaper than the SAS disk and we could nearly by 4 servers for that money. Probability work disturbed by a server crash is low in the second case but I am not sure about the comparison on performance. I would appreciate if you could spread some thought in this regards, and apologize if this is out of topic. Best regards, Rajeev ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
RE: [Centos] problem with fetchmail
Alexander, Could you please tell me how do I specify this --expunge count ?. Thanks Rajeev R. Veedu -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alexander Dalloz Sent: Sunday, August 19, 2007 4:29 PM To: CentOS mailing list Subject: Re: [CentOS] problem with fetchmail Rajeev R Veedu schrieb: Could someone form the list please let me know an equalent pop connector to fetchmail?. I have problem with fetchmail that it downloads only 99 mails and in the event of mails exceeding this limit will result a socket error. Fetchmail: Query status=2 (SOCKET) Rajeev R. Veedu Tried using --expunge count? getmail is an alternate to fetchmail. 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