[ERROR]: BIRD client errors: 1: Socket not found

Michael McConnell michael at winkstreaming.com
Sat Apr 29 03:39:47 CEST 2017


This is definitely not for this mailing list, but I’ll quickly answer.

The php code looks fairly straight forward;

if ($query_type){
    if (preg_match("/^(ping|ping6)$/",$query_type) || preg_match("/^(trace|trace6)$/",$query_type)){
	//Do nothing here
    }else{
	if (is_array($config)){
	    if (isset($config['birdc'])||isset($config['birdc6'])){
		$socket_path=$config['birdc'];
		if ($protocol=="ipv6"){
		    $socket_path=$config['birdc6'];
		}
		if (!@file_exists($socket_path)){
		    $error[]="Socket not found";
		}
	    }else{
		$error[]="Config error: check socket path";
	    }
	}else{
	    $error[]="Config error: check config file";
	}
    }
}else{
    $error[]="Can`t get query type";
}

I’ve bolded the error, basically file_exists is not true, for the file birdc or birdc6

Check the config files and ensure php is not chrooted to a path that is unable to run birdc or birdc6

Good luck,
Mike

--
Michael McConnell
WINK Streaming;
email: michael at winkstreaming.com <mailto:michael at winkstreaming.com>
phone: +1 312 281-5433 x 7400
cell: +506 8706-2389
skype: wink-michael
web: http://winkstreaming.com <http://winkstreaming.com/>
> On Apr 28, 2017, at 7:30 PM, Ajai Kumar <joinajay1 at gmail.com> wrote:
> 
> Dear Michael,
> Thanks for prompt response. Basically I have downloaded from http://bird-lg.subnets.ru/ <http://bird-lg.subnets.ru/>  and I am getting the preview like http://bird-lg.subnets.ru/lg/index.php <http://bird-lg.subnets.ru/lg/index.php>. It is very good for IPv4 all command and ping6 only.
> 
> It is php based bird-lg and you are referring python based lg. My team is not able to find out step to setup https://github.com/sileht/bird-lg <https://github.com/sileht/bird-lg>.
> 
> Looking forward for help pls.
> 
> On 29 April 2017 at 06:52, Michael McConnell <michael at winkstreaming.com <mailto:michael at winkstreaming.com>> wrote:
> Hello Ajai,
> 
> subnet.ru <http://subnet.ru/> doesn’t seems to be much of a website, but the official github page for bird-lg here; https://github.com/sileht/bird-lg <https://github.com/sileht/bird-lg> doesn’t have a reference to the error “Socket not found”.  (https://github.com/sileht/bird-lg/search?utf8=✓&q=Socket+not+found&type= <https://github.com/sileht/bird-lg/search?utf8=%E2%9C%93&q=Socket+not+found&type=>)
> 
> In any event you might want to look in bird.py to see what that error correspond with.
> 
> Cheers,
> Mike
> 
> --
> Michael McConnell
> WINK Streaming;
> email: michael at winkstreaming.com <mailto:michael at winkstreaming.com>
> phone: +1 312 281-5433 <tel:+1%20312-281-5433> x 7400
> cell: +506 8706-2389 <tel:+506%208706%202389>
> skype: wink-michael
> web: http://winkstreaming.com <http://winkstreaming.com/>
> 
>> On Apr 28, 2017, at 6:55 PM, Ajai Kumar <joinajay1 at gmail.com <mailto:joinajay1 at gmail.com>> wrote:
>> 
>> Dear All,
>> 
>>  
>> I am using  bird-lg downloaded from subnet.ru <http://subnet.ru/> and it is giving output of all the commands for IPv4.  bird.client.php is in one server and route server is in remote server. I have enabled IPv6 on bird.lg.conf.php and route server is running properly for IPv6 too as I am able to see the output after entering into the bird6. I am able to see ping6 report only and for other commands,I am getting appended error
>> 
>> [ERROR]: BIRD client errors: 1: Socket not found
>> 
>> Can anyone help on this. Thanks in advance for your support.
>> Regards,
>> Ajai Kumar 
>> 
>> -- 
>> 
>> Please don't print this email unless you really need to. This will preserve trees on our planet.
> 
> 
> 
> 
> -- 
> 
> (M) +91-9868477444
> Skype ID:erajay
> P-mail: joinajay1 at gmail.com <http://gmail.com/>
> .................................
> Please don't print this email unless you really need to. This will preserve trees on our planet.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20170428/25654c99/attachment.html>


More information about the Bird-users mailing list