Koozali.org: home of the SME Server

sme7admin won't display

bigpoppa

sme7admin won't display
« on: March 04, 2007, 10:10:03 AM »
Hello, i've run into a bit of a problem with my sme7admin 1.1.0-1 contrib.  I had the contrib installed and working flawlessly for sometime until recently.  I was having problems with my internet connection and suspected a bad nic.  Since i was in a hurry to get it back up at the time.  I reconfigured the server and put it in server only mode and hooked up my router.  Later on, I determined that my issue was my cable modem and not the sme server, i reconfigured the server back to server and gateway (deticated) mode.  Since then, whenever i try to access the sme7admin panel i get this message:

Code: [Select]
Can't call method "value" on an undefined value at /etc/e-smith/web/panels/manager/cgi-bin/sme7admin line 447.

I tried removing and reinstalling the contrib, but that has not solved the problem.  

I removed the contrib using yum and rebooted the server.  I checked mysql and removed the sme7admin database and then reinstalled the contrib.  Still no luck.

Any help would be greatly appreciated.

Let me know if you need any further information.

Also, since this has happened, i have to reboot my cable modem everytime i reboot the sme server for it to reconnect to the internet.   This was not the case before. AND when i click on "review configuration" in the server manager, everything displays fine except the "external ip address/subnet mask".  It is blank.

BTW, I'm running a linksys cable modem

Thanks

Offline bpivk

  • *
  • 908
  • +0/-0
    • http://www.bezigrad.com
sme7admin won't display
« Reply #1 on: March 04, 2007, 01:14:58 PM »
Quote
everything displays fine except the "external ip address/subnet mask". It is blank.


Did you try re entering this information into your server (eg. connect trough ssh as admin and reconfigure your server)?

And you should open a bug if this doesn't fix your problem or if you already tried this.
"It should just work" if it doesn't report it. Thanks!

bigpoppa

sme7admin won't display
« Reply #2 on: March 08, 2007, 07:13:45 AM »
Well, i've done some checking and it seems my problem with the "external ip" not displaying is causing the problem with the sme7admin panel.  I looked on line 447 and this is what it says:

Code: [Select]
$record = $smedb->get("ExternalIP");


Looks like sme7admin is trying to get a value that is not there.  The question is, why is it not there?  Can anyone help?

Thanks,


BigPoppa

bigpoppa

sme7admin won't display
« Reply #3 on: March 08, 2007, 09:41:12 AM »
well, the deeper i dig, the bigger the problem gets.  Now, my port fowarding is not working.  I have a non-standard port redirected to 3389 for remote into my workstation.  However, since all this has happened, it no longer works.  I've tried removing the rule and adding it again, but i still can't connect from outside.  

I know i could probably do a reinstall and start over, but i've installed and configured so many things, it would take me a month to redo everything.  If someone could help me trace this down, i would be forever grateful.  


Thanks,


BigPoppa

Offline jpeters

  • *
  • 20
  • +0/-0
sme7admin won't display
« Reply #4 on: April 17, 2007, 02:48:15 AM »
Bigpoppa,

I had the same error message as you did with similar missing IP/Netmask in the server-manager screen.  I did what bpik suggested and logged as Admin in console and reconfigured the server only to find out it defaulted to server and gateway whereas my sme server should be server only.  

After configuration completed and reboot I no longer have the problem.

Cheers,
Jeff
........................

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
sme7admin won't display
« Reply #5 on: April 17, 2007, 04:03:18 AM »
Quote from: "bigpoppa"

Code: [Select]
$record = $smedb->get("ExternalIP");

Looks like sme7admin is trying to get a value that is not there.


Either your server is in serveronly mode, or is in servergateway mode, and has not yet connected to the Internet.