Building Elastix 4 via RPM Repo
-
@scottalanmiller I did with sudo.
-
@ailton-cardozo welcome to the community, by the way!
-
I have not used CentOS 7 on Azure, does sudo -i su not allow you to become root, even with it disabled?
-
@scottalanmiller Thanks for listening.
-
-
@scottalanmiller Unfortunately not. But I will try on Amazon.
-
Wow, that's so weird. How does Azure modify CentOS to that degree, and why?
I suspect no issues on Amazon, they use Xen the same as Rackspace. Digital Ocean uses KVM.
-
@scottalanmiller Before starting the script I saw that it's possible to renable root user based in our discussion. Now i think It will work.
-
Oh good, that makes more sense that it is only off by default, not removed completely!
-
Got this installed except for the same error I see here (http://mangolassi.it/topic/6319/elastix-4-install-errors-with-sqlite-unable-to-update-admin-password/6) Any resolution to this?
The database asterisk is there with a table called "ampusers" where it looks like passwords are stored in a field called "password_sha1".
I had no luck with UPDATE (ing) that table and setting password_sha1=SHA1("newpassword") WHERE user="admin"
Feels so close.
-
@scottalanmiller tried removing this section, but then no password is set for the admin account. I seem installed, but cannot log in. . Am trying on digitalocean as well with centOS 7.
Also, the line "systemctl enable httpd.server" produces file not found error.
-
@nick what does
rpm -qa | grep httpd
return? -
@nick Hello, i´m too in the same part of problem... please if you have any update, let me know. regards!
-
I get that request:
[root@78 ~]# rpm -qa | grep httpd
httpd-2.4.6-40.el7.centos.x86_64
httpd-tools-2.4.6-40.el7.centos.x86_64 -
@rialejo said:
I get that request:
[root@78 ~]# rpm -qa | grep httpd
httpd-2.4.6-40.el7.centos.x86_64
httpd-tools-2.4.6-40.el7.centos.x86_64So
systemctl enable httpd.server
doesn't work butsystemctl start httpd.server
does? -
@scottalanmiller I think no...
[root@78 ~]# systemctl start httpd.server
Failed to start httpd.server.service: Unit httpd.server.service failed to load: No such file or directory.&
[root@78 ~]# systemctl enable httpd.server
Failed to execute operation: No such file or directory -
If it fails to start, how are you getting to the web page shown in the example?
-
Try
systemctl start httpd
-
@scottalanmiller That works... but the user and pass faill...
Could you please confirm the user and pass default?
[root@78 ~]# systemctl start httpd
And its true.. im asked the same, it say error to enable that but showme the initial webpage...
-
@rialejo said:
And its true.. im asked the same, it say error to enable that but showme the initial webpage...
It's because you are getting the name wrong. The .server is not part of the name. Remove that.