Hi,
error aswell, due to forum limitation ( max. 10000 chars while error in xml format has 55k ) i reduced the error dump. How to get ips into plesk 12 with centos 7 ? I assume reread existing ips should work. Would be very nice if you could fix this issue very very soon.
Here the error:
/usr/local/psa/bin/ipmanage -c 1.2.3.4 -mask 255.255.255.0 -type shared -interface eth0
[2014-08-27 16:22:28] ERR [util_exec] proc_close() failed
Curl failed: SSL connect error
[2014-08-27 16:22:28] ERR [panel] Step failed 'applyCreateIP'. ifmng failed: sh: /sbin/ifconfig: No such file or directory
/sbin/ifconfig 'eth0:1' '1.2.3.4' netmask '255.255.255.0' up exited with non-zero status 127
=== Trace ===
#0 /usr/local/psa/admin/plib/Service/Driver/Ip/Plesk.php(62): Service_Agent->exe cAndGetResponse('ifmng', Array)
#1 /usr/local/psa/admin/plib/Service/Driver/Ip/Plesk.php(16): Service_Driver_Ip_ Plesk->_callIfMng(Array)
#2 /usr/local/psa/admin/plib/IPAddress.php(289): Service_Driver_Ip_Plesk->addIpA ddress('1.2.3.4', '255.255.255.0', 'eth0')
#3 /usr/local/psa/admin/plib/IPAddress.php(235): IPAddress->createInSystem()
#4 /usr/local/psa/admin/plib/Commands/CreateIPAddress.php(39): IPAddress->update ()
#5 /usr/local/psa/admin/plib/Transactional.php(210): CreateIPAddress->applyCreat eIP()
#6 /usr/local/psa/admin/plib/Transactional.php(139): Transactional->apply()
#7 /usr/local/psa/admin/plib/Commands/CreateIPAddress.php(221): Transactional->e xecute()
#8 /usr/local/psa/admin/plib/api-common/cuIPManage.php(326): CreateIPAddress->cr eate('1.2.3.4/2...', 'eth0', 'shared', '1', 0, false, Object(Db_Table_Row_ ServiceNode_ManagementNode), NULL)
#9 /usr/local/psa/admin/plib/api-common/cuIPManage.php(175): cuIPManage->_create ('1.2.3.4')
#10 /usr/local/psa/admin/plib/api-common/AbstractCuExecutor.php(55): cuIPManage- >__construct(NULL)
#11 /usr/local/psa/admin/plib/api-common/CuExecutor.php(32): AbstractCuExecutor- >_execUtil('cuIPManage', NULL)
#12 /usr/local/psa/admin/plib/api-cli/CliUtilityRunner.php(23): CuExecutor->run( )
#13 /usr/local/psa/admin/plib/api-cli/CliUtilityRunner.php(61): CliUtilityRunner ->run()
#14 /usr/local/psa/admin/plib/api-cli/ipmanage.php(4): require_once('/usr/local/ psa/...')
#15 {main}
=== Dump ===
CreateIPAddress Object
(
[ipAddress
rotected] => IPAddress Object
(
[status
rotected] =>
[repairAllowed
rotected] =>
[attr] => Array
(
[id] => 0
[ip_address] => 1.2.3.4
[mask] => 255.255.255.0
[iface] => eth0
[ssl_certificate_id] => 1
[default_domain_id] => 0
[ftps] => false
[serviceNodeId] => 1
[public_ip_address] =>
[main] => false
)
[....]
Curl failed: SSL connect error
ifmng failed: sh: /sbin/ifconfig: No such file or directory
/sbin/ifconfig 'eth0:1' '1.2.3.4' netmask '255.255.255.0' up exited with non-zero status 127
Greetings
Oliver