Skip to main content

Hi,

I have this error on Red Hat Enterprise Linux Server release 7.2 (Maipo):

$> /mnt/sigeng/swlocal/microfocus/cobol/bin/cobrun IBBMSC3.gnt
cobrun32: cannot stat: /mnt/sigeng/swlocal/microfocus/cobol/etc/cobver

the file /mnt/sigeng/swlocal/microfocus/cobol/etc/cobver  exist :

$> cat /swlocal/microfocus/cobol/etc/cobver
cobol v2.3.1
PRN=K1CRH/AAK:Ao.U4.13.04
PTI=32/64 bit
PTI=Micro Focus Enterprise Server 2.3 - Update 1 - Hot Fix 01
PTI=Update 1
PTI=Hot Fix 01
PTI=pkg_126544
PTI=MFInstaller
PTI=ES
PTI=SOA Configured

$> cob -V
version @(#)cob.c       2.3.1.57
PRN=K1CRH/AAK:Ao.U4.13.04
PTI=32/64 bit
PTI=Micro Focus Enterprise Server 2.3 - Update 1 - Hot Fix 01
PTI=Update 1
PTI=Hot Fix 01
PTI=pkg_126544
PTI=MFInstaller
PTI=ES
PTI=SOA Configured
I see no work (see `cob -?' for help)

(MFSORT work fine)

what can be ?


#EnterpriseServer
#cobvercobrun

Hi,

I have this error on Red Hat Enterprise Linux Server release 7.2 (Maipo):

$> /mnt/sigeng/swlocal/microfocus/cobol/bin/cobrun IBBMSC3.gnt
cobrun32: cannot stat: /mnt/sigeng/swlocal/microfocus/cobol/etc/cobver

the file /mnt/sigeng/swlocal/microfocus/cobol/etc/cobver  exist :

$> cat /swlocal/microfocus/cobol/etc/cobver
cobol v2.3.1
PRN=K1CRH/AAK:Ao.U4.13.04
PTI=32/64 bit
PTI=Micro Focus Enterprise Server 2.3 - Update 1 - Hot Fix 01
PTI=Update 1
PTI=Hot Fix 01
PTI=pkg_126544
PTI=MFInstaller
PTI=ES
PTI=SOA Configured

$> cob -V
version @(#)cob.c       2.3.1.57
PRN=K1CRH/AAK:Ao.U4.13.04
PTI=32/64 bit
PTI=Micro Focus Enterprise Server 2.3 - Update 1 - Hot Fix 01
PTI=Update 1
PTI=Hot Fix 01
PTI=pkg_126544
PTI=MFInstaller
PTI=ES
PTI=SOA Configured
I see no work (see `cob -?' for help)

(MFSORT work fine)

what can be ?


#EnterpriseServer
#cobvercobrun

Hello mf_galberico:

To help debug this issue, I would like to examine the output of the 'mfsupport' command.

On the UNIX or Linux machine experiencing the problem, please enter the command "mfsupport".  This command should be found on your PATH, in $COBDIR/bin.

It is a script that will gather information from the system, including the exact versions of Micro Focus and the OS, environment variables, etc.

It will try to create an output file named "mfpoll.txt" in the current directory, so invoke it from a directory where you have write permissions.

As far as possible, place yourself under the same conditions as when the problem occurs (the same user-id, same environment, etc) so it will be a fair representation of the conditions.

Attach the resulting "mfpoll.txt" to this forum posting.


Hi,

I have this error on Red Hat Enterprise Linux Server release 7.2 (Maipo):

$> /mnt/sigeng/swlocal/microfocus/cobol/bin/cobrun IBBMSC3.gnt
cobrun32: cannot stat: /mnt/sigeng/swlocal/microfocus/cobol/etc/cobver

the file /mnt/sigeng/swlocal/microfocus/cobol/etc/cobver  exist :

$> cat /swlocal/microfocus/cobol/etc/cobver
cobol v2.3.1
PRN=K1CRH/AAK:Ao.U4.13.04
PTI=32/64 bit
PTI=Micro Focus Enterprise Server 2.3 - Update 1 - Hot Fix 01
PTI=Update 1
PTI=Hot Fix 01
PTI=pkg_126544
PTI=MFInstaller
PTI=ES
PTI=SOA Configured

$> cob -V
version @(#)cob.c       2.3.1.57
PRN=K1CRH/AAK:Ao.U4.13.04
PTI=32/64 bit
PTI=Micro Focus Enterprise Server 2.3 - Update 1 - Hot Fix 01
PTI=Update 1
PTI=Hot Fix 01
PTI=pkg_126544
PTI=MFInstaller
PTI=ES
PTI=SOA Configured
I see no work (see `cob -?' for help)

(MFSORT work fine)

what can be ?


#EnterpriseServer
#cobvercobrun

hi,

I'm sorry but you can not add the 7z files and zip file is more than 64k, paste the contents of mfpoll in the post. thanks

Micro Focus UNIX Support Scan Utility v8.0

Please forward the file 'mfpoll.txt' to Micro Focus Support.


Hi,

I have this error on Red Hat Enterprise Linux Server release 7.2 (Maipo):

$> /mnt/sigeng/swlocal/microfocus/cobol/bin/cobrun IBBMSC3.gnt
cobrun32: cannot stat: /mnt/sigeng/swlocal/microfocus/cobol/etc/cobver

the file /mnt/sigeng/swlocal/microfocus/cobol/etc/cobver  exist :

$> cat /swlocal/microfocus/cobol/etc/cobver
cobol v2.3.1
PRN=K1CRH/AAK:Ao.U4.13.04
PTI=32/64 bit
PTI=Micro Focus Enterprise Server 2.3 - Update 1 - Hot Fix 01
PTI=Update 1
PTI=Hot Fix 01
PTI=pkg_126544
PTI=MFInstaller
PTI=ES
PTI=SOA Configured

$> cob -V
version @(#)cob.c       2.3.1.57
PRN=K1CRH/AAK:Ao.U4.13.04
PTI=32/64 bit
PTI=Micro Focus Enterprise Server 2.3 - Update 1 - Hot Fix 01
PTI=Update 1
PTI=Hot Fix 01
PTI=pkg_126544
PTI=MFInstaller
PTI=ES
PTI=SOA Configured
I see no work (see `cob -?' for help)

(MFSORT work fine)

what can be ?


#EnterpriseServer
#cobvercobrun

Hello mf_galberico:

The mfpoll.txt shows that environment variables are not set correctly to use the COBOL product.  COBDIR is set like this:

COBDIR=/swlocal/microfocus/cobol

But LD_LIBRARY_PATH does not include $COBDIR/lib, and PATH does not include $COBDIR/bin.

To set the environment correctly, use the script $COBDIR/bin/cobsetenv, which in your case is /swlocal/microfocus/cobol/bin/cobsetenv.

You must "dot in" this script (also known as "sourcing" the script), by invoking it with a period and a space character at the beginning, like this:

.  /swlocal/microfocus/cobol/bin/cobsetenv


Hi,

I have this error on Red Hat Enterprise Linux Server release 7.2 (Maipo):

$> /mnt/sigeng/swlocal/microfocus/cobol/bin/cobrun IBBMSC3.gnt
cobrun32: cannot stat: /mnt/sigeng/swlocal/microfocus/cobol/etc/cobver

the file /mnt/sigeng/swlocal/microfocus/cobol/etc/cobver  exist :

$> cat /swlocal/microfocus/cobol/etc/cobver
cobol v2.3.1
PRN=K1CRH/AAK:Ao.U4.13.04
PTI=32/64 bit
PTI=Micro Focus Enterprise Server 2.3 - Update 1 - Hot Fix 01
PTI=Update 1
PTI=Hot Fix 01
PTI=pkg_126544
PTI=MFInstaller
PTI=ES
PTI=SOA Configured

$> cob -V
version @(#)cob.c       2.3.1.57
PRN=K1CRH/AAK:Ao.U4.13.04
PTI=32/64 bit
PTI=Micro Focus Enterprise Server 2.3 - Update 1 - Hot Fix 01
PTI=Update 1
PTI=Hot Fix 01
PTI=pkg_126544
PTI=MFInstaller
PTI=ES
PTI=SOA Configured
I see no work (see `cob -?' for help)

(MFSORT work fine)

what can be ?


#EnterpriseServer
#cobvercobrun

hi,

COBDIR It's already set to: /swlocal/microfocus/cobol

I have tested invoking $COBDIR/bin/cobsetenv but the error is always

cobrun32: cannot stat: /mnt/sigeng/swlocal/microfocus/cobol/etc/cobver

We try to install new version:

Micro Focus Enterprise Developer 2.3 Update 2

Micro Focus Enterprise Server 2.3 Update 2

and we will make up the tests again.

thanks.

bye


Hi,

I have this error on Red Hat Enterprise Linux Server release 7.2 (Maipo):

$> /mnt/sigeng/swlocal/microfocus/cobol/bin/cobrun IBBMSC3.gnt
cobrun32: cannot stat: /mnt/sigeng/swlocal/microfocus/cobol/etc/cobver

the file /mnt/sigeng/swlocal/microfocus/cobol/etc/cobver  exist :

$> cat /swlocal/microfocus/cobol/etc/cobver
cobol v2.3.1
PRN=K1CRH/AAK:Ao.U4.13.04
PTI=32/64 bit
PTI=Micro Focus Enterprise Server 2.3 - Update 1 - Hot Fix 01
PTI=Update 1
PTI=Hot Fix 01
PTI=pkg_126544
PTI=MFInstaller
PTI=ES
PTI=SOA Configured

$> cob -V
version @(#)cob.c       2.3.1.57
PRN=K1CRH/AAK:Ao.U4.13.04
PTI=32/64 bit
PTI=Micro Focus Enterprise Server 2.3 - Update 1 - Hot Fix 01
PTI=Update 1
PTI=Hot Fix 01
PTI=pkg_126544
PTI=MFInstaller
PTI=ES
PTI=SOA Configured
I see no work (see `cob -?' for help)

(MFSORT work fine)

what can be ?


#EnterpriseServer
#cobvercobrun

Hi,

I have installed new version of  Micro Focus Enterprise Developer 2.3 Update 2 Micro Focus Enterprise Server 2.3 Update 2

and now work fine!

thanks

bye


Hi,

I have this error on Red Hat Enterprise Linux Server release 7.2 (Maipo):

$> /mnt/sigeng/swlocal/microfocus/cobol/bin/cobrun IBBMSC3.gnt
cobrun32: cannot stat: /mnt/sigeng/swlocal/microfocus/cobol/etc/cobver

the file /mnt/sigeng/swlocal/microfocus/cobol/etc/cobver  exist :

$> cat /swlocal/microfocus/cobol/etc/cobver
cobol v2.3.1
PRN=K1CRH/AAK:Ao.U4.13.04
PTI=32/64 bit
PTI=Micro Focus Enterprise Server 2.3 - Update 1 - Hot Fix 01
PTI=Update 1
PTI=Hot Fix 01
PTI=pkg_126544
PTI=MFInstaller
PTI=ES
PTI=SOA Configured

$> cob -V
version @(#)cob.c       2.3.1.57
PRN=K1CRH/AAK:Ao.U4.13.04
PTI=32/64 bit
PTI=Micro Focus Enterprise Server 2.3 - Update 1 - Hot Fix 01
PTI=Update 1
PTI=Hot Fix 01
PTI=pkg_126544
PTI=MFInstaller
PTI=ES
PTI=SOA Configured
I see no work (see `cob -?' for help)

(MFSORT work fine)

what can be ?


#EnterpriseServer
#cobvercobrun

Hi,

now I have this error:

cobrun PGMCPU.gnt

cobrun: Failed to locate an appropriate executable for tool 'cobrun'

instead if I run cobrun64 work.

the script is available here


Hi,

I have this error on Red Hat Enterprise Linux Server release 7.2 (Maipo):

$> /mnt/sigeng/swlocal/microfocus/cobol/bin/cobrun IBBMSC3.gnt
cobrun32: cannot stat: /mnt/sigeng/swlocal/microfocus/cobol/etc/cobver

the file /mnt/sigeng/swlocal/microfocus/cobol/etc/cobver  exist :

$> cat /swlocal/microfocus/cobol/etc/cobver
cobol v2.3.1
PRN=K1CRH/AAK:Ao.U4.13.04
PTI=32/64 bit
PTI=Micro Focus Enterprise Server 2.3 - Update 1 - Hot Fix 01
PTI=Update 1
PTI=Hot Fix 01
PTI=pkg_126544
PTI=MFInstaller
PTI=ES
PTI=SOA Configured

$> cob -V
version @(#)cob.c       2.3.1.57
PRN=K1CRH/AAK:Ao.U4.13.04
PTI=32/64 bit
PTI=Micro Focus Enterprise Server 2.3 - Update 1 - Hot Fix 01
PTI=Update 1
PTI=Hot Fix 01
PTI=pkg_126544
PTI=MFInstaller
PTI=ES
PTI=SOA Configured
I see no work (see `cob -?' for help)

(MFSORT work fine)

what can be ?


#EnterpriseServer
#cobvercobrun

Hello mf_galberico:

The VC 2.3.2 product is installed in this directory:

/mnt/sigeng/swlocal/microfocus/se

But the value of COBDIR is:

/swlocal/microfocus/se

These values are different.  What is the nature of /mnt/sigeng that it can be referred to as /swlocal?  For example, is /swlocal a soft or hard link?  If so, what would happen if you decided not to use links, and instead set COBDIR to the actual location where the product is installed?

Perhaps permissions on the mount point are causing these problems.  Here is a knowledgebase article explaining how an older version of Micro Focus (Server Express) and its licensing system, could fail if the underlying permissions on a mount point did not agree with the permissions of the file system mounted there:

community.microfocus.com/.../6465.aslm-cobdir-not-set-or-inadequate-permissions.aspx

After un-mounting a file system, you may discover (for example) that the underlying mount point permissions are 750, whereas when the file system is mounted, its permissions are 755.  The solution in such a case is to change the underlying mount point permissions to 755 to match the intended permissions of the file system, and then re-mount the file system.

If these approaches do not help the problem, then please login to supportline.microfocus.com with your supportline username and password, and create a support incident to represent the problem.


Hi,

I have this error on Red Hat Enterprise Linux Server release 7.2 (Maipo):

$> /mnt/sigeng/swlocal/microfocus/cobol/bin/cobrun IBBMSC3.gnt
cobrun32: cannot stat: /mnt/sigeng/swlocal/microfocus/cobol/etc/cobver

the file /mnt/sigeng/swlocal/microfocus/cobol/etc/cobver  exist :

$> cat /swlocal/microfocus/cobol/etc/cobver
cobol v2.3.1
PRN=K1CRH/AAK:Ao.U4.13.04
PTI=32/64 bit
PTI=Micro Focus Enterprise Server 2.3 - Update 1 - Hot Fix 01
PTI=Update 1
PTI=Hot Fix 01
PTI=pkg_126544
PTI=MFInstaller
PTI=ES
PTI=SOA Configured

$> cob -V
version @(#)cob.c       2.3.1.57
PRN=K1CRH/AAK:Ao.U4.13.04
PTI=32/64 bit
PTI=Micro Focus Enterprise Server 2.3 - Update 1 - Hot Fix 01
PTI=Update 1
PTI=Hot Fix 01
PTI=pkg_126544
PTI=MFInstaller
PTI=ES
PTI=SOA Configured
I see no work (see `cob -?' for help)

(MFSORT work fine)

what can be ?


#EnterpriseServer
#cobvercobrun

Hello,

swlocal is a link that point to a local directory /mnt/sigeng/, not a  mount point.

the setup of microfocus product was done by pointing to the link "swlocal"

EnterpriseDeveloper with -installlocation="/swlocal/microfocus/cobol"

EnterpriseServer with -installlocation="/swlocal/microfocus/se"

I do not know what kind of needs they had for use a link.. anyway I gave instructions to the bank's systems engineers to install without use of link and with correct name of Microfocus Product:

EnterpriseDeveloper  with -installlocation="/mnt/sigeng/swlocal/microfocus/EnterpriseDeveloper"

EnterpriseServer with -installlocation="/mnt/sigeng/swlocal/microfocus/EnterpriseServer"

after installing try again.

thanks very much!

bye


Hi,

I have this error on Red Hat Enterprise Linux Server release 7.2 (Maipo):

$> /mnt/sigeng/swlocal/microfocus/cobol/bin/cobrun IBBMSC3.gnt
cobrun32: cannot stat: /mnt/sigeng/swlocal/microfocus/cobol/etc/cobver

the file /mnt/sigeng/swlocal/microfocus/cobol/etc/cobver  exist :

$> cat /swlocal/microfocus/cobol/etc/cobver
cobol v2.3.1
PRN=K1CRH/AAK:Ao.U4.13.04
PTI=32/64 bit
PTI=Micro Focus Enterprise Server 2.3 - Update 1 - Hot Fix 01
PTI=Update 1
PTI=Hot Fix 01
PTI=pkg_126544
PTI=MFInstaller
PTI=ES
PTI=SOA Configured

$> cob -V
version @(#)cob.c       2.3.1.57
PRN=K1CRH/AAK:Ao.U4.13.04
PTI=32/64 bit
PTI=Micro Focus Enterprise Server 2.3 - Update 1 - Hot Fix 01
PTI=Update 1
PTI=Hot Fix 01
PTI=pkg_126544
PTI=MFInstaller
PTI=ES
PTI=SOA Configured
I see no work (see `cob -?' for help)

(MFSORT work fine)

what can be ?


#EnterpriseServer
#cobvercobrun

Hello mf_galberico:

OK, /swlocal was a link pointing to /mnt/sigeng/ (actually, probably pointing to /mnt/sigeng/swlocal), and now they're going to try installing the COBOL product with

-installlocation="/mnt/sigeng/swlocal/microfocus/EnterpriseDeveloper".

I am afraid this will still not work.  The link is probably not the problem.  The problem is probably underlying permissions on the mount point.

Consider the name /mnt/sigeng.  It includes the string "mnt".  That implies Mount.  Please examine the output of "df" on the machine.  Does df show that /mnt/sigeng or /mnt/sigeng/swlocal is mounted as its own file system?  What happens if you un-mount that file system?  What are the permissions of the underlying mount point?


Hi,

I have this error on Red Hat Enterprise Linux Server release 7.2 (Maipo):

$> /mnt/sigeng/swlocal/microfocus/cobol/bin/cobrun IBBMSC3.gnt
cobrun32: cannot stat: /mnt/sigeng/swlocal/microfocus/cobol/etc/cobver

the file /mnt/sigeng/swlocal/microfocus/cobol/etc/cobver  exist :

$> cat /swlocal/microfocus/cobol/etc/cobver
cobol v2.3.1
PRN=K1CRH/AAK:Ao.U4.13.04
PTI=32/64 bit
PTI=Micro Focus Enterprise Server 2.3 - Update 1 - Hot Fix 01
PTI=Update 1
PTI=Hot Fix 01
PTI=pkg_126544
PTI=MFInstaller
PTI=ES
PTI=SOA Configured

$> cob -V
version @(#)cob.c       2.3.1.57
PRN=K1CRH/AAK:Ao.U4.13.04
PTI=32/64 bit
PTI=Micro Focus Enterprise Server 2.3 - Update 1 - Hot Fix 01
PTI=Update 1
PTI=Hot Fix 01
PTI=pkg_126544
PTI=MFInstaller
PTI=ES
PTI=SOA Configured
I see no work (see `cob -?' for help)

(MFSORT work fine)

what can be ?


#EnterpriseServer
#cobvercobrun

Hallo Dan,

this is the output of df command

-=-=======================================================================-=-
   Section - System fixed disk resources.
-=-=======================================================================-=-

System fixed disk resources:

Filesystem                  1K-blocks       Used  Available Use% Mounted on
/dev/mapper/vg_01-lv_root    21452560   10291704   11160856  48% /
devtmpfs                     37022152          0   37022152   0% /dev
tmpfs                        37032488          0   37032488   0% /dev/shm
tmpfs                        37032488      16932   37015556   1% /run
tmpfs                        37032488          0   37032488   0% /sys/fs/cgroup
/dev/sda1                      508588     203592     304996  41% /boot
/dev/sdb1                  2146434052  502922780 1643511272  24% /mnt/sigeng
//sharesmbaddev.popso.it/oradev/oarch/S3_MY_DIRECTORY 3221225472 2147862840 1073362632  67% /mnt/S3_MY_DIRECTORY
tmpfs                      7406500          0    7406500   0% /run/user/1003

I also asked the unix systems of the bank to check the rights on / mnt / sigeng,I'll let you know,


thanks
bye


Hi,

I have this error on Red Hat Enterprise Linux Server release 7.2 (Maipo):

$> /mnt/sigeng/swlocal/microfocus/cobol/bin/cobrun IBBMSC3.gnt
cobrun32: cannot stat: /mnt/sigeng/swlocal/microfocus/cobol/etc/cobver

the file /mnt/sigeng/swlocal/microfocus/cobol/etc/cobver  exist :

$> cat /swlocal/microfocus/cobol/etc/cobver
cobol v2.3.1
PRN=K1CRH/AAK:Ao.U4.13.04
PTI=32/64 bit
PTI=Micro Focus Enterprise Server 2.3 - Update 1 - Hot Fix 01
PTI=Update 1
PTI=Hot Fix 01
PTI=pkg_126544
PTI=MFInstaller
PTI=ES
PTI=SOA Configured

$> cob -V
version @(#)cob.c       2.3.1.57
PRN=K1CRH/AAK:Ao.U4.13.04
PTI=32/64 bit
PTI=Micro Focus Enterprise Server 2.3 - Update 1 - Hot Fix 01
PTI=Update 1
PTI=Hot Fix 01
PTI=pkg_126544
PTI=MFInstaller
PTI=ES
PTI=SOA Configured
I see no work (see `cob -?' for help)

(MFSORT work fine)

what can be ?


#EnterpriseServer
#cobvercobrun

hello,

this is the parameter of mount /mnt/sigeng

 

/mnt/sigeng is local disck ( /dev/sdb1 ), this is the parameter of mount  /mnt/sigeng with and without mount.

 

[root@sld166 sigengdev ~]$ cat /etc/fstab |grep sdb

/dev/sdb1 /mnt/sigeng                    xfs    defaults        0 0

 

[root@sld166 sigengdev ~]$ mount|grep sdb

/dev/sdb1 on /mnt/sigeng type xfs (rw,relatime,attr2,inode64,noquota)

 

[root@sld166 sigengdev ~]$ ll /mnt/

drwxrwx--- 2 sigeng sigeng   0 Nov 11 16:10 S3_MY_DIRECTORY

drwxr-xr-x 7 sigeng sigeng 129 Nov 10 13:55 sigeng

 

[root@sld166 sigengdev ~]$ umount /mnt/sigeng/

[root@sld166 sigengdev ~]$ ll /mnt/

total 0

drwxrwx--- 2 sigeng sigeng 0 Nov 11 16:10 S3_MY_DIRECTORY

drwxr-xr-x 2 root   root   6 Jul  1 09:04 sigeng

 

thanks

 

bye


Hi,

I have this error on Red Hat Enterprise Linux Server release 7.2 (Maipo):

$> /mnt/sigeng/swlocal/microfocus/cobol/bin/cobrun IBBMSC3.gnt
cobrun32: cannot stat: /mnt/sigeng/swlocal/microfocus/cobol/etc/cobver

the file /mnt/sigeng/swlocal/microfocus/cobol/etc/cobver  exist :

$> cat /swlocal/microfocus/cobol/etc/cobver
cobol v2.3.1
PRN=K1CRH/AAK:Ao.U4.13.04
PTI=32/64 bit
PTI=Micro Focus Enterprise Server 2.3 - Update 1 - Hot Fix 01
PTI=Update 1
PTI=Hot Fix 01
PTI=pkg_126544
PTI=MFInstaller
PTI=ES
PTI=SOA Configured

$> cob -V
version @(#)cob.c       2.3.1.57
PRN=K1CRH/AAK:Ao.U4.13.04
PTI=32/64 bit
PTI=Micro Focus Enterprise Server 2.3 - Update 1 - Hot Fix 01
PTI=Update 1
PTI=Hot Fix 01
PTI=pkg_126544
PTI=MFInstaller
PTI=ES
PTI=SOA Configured
I see no work (see `cob -?' for help)

(MFSORT work fine)

what can be ?


#EnterpriseServer
#cobvercobrun

Hello mf_galberico:

OK, based on this output it seems the underlying mount point permissions are correct.  Maybe the issue was caused by the link.

Go ahead and ask the end-user to re-install the product, specifying

-installlocation="/mnt/sigeng/swlocal/microfocus/EnterpriseDeveloper".

If problems continue to occur after that, please open an official Support Incident to represent the problems.