Active Topics

 



Notices


Reply
Thread Tools
Saturn's Avatar
Posts: 1,648 | Thanked: 2,122 times | Joined on Mar 2007 @ UNKLE's Never Never Land
#961
Originally Posted by emotion View Post
I typed one for one. Is there any solution? Please help me.
I believe you miss-typed one of the last commands and instead of deleting the "/etc/sudoers.d/smscon.sudoers" you deleted "/etc/sudoers" or something like that.

This is major problem. To correct it, it is too much effort and most important requires an advanced expertise level in the operating system.

Similarly to what yablacky said above, I hope you have a recent backup. After the reflash, restore the backup. If this works then you will have many things back.

I suggest you search about putty/ssh and set this up. If you would like to mess with your device it is better to do it from a real keyboard/screen.
 

The Following 2 Users Say Thank You to Saturn For This Useful Post:
Posts: 155 | Thanked: 315 times | Joined on Jun 2010 @ DE
#962
@emotion:

if you had ssh/sshd installed before trouble begins and you know your root password then you can try

Code:
$ ssh root@localhost
 
Posts: 40 | Thanked: 57 times | Joined on Dec 2010 @ Jersey
#963
Doing the following tests in SMSCON results an error being SMSed and emailed to me (and the tests do not actually work):

Email
Email with picture
Location
Track ON
Initiate SSH

Other tests (Call, SMS, Execute Script) work fine.

The error is always:

Code:
-fatal error-
smscon_daemon crashed.
need more than 3 values to unpack
Any ideas?

Thanks!

Edit:
All fixed now after doing something unknown. I had already tried re-setting SMSCON and rebooting the device which had not helped, but things are indeed now!

Last edited by l_bratch; 2011-12-28 at 16:28.
 

The Following 2 Users Say Thank You to l_bratch For This Useful Post:
Posts: 155 | Thanked: 315 times | Joined on Jun 2010 @ DE
#964
Originally Posted by l_bratch View Post
The error is always:

Code:
-fatal error-
smscon_daemon crashed.
need more than 3 values to unpack
Any ideas?

Thanks!
Which version are you using?
 

The Following User Says Thank You to yablacky For This Useful Post:
Posts: 40 | Thanked: 57 times | Joined on Dec 2010 @ Jersey
#965
Originally Posted by yablacky View Post
Which version are you using?
Sorry, 0.9.8.
 
fw190's Avatar
Posts: 584 | Thanked: 700 times | Joined on Jan 2010
#966
I've got a problem. While initialising it hangs. I cant make any tests and even when I reset the settings it keeps sending messages to my default number. How to debug/provide usefull info for you?
__________________
per ardua ad astra
 

The Following 2 Users Say Thank You to fw190 For This Useful Post:
Saturn's Avatar
Posts: 1,648 | Thanked: 2,122 times | Joined on Mar 2007 @ UNKLE's Never Never Land
#967
Originally Posted by ade View Post
...

I have installed bash and gnu tools, maybe that has overwritten the ps symlink, because I am not aware I have replaced ps for a non busybox one.

...
Hi,

Could you please tell me which packages exactly you have installed?

The ps you have is not compatible with iDont's busybox power or the default one. The usual gnu tools they don't replace the default binaries.
Maybe you've added them yourself to $PATH?

We would like to revert the changes done to fix your case because they break SMSCON for those people with the busybox power installed.

Cheers
 
Posts: 1,100 | Thanked: 2,797 times | Joined on Apr 2011 @ Netherlands
#968
Originally Posted by Saturn View Post
Hi,

Could you please tell me which packages exactly you have installed?

The ps you have is not compatible with iDont's busybox power or the default one. The usual gnu tools they don't replace the default binaries.
Maybe you've added them yourself to $PATH?

We would like to revert the changes done to fix your case because they break SMSCON for those people with the busybox power installed.

Cheers
Had a look at it. It comes from the package "procps". It is a 'standard' package in the debian world and can be found in the fremantle repo (http://maemo.org/packages/view/procps/)
It provides:
Code:
/bin/kill
/bin/ps
/etc/init.d/procps
/etc/sysctl.conf
/lib/libproc-3.2.7.so
/sbin/sysctl
/usr/bin/free
/usr/bin/pgrep
/usr/bin/pkill
/usr/bin/pmap
/usr/bin/pwdx
/usr/bin/skill
/usr/bin/slabtop
/usr/bin/snice
/usr/bin/tload
/usr/bin/top
/usr/bin/uptime
/usr/bin/vmstat
/usr/bin/w.procps
/usr/bin/watch
I think I installed it a long time ago because I needed vmstat, watch or some other tool. Didn't realize it also replaced ps.

But to be honest I got quite used to this ps. It offers me some parameters I regularly use (and it's compatible with my Linux desktop ps).

It's not always wise to rely on output of tools, because it can change on new releases I know from my own experience. But I also know it is hard to avoid a lot of times.

What is the dilemma you are facing? That there are two different outputs?
Couldn't that be solved by a construction like:
Code:
if /bin/ps = regular file then:
  # expect procps output
if /bin/ps = symlink to busybox then:
  # expect busybox output
Or are matters more complicated? I did not see the particular part of the code.

If it is too complicated, please remove the support for the procps ps tool. Then it is up to me to chose between smscon or procps ps. Now knowing why smscon behaved in that way is already a nice bonus
 

The Following User Says Thank You to ade For This Useful Post:
Posts: 155 | Thanked: 315 times | Joined on Jun 2010 @ DE
#969
Hi all,
to fix the ps-problem the next version will call it this way:

$ busybox ps

This (only) assumes that busybox is (still) installed even when other packages set /bin/ps to what ever.

Can everybody readin this please confirm that above command displays PID in 1st column on his/her device?
 

The Following 2 Users Say Thank You to yablacky For This Useful Post:
Posts: 1,100 | Thanked: 2,797 times | Joined on Apr 2011 @ Netherlands
#970
That's an even better solution!

Running the latest busybox beta from iDont:
Code:
BusyBox v1.19.3 (Debian 1.19.3power3~envparser) built-in shell (ash)
Enter 'help' for a list of built-in commands.

~ $ busybox ps
  PID USER       VSZ STAT COMMAND
    1 root      1740 S    /sbin/init
 

The Following 2 Users Say Thank You to ade For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 09:56.