New install from repo using centos minimal install as base. Was able to run setup and get:
Server's certificate does not match the URL. Server's certificate is not trusted. instead of installing from ISO and running install, even after drop db and run setup after yum update: Server's certificate is not trusted. Server's certificate is invalid. Would you like me to create tracker items for: Homer: 500 error DNS resolver points to self without asking for forwarders during setup. Network (ip/mask/gw) is not configured except by DHCP during CentOS setup. It might be helpful to get a newer ISO since this one requires a yum update before setup to get around the certificate issue. On Sat, Jul 7, 2012 at 8:31 AM, Tony Graziano <[email protected]> wrote: > FWIW - The certificate is not being regenerated, as it still have the > original create date/time on it. > > It also seems to keep putting in the dns of its "old" ip address > recieved via dhcp, even after manually changing it and the alias in > sipxconfig. > > How does one manually manage iptables? > > Is it expected that the setup script (centos or sipx) will not allow > one to define ip/mask/gateway manually? > > named would not start with the bare records created. I deleted the > zone file and created it manually. There seem to be multiple syntax > errors with out-of-zone data. Probably formatting but it was > unapparent to me so I just took a template and replaced it to get bind > up. > > not that this matters right now: cant get any output from index.php > after logging into webhomer (server error 500). > > [Sat Jul 07 08:10:19 2012] [error] [client 10.255.255.247] PHP Notice: > Constant _HOMEREXEC already defined in > /var/www/html/webhomer/components/login/login.php on line 30 > [Sat Jul 07 08:10:19 2012] [error] [client 10.255.255.247] PHP Notice: > Undefined index: login in > /var/www/html/webhomer/components/main/main.php on line 42 > [Sat Jul 07 08:10:19 2012] [error] [client 10.255.255.247] PHP > Warning: date(): It is not safe to rely on the system's timezone > settings. You are *required* to use the date.timezone setting or the > date_default_timezone_set() function. In case you used any of those > methods and you are still getting this warning, you most likely > misspelled the timezone identifier. We selected 'America/New_York' for > 'EDT/-4.0/DST' instead in > /var/www/html/webhomer/components/main/main.php on line 46 > [Sat Jul 07 08:10:19 2012] [error] [client 10.255.255.247] PHP Notice: > Undefined variable: header in > /var/www/html/webhomer/components/main/main.php on line 52 > [Sat Jul 07 08:10:19 2012] [error] [client 10.255.255.247] PHP Notice: > Undefined variable: level in > /var/www/html/webhomer/components/main/main.php on line 52 > [Sat Jul 07 08:10:21 2012] [error] [client 10.255.255.247] File does > not exist: /var/www/html/favicon.ico > [Sat Jul 07 08:10:29 2012] [error] [client 10.255.255.247] PHP Notice: > Constant _HOMEREXEC already defined in > /var/www/html/webhomer/components/login/login.php on line 30, referer: > http://10.255.252.59/webhomer/ > [Sat Jul 07 08:10:29 2012] [error] [client 10.255.255.247] PHP Notice: > Undefined index: login in > /var/www/html/webhomer/components/main/main.php on line 42, referer: > http://10.255.252.59/webhomer/ > [Sat Jul 07 08:10:29 2012] [error] [client 10.255.255.247] PHP > Warning: date(): It is not safe to rely on the system's timezone > settings. You are *required* to use the date.timezone setting or the > date_default_timezone_set() function. In case you used any of those > methods and you are still getting this warning, you most likely > misspelled the timezone identifier. We selected 'America/New_York' for > 'EDT/-4.0/DST' instead in > /var/www/html/webhomer/components/main/main.php on line 46, referer: > http://10.255.252.59/webhomer/ > [Sat Jul 07 08:10:29 2012] [error] [client 10.255.255.247] PHP Notice: > Undefined variable: header in > /var/www/html/webhomer/components/main/main.php on line 52, referer: > http://10.255.252.59/webhomer/ > [Sat Jul 07 08:10:29 2012] [error] [client 10.255.255.247] PHP Notice: > Undefined variable: level in > /var/www/html/webhomer/components/main/main.php on line 52, referer: > http://10.255.252.59/webhomer/ > [Sat Jul 07 08:10:46 2012] [error] [client 10.255.255.247] PHP Notice: > Constant _HOMEREXEC already defined in > /var/www/html/webhomer/components/login/login.php on line 30, referer: > http://10.255.252.59/webhomer/index.php?component=search > [Sat Jul 07 08:10:46 2012] [error] [client 10.255.255.247] PHP Notice: > Undefined index: login in > /var/www/html/webhomer/components/main/main.php on line 42, referer: > http://10.255.252.59/webhomer/index.php?component=search > [Sat Jul 07 08:10:46 2012] [error] [client 10.255.255.247] PHP > Warning: date(): It is not safe to rely on the system's timezone > settings. You are *required* to use the date.timezone setting or the > date_default_timezone_set() function. In case you used any of those > methods and you are still getting this warning, you most likely > misspelled the timezone identifier. We selected 'America/New_York' for > 'EDT/-4.0/DST' instead in > /var/www/html/webhomer/components/main/main.php on line 46, referer: > http://10.255.252.59/webhomer/index.php?component=search > [Sat Jul 07 08:10:46 2012] [error] [client 10.255.255.247] PHP Notice: > Undefined variable: header in > /var/www/html/webhomer/components/main/main.php on line 52, referer: > http://10.255.252.59/webhomer/index.php?component=search > [Sat Jul 07 08:10:46 2012] [error] [client 10.255.255.247] PHP Notice: > Undefined variable: level in > /var/www/html/webhomer/components/main/main.php on line 52, referer: > http://10.255.252.59/webhomer/index.php?component=search > [Sat Jul 07 08:14:54 2012] [error] [client 10.255.255.247] PHP Notice: > Constant _HOMEREXEC already defined in > /var/www/html/webhomer/components/login/login.php on line 30 > [Sat Jul 07 08:14:54 2012] [error] [client 10.255.255.247] PHP Notice: > Undefined index: login in > /var/www/html/webhomer/components/main/main.php on line 42 > [Sat Jul 07 08:14:54 2012] [error] [client 10.255.255.247] PHP > Warning: date(): It is not safe to rely on the system's timezone > settings. You are *required* to use the date.timezone setting or the > date_default_timezone_set() function. In case you used any of those > methods and you are still getting this warning, you most likely > misspelled the timezone identifier. We selected 'America/New_York' for > 'EDT/-4.0/DST' instead in > > so I edited /etc/php.ini and put it > ;date.timezone = > date.timezone = "America/New_York" > > I get no more timezone errors from php, still can't login. > > I am still not able to login as a newly created user or superadmin: > [Sat Jul 07 08:28:31 2012] [error] [client 10.255.255.247] PHP Notice: > Constant _HOMEREXEC already defined in > /var/www/html/webhomer/components/login/login.php on line 30, referer: > http://10.255.252.59/webhomer/index.php?component=search > [Sat Jul 07 08:28:31 2012] [error] [client 10.255.255.247] PHP Notice: > Undefined index: login in > /var/www/html/webhomer/components/main/main.php on line 42, referer: > http://10.255.252.59/webhomer/index.php?component=search > [Sat Jul 07 08:28:31 2012] [error] [client 10.255.255.247] PHP Notice: > Undefined variable: header in > /var/www/html/webhomer/components/main/main.php on line 52, referer: > http://10.255.252.59/webhomer/index.php?component=search > [Sat Jul 07 08:28:31 2012] [error] [client 10.255.255.247] PHP Notice: > Undefined variable: level in > /var/www/html/webhomer/components/main/main.php on line 52, referer: > http://10.255.252.59/webhomer/index.php?component=search > [Sat Jul 07 08:28:55 2012] [error] [client 10.255.255.247] PHP Fatal > error: Uncaught exception 'MongoCursorException' with message 'Can > not natively represent the long 1341663205913 on this platform' in > /usr/share/www/webhomer-auth-sipx/auth.php:13\nStack trace:\n#0 > /usr/share/www/webhomer-auth-sipx/auth.php(13): > MongoCollection->findOne(Array)\n#1 > /var/www/html/webhomer/class/index.php(98): > HomerAuthentication->login('200', '200')\n#2 > /var/www/html/webhomer/index.php(33): > include('/var/www/html/w...')\n#3 {main}\n thrown in > /usr/share/www/webhomer-auth-sipx/auth.php on line 13, referer: > http://10.255.252.59/webhomer/index.php?component=search > > On Sat, Jul 7, 2012 at 7:40 AM, Tony Graziano > <[email protected]> wrote: >> ran >> >> service sipxconfig db drop >> Result: 1 >> >> sipxecs-setup --reset >> >> (going through the setup again it asks me hostname, domain, etc., but is >> remembering what I had there before) >> >> So I still have the constraints issue with the certificate. The certificate >> is still invalid. >> >> On Jul 7, 2012 7:14 AM, "Douglas Hubler" <[email protected]> wrote: >>> >>> On Fri, Jul 6, 2012 at 6:13 PM, Tony Graziano >>> <[email protected]> wrote: >>> > it did not ask for any input, just said it was done. certificate still >>> > unusable and not updated. So I should think there would be a way to >>> > generate ssl keys and a script to install them again (it's not >>> > /usr/bin/ssl-cert/gen-ssl-keys.sh) >>> >>> I forgot to mention, certs are not used by internal operations of >>> sipxecs anymore. These certs are only used for public APIs like SIP >>> calls for TLS and WEB APIs to other clients. So even though certs are >>> wrong, replication to itself and thru cluster would still work fine. >>> Instead we use generated ssl keys, which are like certs but they lack >>> a domain name. >>> _______________________________________________ >>> sipx-dev mailing list >>> [email protected] >>> List Archive: http://list.sipfoundry.org/archive/sipx-dev/ > > > > -- > ~~~~~~~~~~~~~~~~~~ > Tony Graziano, Manager > Telephone: 434.984.8430 > sip: [email protected] > Fax: 434.465.6833 > ~~~~~~~~~~~~~~~~~~ > Linked-In Profile: > http://www.linkedin.com/pub/tony-graziano/14/4a6/7a4 > Ask about our Internet Fax services! > ~~~~~~~~~~~~~~~~~~ > > Using or developing for sipXecs from SIPFoundry? Ask me about sipX-CoLab 2013! -- ~~~~~~~~~~~~~~~~~~ Tony Graziano, Manager Telephone: 434.984.8430 sip: [email protected] Fax: 434.465.6833 ~~~~~~~~~~~~~~~~~~ Linked-In Profile: http://www.linkedin.com/pub/tony-graziano/14/4a6/7a4 Ask about our Internet Fax services! ~~~~~~~~~~~~~~~~~~ Using or developing for sipXecs from SIPFoundry? Ask me about sipX-CoLab 2013! -- LAN/Telephony/Security and Control Systems Helpdesk: Telephone: 434.984.8426 sip: [email protected] Helpdesk Customers: http://myhelp.myitdepartment.net Blog: http://blog.myitdepartment.net _______________________________________________ sipx-dev mailing list [email protected] List Archive: http://list.sipfoundry.org/archive/sipx-dev/
