[BlueOnyx:17241] Re: 5106R - issue with /etc/httpd/conf/vhosts/preview file

Michael Stauber mstauber at blueonyx.it
Sun Mar 8 12:06:29 -05 2015


Hi Dirk,

> # /etc/httpd/conf/vhost/preview
> NameVirtualHost 213.198.78.59
> :80
> <VirtualHost 213.198.78.59
> :80>
> 
> This is the problem. There are RETURNS after the IP Address.

I just looked at the 5106R code for this. I will be publishing an update
anyway, but it might not solve your issue. The problem is most likely
the IP address for eth0 in your CODB has a hard return at the end, which
it shouldn't. It's possible that ancient setup scripts on the ISO you
originally used caused this issue.

So please do this:

/usr/sausalito/bin/cceclient

In it type this:

find Network device = "eth0"

This will return something like this:

104 OBJECT 4
201 OK

Which would tell us that Object #4 has that info. Look at that object
with "get <OID>":

get 4

102 DATA mac = "XX:XX:XX:XX:XX"
102 DATA real = "1"
102 DATA NAMESPACE = ""
102 DATA bootproto = "none"
102 DATA CLASSVER = "1.0"
102 DATA CLASS = "Network"
102 DATA netmask = "255.255.255.240"
102 DATA ipaddr = "192.168.128.8"
102 DATA refresh = ""
102 DATA device = "eth0"
102 DATA OID = "4"
102 DATA enabled = "1"
201 OK

In your case it most likely shows the IP like this:

102 DATA ipaddr = "192.168.128.8\n"

Which would be wrong and that's then the case where your hard return
comes from. To fix it, just set the correct data without the hard return
at the end of the IP:

set 4 ipaddr = "192.168.128.8"

And that should do the trick.

-- 
With best regards

Michael Stauber



More information about the Blueonyx mailing list