Re: [CentOS] gigE -> 100Mb problems

2016-10-11 Thread Ashish Yadav
Hi,

On Tue, Oct 11, 2016 at 6:03 AM, John R Pierce  wrote:

> I've got a pair of identical CentOS 6.7 servers, with SuperMicro X8DTE-F
> motherboards, these have 2 each Intel  82574L ethernet ports.  The eth0
> ports are plugged in with 10' runs of brand new cat 5e cable to a Cisco
> Nexxus 9000 switch (provided by the data center).
>
> These servers keep coming up at 100baseT rather than gigE. I've swapped
> ports and cables with a different server, that server gets gigE but these
> supermicro's are stuck at 100baseT regardless of the port or cableused.
>
> 'ethtool eth0'  says its gigE, but 'mii-tool -v eth0' says its 100baseT
> and doesn't even list gigE as an option, and the cisco switches see it as
> 100baseT too.
>
> anyone else run into anything like this before?
>
>
> This is quite strange but I need you check that if this is a problem with
the cisco switch or server NICs.

Please test that if both the server are communicating with each other at
1Gbps or not via "iperf" tool.

If above gives result of 1Gbps then it will eliminate the NICs problem then
you know that it is a problem with cisco switch only.

--Regards
Ashishkumar S. Yadav

>
>
> --
> john r pierce, recycling bits in santa cruz
>
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Gateway question

2016-08-08 Thread Ashish Yadav
Hi,

You can define your default gateway in "/etc/sysconfig/network" file,

GATEWAY="192.168.1.1"

After that, restart network services.

# systemctl restart network


--Regards
Ashishkumar S. Yadav

On Mon, Aug 8, 2016 at 4:35 PM, Levente Birta  wrote:

> Hi
>
> There is a Centos 7 up-to-date box with 2 interfaces, let's say
> 192.168.1.12 - enp2s0, 192.168.1.13 on enp3s0. Default gateway on enp2s0.
>
> The gateway is pfsense, IP is 192.168.1.1 with 2 WAN connections
>
> On the gateway the outgoing traffic is routed by source ip to different
> WAN, 192.168.1.12 to WAN1 and 192.168.1.13 to WAN2
>
> On the centos box are set all the route and routing rules:
>
> route-enp2s0:
> 192.168.1.0/24 dev enp2s0 src 192.168.1.12 table t2
> default via 192.168.1.1 dev enp2s0 table t2
>
> route-enp3s0:
> 192.168.1.0/24 dev enp3s0 src 192.168.1.13 table t3
> default via 192.168.1.1 dev enp3s0 table t3
>
> rule-enp2s0:
> from 192.168.1.12/32 table t2
> to 192.168.1.12/32 table t2
>
> rule-enp3s0:
> from 192.168.1.13/32 table t3
> to 192.168.1.13/32 table t3
>
>
> All work when I add
> #route add default gw 192.168.1.1 dev enp3s0
>
> And that way I have :
>
> # ip route show
> default via 192.168.1.1 dev enp3s0
> default via 192.168.1.1 dev enp2s0
> 169.254.0.0/16 dev enp2s0  scope link  metric 1002
> 169.254.0.0/16 dev enp3s0  scope link  metric 1003
> 192.168.1.0/24 dev enp2s0  proto kernel  scope link  src 192.168.1.12
> 192.168.1.0/24 dev enp3s0  proto kernel  scope link  src 192.168.1.13
>
> But how can I add achieve this only with ip route command ... without
> route?
> Can I add this in any config files (ex: route-enp2s0)?
>
>
>
> Thanks
>
> --
>Levi
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Centos 6.8 GDM possible bug: can't log into another user

2016-06-08 Thread Ashish Yadav
Hi,

I am also using CentOS 6.8 but it was a pristine installation on my side,
in
my case everything is working fine.

You may be facing this issue due to upgrade.


--Regards
Ashishkumar S. Yadav

On Wed, Jun 8, 2016 at 11:38 PM, Gilbert Sebenste <
seben...@weather.admin.niu.edu> wrote:

> Hello everyone,
>
> Since I upgraded to CentOS 6.8 last week, I am having an issue whereby I
> log out, and then it attempts to log me in as the same user. I then click
> on another user and try to log in, but it instantly blows me right out
> and back to the login prompt for the original user. I do have GDM set up
> to auto-login at boot to a particular user in /etc/gdm/custom.conf, but it
> has always allowed me to log into another account while on the Gnome
> desktop, sitting in front of the computer. Has anyone else seen this
> issue?
>
> Gilbert
>
>
> ***
> Gilbert Sebenste*
> (My opinions only!)  ***
>
> ***
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Suddenly increased my hard disk

2016-04-07 Thread Ashish Yadav
Hi Chandran,


On Thu, Apr 7, 2016 at 10:38 AM, Chandran Manikandan 
wrote:

> Hi John,
> Am currently running dos mode not graphical mode.
> Could you have any other method.
>
> Hi Ashish,
> You are correct.
> qmailtoaster backup file which was around 184 GB in backup.gz type and i
> have removed .bz2 type file with the same backup/mailbkup directory.
>
> After removed .bz2 file it's gone backup.gz also which was 184 GB file.
> I have run this command locate .gz but couldn't find out it.
>
> how do i see the open files.
>
> Could you help me to find out this file or any soln.
>

Follow this link for more information,


--Regards
Ashishkumar S. Yadav
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Suddenly increased my hard disk

2016-04-06 Thread Ashish Yadav
Hi Chandran,


On Thu, Apr 7, 2016 at 9:14 AM, Chandran Manikandan 
wrote:

> Hi All,
>
> I have running Centos 6.5 32 bit machine.
> This machine is running qmailtoaster packages and mailbox size is 385 GB.
>
> if i run the df -h command it show 385 GB out of 1TB
>
> I have run the same command today suddenly shows 576 GB out of 1 TB.
>
> I didn't update any bulk file and mail transaction is not very high.
>
> How do i check this issue and fix it.
>
> how do i find out and why suddenly showing this much of increasing the size
> of hard disk.
>
> Could anyone help me
>

Basically, df reads the superblock only and trusts it completely.  du reads
each object and sums them up.

Any running process can keep a deleted file open. This means the space will
still be reserved and seen by df,
but since du will no longer see a reference to that file in the directory
tree, it cannot see those reserved blocks.

Try to see the number of open file which could be causing the problem.


--Regards
Ashishkumar S. Yadav
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] virt-manager

2015-10-23 Thread Ashish Yadav
Hi,


On Fri, Oct 23, 2015 at 5:11 AM, John R Pierce  wrote:

> On 10/22/2015 4:15 PM, Nux! wrote:
>
>> Try giving the VM a Spice display, instead of VNC, see if that helps.
>>
>
> no idea how to do this, I'm a total newb with KVM.
>
>
Go to virtual hardware details of your VM ( by clicking on the open button
after selecting your VM), in that go to display sections and select spice
from vnc.

--Regards
Ashishkumar S. Yadav
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] recommended methods/software for videocasting

2015-10-08 Thread Ashish Yadav
Hi,

On Thu, Oct 8, 2015 at 3:39 PM, ken  wrote:

> An acquaintance is considering videocasting speakers at a conference and
> using a Twitter product called Periscope.  I'd like to recommend an open
> source solution.  While I've never offered videos over the web, I have made
> audios available, and all it entailed was placing the file on the website
> and putting its url on a visible webpage.  I wouldn't think any more than
> that is required for video.  True?
>
> "Live" videocasting is likely a different animal.  How is this
> accomplished?
>
> Also, which video formats are recommended-- FOSS of course preferred, but
> a FOSS format for which there are readily available client apps on the
> major platforms (MS, Android, OSX, Linux).
>

Take a look at the *Open Broadcaster Software, *




--Regards
Ashishkumar S. Yadav
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 7 Chinese font support

2015-09-29 Thread Ashish Yadav
Hi,


On Tue, Sep 29, 2015 at 4:56 PM, Eric Dong  wrote:

> Hello,
>
> I have installed CentOS7 and found some of the Chinese html web pages
> hosted on the CentOS machine cannot display normally. "yum grouplist"
> cannot find the Chinese support, not quite sure if the Chinese font package
> is included or somewhere else? Can please help suggest how to install the
> Chinese fonts? Thanks.
>

Try this command,

yum groupinstall "Chinese Support"


--Regards
Ashishkumar S. Yadav
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] apache mysterious 404 error

2015-08-28 Thread Ashish Yadav
Hi,

It could be due to some dependency issue aslo, please see the error logs
for more information.

--Regards
Ashishkumar S. Yadav
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] virt-manager with dhcpd running on same machine

2015-08-28 Thread Ashish Yadav
Hi,

On Fri, Aug 28, 2015 at 2:13 AM, Jerry Geis ge...@pagestation.com wrote:

 If I have dhcpd running on my machine,
 and I wish to run virt-manager on the same machine
 How do I do that - its telling me an error for starting the network
 and the error is that DHCPD is already running - port in use.


Above problem is due to dnsmasq services which is used by virt-manager.

For virt-manager's networking details can be found at below link,
http://wiki.libvirt.org/page/VirtualNetworking

Please refer below link to configure dnsmasq it.
https://wiki.archlinux.org/index.php/Dnsmasq

--Regards
Ashishkumar S. Yadav
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] set up login.defs but password still not expire?

2015-06-30 Thread Ashish Yadav
Hi,

On Tue, Jun 30, 2015 at 1:29 AM, mcclnx mcc mcc...@yahoo.com.tw wrote:

 We have Centos 5.8 on LInux server.I setup /etc/login.defs following:
 PASS_MAX_DAYS   3
 PASS_MIN_DAYS   0
 PASS_MIN_LEN8
 PASS_WARN_AGE   1

 after that I chack user password policy and it show:# chage -l user1
 Last password change: Jun 29, 2015
 Password expires: never
 Password inactive   : never
 Account expires : never
 Minimum number of days between password change  : 0
 Maximum number of days between password change  : 9
 Number of days of warning before password expires   : 7

 anyone know why?   I did reboot server still same.


It will not be applied automatically to existing users, you have to do that
manually by running below command,

For an example,

# chage -E 6/30/2015 -m 5 -M 90 -I 30 -W 14 test ( For more information
read Man page )

If you gonna create a new user after making changes into /etc/login.defs
then password policy will be applied automatically
on new user and you can check it by running chage -l username.

--Regards
Ashishkumar S. Yadav
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Centos 6.6 not booting on Virtualbox on Windows host

2015-06-16 Thread Ashish Yadav
Hi,


On Mon, Jun 15, 2015 at 1:59 AM, Animesh Pandey 
animeshpandey.e...@gmail.com wrote:

 Hi,

 I downloaded the QuickStart VM from Cloudera that has preinstalled
 Spark/Hadoop etc. I have been working on that for the last 4-5 weeks and it
 was running absolutely fine, but recently I had to restart my VM. Since,
 then the VM does not restart. It shows the loading bar but after that it
 seems as if it stopped responding. It only shows a small black screen
 http://i.stack.imgur.com/g4JKZ.png and does not go anywhere from there.

 The log http://i.stack.imgur.com/KVYxV.png hangs at Setting up logical
 volume management : 3 logical volume(s) in volume group vol group now
 active.

 I tried logging in using the Single User Mode but still the system hangs at
 the point.

 I don't know what is going wrong?


Try to boot with SystemRescueCD and see that you can mount those LV's.
If that thing does not works then look for any File-System errors.

--Regards
Ashishkumar S. Yadav
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Drive problem

2015-06-16 Thread Ashish Yadav
Hi,

On Tue, Jun 16, 2015 at 2:26 AM, m.r...@5-cent.us wrote:

 I was rsync'ing data from one system to another, and the recipient
 suddenly started throwing DRDY errors. Now, it's a fairly new WD Red 3TB,
 and I'd think it was just a bad drive... but I'm really confused by this,
 from the logs:
 Jun 15 15:34:43 servername kernel: ata3: SError: { Dispar }

 Dispar? And googling, every reference I find to that word always has
 something else there.

 System's running 5.11. Filesystem's xfs.

 Any thoughts?


Please check your SATA data cable first, I have similar experience where
something was
wrong with the cable and it started to give DRDY errors. When I put that
disk into another
machine then it was working fine without any problem.

--Regards
Ashishkumar S. Yadav
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Centos 7 Network Question

2015-05-10 Thread Ashish Yadav
Hi,


On Mon, May 11, 2015 at 9:27 AM, david da...@daku.org wrote:

 I have a question about the network and Centos 7

 I am experimenting with two C7 installations:
 - On relatively new hardware, configured with fixed IP address in IPV4 only
 - on top of Windows, using VMWare, sharing my windows connection via
 Vmware's bridge with IPV4 only.

 On both configurations, I run a script every five minutes to test the
 network.  The sequence is as follows:
 - Find the default interface using ip route
 - Find that interface's IP address by scanning the output of ip route
 for a match in interface.

 If the above tests fail to resolve, I issue systemctl restart network,
 and post a mail message to myself.  When this happens, the network does
 indeed come back correctly.

 I do the same sequence on Centos 6 installations, (using system network
 restart).

 I find that on Centos 6, I almost never get notified that the restart
 occurred (except when there's a real reason).


The BIG difference is systemd and that affects how the system is configured
for service.

For that reason system network restart will not work in CentOS 6. You
should try service network restart .

--Regards
Ashishkumar S. Yadav
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] ldap host attribute is ignored

2015-05-05 Thread Ashish Yadav
Hi,

I am confused about what to do now.
 Do i have to configure anything else in /etc/pam.d apart from system-auth?


IMO, you have to configure sssd.conf properly.

Please add ldap_user_authorized_host = host in your sssd.conf which you
have not configured.
After that please check again.

For more information, please refer below link.

https://lists.fedorahosted.org/pipermail/sssd-users/2015-May/003001.html

--Regards
Ashishkumar S. Yadav
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] ldap host attribute is ignored

2015-05-05 Thread Ashish Yadav
Hi,

On Tue, May 5, 2015 at 3:32 PM, Ulrich Hiller hil...@mpia-hd.mpg.de wrote:

 Dear list members,

 i have installed a CentOS 7 x86_64 system. I want to let users
 authenticate over our ldap server. This seems to be working.
 ldap-username and ldap-passwords are accepted for the users configured
 in the ldap server. No problem.

 Now i want to restrict the access to users who have my centos-machine in
 their ldap host attribute.

 My problem is, that this host attribute seems to be ignored. Any ldap
 user, independent from the host attribute, still can login in.

 What could be the reason? (googling around did not lead me to a solution).


Try to set 'pam_check_host_attr yes' in /etc/ldap.conf .

--Regards
Ashishkumar S. Yadav
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Route traffic through private IP for only certain hosts

2015-04-27 Thread Ashish Yadav
Hi,

On Sun, Apr 26, 2015 at 4:36 PM, Ian barnrac...@gmail.com wrote:

 Hi

 I am having a weird problem which I cant figure out - so I was hoping
 someone here could give me a hand.

 First off the end goal is that a specific server in my network runs an
 IPSEC connection to another company and I want all other servers to route
 traffic for the IP on that network through this single server.

 Server 1 in this example is the server that runs the IPSEC connection.
 (CentOS 6.6)

 Server 2 in this example is an app server that would route traffic for only
 that specific IP through server 1. (CentOS 6.5)


You can follow below link to setup the IPsec site to site VPN tunnel
between two GW.


http://www.enterprisenetworkingplanet.com/netsysm/article.php/3845966/Build-an-IPSEC-VPN-Without-Losing-Your-Mind.htm


After that you have to open up the following port is your Firewall and add
route on both gateway for communicating to respective LAN,

iptables -A input_rule -p esp -j ACCEPT
iptables -A input_rule -p udp --dport 500 -j ACCEPT
iptables -A input_rule -p udp --dport 4500 -j ACCEPT

--Regards
Ashishkumar S. Yadav
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 6.6 x86_64, rpm error: rpmdbNextIterator: skipping h# ...

2015-04-27 Thread Ashish Yadav
Hi,


On Tue, Apr 28, 2015 at 10:37 AM, carlh04...@gmail.com wrote:

 Hi All,

 I had some health issues for a few months and I barely recall dealing
 with Heartbleed ... it's all just a blur. Now I'm getting back up to
 speed, but I have a pair of CentOS 6.6 x86_64 + Virtualmin 4.13 GPL
 servers which no longer seem to be picking up available updates.

 'yum check' ran for about 25 minutes this evening on one of them and
 returned nothing useful.

 rpm -qa --last is returning this (lines intentionally split):

 error: rpmdbNextIterator: skipping h# 259 Header V3 RSA/SHA256 \
 Signature, key ID c105b9de: BAD

 error: rpmdbNextIterator: skipping h#   4 Header V3 RSA/SHA256 \
 Signature, key ID c105b9de: BAD

 error: rpmdbNextIterator: skipping h#1028 Header V3 RSA/SHA1 \
 Signature, key ID c105b9de: BAD

 - - - - 8 snipped for brevity, continuing to end - - - - -8 - - - -

 error: rpmdbNextIterator: skipping h#1019 Header V3 RSA/SHA1 \
 Signature, key ID c105b9de: BAD

 gpg-pubkey-fe837f6f-4e0fd77eThu 17 Jul 2014 12:00:11 AM EDT
 gpg-pubkey-ef1d6db8-4e0fd7f0Thu 17 Jul 2014 12:00:11 AM EDT
 gpg-pubkey-d0ff3d16-4e0fd442Thu 17 Jul 2014 12:00:11 AM EDT
 gpg-pubkey-a0bdbcf9-42d1d837Thu 17 Jul 2014 12:00:11 AM EDT
 gpg-pubkey-11f63c51-3c7dc11dThu 17 Jul 2014 12:00:11 AM EDT
 gpg-pubkey-c105b9de-4e0fd3a3Tue 15 Jul 2014 02:32:15 AM EDT
 gpg-pubkey-0608b895-4bd22942Mon 14 Jul 2014 07:59:25 PM EDT
 gpg-pubkey-6b8d79e6-3f49313dMon 14 Jul 2014 07:57:56 PM EDT

 I'd be extremely grateful for any guidance or ideas you may wish to
 share.


have you tried to rebuild the RPM database using below command,

# rpm --rebuilddb


--Regards
Ashishkumar S. Yadav
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] [SOLVED] Re: CentOS 6.6 x86_64, rpm error: rpmdbNextIterator: skipping h# ...

2015-04-27 Thread Ashish Yadav
Hi,

On Tue, Apr 28, 2015 at 11:00 AM, carlh04...@gmail.com wrote:

 On Tue, 28 Apr 2015 10:47:32 +0530
 Ashish Yadav wrote:

  have you tried to rebuild the RPM database using below command,
 
  # rpm --rebuilddb

 Hi Ashish, and thank you for your reply. I contemplated doing that but
 felt I needed to better understand the problem, first. As it happens, I
 refined my search phrase a few more times and ultimately discovered the
 problem ... and the fix:


I am glad that you found the solution for your problem.

--Regards
Ashishkumar S. Yadav
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] hostname on centos 7.1

2015-04-21 Thread Ashish Yadav
Hi,

Try below command then report.

# hostnamectl set-hostname client.itzgeek.com

If you use this command, you do not require to notify the change in host
name. Close the current session and re launch the terminal.

OR

Directly edit /etc/hostname file and reboot.

# cat /etc/hostname
server.example.com

--Regards
Ashishkumar S. Yadav

On Tue, Apr 21, 2015 at 6:13 PM, Jerry Geis ge...@pagestation.com wrote:

 I have a file /etc/sysconfig/network and in the file is

 cat  /etc/sysconfig/network
 # Created by anaconda
 HOSTNAME=zotac_c7.msgnet.com
 [root@localhost ~]#

 I rebooted and the prompt is still localhost ?

 What is the new thing in CentOS 7 to set the host name
 such that then the prompt is correct also?

 Thanks

 Jerry
 ___
 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] mounted NFS does not show in df -h

2015-04-03 Thread Ashish Yadav
Hi,

On Thu, Apr 2, 2015 at 9:44 PM, Tim Dunphy bluethu...@gmail.com wrote:

 Hey guys,

  This is kind of odd, so I wanted to do a sanity check.

  I mounted an NFS share like so:

 [root@web1:~] #mount -t nfs nfs1.jokefire.com:/home /mnt/home

 Seemed to go ok. Then I took a look at the output of df -h and didn't see
 it!


 [root@web1:~] #df -h
 Filesystem  Size  Used Avail Use% Mounted on
 /dev/vda 40G   24G   14G  64% /
 devtmpfs996M 0  996M   0% /dev
 tmpfs  1001M 0 1001M   0% /dev/shm
 tmpfs  1001M  101M  901M  11% /run
 tmpfs  1001M 0 1001M   0% /sys/fs/cgroup
 s3fs256T 0  256T   0% /backup/cassandradb
 s3fs256T 0  256T   0% /backup/mysql
 nfs1.jokefire.com:/var/www   20G  3.1G   16G  17% /var/www


That is strange!!!




 Yet, when I do a df -h on the directory I mounted the NFS share on, I see
 that it's mounted via NFS as expected:

 [root@web1:~] #df -h /mnt/home
 Filesystem   Size  Used Avail Use% Mounted on
 nfs1.jokefire.com:/home   20G  3.1G   16G  17% /mnt/home

 So, what do you think could be happening? Why is it that I can't see the
 output I'm expecting just by going df -h???


It could be a bug with either mount, coreutils, the kernel or nfs-common.
Please look for update. That may solve this problem.

--Regards
Ashishkumar S. Yadav
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] can't mount an LVM volume inCentos 5.10

2015-04-03 Thread Ashish Yadav
Hi,

On Thu, Apr 2, 2015 at 1:40 AM, Dave Stevens g...@uniserve.com wrote:

 I have a degraded raid array (originally raid-10, now only two drives)
 that contains an LVM volume. I can see in the appended text that the Xen
 domains are there but I don't see how to mount them. No doubt this is just
 ignorance on my part but I wonder if anyone would care to direct me? I want
 to be able to retrieve dom-0 and one of the dom-Us to do data recovery, the
 others are of no interest.

 Suggestions? Will rtfm if directed.

 Dave

 excerpt from failed mount attempts

 --- starting here 

 root@Microknoppix:/home/knoppix# vgchange -ay bulkley
   Volume group bulkley not found
 root@Microknoppix:/home/knoppix# vgchange -ay /dev/VolGroup00/bulkley
   Invalid volume group name: VolGroup00/bulkley
   Run `vgchange --help' for more information.
 root@Microknoppix:/home/knoppix# vgimport -f VolGroup00
   Volume group VolGroup00 is not exported
 root@Microknoppix:/home/knoppix# vgchange -ay VolGroup00
   8 logical volume(s) in volume group VolGroup00 now active
 root@Microknoppix:/home/knoppix# lvscan
   ACTIVE'/dev/VolGroup00/Dom0' [40.00 GiB] inherit
   ACTIVE'/dev/VolGroup00/babine' [100.00 GiB] inherit
   ACTIVE'/dev/VolGroup00/centos-template' [100.00 GiB] inherit
   ACTIVE'/dev/VolGroup00/bulkley-old' [100.00 GiB] inherit
   ACTIVE'/dev/VolGroup00/ubuntu' [10.00 GiB] inherit
   ACTIVE'/dev/VolGroup00/morice' [200.00 GiB] inherit
   ACTIVE'/dev/VolGroup00/oldserver' [80.00 GiB] inherit
   ACTIVE'/dev/VolGroup00/bulkley' [100.00 GiB] inherit
 root@Microknoppix:/home/knoppix# mount /dev/mapper/VolGroup00 aa
 mount: special device /dev/mapper/VolGroup00 does not exist
 root@Microknoppix:/home/knoppix# mount /dev/mapper/bulkley aa
 mount: special device /dev/mapper/bulkley does not exist
 root@Microknoppix:/home/knoppix# mount /dev/mapper/dev/VolGroup00 aa
 mount: special device /dev/mapper/dev/VolGroup00 does not exist
 root@Microknoppix:/home/knoppix# mount /dev/mapper/dev/VolGroup00/bulkley
 aa
 mount: special device /dev/mapper/dev/VolGroup00/bulkley does not exist
 root@Microknoppix:/home/knoppix# mount /dev/mapper/dev/VolGroup00/LogVol00
 aa
 mount: special device /dev/mapper/dev/VolGroup00/LogVol00 does not exist
 root@Microknoppix:/home/knoppix# mount 
 /dev/mapper/dev/VolGroup00/LogVol00/bulkley
 aa
 mount: special device /dev/mapper/dev/VolGroup00/LogVol00/bulkley does
 not exist
 root@Microknoppix:/home/knoppix# mount /dev/VolGroup00/LogVol00/bulkley aa


Please try to mount */dev/VolGroup00/oldserver *not
*/dev/mapper/dev/VolGroup00/LogVol00/bulkley
*because in your *lvscan*
result was showing /dev/VolGroup00/oldserver .

Then share the result.

 --Regards
Ashishkumar S. Yadav
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Centos 6: setfacl: .: Argument list too long

2015-03-24 Thread Ashish Yadav
Hi,

On Tue, Mar 24, 2015 at 11:22 AM, John R Pierce pie...@hogranch.com wrote:

 On 3/19/2015 6:14 PM, muiz wrote:

   I have a Centos 6 (64bit) server used for samba and ACL control.
   There has a folder which a lot of user can access, when I add a new
 user's ACL, but failed, do you know how to resolve this problem?


 put all those users in a group, and delete all the user ACLs on that
 directory, just add the single group ACL


This is a nice way to do. Totally agreed.

--Regards
Ashishkumar S. Yadav
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 6.x desktop specs: minimum requirements

2015-03-24 Thread Ashish Yadav
Hi,

On Tue, Mar 24, 2015 at 12:49 PM, Niki Kovacs i...@microlinux.fr wrote:

 Hi,

 I often have to deal with relatively obsolete hardware in schools, public
 libraries, small town halls, etc. I still have a handful of CentOS 5.x
 installations around for these, but I wonder what CentOS 6.x desktop specs
 are, e. g. the minimum requirements (in terms of CPU and RAM) to reasonably
 run it. Will a battered first-generation P-IV with 512 MB RAM be
 sufficient? How much RAM does 6.x's graphical installer require to even
 start? Or is it better to opt for CentOS 5.x on this sort of dinosaur?


Try considering Bodhi and Puppy Linux also.

--Regards
Ashishkumar S. Yadav
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Centos 6: setfacl: .: Argument list too long

2015-03-23 Thread Ashish Yadav
Hi,

How many user's you have assigned on that directory?


--Regards
Ashishkumar S. Yadav

On Tue, Mar 24, 2015 at 5:30 AM, muiz m...@163.com wrote:

 Hi, James,
  The file system is xfs  (/dev/mapper/centos-home xfs  1891292900
 1556745108 334547792  83% /home)


 Thanks and best regards,
 Muiz

 At 2015-03-23 19:36:02, James Pearson jame...@moving-picture.com
 wrote:
 muiz wrote:
  Dear all,
 
 
   I have a Centos 6 (64bit) server used for samba and ACL control.
   There has a folder which a lot of user can access, when I add a new
 user's ACL, but failed, do you know how to resolve this problem?
 
 
  [root@s1 abc]# getfacl /abc
  # file: abc
  # owner: root
  # group: root
  user::rwx
  user:user01:---
  user:user02:---
  user:user03:---
  ...
  user:user25:---
  group::r-x
  mask::r-x
  other::r-x
  [root@s1 abc]# setfacl -m u:user30:rwx /abc
  setfacl: .: Argument list too long
  [root@s1 abc]#
 
 What file system are you using?
 
 James Pearson
 ___
 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 mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] error building php spec file

2015-03-23 Thread Ashish Yadav
Hi.

Which CentOS version you using?

If it is CentOS 6 then instead of building it from source, you can use IUS
repo which has latest php packages.

Below is the link for the packages in IUS repo for CentOS 6.

http://dl.iuscommunity.org/pub/ius/stable/Redhat/6/x86_64/repoview/

--Regards
Ashishkumar S. Yadav

On Tue, Mar 24, 2015 at 10:25 AM, Tim Dunphy bluethu...@gmail.com wrote:

 Hey all,

  I'm attempting to build a spec file of php 5.6.7 - the latest stable -
 into an rpm. And it's failing with this set of errors:

 Processing files: php-5.6.7-1.el7.x86_64
 warning: File listed twice: /etc/rc.d/init.d/php-fpm
 error: Symlink points to BuildRoot: /usr/bin/phar -

 /home/bluethundr/rpmbuild/BUILDROOT/php-5.6.7-1.el7.x86_64/usr/bin/phar.phar
 warning: File listed twice: /usr/share/man/man1/php-cgi.1.gz
 warning: File listed twice: /usr/share/man/man1/php-config.1.gz
 warning: File listed twice: /usr/share/man/man1/php.1.gz
 warning: File listed twice: /usr/share/man/man1/phpize.1.gz


 RPM build errors:
 File listed twice: /etc/rc.d/init.d/php-fpm
 Symlink points to BuildRoot: /usr/bin/phar -

 /home/bluethundr/rpmbuild/BUILDROOT/php-5.6.7-1.el7.x86_64/usr/bin/phar.phar
 File listed twice: /usr/share/man/man1/php-cgi.1.gz
 File listed twice: /usr/share/man/man1/php-config.1.gz
 File listed twice: /usr/share/man/man1/php.1.gz
 File listed twice: /usr/share/man/man1/phpize.1.gz


 It's claiming the files above are listed twice. However I don't see that''s
 the case at all in the spec file. Here it is:


 [bluethundr@repo SPECS]$ cat php.spec
 Name:   php
 Version:5.6.7
 Release:1%{?dist}
 Summary:PHP is a widely-used general-purpose scripting language.

 Group:  Development/Languages
 License:PHP License v3.01
 URL:http://www.php.net
 Source0:http://www.php.net/distributions/php-%{version}.tar.bz2
 BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-buildroot

 Obsoletes:  php

 %description
 PHP is a widely-used general-purpose scripting language that is especially
 suited for Web development and can be embedded into HTML.

 %prep
 %setup -q -n %{name}-%{version}
 %build
 EXTENSION_DIR=%{_libdir}/php/modules; export EXTENSION_DIR
 %configure --with-layout=GNU --with-libdir=lib64 --with-enchant \
 --enable-fpm --with-gd --enable-intl --enable-mbstring --enable-pcntl \
 --enable-soap --enable-sockets --enable-sqlite-utf8 --enable-zip
 --with-zlib \
 --with-curl --with-jpeg-dir --with-png-dir --with-zlib-dir --with-gettext \
 --with-mcrypt --with-mysql=mysqlnd --with-mysqli=mysqlnd
 --with-pdo-mysql=mysqlnd \
 --with-pdo-sqlite --with-tidy --with-pear=%{_datadir}/php/pear
 --disable-debug

 make %{?_smp_mflags}

 %install
 rm -rf %{buildroot}
 mkdir -p %{buildroot}%{_initrddir}
 install -Dp -m0755 sapi/fpm/init.d.php-fpm.in
 %{buildroot}%{_initrddir}/php-fpm
 %{__make} install INSTALL_ROOT=%{buildroot}

 %clean
 rm -rf %{buildroot}

 %post
 %/sbin/chkconfig php-fpm on

 %preun
 if [ $1 = 0 ] ; then
 /sbin/service php-fpm stop  /dev/null 2
 /sbin/chkconfig --del php-fpm
 fi
 exit 0

 %postun
 if [ $1 -ge 1 ]; then
 /sbin/service php-fpm condrestart  /dev/null 2
 fi
 exit 0

 %files
 %defattr(-,root,root,-)
 %{_bindir}/*
 %{_sbindir}/*
 %{_includedir}/*
 %{_libdir}/*
 %{_mandir}/man1/php*
 %{_sysconfdir}/*
 %{_datadir}/*
 %{_initrddir}/*
 %exclude /.channels
 %exclude /.depdb
 %exclude /.depdblock
 %exclude /.filemap
 %exclude /.lock

 %changelog
 * Mon Mar 23 2015 Mike Willbanks mike @_.com - 5.3.8-1
 - Updated to 5.3.8
 * Mon Mar 23 2015 Mike Willbanks /mikemike @_.com - 5.3.5-1
 - Initial Package

 I tried to build the package by going to the SPECS directory in my
 buildroot and issuing the command: rpmbuild -ba php.spec

 Can anyone point out where I'm going wrong?

 Thanks!!
 Tim



 --
 GPG me!!

 gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B
 ___
 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] (no subject)

2015-03-10 Thread Ashish Yadav
Hi,

Please write the proper subject to the query.

On Tue, Mar 10, 2015 at 4:40 PM, Ravi Roy ravi.a...@gmail.com wrote:

 Hi Guys,

 i've CentOS 6.6 (Final) 64 bit version installed and I can not access the
 online repositories to install/update (pls see eror below the error),  I
 tried to google this error I get a lot of links but nothing I could  really
 solving this  issue. I've already disabled ipv6 and also defined proxy in
 /etc/yum.conf.

 [root@myhost ~]# yum update
 Loaded plugins: fastestmirror, security
 Setting up Update Process
 Determining fastest mirrors
  * c6-media:
 http://mirror.centos.org/centos/6/os/x86_64/repodata/repomd.xml: [Errno
 12]
 Timeout on http://mirror.centos.org/centos/6/os/x86_64/repodata/repomd.xml
 :
 (28, 'connect() timed out!')
 Trying other mirror.
 Error: Cannot retrieve repository metadata (repomd.xml) for repository:
 base. Please verify its path and try again


Have you tried yum clean all then yum update?



 If I try to use 'wget' to get 'repomd.xml' then it works fine.

 [root@myhost ~]# wget
 http://mirror.centos.org/centos/6/os/x86_64/repodata/repomd.xml
 --2015-03-09 20:05:03--
 http://mirror.centos.org/centos/6/os/x86_64/repodata/repomd.xml
 Connecting to xx.xx.xx.xx:80... connected.
 Proxy request sent, awaiting response... 200 OK
 Length: 3751 (3.7K) [text/xml]
 Saving to: “repomd.xml”


 100%[===]
 3,751   --.-K/s   in 0s

 2015-03-09 20:05:03 (14.6 MB/s) - “repomd.xml” saved [3751/3751]

 Has anybody experienced this kind of beahviour and got it working ?

 Thank you in advance for pointers.

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



--Regards
Ashishkumar S. Yadav
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Problem with ntp

2015-03-09 Thread Ashish Yadav
Hi,

On Mon, Mar 9, 2015 at 4:43 PM, C.L. Martinez carlopm...@gmail.com wrote:

 Hi all,

  I have a problem with ntpd daemon in my CentOS7 vm. When I try to list
 peers, command fails:

 [root@c7tst ntpstats]# ntpq
 ntpq pe
 ntpq: read: Connection refused
 ntpq


By default NTP daemon is stopped in CentOS. Please see NTP daemon is
running or not?

Please share the output of netstat -nupl | grep 123 command for more
information.

--Regards
Ashishkumar S. Yadav
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] dhclient.conf

2015-03-03 Thread Ashish Yadav
Hi,

On Wed, Mar 4, 2015 at 4:02 AM, Pol Hallen cento...@fuckaround.org wrote:

 Hi all :-)

 on centos 6 I need keep the hostname from a dhcp server:

 cat /etc/sysconfig/network-scripts/ifcfg-eth0

 DEVICE=eth0
 HWADDR=00:50:56:27:0E:C8
 TYPE=Ethernet
 UUID=20924b21-e92a-4944-a054-06d1967155c1
 ONBOOT=yes
 NM_CONTROLLED=yes
 BOOTPROTO=dhcp
 PEERDNS=yes

 with this config, centos keep only ip from dhcp server (not gw, not dns)

 where is dhclient.conf? I need to create it? If yes, where're the default
 options?


In DHCP server all this parameters (like DNS, GW, Netmask) have to be
configure first. if you want to set the default options
for GW and DNS then please do the changes in DHCP server like below.

Here is the example of dhcpd.conf file,

#
#   DHCP Server Config File
#
ddns-update-style none;
ignore client-updates;

lease-file-name /var/lib/dhcpd/dhcpd.leases;
authoritative;

option domain-name  example.com;
default-lease-time  86400;   # 24 hours
max-lease-time  172800;  # 48 hours

subnet 192.168.1.0 netmask 255.255.255.0 {
option routers  192.168.1.1;
option subnet-mask  255.255.255.0;
option broadcast-address192.168.1.255;
option domain-name-servers  192.168.1.1;
option ntp-servers  192.168.1.1;
range   192.168.1.101   192.168.1.200;
}

--Regards
Ashishkumar S. Yadav
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] user nobody can't access file

2015-02-03 Thread Ashish Yadav
Hi,

On Wed, Feb 4, 2015 at 4:57 AM, John R Pierce pie...@hogranch.com wrote:

 On 2/3/2015 2:32 PM, Tim Dunphy wrote:

 -bash-3.2$ php /var/www/qa/launchpadnew/site/ftp_check.php
 [sudo] password for nobody:


In sudoers file, you have to provide the whole path of the php command to
execute any php file.



 where did sudo even come into this picture?

 does this ftp_check.php script fork a shell with sudo or something?

 sounds like a VERY bad way of doing whatever it is you're trying to do.


I agree with John here. You should use better method to do this.


--Regards
Ashishkumar S. Yadav
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Password Must Change using SSSD in Samba 4.1.10

2015-01-07 Thread Ashish Yadav
Hi,

I am trying to implement the *password must change at next logon* in CentOS
6.5 client using sssd 1.11.6 where Samba 4.1.10 is my backend server.

Here are the list of things which I have done,

1. I have setup the CentOS to do the Domain login using sssd service. I can
able to login into the CentOS client using Domain user's credentials from
display
and from SSH also, no problem at all.

2. Next thing which I want to implement is that password must change
feature into Samba 4.1.10 server. To do that, I have been using Windows 7
ultimate
which is already in Domain and I am using RSAT tools for users and groups
where I have a option to check password must change at next logon option
for particular user.
After doing that Windows machine is honoring this and telling user to
change the password and allowing user to login after changing the password.

3. As far as the CentOS client is concerned, it was not honoring the
password must change and allowing user to login without asking for password
change using sssd with current password.

Here is the configuration file of sssd service,

[sssd]
config_file_version = 2
services = nss, pam
domains = EXAMPLE
sbus_timeout = 30

[nss]
filter_users = root
filter_groups = root
reconnection_retries = 3

[pam]
reconnection_retries = 3
offline_credentials_expiration = 0

[domain/EXAMPLE]
entry_cache_timeout = 600
entry_cache_group_timeout = 600
min_id = 1000
id_provider = ldap
auth_provider = krb5
chpass_provider = krb5
ldap_schema = rfc2307bis
ldap_uri = ldap://smbad.intra.example.com:390/
ldap_search_base = dc=intra,dc=example,dc=com
cache_credentials = true
krb5_server = smbad.intra.example.com:8880
krb5_realm= INTRA.EXAMPLE.COM http://intra.example.com/


ldap_default_bind_dn = cn=admin,dc=intra,dc=example,dc=com

ldap_default_authtok_type = password
ldap_default_authtok = 6pNEn7Eo3zmz9MxciGLx

4. I have also tried to achieve above thing using command line tool
pdbedit but without any luck. Here is the link 
http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/passdb.html#pdbeditthing

which I have followed.

Please share your thoughts in order to help me and move forward to solve
this problem.

Thanks very much and regards,
Ashishkumar S. Yadav
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] System Hangs At Anaconda Detecting Hardware

2014-12-01 Thread Ashish Yadav
Hi,

On Mon, Dec 1, 2014 at 8:58 AM, Mark LaPierre marklap...@gmail.com wrote:

 Hey All,

 I just assembled a new machine.

 Mother Board:   Gigabyte 78LMT-USB3
 Processor:  AMD FX8350
 Memory: Corsair CMZ16GX3M2A1600C10 2x8 GB
 Video:  BFG Tech Nvidia GeForce 9600 GT

 I tried the 6.6 x86_64 netinstall disk.
 I tried the 6.6 x86_64 install DVD

 Both fail at the same place:

 Anaconda installer init version 13.21.229 starting
 mounting /proc filesystem... done
 creating /dev filesystem... done
 starting udev...udev[175]: error setting /sys/class/firmware/timeout: No
 such file or directory
 done

 mounting /dev/pts (unix98 pty) filesystem... done
 mouning /sys filesystem... done
 trying to remount root fiesystem read write... done
 mounting /tmp as tmpfs... done
 running install...
 running /sbin/loader
 detecting hardware...

 That's all she wrote!

 The BIOS detects the 500 GB hard drive, the CD/DVD drive, 16 GB of RAM,
 all eight cores on the CPU, and boots from the CD/DVD.  Then it just
 hangs at detecting hardware.


 http://wiki.centos.org/Manuals/ReleaseNotes/CentOS6.6#head-aa1d1d1c4e306596f8ae129e016ef1f95fc7c36e

 Says:
 The netinstall isos do not work with UEFI installs, but the minimal or
 DVD isos do work with UEFI. No versions of CentOS-6.6 will work with
 Secure Boot turned on. Secure Boot must be disabled to install CentOS-6.6.

 I see nothing in the MB documentation about Secure Boot enabled or
 disabled.  Also not a word about UEFI.

 Any suggestions anyone?


Please make sure that your BIOS firmware is up to date. Have you checked
that?



 --
 _
°v°
   /(_)\
^ ^  Mark LaPierre
 Registered Linux user No #267004
 https://linuxcounter.net/
 
 ___
 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] Setting up NFS on Centos 6.6

2014-11-05 Thread Ashish Yadav
Hi,

On Thu, Nov 6, 2014 at 11:03 AM, c...@qgenuity.com wrote:

 Hello,

 I'm having an unusual amount of trouble setting up Centos 6.6 as an NFS
 server. I have already created my exportfs file and run chkconfig nfs
 on.

 When I try to start the nfs service with service nfs start, I get

 FATAL: Module nfsd not found.
 FATAL: Error running install command for nfsd
 Starting NFS services:  exportfs: internal: no supported addresses in
 nfs_client
 exportfs: 127.0.0.1:/dir-to-share: No such file or directory

[  OK  ]
 Starting NFS quotas:   [  OK  ]
 Starting NFS mountd:   [  OK  ]
 Starting NFS daemon: rpc.nfsd: Unable to access /proc/fs/nfsd errno 2 (No
 such file or directory).
 Please try, as root, 'mount -t nfsd nfsd /proc/fs/nfsd' and then restart
 rpc.nfsd to correct the problem

 When I run mount -t nfsd nfsd /proc/fs/nfsd, I get

 mount: unknown filesystem type 'nfsd'

 Does anyone know what I need to do to get nfs working? My thinking is that
 I need to load a module or two, but I don't know where or how to do this
 in Centos. I've seen a few posts referencing Ubuntu which ask the user to
 apt-get particular packages, but its not clear that this is the right
 approach for Centos.


Please refer this for more information, it is quite easy guide for setting
NFS server in CentOS.


https://www.digitalocean.com/community/tutorials/how-to-set-up-an-nfs-mount-on-centos-6




 Thank you.




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




-- 
Regards
Ashishkumar S. Yadav
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS-virt] Domain Controllers virtualized KVM

2014-10-15 Thread Ashish Yadav
Hi,

On Wed, Oct 15, 2014 at 4:16 PM, Nux! n...@li.nux.ro wrote:

 Hi,

 We currently run AD virtualised (Xenserver, but it shouldn't really
 matter).
 When running Windows on KVM make sure to use virtio (paravirt) devices for
 improved performance. Drivers here:

 https://alt.fedoraproject.org/pub/alt/virtio-win/latest/images/bin/virtio-win-0.1-81.iso

 HTH
 Lucian

 --
 Sent from the Delta quadrant using Borg technology!

 Nux!
 www.nux.ro

 - Original Message -
  From: Andry Michaelidou and...@cs.ucy.ac.cy
  To: centos-virt@centos.org
  Sent: Wednesday, 15 October, 2014 09:54:30
  Subject: [CentOS-virt] Domain Controllers virtualized KVM

  Hello to you all!
 
  We are implementing here at the University KVM virtualization for our
  servers and services and i was wondering if anyone virtualized domain
  cotrollers to KVM.
  Does anyone done this before? Any advice?


Yes, we have done this for PoC. For PoC, we have not stress tested that.
But one thing for sure that it was not putting too much load on host OS.

If you are planning to run in production then keep a count on RAM, Disk I/O
and CPU
of that virtual machine.


 
  --
  Andry Michaelidou Papa | IT Systems Administrator|Department of Computer
  Science| University of Cyprus
  Tel: +357.22.892734 | Fax: +357.22.8927231 | http://www.cs.ucy.ac.cy
 
 
  ___
  CentOS-virt mailing list
  CentOS-virt@centos.org
  http://lists.centos.org/mailman/listinfo/centos-virt
 ___
 CentOS-virt mailing list
 CentOS-virt@centos.org
 http://lists.centos.org/mailman/listinfo/centos-virt




-- 
Regards
Ashishkumar S. Yadav
___
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt


Re: [CentOS-virt] Problems with Windows on KVM machine

2014-02-20 Thread Ashish Yadav
On Thu, Feb 20, 2014 at 1:53 PM, engin...@colocat.ru wrote:

 Sometimes there are messages like
 Feb 17 04:11:28 stor1 rpc.idmapd[3116]: nss_getpwnam: name '0' does not
 map into domain 'localdomain'
 And nothing more. We've done tailing of logs both storage and node -
 nothing. In debug we've got aroung 10Gb of messages but there's noone to
 catch the problem :(


The problem with NFS server,

Try below link to tune NFS server for better performance.

1. http://www.tldp.org/HOWTO/NFS-HOWTO/performance.html

2.
http://www.techrepublic.com/blog/linux-and-open-source/tuning-nfs-for-better-performance/



  1. Try to see the logs on Storage server for more information. What kind
  of
  errors you are getting?
 
  On Wed, Feb 19, 2014 at 4:05 PM, engin...@colocat.ru wrote:
 
  Thanks for the answer.
   I'm not an expert on this, but here is what I would try:
  
   1. Are you using the latest virtio drivers on your Windows guest(s)?
http://alt.fedoraproject.org/pub/alt/virtio-win/latest/images/
  Yes, this version is used
 
   2. Is there any particular reason you use CentOS 6.4 on your storage
   server?
I would update it to CentOS 6.5 so you would have matching Linux
   kernels on both of your systems.
 
  OK, will try and schedule the maintenance, but when it was 6.4
  everywhere
  - all was the same.
 
   Zoltan
 
 
 
 
  ___
  CentOS-virt mailing list
  CentOS-virt@centos.org
  http://lists.centos.org/mailman/listinfo/centos-virt
 
 
 
 
  --
  Regards
  Ashishkumar S. Yadav
  ___
  CentOS-virt mailing list
  CentOS-virt@centos.org
  http://lists.centos.org/mailman/listinfo/centos-virt
 


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




-- 
Regards
Ashishkumar S. Yadav
___
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt


Re: [CentOS-virt] Problems with Windows on KVM machine

2014-02-19 Thread Ashish Yadav
1. Try to see the logs on Storage server for more information. What kind of
errors you are getting?

On Wed, Feb 19, 2014 at 4:05 PM, engin...@colocat.ru wrote:

 Thanks for the answer.
  I'm not an expert on this, but here is what I would try:
 
  1. Are you using the latest virtio drivers on your Windows guest(s)?
   http://alt.fedoraproject.org/pub/alt/virtio-win/latest/images/
 Yes, this version is used

  2. Is there any particular reason you use CentOS 6.4 on your storage
  server?
   I would update it to CentOS 6.5 so you would have matching Linux
  kernels on both of your systems.

 OK, will try and schedule the maintenance, but when it was 6.4 everywhere
 - all was the same.

  Zoltan




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




-- 
Regards
Ashishkumar S. Yadav
___
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt


Re: [CentOS-virt] MS-Win7 kvm guest gets dhcp from host bridge

2014-02-19 Thread Ashish Yadav
On Thu, Feb 20, 2014 at 3:36 AM, Dusty Mabe dustym...@gmail.com wrote:


 On 02/19/2014 04:01 PM, James B. Byrne wrote:
  CentOS-6.5
  i86_64
  qemu-kvm-0.12.1.2-2.415.el6_5.4
  MS-Windows v7proSP1
 
  We have installed a MicroSoft Win7 system as a guest and have joined it
 to our
  MS AD domain. The system runs and has internet access.  However, the IPv4
  address it obtains and the gateway it is assigned are both sourced from
 the
  virtual machine host system and not from our AD DC DHCP server.
 
  To clarify, the virbr0 IP address is 192.168.122.1 and the Windows guest
 has
  that address as its gateway and an IP address in the 192.168.122.0/24
  netblock.  This is not as we desire as the internal addresses we
 regularly
  assign to MS workstations via DHCP are supposed to belong to a different
  netblock entirely.  This permit filtering on incoming and outgoing
 traffic at
  the gateway.
 


1. If I understand you correctly then you want to assign MS-Windows a IP
which should not be from
192.168.122.0/24?

2. If that is yes then you have to configure your DHCP server so that
machine which
is a guest machine should get IP based on their MAC address. In VirtualBox
MAC address is in this range
08:00:27:XX:XX:XX:XX, first three value will be constant for all guests.



  I realize that there is a DHCP service running on virbr0 for the purpose
 of
  provisioning guests with system control traffic but I do not know how to
 limit
  that to its intended purpose and allow another DHCP server to provide
 the IP
  address to the windows guests.  I hope that problem description is not
 too
  confusing.
 
  Can anyone provide me with some guidance on the matter?  Are kvm guests
  required to have either static ip addresses or dhcp addresses provided
 by the
  host system?

 It sounds like what you need to do is create a bridge and then connect
 your virtual machine to the bridge so that it can receive DHCP from the
 external network.  I assume you are using libvirt. If so, check out the
 page below. It may help you get started in the right direction.


 http://wiki.libvirt.org/page/Networking#Bridged_networking_.28aka_.22shared_physical_device.22.29

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




-- 
Regards
Ashishkumar S. Yadav
___
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt


Re: [CentOS] Dual boot on win 8 notebook

2014-02-19 Thread Ashish Yadav
On Wed, Feb 19, 2014 at 3:50 PM, Nikos Gatsis - Qbit ngat...@qbit.grwrote:


 Hello list.
 I need suggestions or tutorial of installing centos on an notebook with
 win 8.1 already installed.
 Than you in advance.


Download the CentOS 6.5 Live ISO from http://www.centos.org/download/.
After that burn that ISO on CD or make a bootable pen drive( For windows
use LiLi is the Live USB creator), install it on one partition of your
choice.

For more information, please refer 
http://www.techotopia.com/index.php/Installing_CentOS_6_with_Windows_in_a_Dual_Boot_Environment
this.




 --
 Untitled Document
 
 *Γατσής Νίκος - Gatsis Nikos*
 Web developer
 tel.: 2108256721 - 2108256722
 fax: 2108256712
 email: ngat...@qbit.gr
 http://www.qbit.gr
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos




-- 
Regards
Ashishkumar S. Yadav
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] createrepo command for 6.4 respin

2014-02-19 Thread Ashish Yadav
On Wed, Feb 19, 2014 at 9:27 PM, Steve Clark scl...@netwolves.com wrote:

 Hi List,

 I have been searching for the correct createrepo command to make a 6.4
 respin.
 We have been doing this with previous versions using
 createrepo -u media://$discinfo -g ${DIR}/my_kickstart${VER}/comps.xml .


What kind of error you are getting when you type above command?


 Which had worked fine until now.

 Thanks,



 --
 Stephen Clark
 *NetWolves*
 Director of Technology
 Phone: 813-579-3200
 Fax: 813-882-0209
 Email: steve.cl...@netwolves.com
 http://www.netwolves.com
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos




-- 
Regards
Ashishkumar S. Yadav
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] bridge network question

2014-02-19 Thread Ashish Yadav
On Thu, Feb 20, 2014 at 4:06 AM, Jerry Geis ge...@pagestation.com wrote:

 I have centos 64 6.5

 I installed bridge-utils
 I installed tunctl

 I added BRIDGE=br0 to ifcfg-eth0
 I created ifcfg-br0 with correct settings

 I did service network restart
 and I get an error about br0 not present.

 When I plug in the second network (USB to ethernet)
 It detects as eth1

 What do I need to change to get this to work.


Please follow this http://www.banym.de/linux/centos/setup-bridge-device-on-
centos link to configure bridge in CentOS.



 Thanks,

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




-- 
Regards
Ashishkumar S. Yadav
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] centos 6.4 networking problem

2013-04-26 Thread Ashish Yadav
Have you verified MAC address of your two NIC's with their respective
network configuration file? Are they same? Sometime that can cause a
problem.


On Fri, Apr 26, 2013 at 11:28 AM, Michel Donais don...@telupton.com wrote:

  On Wed, 24 Apr 2013 07:50:38 -0400
  Michel Donais wrote:
 
   What do you have in /etc/sysconfig/network-scripts?
 
  ifcfg-eth0
  ifcfg-eth1
 
  What are the contents of these tegining;

 The content of these two files was the same as in my 5.9 server. The system
 was working properly at the begining. So I don't understant probably I made
 a bad modification some where.

 For now, I scrapped the 6.4 and push back to 5.9 because of a lack of time
 to get a better understanding of the situation.
 6.0 and up seems to be far different from 5 am I wright?

 Thank's for your help


 ---
 Michel Donais



 
  --
  MELVILLE THEATRE ~ Real D 3D Digital Cinema ~ www.melvilletheatre.com
  www.creekfm.com - FIFTY THOUSAND WATTS of POW WOW POWER!
  ___
  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




-- 
Regards
Ashishkumar S. Yadav
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS-virt] Windows 2012 as a kvm guest

2013-03-11 Thread Ashish Yadav
Try this to start with.

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


On Mon, Mar 11, 2013 at 3:56 PM, C. L. Martinez carlopm...@gmail.comwrote:

 Hi all,

  Has anyone tried it? Virtio drivers works? Any problems or tips?? My
 idea is to use centos 6.3 as host, at first step until I can test
 centos 6.4

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




-- 
Regards
Ashishkumar S. Yadav
___
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt


Re: [CentOS-virt] Windows 2012 as a kvm guest

2013-03-11 Thread Ashish Yadav
In my opinion there would be no problem because I have done that.


On Mon, Mar 11, 2013 at 4:06 PM, C. L. Martinez carlopm...@gmail.comwrote:

 On Mon, Mar 11, 2013 at 10:30 AM, Ashish Yadav gwalash...@gmail.com
 wrote:
  Try this to start with.
 
  http://wiki.centos.org/HowTos/KVM
 
 

 Thanks Ashish, but my question is not how to configure a Windows kvm
 guest. My question is if there are problems to configure Windows 2012
 as a kvm guest.
 ___
 CentOS-virt mailing list
 CentOS-virt@centos.org
 http://lists.centos.org/mailman/listinfo/centos-virt




-- 
Regards
Ashishkumar S. Yadav
___
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt


Re: [CentOS] About VLC 1.1.11 and 1.1.13 on CentOS 6.3 64 bit

2013-03-11 Thread Ashish Yadav
Please take a look at this link

http://forums.if-not-true-then-false.com/index.php?topic=69.0

it may help you.


On Mon, Mar 11, 2013 at 3:25 PM, Mayur Patil ram.nath241...@gmail.comwrote:

 Hello,

I have installed, after a long hiccups,

VLC on centOS. VLC is showing

installed through package  repo.

I tried first VLC 1.1.13 but it says

dependency issues. So I uninstall it and

install 1.1.11 again from repo. This time

installation gets completed and installation

appears in package repo and VLC icon on

the Accessories; but The problem is

when I click on it  displays nothing.

 And also one error occured

it was asking for AMD video drivers but my PC

is Intel based. Confused !!

Seeking for guidance,

Thank you !!
 --
 *Cheers,
 Mayur*.
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos




-- 
Regards
Ashishkumar S. Yadav
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] OT - 'IP' Security and Capturing Software

2013-02-26 Thread Ashish Yadav
Yes I would suggest zoneminder for multiple IP camera recording.


On Tue, Feb 26, 2013 at 3:24 PM, Tom Brown t...@ng23.net wrote:

 
 
  motion. It's in the std. repos. We use it constantly. Got it configured
 to
  send out emails with pointers to the video of moving pictures.

 many thanks - will check it out

 also found zoneminder which looks interesting

 Any ideas on which cameras offer the best value in terms of quality v's
 price?

 thanks

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




-- 
Regards
Ashishkumar S. Yadav
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] sogo

2013-01-18 Thread Ashish Yadav
Yes I have done the installation but for some strange reason it was not
working. Some flaw in documentation, that was not very clear. Hope you will
have some better luck while trying it. Inform me if it works for you.


On Fri, Jan 18, 2013 at 8:24 PM, Paul Bijnens
paul.bijn...@xplanation.comwrote:


 Has anybody some experience with Sogo?
 http://www.sogo.nu/


 --
 Paul Bijnens, XplanationTel  +32 16 397.525
 Interleuvenlaan 86, B-3001 Leuven, BELGIUM  Fax  +32 16 397.552
 ***
 * I think I've got the hang of it now:  exit, ^D, ^C, ^\, ^Z, ^Q, ^^, *
 * quit, ZZ, :q, :q!, M-Z, ^X^C, logoff, logout, close, bye, /bye, ~., *
 * stop, end, ^]c, +++ ATH, disconnect,  halt,  abort,  hangup,  KJOB, *
 * ^X^X,  :D::D,  kill -9 1,  kill -1 $$,  shutdown,  init 0,  Alt-F4, *
 * Alt-f-e, Ctrl-Alt-Del, Alt-SysRq-reisub, Stop-A, AltGr-NumLock, ... *
 * ...  Are you sure?  ...   YES   ...   Phew ...   I'm out  *
 ***
 ___
 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] free memory listing

2012-12-17 Thread Ashish Yadav
free displays the total amount of free and used physical and swap memory in
the system. In your case free -g it showing you how much memory you are
using right now in gigabits.


On Tue, Dec 18, 2012 at 11:52 AM, AshikAli.m ashikal...@gmail.com wrote:

 Hi,

 I have two 64 bit cent Os machine. I googled that in linux always show
 entire memory as used. But below showing only 1 GB  detected.


 *Machine 1  :*
 i) It has 31 GB of ram.

 [root@machine1]# free -g
  total   used   free sharedbuffers
 cached
 Mem:31  1 30  0  0  0
 -/+ buffers/cache:  0 30
 Swap:   49  0 49
 --

 *Machine 2 :*
 i)It has 11 GB of ram.

 [root@machine2]# free -g
   total   used   free sharedbuffers
 cached
 Mem:11 11  0  0  0  9
 -/+ buffers/cache:1 10
 Swap:   49  0 49


 Could you please anyone can explain why ?


 Thanks,
 Ashik
 -*
 *
 ___
 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] full image backup

2012-10-30 Thread Ashish Yadav
Dear Hossein,

  you can also use clonezilla because when you taking whole system
storage backup then it is recommended.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos