ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Topics
    2. dom
    3. Posts
    D
    • Profile
    • Following 0
    • Followers 0
    • Topics 0
    • Posts 18
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: Building Elastix 4 via RPM Repo

      @3Mu36 said:

      ping fqdn

      Weird
      ping pbx77.cloudapp.net
      64 bytes from localhost (127.0.0.1): icmp_seq=1 ttl=64 time=0.036 ms
      64 bytes from localhost (127.0.0.1): icmp_seq=2 ttl=64 time=0.063 ms
      64 bytes from localhost (127.0.0.1): icmp_seq=3 ttl=64 time=0.098 ms

      when I install a standard lamp stack on azure its fine its just this Elastix installation thats a problem

      posted in IT Discussion
      D
      dom
    • RE: Building Elastix 4 via RPM Repo

      @scottalanmiller said:

      @3Mu36 Sounds like you've lost networking. If you cannot reach the outside world then definitely nothing here is going to work. The machine is offline and cannot respond. That would make your issue very different than the other one that we are discussing because the one is online and responding. That SSH keeps working is very odd. So networking is not 100% broken, but something major is.

      What is the output of ping 8.8.8.8?

      When I ping 8.8.8.8 it just hangs.

      Here is the output of my log

      Mar 15 16:03:40 pbx77 systemd: Starting Session 2315 of user dom.
      Mar 15 16:03:41 pbx77 dbus[643]: [system] Activating service name='org.freedesktop.problems' (using servicehelper)
      Mar 15 16:03:41 pbx77 dbus-daemon: dbus[643]: [system] Activating service name='org.freedesktop.problems' (using servicehelper)
      Mar 15 16:03:41 pbx77 dbus[643]: [system] Successfully activated service 'org.freedesktop.problems'
      Mar 15 16:03:41 pbx77 dbus-daemon: dbus[643]: [system] Successfully activated service 'org.freedesktop.problems'
      Mar 15 16:03:49 pbx77 su: (to root) dom on pts/1
      Mar 15 16:03:54 pbx77 systemd: Stopping The Apache HTTP Server...
      Mar 15 16:03:55 pbx77 systemd: Starting The Apache HTTP Server...
      Mar 15 16:03:55 pbx77 httpd: AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using pbx77.cloudapp.net. Set the 'ServerName' directive globally to suppress this message
      Mar 15 16:03:55 pbx77 systemd: Started The Apache HTTP Server.

      and google lookup
      nslookup google.com
      Server: 8.8.8.8
      Address: 8.8.8.8#53

      Non-authoritative answer:
      Name: google.com
      Address: 74.125.22.113
      Name: google.com
      Address: 74.125.22.100
      Name: google.com
      Address: 74.125.22.102
      Name: google.com
      Address: 74.125.22.101
      Name: google.com
      Address: 74.125.22.139
      Name: google.com
      Address: 74.125.22.138

      posted in IT Discussion
      D
      dom
    • RE: Building Elastix 4 via RPM Repo

      @JaredBusch

      Yeah I don't get whats going on. I want to be able to access the site over httpd but the dns name is not resolving. I tried a fresh install on pbx99 and the same thing happens. Are you able to install on another VPS?

      posted in IT Discussion
      D
      dom
    • RE: Building Elastix 4 via RPM Repo

      [Thu Mar 10 21:16:37.675087 2016] [suexec:notice] [pid 1292] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
      AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using pbx77.cloudapp.net. Set the 'ServerName' directive globally to suppress this message
      [Thu Mar 10 21:16:38.036481 2016] [auth_digest:notice] [pid 1292] AH01757: generating secret for digest authentication ...
      [Thu Mar 10 21:16:38.037723 2016] [lbmethod_heartbeat:notice] [pid 1292] AH02282: No slotmem from mod_heartmonitor
      [Thu Mar 10 21:16:43.374554 2016] [mpm_prefork:notice] [pid 1292] AH00163: Apache/2.4.6 (CentOS) OpenSSL/1.0.1e-fips PHP/5.4.16 configured -- resuming normal operations
      [Thu Mar 10 21:16:43.374606 2016] [core:notice] [pid 1292] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'

      posted in IT Discussion
      D
      dom
    • RE: Building Elastix 4 via RPM Repo

      er name
      [Thu Mar 10 19:24:23.180141 2016] [ssl:warn] [pid 1304] AH01909: RSA certificate configured for 100.78.250.75:443 does NOT include an ID which matches the server name
      [Thu Mar 10 19:30:56.357463 2016] [:error] [pid 1940] [client 38.88.176.226:50122] PHP Fatal error: Uncaught --> Smarty: unable to write file /var/www/html/var/templates_c/wrt56e1cb705739b3_29122777 <-- \n thrown in /usr/share/php/Smarty/sysplugins/smarty_internal_write_file.php on line 46

      posted in IT Discussion
      D
      dom
    • RE: Building Elastix 4 via RPM Repo

      said:

      Open the Internet Browser using the following URL:
      http://100.78.254.76

      Correct me if Im wrong but shouldnt Elastix be configured to use the public vip instead of internal ip - (for example I setup a lamp stack on pbx66.cloudapp.net - no issues.
      To access your Elastix System, using a separate workstation (PC/MAC/Linux)
      Open the Internet Browser using the following URL:
      http://40.121.19.1

      Do you know which file I can modify to change and test this theory? don't you just hate noobs lol!

      posted in IT Discussion
      D
      dom
    • RE: Building Elastix 4 via RPM Repo

      I opened up the standard ports on azure 80 443 and 22 and the same on centos
      firewall-cmd --zone=public --query-port=443/tcp
      yes
      firewall-cmd --zone=public --query-port=80/tcp
      yes

      posted in IT Discussion
      D
      dom
    • RE: Building Elastix 4 via RPM Repo

      Azure provides the following:
      DNS NAME
      pbx77.cloudapp.net
      HOST NAME
      pbx77
      PUBLIC VIRTUAL IP (VIP) ADDRESS
      40.121.19.1
      INTERNAL IP ADDRESS
      100.78.254.76
      I access the site and I ssh in using the public vip. When Elastix setup it says:
      To access your Elastix System, using a separate workstation (PC/MAC/Linux)
      Open the Internet Browser using the following URL:
      http://100.78.254.76

      After the install I did'nt change anything - which files (conf? host?) can I look at to trouble shoot this?

      posted in IT Discussion
      D
      dom
    • RE: Building Elastix 4 via RPM Repo

      yep it connects

      posted in IT Discussion
      D
      dom
    • RE: Building Elastix 4 via RPM Repo

      Tried both and yes 500 error

      posted in IT Discussion
      D
      dom
    • RE: Building Elastix 4 via RPM Repo

      said:

      nmtui

      BTW should mention that Im using dynamic ip address

      internal ip is 100.78.250.75
      public dynamic is 40.121.19.1

      posted in IT Discussion
      D
      dom
    • RE: Building Elastix 4 via RPM Repo

      said:

      netstat -tulpn

      Active Internet connections (only servers)
      Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
      tcp 0 0 127.0.0.1:20004 0.0.0.0:* LISTEN 2553/php
      tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN 1841/mysqld
      tcp 0 0 0.0.0.0:5038 0.0.0.0:* LISTEN 2519/asterisk
      tcp 0 0 0.0.0.0:110 0.0.0.0:* LISTEN 2496/cyrus-master
      tcp 0 0 0.0.0.0:143 0.0.0.0:* LISTEN 2496/cyrus-master
      tcp 0 0 0.0.0.0:4559 0.0.0.0:* LISTEN 2547/hfaxd
      tcp 0 0 0.0.0.0:53 0.0.0.0:* LISTEN 1295/dnsmasq
      tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 1290/sshd
      tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN 2057/master
      tcp 0 0 0.0.0.0:4190 0.0.0.0:* LISTEN 2496/cyrus-master
      tcp 0 0 0.0.0.0:993 0.0.0.0:* LISTEN 2496/cyrus-master
      tcp 0 0 100.78.250.75:16001 0.0.0.0:* LISTEN 1298/python
      tcp 0 0 0.0.0.0:995 0.0.0.0:* LISTEN 2496/cyrus-master
      tcp6 0 0 :::110 :::* LISTEN 2496/cyrus-master
      tcp6 0 0 :::143 :::* LISTEN 2496/cyrus-master
      tcp6 0 0 :::80 :::* LISTEN 3853/httpd
      tcp6 0 0 :::53 :::* LISTEN 1295/dnsmasq
      tcp6 0 0 :::22 :::* LISTEN 1290/sshd
      tcp6 0 0 :::25 :::* LISTEN 2057/master
      tcp6 0 0 :::443 :::* LISTEN 3853/httpd
      tcp6 0 0 :::4190 :::* LISTEN 2496/cyrus-master
      tcp6 0 0 :::993 :::* LISTEN 2496/cyrus-master
      tcp6 0 0 :::995 :::* LISTEN 2496/cyrus-master
      udp 0 0 0.0.0.0:53 0.0.0.0:* 1295/dnsmasq
      udp 0 0 0.0.0.0:68 0.0.0.0:* 3800/dhclient
      udp 0 0 0.0.0.0:69 0.0.0.0:* 1303/xinetd
      udp 0 0 127.0.0.1:323 0.0.0.0:* 647/chronyd
      udp 0 0 0.0.0.0:4520 0.0.0.0:* 2519/asterisk
      udp 0 0 0.0.0.0:2727 0.0.0.0:* 2519/asterisk
      udp 0 0 0.0.0.0:50631 0.0.0.0:* 3800/dhclient
      udp6 0 0 :::53 :::* 1295/dnsmasq
      udp6 0 0 ::1:323 :::* 647/chronyd
      udp6 0 0 :::53939 :::* 3800/dhclient

      posted in IT Discussion
      D
      dom
    • RE: Building Elastix 4 via RPM Repo

      Something in the installation is incorrect...If i need to change the server name or ip address which file do I do that in? hostfile?

      posted in IT Discussion
      D
      dom
    • RE: Building Elastix 4 via RPM Repo

      @scottalanmiller said:

      yum -y install net-tools

      its already installed - when I run netstat it shows my internal ip here
      cyrus-master
      tcp 0 0 100.78xxxxxxxx
      But I don't see my public ip in the list

      posted in IT Discussion
      D
      dom
    • RE: Building Elastix 4 via RPM Repo

      OK so I ran the install again. prompted me for mysql password and freepbx password. It rebooted so all was good.

      When I go the website it shows me a server error http 500. Is there something else I need to do? ports are open 80, 443 and 3306. Web files look as though they are all there. Permissions?

      posted in IT Discussion
      D
      dom
    • RE: Building Elastix 4 via RPM Repo

      said:

      Try this...

      Awesome, thanks for the tips. Yes Azure is just our test lab I get $190/month credit so why not use it, right? Ill try the cron job and see if that works, will let you know.

      posted in IT Discussion
      D
      dom
    • RE: Building Elastix 4 via RPM Repo

      BTW Im quite new to linux.

      I tried another install a few days back and it was after installing this /root/rpmbuild/RPMS/noarch/elastix-firstboot-3.0.0-6.noarch.rpm
      is when my sudoers files was overwritten - its not your script.

      So how do I do this? "So if you rely on /etc/sudoers, you must keep it updated after any yum run". LINUX noob...sorry guys

      posted in IT Discussion
      D
      dom
    • RE: Building Elastix 4 via RPM Repo

      So I just used your script to install on Centos 7 on Azure. I do get the prompt for MySQL and Freepbx passwords at the end. However after the reboot my sudoers file has been overwritten (WTF?) essentially locking me out as a root user. Now I can't open the httpd ports or even start httpd. Bummer. Anyone else experiencing this on other VM services. I use azure because I have a free account and its just for testing. Maybe if I start fresh and open the ports before the install -will that work? But still left with the problem of root access blown away!

      posted in IT Discussion
      D
      dom
    • 1 / 1