How to configure GMail SMTP on XenServer 6.5 to monitor and alert about your MDADM Array
-
@mazterjedi said in How to configure GMail SMTP on XenServer 6.5 to monitor and alert about your MDADM Array:
@scottalanmiller said in How to configure GMail SMTP on XenServer 6.5 to monitor and alert about your MDADM Array:
netstat -tulpn | grep 25
[root@xenserver2 ssmtp]# netstat -tulpn | grep 25
tcp 0 0 127.0.0.1:5902 0.0.0.0:* LISTEN 5525/qemu-dm-3
[root@xenserver2 ssmtp]#You have no email server. That will do it.
yum -y install postfix
-
@scottalanmiller
[root@xenserver2 ssmtp]# yum -y install postfix
Loaded plugins: fastestmirror
There are no enabled repos.
Run "yum repolist all" to see the repos you have.
You can enable repos with yum-config-manager --enable <repo>
[root@xenserver2 ssmtp]#[root@xenserver2 ssmtp]# yum repolist all
Loaded plugins: fastestmirror
repo id repo name status
base/7-2.1511.el7.centos.2.10/x86_64 CentOS-7-2.1511.el7.centos.2 disabled
base-debuginfo/x86_64 CentOS-7 - Debuginfo disabled
base-source/7-2.1511.el7.centos.2.10 CentOS-7-2.1511.el7.centos.2 disabled
centosplus/7-2.1511.el7.centos.2.10/x86_64 CentOS-7-2.1511.el7.centos.2 disabled
centosplus-source/7-2.1511.el7.centos.2.10 CentOS-7-2.1511.el7.centos.2 disabled
extras/7-2.1511.el7.centos.2.10/x86_64 CentOS-7-2.1511.el7.centos.2 disabled
extras-source/7-2.1511.el7.centos.2.10 CentOS-7-2.1511.el7.centos.2 disabled
updates/7-2.1511.el7.centos.2.10/x86_64 CentOS-7-2.1511.el7.centos.2 disabled
updates-source/7-2.1511.el7.centos.2.10 CentOS-7-2.1511.el7.centos.2 disabled
repolist: 0 -
Unfortunately, I have no clue what this means.
-
Ah, the ever present "no repos" in XS. Nice to see you again.
Boy does XS like being an appliance, or what?
-
Do this...
yum-config-manager --enable base yum-config-manager --enable extras yum-config-manager --enable updates yum-config-manager --enable centosplus
Then install again.
-
@scottalanmiller said in How to configure GMail SMTP on XenServer 6.5 to monitor and alert about your MDADM Array:
yum-config-manager --enable base
[root@xenserver2 ssmtp]# yum-config-manager --enable base
-bash: yum-config-manager: command not found
[root@xenserver2 ssmtp]#Does the ssmtp at the end of the prompt make a difference? Shouldn't it just be [root@xenserver2] ?
-
@mazterjedi said in How to configure GMail SMTP on XenServer 6.5 to monitor and alert about your MDADM Array:
@scottalanmiller said in How to configure GMail SMTP on XenServer 6.5 to monitor and alert about your MDADM Array:
yum-config-manager --enable base
[root@xenserver2 ssmtp]# yum-config-manager --enable base
-bash: yum-config-manager: command not found
[root@xenserver2 ssmtp]#Does the ssmtp at the end of the prompt make a difference? Shouldn't it just be [root@xenserver2] ?
That ssmtp at the end of the prompt is just showing you your folder location, no big deal.
-
Does Xen not have yum-config-manager installed these days? What a pain.
Anyone have the commands handy for enabling the repos manually?
-
@scottalanmiller said in How to configure GMail SMTP on XenServer 6.5 to monitor and alert about your MDADM Array:
Does Xen not have yum-config-manager installed these days? What a pain.
Anyone have the commands handy for enabling the repos manually?
Didn't we give up on this a while back? LOL.
-
@BRRABill said in How to configure GMail SMTP on XenServer 6.5 to monitor and alert about your MDADM Array:
@scottalanmiller said in How to configure GMail SMTP on XenServer 6.5 to monitor and alert about your MDADM Array:
Does Xen not have yum-config-manager installed these days? What a pain.
Anyone have the commands handy for enabling the repos manually?
Didn't we give up on this a while back? LOL.
No, that we got working.
-
-
@BRRABill said in How to configure GMail SMTP on XenServer 6.5 to monitor and alert about your MDADM Array:
@scottalanmiller said
No, that we got working.
You sure about that?
We will call it "moderately sure."
-
@scottalanmiller said
We will call it "moderately sure."
You just keep thinking that.
I seem to remember the final words before giving up were
"Why do you need this app installed anyway"
And we found another option.But I could be wrong.
-
Just a guess..
For 6.5
sudo yum --enablerepo=base --disablerepo=citrix install postfix
http://xmodulo.com/how-to-install-additional-packages-in.htmlFor 7
http://discussions.citrix.com/topic/378880-xenserver-70-repositories/ post #5