Step through these errors, they are LINUX issues...

> /usr/bin/sipx-config: line 75: which: command not found


then

yum install which

I don;t think right now these are necessarily sipx issues, just linux
ones... read the output.

On Mon, Jun 21, 2010 at 8:35 AM, maybelater <[email protected]> wrote:
> Thanks Tony,
>
> after another fresh install ,
> here ´s the result:
>
> -bash-3.2# sipxecs-setup
>
> Executing:
>  /sbin/service sipxecs start
>
> ntpd is stopped
> Starting ntpd:                                             [  OK  ]
> /usr/bin/sipx-config: line 75: which: command not found
> Version /usr/bin/sipx-config: line 53: -version: command not found not
> compatible
> Cannot locate the Java VM on your machine or wrong version of Java
> installed. Please either install Java
>  or set the SIPX_JAVA_HOME environment variable to where you've installed
> it.
>
> bash: -Dconf.dir=/etc/sipxpbx: No such file or directory
> Starting postgresql service:                               [  OK  ]
> /usr/bin/sipx-config: line 75: which: command not found
> Version /usr/bin/sipx-config: line 53: -version: command not found not
> compatible
> Cannot locate the Java VM on your machine or wrong version of Java
> installed. Please either install Java
>  or set the SIPX_JAVA_HOME environment variable to where you've installed
> it.
>
> Initializing configuration database...
> /usr/bin/sipxconfig.sh: line 126: -Dant.library.dir=/var/sipxdata/tmp: No
> such file or directory
>
> /usr/bin/sipx-config: line 75: which: command not found
> Version /usr/bin/sipx-config: line 53: -version: command not found not
> compatible
> Cannot locate the Java VM on your machine or wrong version of Java
> installed. Please either install Java
>  or set the SIPX_JAVA_HOME environment variable to where you've installed
> it.
>
> Checking bootstrap setup:                                  [  OK  ]
> Checking TLS/SSL configuration:                            [  OK  ]
> Checking Per-process file descriptor limits:               [  OK  ]
> Checking rpm configuration file updates:                   [  OK  ]
> Checking SELinux is not enforcing:                         [  OK  ]
> Checking Apache configuration:                             [  OK  ]
> Checking hostname is fully qualified:                      [  OK  ]
> Checking localhost address configured:                     [  OK  ]
> Checking localhost name is not shared:                     [  OK  ]
> Checking /tmp directory has correct permissions:           [  OK  ]
>
> Starting sipXpbx:
> Starting sipxsupervisor:                                   [  OK  ]
> Starting httpd:                                            [  OK  ]
>
>
> -bash-3.2# sipxproc --state
> {"FreeSWITCH"=>"Disabled",
>  "sipXmrtg"=>"Disabled",
>  "SipXrest"=>"Disabled",
>  "SipXopenfire"=>"Disabled",
>  "sipXrecording"=>"Disabled",
>  "SIPRegistrar"=>"Disabled",
>  "sipXprovision"=>"Disabled",
>  "ParkServer"=>"Disabled",
>  "ConfigAgent"=>"Disabled",
>  "CallResolver"=>"Disabled",
>  "ACDServer"=>"Disabled",
>  "SIPStatus"=>"Disabled",
>  "ConfigServer"=>"ConfigurationTestFailed",
>  "CallResolver-Agent"=>"Disabled",
>  "SipXbridge"=>"Disabled",
>  "sipXivr"=>"Disabled",
>  "PageServer"=>"Disabled",
>  "PresenceServer"=>"Disabled",
>  "ResourceListServer"=>"Disabled",
>  "SipXrelay"=>"Disabled",
>  "SIPXProxy"=>"Disabled",
>  "SharedAppearanceAgent"=>"Disabled"}
>
> Java is definitely installed as it when yum installed sipxecs,
>
> java -version
> java version "1.6.0_0"
> OpenJDK Runtime Environment (IcedTea6 1.6) (rhel-1.11.b16.el5-x86_64)
> OpenJDK 64-Bit Server VM (build 14.0-b16, mixed mode)
>
>
>
> -----Ursprüngliche Nachricht-----
> Von: Tony Graziano [mailto:[email protected]]
> Gesendet: Sonntag, 20. Juni 2010 13:52
> An: maybelater
> Cc: [email protected]; [email protected]
> Betreff: Re: [sipx-users] installation on fresh centos 5.0
>
> and if iptables happens to be running, stop iptables.
>
> On Sun, Jun 20, 2010 at 7:45 AM, Tony Graziano
> <[email protected]> wrote:
>> you would reboot the server when done, so sipxecs start automatically...
>>
>> service sipxecs status
>>
>> then you would give it a minute or two to unpack the war files and
>> load the web interface
>>
>> http://hostname
>>
>> (it will redirect you to) https://hostname:8443/sipxconfig
>>
>> If you installed from RPM it should have fetched and installed java.
>> find it if you think it did not.
>>
>> locate libjava.so
>>
>> It would be interesting to understand if you followed the steps he
>> outlined to you, because these steps always work for everyone else..
>>
>> Did you run the sipx setup script to set the hostanme, ip, sipdomain,
>> etc.? Can your pc resolve the hostname?
>>
>> On Sun, Jun 20, 2010 at 7:35 AM, maybelater <[email protected]> wrote:
>>> I would but I only got ssh-access to the server.
>>> Thanks again
>>>
>>> -----Ursprüngliche Nachricht-----
>>> Von: Tony Graziano [mailto:[email protected]]
>>> Gesendet: Sonntag, 20. Juni 2010 13:27
>>> An: maybelater
>>> Cc: [email protected]; [email protected]
>>> Betreff: Re: [sipx-users] installation on fresh centos 5.0
>>>
>>> then install from the sipx ISO
>>>
>>> On Sun, Jun 20, 2010 at 3:59 AM, maybelater <[email protected]> wrote:
>>>> Thanks for the heads up, but
>>>> The last try was also unsuccessfull:
>>>> I reinstalled the system, made sure that
>>>> No webserver
>>>> No java
>>>> Was installed before I started with sipx.
>>>> #Java --version
>>>> Showed me : no java.
>>>>
>>>> #Ps -a showed me no http-service.
>>>>
>>>> Still, same result. Just that &$&/%/& gui ist not responding
>>>> And still SIPX_JAVA_HOME missing or missconfigured. I am close
>>>> To giving up....
>>>>
>>>>
>>>>
>>>> -----Ursprüngliche Nachricht-----
>>>> Von: Tony Graziano [mailto:[email protected]]
>>>> Gesendet: Samstag, 19. Juni 2010 21:11
>>>> An: [email protected]
>>>> Cc: maybelater; [email protected]
>>>> Betreff: Re: [sipx-users] installation on fresh centos 5.0
>>>>
>>>> I normally just do a normal, basic Centos install (5.4 or 5.5) and add
>>>> the repo and run the install.
>>>>
>>>> The error you are getting makes me think you installed java as part of
>>>> the centos installation instead of letting sipx do it, so either the
>>>> versions or paths conflict. I deselect apache and everything, just let
>>>> sipx fetch what it needs to.
>>>>
>>>> Here is what Matthew referred to...
>>>>
>>>>
>>>> ***
>>>> Reply to all
>>>>        from    [email protected] <[email protected]>
>>>> to      [email protected]
>>>> date    Tue, Dec 22, 2009 at 9:42 PM
>>>> subject Re: [sipx-users] 32 or 64 bit? CentOS 5.2 or 5.4?
>>>> mailing list    sipx-users.list.sipfoundry.org Filter messages from this
>>>> mailing list
>>>> unsubscribe     Unsubscribe from this mailing-list
>>>> hide details 12/22/09
>>>> In case anyone finds it helpful, here are the steps I did for getting
>>>> everything going on 64 bit and mirroring the functionality of the ISO
>>>> install as closely as I could.
>>>>
>>>> Installed CentOS 64 bit. Deselected every package except base install.
>>>> Disabled firewall and SELinux
>>>>
>>>> Ran these commands:
>>>>
>>>> wget -P /etc/yum.repos.d/
>>>> http://sipxecs.sipfoundry.org/pub/sipXecs/sipxecs-stable-centos.repo
>>>>
>>>> yum install e2fsprogs grub kernel ntp dhcp bind caching-nameserver gdb
>>>> strace yum-basearchonly yum-downloadonly java-1.6.0-sun
>>>> java-1.6.0-sun-fonts sipxecs-release sipxecs
>>>>
>>>> chkconfig postgresql off
>>>> chkconfig portmap off
>>>> chkconfig netfs off
>>>> chkconfig nfslock off
>>>>
>>>> reboot
>>>>
>>>>
>>>> /usr/bin/sipxecs-setup-system
>>>>
>>>> reboot
>>>> ***
>>>> --
>>>> ======================
>>>> Tony Graziano, Manager
>>>> Telephone: 434.984.8430
>>>> sip: [email protected]
>>>> Fax: 434.984.8431
>>>>
>>>> Email: [email protected]
>>>>
>>>> LAN/Telephony/Security and Control Systems Helpdesk:
>>>> Telephone: 434.984.8426
>>>> sip: [email protected]
>>>> Fax: 434.984.8427
>>>>
>>>> Helpdesk Contract Customers:
>>>> http://www.myitdepartment.net/gethelp/
>>>>
>>>> Why do mathematicians always confuse Halloween and Christmas?
>>>> Because 31 Oct = 25 Dec.
>>>>
>>>>
>>>
>>>
>>>
>>> --
>>> ======================
>>> Tony Graziano, Manager
>>> Telephone: 434.984.8430
>>> sip: [email protected]
>>> Fax: 434.984.8431
>>>
>>> Email: [email protected]
>>>
>>> LAN/Telephony/Security and Control Systems Helpdesk:
>>> Telephone: 434.984.8426
>>> sip: [email protected]
>>> Fax: 434.984.8427
>>>
>>> Helpdesk Contract Customers:
>>> http://www.myitdepartment.net/gethelp/
>>>
>>> Why do mathematicians always confuse Halloween and Christmas?
>>> Because 31 Oct = 25 Dec.
>>>
>>>
>>
>>
>>
>> --
>> ======================
>> Tony Graziano, Manager
>> Telephone: 434.984.8430
>> sip: [email protected]
>> Fax: 434.984.8431
>>
>> Email: [email protected]
>>
>> LAN/Telephony/Security and Control Systems Helpdesk:
>> Telephone: 434.984.8426
>> sip: [email protected]
>> Fax: 434.984.8427
>>
>> Helpdesk Contract Customers:
>> http://www.myitdepartment.net/gethelp/
>>
>> Why do mathematicians always confuse Halloween and Christmas?
>> Because 31 Oct = 25 Dec.
>>
>
>
>
> --
> ======================
> Tony Graziano, Manager
> Telephone: 434.984.8430
> sip: [email protected]
> Fax: 434.984.8431
>
> Email: [email protected]
>
> LAN/Telephony/Security and Control Systems Helpdesk:
> Telephone: 434.984.8426
> sip: [email protected]
> Fax: 434.984.8427
>
> Helpdesk Contract Customers:
> http://www.myitdepartment.net/gethelp/
>
> Why do mathematicians always confuse Halloween and Christmas?
> Because 31 Oct = 25 Dec.
>
> _______________________________________________
> sipx-users mailing list [email protected]
> List Archive: http://list.sipfoundry.org/archive/sipx-users
> Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-users
> sipXecs IP PBX -- http://www.sipfoundry.org/
>



-- 
======================
Tony Graziano, Manager
Telephone: 434.984.8430
sip: [email protected]
Fax: 434.984.8431

Email: [email protected]

LAN/Telephony/Security and Control Systems Helpdesk:
Telephone: 434.984.8426
sip: [email protected]
Fax: 434.984.8427

Helpdesk Contract Customers:
http://www.myitdepartment.net/gethelp/

Why do mathematicians always confuse Halloween and Christmas?
Because 31 Oct = 25 Dec.
_______________________________________________
sipx-users mailing list [email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-users
Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-users
sipXecs IP PBX -- http://www.sipfoundry.org/

Reply via email to