LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-11-2012, 11:41 AM   #1
clozarks
LQ Newbie
 
Registered: Apr 2010
Posts: 16

Rep: Reputation: 0
Linux COBOL errors to cifs mount on Windows


Created a cifs mount on our Linux RHEL 4 jobsub server to a Windows server 8 SP2 on the SAN. We want all COBOL jobs to output to the mount location. Some COBOL jobs now give an error when executing:

I/O error : file 'PRNTR02'
error code: 4/8 (ANS85), pc=0, call=1, seg=0
148 Wrong open mode or access mode for write
lpr: error - unable to print file: client-error-bad-request

If the job runs and ouputs to a local directory (/home/user) on the Linux server, it runs without issue.

My syntax for the mount is:
mount.cifs //winserv/jobsubs$ /mnt/jobsubs -o
user=winmount,pass=********,uid=user,gid=users,file_mode=0775,dir_mode=
0775,iocharset=utf8

We are using Micor Focus Server Express: V5.1 revision 000

Anyone seen this and know of a solution to allow COBOL to run on a cifs mount?
 
Old 07-11-2012, 08:37 PM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,356

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
Looking at the I/O error msgs (I don't know COBOL), I'm guessing that eg the code is running on MS & expects MS formatted FS, but writing to a Linux FS eg ext3 OR vice versa.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
manual mount cifs works but srcipt mount cifs has mount error (13): Permission denied CADIT Linux - Newbie 6 11-20-2009 02:48 PM
Using mount.cifs to mount subdirectories in Windows server kenneho Linux - Server 0 03-19-2009 04:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:02 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration