Dec 20, 2021

 Error 

dasm: asm/opazcns0.asm line 147:DASM144E Begin-to-continue columns not blank

dasm: asm/opazcns0.asm line 147:DASM063E No ending apostrophe

dasm: asm/opazcns0.asm line 147:DASM435I Record 147 in asm/opbzcns0.asm


Solution -

This is applicable for assembler code and Aix platforms ( I tried in ZOS(OS390) and Aix platforms)

File named asm/opazcns0.asm  is having characters of more than 71 in a single line which is not allowed. 

In other words there cannot be a character in column 72 for line number 147


How to find the parent between two Git branches

 In Git everything is a commit with a description. So you can find the latest common commit between two branches with git merge-base


git merge-base bug-1234 dev/project

7acf13c1390e451f721b3ae6779e8fca8f737b12


it will list the latest common commit between both the branches. i.e after this particular commit branch bug-1234 is branched out

Dec 18, 2013

Not able to login Jenkins ? Locked yourself by messing security ? How to disable security in Jenkins

Rarely we end up locking ourself in jenkins so that we couln't login Jenkins.


For example -

If you enable security before creating an account, you end up being access denied with out any login account in hand.
























Jenkins throws error like

javax.servlet.ServletException: hudson.security.AccessDeniedException2: anonymous is missing the Overall/Administer permission

This can be solved by editing the config.xml  and disabling the security by changing

<useSecurity>true</useSecurity>

into 

<useSecurity>false</useSecurity>

You can refer this url from Jenkins - https://wiki.jenkins-ci.org/display/JENKINS/Disable+security



Dec 13, 2013

How to Fix error 'Could not determine the server's fully qualified domain name, using 127.0.0.1 '

Problem:

[root@spa ~]# service httpd start
Starting httpd: httpd: Could not determine the server's fully qualified domain name, using 127.0.0.1 for S erverName
                                                           [  OK  ]
[root@spa ~]#

solution:

Edit /etc/httpd/conf/httpd.conf
and search for ServerName and add
ServerName localhost

How to reset passwords in perforce

From time to time, it is inevitable that users will forget Perforce passwords. A Perforce superuser can set a new password for any user with:

    Release 99.1 and later:

        p4 passwd username

    (Perforce will prompt the superuser for a new password for user username.)

C:\Users\mohan>p4 passwd thangam
Enter new password:
Re-enter new password:
Password updated.

How to delete the changelist and workspace of another user ( clean ex-employee workspace to reclaim space and license )


this will give you the pending changes on the client

p4 changes -c user_workspace

this will delete the pending change list of your choice

p4 change -d

after that, you can delete the client using

p4 client -d user_workspace

How to overwrite symbolic links in unix

You can overwrite symbolic links by using -f to the default command

Example
mohan@mysys /cygdrive/c/
$ ln -s /tmp/test.sh tumba
mohan@mysys /cygdrive/c/
$ ls -l
total 80
lrwxrwxrwx  1 mohan        Domain Users    5 Oct  9 14:59 tumba -> /tmp/test.sh
mohan@mysys /cygdrive/c/
$ ln -s /tmp/build_env.log  tumba
ln: failed to create symbolic link `tumba': File exists
mohan@mysys /cygdrive/c/


 Now we can overwrite the existing symbolic link by using -f







$ ln -s -f /tmp/build_env.log  tumba
mohan@mysys /cygdrive/c/
$ ls -l
total 80
lrwxrwxrwx  1 mohan        Domain Users    5 Oct  9 14:59 tumba -> /tmp/build_env.log