Код:
root@bgbilling:/usr/local/BGCRM# ./crm_start.sh
root@bgbilling:/usr/local/BGCRM# ./crm_status.sh
java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:345)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:589)
at java.net.Socket.connect(Socket.java:538)
at java.net.Socket.<init>(Socket.java:434)
at java.net.Socket.<init>(Socket.java:244)
at ru.bgcrm.Server.executeCommand(Server.java:260)
at ru.bgcrm.Server.main(Server.java:238)
Код:
root@bgbilling:/usr/local/BGCRM# ps ax | grep crm
2136 pts/0 Sl 0:04 /opt/java/jdk/bin/java -Dbgcrm.setup.data=bgcrm -Dbgcrm.transfer.debug=true -Djava.net.preferIPv4Stack=true -Dnetworkaddress.cache.ttl=3600 -Djava.awt.headless=true -Xmx256m -cp .:./lib/ext/*:./lib/app/* ru.bgcrm.Server start
Код:
root@bgbilling:/usr/local/BGCRM# cat bgcrm.properties
server.host.name=localhost
server.port.http=9088
server.port.admin=2010
#
db.driver=com.mysql.jdbc.Driver
db.url=jdbc:mysql://127.0.0.1/bgcrm?jdbcCompliantTruncation=false&useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull
Код:
root@bgbilling:/usr/local/BGCRM# netstat -an | grep 2010
root@bgbilling:/usr/local/BGCRM#
Вижу что порт 2010 закрыт. Почему ?
Код:
root@bgbilling:/usr/local/BGCRM# tail -n 6 log/bgcrm.log
03-14/15:18:01 INFO [main] Server - Starting BGCRM..
03-14/15:18:02 INFO [main] ConnectionPool - MAIN Init DB connection pools.
03-14/15:18:02 INFO [main] ConnectionPool - MAIN Init trash pools..
03-14/15:18:02 ERROR [main] Setup - Active config not found!
03-14/15:18:02 INFO [main] Server - catalinaHome => /usr/local/BGCRM; hostname => localhost
03-14/15:18:02 INFO [main] Server - Try start server HTTP port: 9088; listen address: null