in reply to Re: schedg software
in thread schedg software

ya i did preview but i do not have any idea how to edit them.

thanks for the link, now i have some idea to make my words look more neat. sorry about the format

pertaining to my post, i just run as normal of what is the stated to run as a standalone i have no idea what is the user id?

is it suppose to be my local host user id? if yes, i did tried but is the same result?

Replies are listed 'Best First'.
Re^3: schedg software
by targetsmart (Curate) on May 20, 2009 at 08:04 UTC
    AFAIK, In case if you are using *nix system, check with the command 'id <username>', if it gives some user id then your program also should work, otherwise check whether such user entry exist in /etc/passwd file, if not you may be using LDAP authentication.

    Vivek
    -- In accordance with the prarabdha of each, the One whose function it is to ordain makes each to act. What will not happen will never happen, whatever effort one may put forth. And what will happen will not fail to happen, however much one may seek to prevent it. This is certain. The part of wisdom therefore is to stay quiet.

      i am using ubuntu. itried using the 'id' command and it give me some user id.i use "id -a".

      however when i try with the id given it stil have the same problem.

      the error is :Argument "1000" isn't numeric in getpwuid at ./schedg_client.pl line 89, <HI> line 14. Cannot get gid for 1000 at ./schedg_client.pl line 93, <HI> line 14.

      next i try to go into /etc/passwd folder to see if there is any id. then i use the id in the passwd file which correspond to the schedg progam, it stil give me the same error with the new id number.

        Your markup is confusing, but I assume that your error message actually looks like:

        Argument "[1000]" isn't numeric in getpwuid at ./schedg_client.pl line + 89

        You will notice an extra set of square brackets for your group. Most likely you put them there, but getpwuid does not know about square brackets. Don't put them there, or remove them.