smxi stub 2.6 errors
anticapitalista
Status: Contributor
Joined: 13 Jun 2008
Posts: 202
Location: Greece
Reply Quote
This is a first time start of smxi, no log file on antiX-M8-test3
:: Code ::

/usr/sbin/smxi: line 110 [ : missing ']'
/usr/sbin/smxi: line 125 : Synbol error near unexpected token 'then'
/usr/sbin/smxi: line 125:  'if[ "$( id -u )" -ne 0 ];then '


Same error when using wget to download and install smxi.

sgfxi works fine.

Edit: Just rebooted and now smxi runs fine.

I'll try again with a fresh install

Edit 2: problem is with the smxi-stub. If I download smxi using the wget it works ok. The stub gives the errors posted above.
Back to top
techAdmin
Status: Site Admin
Joined: 26 Sep 2003
Posts: 4128
Location: East Coast, West Coast? I know it's one of them.
Reply Quote
Sorry about that, not just one but TWO bugs somehow crept in there, both are fixed, stub is tested and works now.

Version 2.7 is correct now. Test and let me know.
Back to top
anticapitalista
Status: Contributor
Joined: 13 Jun 2008
Posts: 202
Location: Greece
Reply Quote
Now this error:

smxi
we made it!
Error No: 2 - Failed to download script properly. The file is empty!
Back to top
techAdmin
Status: Site Admin
Joined: 26 Sep 2003
Posts: 4128
Location: East Coast, West Coast? I know it's one of them.
Reply Quote
I forgot to remove the debugging output, version 2.8 is now hopefully truly fixed.

Remember, the file should be renamed to: /usr/sbin/smxi

from smxi-stub

The only reason it's called smxi stub is so I can keep it separate from the main smxi file in my dev stuff.

If you don't rename it, you'll need a symbolic link smxi pointing to the stub as well in /usr/sbin

Let me know if there are any other issues.
Back to top
anticapitalista
Status: Contributor
Joined: 13 Jun 2008
Posts: 202
Location: Greece
Reply Quote
That one is now fixed.
thanks.

But I've got another one for you.

Advanced kernel installs kernel ok and modules, says it is upgrading-grub, but on reboot the new kernel doesn't appear in the grub/menu.lst file.

:: Code ::

Function: post_kernel_install_steps - Primary: Start
  Function: get_real_kernel_version - Utility: Start
  kernelString: 2.6.27-6.slh.5-sidux-686
  Function: get_real_kernel_version - Utility: End
  Function: update_kernel_links - Utility: Start
  Args: 2.6.27-6.slh.5-sidux-686
  Function: update_kernel_links - Utility: End
  Function: update_grub - Utility: Start
  Function: update_grub - Utility: End
  Function: post_install_messages - Utility: Start
    Function: nonfree_driver_reinstall - Utility: Start
    Args: kernel-install
    Non-Free driver data:
    message:
    Function: nonfree_driver_reinstall - Utility: End
  Function: post_install_messages - Utility: End
Function: reboot_now_question - Primary: Start
Args: 2.6.27-6.slh.5-sidux-686
  Function: nonfree_driver_reinstall - Utility: Start
  Args: kernel-install
  Non-Free driver data:
  message:
  Function: nonfree_driver_reinstall - Utility: End
  Function: test_kernel_strings - Utility: Start
  Args: 2.6.27-6.slh.5-sidux-686 set-ke
    Function: normalize_kernel_string - Utility: Start
    Args: 2.6.27-1-mepis-smp
    processedString: 2.6.27-1-mepis-smp
    Function: normalize_kernel_string - Utility: End
    Function: normalize_kernel_string - Utility: Start
    Args: 2.6.27-6.slh.5-sidux-686
    processedString: 2.6.27-6.slh.5-sidux-686
    Function: normalize_kernel_string - Utility: End
  value: false
  Function: test_kernel_strings - Utility: End
KERNEL_EQUAL_INSTALL: false
Function: reboot_now_question - Primary: End


I've got to go out now so I'll have to test this on earlier versions of antiX in case the problem is my end.
Back to top
techAdmin
Status: Site Admin
Joined: 26 Sep 2003
Posts: 4128
Location: East Coast, West Coast? I know it's one of them.
Reply Quote
In these cases check /boot/grub/menu.lst carefully.

I suggest you get a standard one, default, to compare to what you see in your's, a default Debian that is.

Most of the stuff in that file is commented out usually, but it's odd, some of the comments if they occur in some places, where other comments use ##, and the line starts with only one # is actually real data.
Back to top
anticapitalista
Status: Contributor
Joined: 13 Jun 2008
Posts: 202
Location: Greece
Reply Quote
Sorry my mistake. There is nothing wrong with installing a kernel using smxi. It works fine.

The problem I had was a corrupted grub install to MBR. Once fixed, smxi does its business.
Back to top
Display posts from previous:   

All times are GMT - 8 Hours