VSI Fax… WTF?


So I work for a small consulting firm and we are a software re-seller for… wow I walked right into that… I should have set this up to lead to something ironic… but I am obviously not that adept… ERP software… one of the fine features of this product is it’s ability to send a fax (LOL) directly from the client… This is actually pretty state-of-the-art for manufacturing technology.. Anyway as usual I was looking through my hundreds of scribbles in Notepad++ and saw a bunch of this crap… I thought it was pretty humerus.. although mostly useless.  So here it is for your amusement as well… this is a non-edited string of thoughts 🙂  I am fairly certain this was taken from an IBM AIX v5.3 P-Series system… The accompanying drawing is from a Facebook friend of mine, Marie-Claude Sabourin, kind of reminds me of some random character from Coraline.

VSIFAX commands:

1433    vfxstat
1434    vfxsched
1435    vfxsched restart
1439    vfxsched stop
1440    vfxsched start
1442    vfxcancel 18449
1445    vfxsched restart
1460    vfxstat |pg
1461    vfxadmin enable fax1
1465    vfxsched stop
1466    ps -ef |grep fax
1467    kill -9 30196 33298
1468    ps -ef |grep fax
1469     vfxsched start
1473    cd $VSIFAX/lib
1476    cd ../spool
1478    cd logs
1480    cat fax1

qe-rs2 # vfxstat |pg

Device       Comments              State
———–  ——————–  ————-
fax1         Fax Modem #1          Unknown [Too many no-dials encountered]
lb           LoopBack              Unknown
lcr          LCR hold queue        Unknown [Holding queue only]
sm           SendMail              Unknown

Job Num  Dest      User       Submitted    Scheduled   Att  Pri  Result  Group
——-  ——–  ——–  ———–  ———–  —  —  ——  —–
18453    fax1      SRS       11/24 09:06      NOW        3    m  NODIAL
18454    fax1      SRS       11/24 09:07      NOW        2    m  NODIAL
18455    fax1      HOW       11/24 13:17      NOW        0    m  QUEUED
qe-rs2 # vfxadmin enable fax1
Device fax1 enabled
qe-rs2 # vfxstat

Device       Comments              State
———–  ——————–  ————-
fax1         Fax Modem #1          Unknown
lb           LoopBack              Unknown
lcr          LCR hold queue        Unknown [Holding queue only]
sm           SendMail              Unknown

Job Num  Dest      User       Submitted    Scheduled   Att  Pri  Result  Group
——-  ——–  ——–  ———–  ———–  —  —  ——  —–
18453    fax1      SRS       11/24 09:06      NOW        3    m  NODIAL
18454    fax1      SRS       11/24 09:07      NOW        2    m  NODIAL
18455    fax1      HOW       11/24 13:17      NOW        0    m  QUEUED
qe-rs2 # vfxstat

Device       Comments              State
———–  ——————–  ————-
fax1         Fax Modem #1          Unknown
lb           LoopBack              Unknown
lcr          LCR hold queue        Unknown [Holding queue only]
sm           SendMail              Unknown

Job Num  Dest      User       Submitted    Scheduled   Att  Pri  Result  Group
——-  ——–  ——–  ———–  ———–  —  —  ——  —–
18453    fax1      SRS       11/24 09:06      NOW        3    m  NODIAL
18454    fax1      SRS       11/24 09:07      NOW        2    m  NODIAL
18455    fax1      HOW       11/24 13:17      NOW        0    m  QUEUED
qe-rs2 # vfxstat

Device       Comments              State
———–  ——————–  ————-
fax1         Fax Modem #1          Unknown
lb           LoopBack              Unknown
lcr          LCR hold queue        Unknown [Holding queue only]
sm           SendMail              Unknown

Job Num  Dest      User       Submitted    Scheduled   Att  Pri  Result  Group
——-  ——–  ——–  ———–  ———–  —  —  ——  —–
18453    fax1      SRS       11/24 09:06      NOW        3    m  NODIAL
18454    fax1      SRS       11/24 09:07      NOW        2    m  NODIAL
18455    fax1      HOW       11/24 13:17      NOW        0    m  QUEUED
qe-rs2 # vfxsched stop
Server is not running
qe-rs2 # ps -ef |grep fax
vsifax 14880 33298   0 09:49:33      –  0:00 /a/vsifax/lbin/lb-fim -d lb
vsifax 17140 33298   0 09:49:31      –  0:00 /a/vsifax/lbin/vnetfax
root 25746 21134   0 14:26:01  pts/2  0:00 grep fax
vsifax 30196 33298   0 09:49:31      –  0:00 /a/vsifax/lbin/vgsched
vsifax 31314 33298   0 09:49:33      –  0:00 /a/vsifax/lbin/sm-fim -d sm
vsifax 33298     1   0 09:49:31      –  0:01 /a/vsifax/lbin/vrsched
vsifax 38642 33298   0 09:49:32      –  0:00 /a/vsifax/lbin/vxmld
qe-rs2 # kill -9 30196 33298
qe-rs2 # ps -ef |grep fax
root 33300 21134   0 14:26:27  pts/2  0:00 grep fax
qe-rs2 #  vfxsched start
vfxsched: Starting the server
vfxsched: Please wait .. done
qe-rs2 # vfxstat
Server on qe-rs2 has been up since 11/24 14:26

Device       Comments              State
———–  ——————–  ————-
fax1         Fax Modem #1          Dialing (18454) [1-315-655-4319]
lb           LoopBack              Idle
lcr          LCR hold queue        Not running [Holding queue only]
sm           SendMail              Idle

Job Num  Dest      User       Submitted    Scheduled   Att  Pri  Result  Group
——-  ——–  ——–  ———–  ———–  —  —  ——  —–
18454    fax1      SRS       11/24 09:07      NOW        2    m  SNDING
18453    fax1      SRS       11/24 09:06      NOW        3    m  NODIAL
18455    fax1      HOW       11/24 13:17      NOW        0    m  QUEUED
qe-rs2 # vfxstat
Server on qe-rs2 has been up since 11/24 14:26

Device       Comments              State
———–  ——————–  ————-
fax1         Fax Modem #1          Dialing (18453) [1-708-532-1811]
lb           LoopBack              Idle
lcr          LCR hold queue        Not running [Holding queue only]
sm           SendMail              Idle

Job Num  Dest      User       Submitted    Scheduled   Att  Pri  Result  Group
——-  ——–  ——–  ———–  ———–  —  —  ——  —–
18453    fax1      SRS       11/24 09:06      NOW        3    m  SNDING
18455    fax1      HOW       11/24 13:17      NOW        0    m  QUEUED
18454    fax1      SRS       11/24 09:07  11/24 14:31    3    m  NODIAL
qe-rs2 # vfxstat
Server on qe-rs2 has been up since 11/24 14:26

Device       Comments              State
———–  ——————–  ————-
fax1         Fax Modem #1          Not running [Too many no-dials encountered]
lb           LoopBack              Idle
lcr          LCR hold queue        Not running [Holding queue only]
sm           SendMail              Idle

Job Num  Dest      User       Submitted    Scheduled   Att  Pri  Result  Group
——-  ——–  ——–  ———–  ———–  —  —  ——  —–
18454    fax1      SRS       11/24 09:07  11/24 14:31    3    m  NODIAL
18453    fax1      SRS       11/24 09:06  11/24 14:32    4    m  NODIAL
18455    fax1      HOW       11/24 13:17  11/24 14:32    1    m  NODIAL
qe-rs2 # cd ../spool
qe-rs2 # ls
archive  dbs      expired  fifos    in       logs     mail     temp
qe-rs2 # cd logs
qe-rs2 # ls
.ckp-lb    lb         sm         vadmind-0  vgsched-1  vmail-3    vnetfax-4  vnotify-5  vxmld
fax1       lb-0       sm-0       vadmind-1  vgsched-2  vmail-4    vnetfax-5  vrsched    vxmld-0
fax1-0     lb-1       sm-1       vadmind-2  vgsched-3  vmail-5    vnotify    vrsched-0  vxmld-1
fax1-1     lb-2       sm-2       vadmind-3  vgsched-4  vnetfax    vnotify-0  vrsched-1  vxmld-2
fax1-2     lb-3       sm-3       vadmind-4  vgsched-5  vnetfax-0  vnotify-1  vrsched-2  vxmld-3
fax1-3     lb-4       sm-4       vadmind-5  vmail-0    vnetfax-1  vnotify-2  vrsched-3  vxmld-4
fax1-4     lb-5       sm-5       vgsched    vmail-1    vnetfax-2  vnotify-3  vrsched-4  vxmld-5
fax1-5     lcr        vadmind    vgsched-0  vmail-2    vnetfax-3  vnotify-4  vrsched-5
qe-rs2 # cat fax1
11/24 14.26.40: “fax1” Fax Interface Module
11/24 14.26.40: Version    = 4.2.2b build 331
11/24 14.26.40: Build info = AIX bigblue 3 4 0076541F4C00
11/24 14.26.40: System     = AIX:3:5:00C9A73E4C00
11/24 14.26.40: Fax Dest   = fax1
11/24 14.26.40: Device     = /dev/tty3
11/24 14.26.40: Process ID = 38650
11/24 14.26.40: Debug      = off
11/24 14.26.40: ——————————————————
11/24 14.26.40: INFO    :     0.426: setting up streams
11/24 14.26.40:                      module “ldterm” is already on the stream
11/24 14.26.40: INFO    :     0.426: streams set up OK
11/24 14.26.42: EVENT   :     2.094: … skipping {AT &F S0=0 E0 Q0 V1}
11/24 14.26.42: found modem: Multi-Tech with 56k Rockwell chipsets
11/24 14.26.43: MTYPE   :     3.494: Modem manufacturer            : CONEXANT
11/24 14.26.43: MTYPE   :     3.494: Modem model                   : V90
11/24 14.26.43: MTYPE   :     3.494: Modem version                 : C2FAX PATCH – V0.04C
11/24 14.26.43: MTYPE   :     3.494: Modem entry used              : Multi-Tech with 56k Rockwell chipsets
11/24 14.26.43: MTYPE   :     3.494: Supported classes             : 0 1 2
11/24 14.26.43: ——————- top of loop ———————-
11/24 14.26.43: MAINLOOP:     3.734: waiting for an event
11/24 14.26.43: SIGNAL  :     3.737: caught SIGUSR1
11/24 14.26.43: ——————————————————
11/24 14.26.43: JOB     :     3.737: processing request 18454 at 2009/11/24 14:26:43
11/24 14.26.43: JOB     :     3.737: Loaded fax file f-18454.tif (1 page: 1-1)
11/24 14.26.52: FAIL    :     8.877: calling Jobfail_env with 108 [No dialtone]
11/24 14.26.52: FAIL    :     8.877: connecting fails with result = 108 [No dialtone]
11/24 14.26.52: FAIL    :     8.877: <No dialtone>
11/24 14.26.52: ——————- top of loop ———————-
11/24 14.26.54: EVENT   :    10.518: … skipping {AT &F S0=0 E0 Q0 V1}
11/24 14.26.54: MAINLOOP:    10.758: waiting for an event
11/24 14.26.54: SIGNAL  :    10.761: caught SIGUSR1
11/24 14.26.54: ——————————————————
11/24 14.26.54: JOB     :    10.761: processing request 18453 at 2009/11/24 14:26:54
11/24 14.26.54: JOB     :    10.761: Loaded fax file f-18453.tif (1 page: 1-1)
11/24 14.27.05: FAIL    :    11.378: calling Jobfail_env with 108 [No dialtone]
11/24 14.27.05: FAIL    :    11.378: connecting fails with result = 108 [No dialtone]
11/24 14.27.05: FAIL    :    11.378: <No dialtone>
11/24 14.27.05: ——————- top of loop ———————-
11/24 14.27.07: EVENT   :    13.038: … skipping {AT &F S0=0 E0 Q0 V1}
11/24 14.27.07: MAINLOOP:    13.278: waiting for an event
11/24 14.27.07: SIGNAL  :    13.281: caught SIGUSR1
11/24 14.27.07: ——————————————————
11/24 14.27.07: JOB     :    13.281: processing request 18455 at 2009/11/24 14:27:07
11/24 14.27.07: JOB     :    13.282: Loaded fax file f-18455.tif (1 page: 1-1)
11/24 14.27.19: FAIL    :    11.718: calling Jobfail_env with 108 [No dialtone]
11/24 14.27.19: FAIL    :    11.718: connecting fails with result = 108 [No dialtone]
11/24 14.27.19: FAIL    :    11.718: <No dialtone>
11/24 14.27.19: ——————- top of loop ———————-
11/24 14.27.19: FAIL: calling Mainfail_env with 118 [Caught SIGTERM]
11/24 14.27.19: EXIT    :    11.728: Exiting with status 118 at 2009/11/24 14:27:19

Advertisements

, , , , , , , , , ,

  1. #1 by Yuriy Kolerov on August 8, 2011 - 1:34 pm

    I guess tomorrow never came.. 😉

  2. #2 by gmconklin on June 17, 2010 - 12:19 am

    Too funny… I was making fun of all of this and I got a call today requiring me to resolve this exact issue… I will post a more coherent summary tomorrow of the steps to test/resolve VSIFAX issues…

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: