logs archiveIRC Archive / Freenode / #centos / 2015 / October / 11 / 1
dharmin
Hi... i have exported nfs shares from my Centes 7 server but centos 7 client does not automatically mount after server reboot , on client these are enabled : nfs-server.service , nfs-client.target, rpcbind , on C7 client fstab entries exists for nfs ,
would appreciate any help/advice..
jab416171
I just set up mail on my server, but there's a bunch of stuff in /var/spool/mail/root. How can I have all of this mail delivered?
xand
it has been delivered.
to that file
jab416171
xand, how can I redeliver it to my real email?
xand
that's where it goes
er
split the file into messages and pipe it into sendmail
jab416171
they'll stay in the spool though, won't they?
xand
you can empty the file
jab416171
hmm
formail -s /usr/sbin/sendmail -oi -t < /var/mail/root
TrevorH
dharmin: use autofs or systemd mounts
jab416171: you want to uncomment the entry in /etc/aliases to send root's mail to your real email address
         

jab416171
TrevorH, I did uncomment it
TrevorH
ran newaliases?
jab416171
yeah
new mail gets delivered appropriately, the question was how to resend old mail
TrevorH
then new mail that arrives from now on ought to go out to that email address
gnudna
find out something new everyday
seems centos does not publish errata for yum to use
just woke up to the function of yum-plugins-security and realized it does not work on centos
Ussat
correct
gnudna
:(
maybe we should figure out how SL does it
seems to work on SL
Ussat
"we" ?
gnudna
we as in centos community
not we as in me and you
dharmin
TrevorH : sorry , I was away .. I have my Centos 7 KVM host , which is NFS Server and the same host has Centos 7 guest which mounts the nf share from Centos KVM host , when reboot the guest it does not mount the nfs share , but on gues if run mount -a , it mounts the nfs share
Olivier
I'm having some issues, for some reason every time I try to install something with yum it always try to connect via ipv6 instead of ipv4
I've tried multiple things I found via google
Motoko
Do you have an IPv6 address on the system?
Olivier
No
Motoko
Normally, that won't happen even if you have just a link-local address.
Olivier
http://pastebin.centos.org/35081/ here is some more info
Motoko
Interesting...
What's the output of "ip addr" and "ip route list"?
Olivier
Motoko
Interesting. I'm not sure what to suggest.
Olivier
Thanks for trying :)
I'm out of ideas aswell
Motoko
I'm normally used to seeing a link local IPv6 though.
         

gnudna
Olivier you on the same machine that this is happening on?
Olivier
No
It's a VM
gnudna
check your route
route -n
Olivier
Running Centos inside VMware workstation to play a bit with it
No ipv6 there
http://pastebin.centos.org/35091/
192.168.178.1 is my vmware adapter to connect to the internet/outside my computer
gnudna
try modifying the /etc/yum.repos.d/Centos-Base.repo file
comment the mirrorlist option and use the the hardcoded link
see if it does the same
there should be a baseurl commented out
try it for base and updates
could be the mirrror your are connecting to has issues possibly?
btw just guessing atm
i am not seeing why your traffic would be trying to use ipv6
Motoko
It's getting an IPv6 address and trying to connect, which is the more odd part.
gnudna
agree
he could blacklist ipv6 to make sure but since i am not seeing it active on the interfaces i do not see the point
Olivier
I did what you suggested gnudna
But it's timing out currently
gnudna
can you ping google?
or anything on the outside world?
Olivier
Yes
gnudna
is it using ipv6?
Olivier
gnudna
Olivier try this
https://www.centos.org/forums/viewtopic.php?f=13&t=4122&sid=0c81c5b5ea13c3017e5092ff4bbb2bd9&start=10
Olivier
Already found that on google and tried all those steps :/
gnudna
so you disabled ipv6 using blacklist
Olivier
I'm about to give it up tbh, all I wanted to do was play a bit with openvz since I found some old templates I created a really long time ago
gnudna
do you use a proxy for the internet
or your provider?
Olivier
No
I used squid on my pfsense router for a while but disabled it a few weeks ago
gnudna
only thing i can think of is possibly how vmware workstation set the NAT or Brdige
i have no experience with VM Workstation so i would not really know
i know on virtualbox i always use bridge mode
so i get a dhcp ip and not some NAT
Olivier
my vmware adapter acts like a dhcp server
I never ran into any problems with debian vm's, I don't have much experience with centos
gnudna
not much difference
Motoko
I haven't had these types of issues. I can only think something's up with the DNS responses.
Olivier
I'm using google's dns servers
8.8.8.8
Motoko
Generally, I avoid NAT and just use bridged mode.
gnudna
same here
Olivier
I'll put it in bridgemode
gnudna
not a fix but possibly a solution ;)
as to why some traffic flows normally and other does not does not make much sense
Olivier
Uh
It's doing something
gnudna
something positive i hope ;)
Olivier
It actually got an IPv4 address o.O
« prev 1 2 3 next »