eth0: error fetching interface information: Device not found
-
-
Any way to do this via the init script?
Edit: Also, this is still not working. It starts but when I try to login it acts as though the backend is down (attempting login...).
Here is what I get at the CLI
[root@phone fop2]# ./fop2_server -i eth3
Flash Operator Panel 2 - White Label Version.
Use of uninitialized value in hash element at script/fop2_server.pl line 5834.
Use of uninitialized value in numeric gt (>) at script/fop2_server.pl line 5846.
Use of uninitialized value in numeric gt (>) at script/fop2_server.pl line 5846.
Use of uninitialized value in concatenation (.) or string at script/fop2_server.pl line 5857.
Use of uninitialized value in concatenation (.) or string at script/fop2_server.pl line 5857.'Edit: this is with iptables disabled for testing, so it's not a port issue afaik.
-
Depending on your version you set the OPTIONS variable in the init script. For fop 2.24 on centos the file is /etc/sysconfig/fop2 . Older fop2 versions is in the very same init script /etc/rc.d/init.d/fop2
For debian its in /etc/init.d/fop2 for versions prior to 2.24 and /etc/default/fop2 for 2.24.
set the OPTIONS="" line including your -i eth3 parameter
In any case, having it licensed or not, you should be able to login. fop2_server must be running and binding to port 4445/tcp.
netstat -lnp | grep 4445
should display the port open with fop2_server as it process name
-
-
Nicolas,
Me again. Trying to upgrade to 2.26 to resolve an issue with Chrome on this same system.
Getting the error below. Is there a way to specify the interface while upgrading? I have my OPTIONS set in sysconig, not sure how to pass that variable to make.
Thanks
eth0: error fetching interface information: Device not found
Can't get info from ifconfig: at script/fop2_server.pl line 6878.Upgrade Aborted. License reactivation failed.
Be sure you have internet access from this server,
and that your code is not older than a year.If your license has expired, you must renew it in order to upgrade,
but you can still use your current FOP2 version for as long as you want.If you already bought an upgrade code please run the following command:
server/fop2_server --upgrade
If the upgrade is successful run make again to retry the installation.
-
-
More issues.
Did a full revoke and reinstall: removed /usr/local/fop2 /var/www/html/fop2 and /etc/init.d/fop2 + make in the 2.26 directory.
When I try to register my serial I get:
License Activation
Enter your serial code: REDACTED
Serial code not available for version 2.26.
You can register only version 2.20.
I will email you my current serial, it was purchased in January and the previous version was 2.24.
Scott
-
-
Hello Nicolas,
When running 'make install' to upgrade from 2.24 to 2.26 it errors out with:
eth0: error fetching interface information: Device not found
Can't get info from ifconfig: at script/fop2_server.pl line 6878Upgrade Aborted. License reactivation failed.
...I know it's because it should be looking at eth1.
Did the upgrade truly fail or do I need to do something different than "make install" to get it to upgrade?
Thanks for any advice you can offer.
-
Hi,
The problem is in the Makefile that is not smart enough to get the interface parameter. You have to edit the Makefile, look for the line that runs fop2_server with the --reactivate option, and just add -i eth1 to that line, something like:
server/fop2_server --reactivate -i eth1; \Then run "make" again.
Best regards,
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login