LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-06-2015, 04:40 AM   #1
hallerx
LQ Newbie
 
Registered: Aug 2015
Location: Lithuania
Posts: 3

Rep: Reputation: Disabled
Interrupting auto-startup


Hello,

I am only a bit familiar with Linux. We have a scanner controller running Red Hat nash version 5.1.19.0.3. Since I couldn't view command line interface through a VGA - connected monitor, I assembled myself a COM cable. I connected through terminal and I could see things, could even type, but it looks like the input of keyboard is not registered.

The first user interaction is when it asks if I wanted to run in interactive mode by pressing "I", I was tapping "I", or typing "I" and hitting enter, but it didn't work. Next prompt was:
Type "s <enter>" within 3 seconds to stop auto-run of Accxes.

Things tried:
-pressing only s
-pressing s and hitting enter
-pressing s, space, enter
-pressing s, enter

Code:
Any ideas on how to get rid of auto startup of Xerox FreeFlow Accxes? The main goal is to install an FTP server on this machine.

Here is a log of the machine:

Red Hat nash version 5.1.19.0.3 starting
		Welcome to Fedora Core
		Press 'I' to enter interactive startup.
Setting clock  (localtime): Thu Aug  6 12:16:11 CEST 2015 [  OK  ]

Starting udev: [  OK  ]

Loading default keymap (us): [  OK  ]

Setting hostname System.Accxes:  [  OK  ]

No devices found
Setting up Logical Volume Management:   No volume groups found
[  OK  ]

Checking filesystems
Checking all file systems.
[/sbin/fsck.ext3 (1) -- /] fsck.ext3 -y /dev/sda7 
e2fsck 1.39 (29-May-2006)
/1: clean, 42776/767232 files, 383297/767095 blocks
[/sbin/fsck.ext3 (1) -- /boot] fsck.ext3 -y /dev/sda1 
e2fsck 1.39 (29-May-2006)
/boot: clean, 31/26104 files, 13743/104388 blocks
[/sbin/fsck.ext3 (1) -- /debug] fsck.ext3 -y /dev/sda14 
e2fsck 1.39 (29-May-2006)
/debug: clean, 15/2000 files, 2823/8000 blocks
[/sbin/fsck.ext3 (1) -- /home] fsck.ext3 -y /dev/sda8 
e2fsck 1.39 (29-May-2006)
/home1: clean, 2645/767232 files, 163712/767095 blocks
[/sbin/fsck.ext3 (1) -- /ia] fsck.ext3 -y /dev/sda6 
e2fsck 1.39 (29-May-2006)
/ia: clean, 11/1025024 files, 50520/1024135 blocks
[/sbin/fsck.ext3 (1) -- /jsdb] fsck.ext3 -y /dev/sda10 
e2fsck 1.39 (29-May-2006)
/jsdb: clean, 12/128520 files, 26774/514048 blocks
[/sbin/fsck.ext2 (1) -- /stn] fsck.ext2 -y /dev/sda3 
e2fsck 1.39 (29-May-2006)
/stn: clean, 19/43712512 files, 1400816/43700816 blocks
[/sbin/fsck.ext2 (1) -- /tpr2] fsc
INIT: Entering runlevel: 3

Entering non-interactive startup
Calling product powerup script /home/accxes/bin/bootConfig.sh
No power toggling required
Starting background readahead: [  OK  ]

Applying ip6tables firewall rules: Warning: never matched protocol: ah. use extension match instead.
[  OK  ]

Applying iptables firewall rules: [  OK  ]

Loading additional iptables modules: ip_conntrack_ftp [  OK  ]

Bringing up loopback interface:  [  OK  ]

Bringing up interface eth0:  
Determining IP information for eth0... done.
[  OK  ]

Starting system logger: [  OK  ]

Starting kernel logger: [  OK  ]

Starting irqbalance: [  OK  ]

Starting portmap: [  OK  ]

Starting system message bus: [  OK  ]

Mounting other filesystems:  [  OK  ]

Starting PC/SC smart card daemon (pcscd): [  OK  ]

Starting snmpd: [  OK  ]

Starting autofs:  Loading autofs4: [  OK  ]

Starting automount: [  OK  ]

[  OK  ]

Starting acpi daemon: [  OK  ]

Starting sshd: [  OK  ]

Starting xinetd: [  OK  ]

Starting alsasound:  ALSA driver is already running.
[  OK  ]

Starting xfs: [  OK  ]

Starting jexec:  Starting jexec services[  OK  ]

Starting Avahi daemon... [  OK  ]

Starting HAL daemon: [  OK  ]

Simple mixer control 'Front',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 87
  Mono:
  Front Left: Playback 0 [0%] [-65.25dB] [on]
  Front Right: Playback 0 [0%] [-65.25dB] [on]
Simple mixer control 'Front',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 87
  Mono:
  Front Left: Playback 87 [100%] [0.00dB] [on]
  Front Right: Playback 87 [100%] [0.00dB] [on]


Type "s <enter>" within 3 seconds to stop auto-run of Accxes.
s <enter>[1B]c
XEROX FreeFlow Accxes Controller
Install CD Version: 5.0  Build: 100
Kernel 2.6.22.9-61.fc6 on an i686
Accxes Version:  15.2  Build:  103  Type:  7142 
System login: Calling chrt on Launch Script (PID 4307 PRI 60) ... OK
Stopping HAL daemon: [  OK  ]

Starting HAL daemon: [  OK  ]

[1B][H[1B][J7142 found.  No modules needed.
Initializing memory driver device...
Creating device: /dev/xrxMemoryDrv ... OK
Initializing product specific device...
No devices need to be created
Loading memory module.
Loading module: xeroxMemoryDrv ... OK
No extra modules to load.

Increasing kernel thread priorities...
Calling chrt on SSH Daemon (PID 4147 PRI 99) ... OK
Calling chrt on init Daemon (PID 1 71) ... OK
Calling chrt on udevd Daemon (PID 591 PRI 77) ... OK
Calling chrt on ksoftirqd/0 Daemon (PID 4 PRI 71) ... OK
Calling chrt on events/0 Daemon (PID 15 PRI 71) ... OK
Bump Priority: No knodemgr_d Daemon found
Calling chrt on khpsbpkt Daemon (PID 455 PRI 71) ... OK
Calling chrt on kswapd0 Daemon (PID 248 PRI 41) ... OK
Calling chrt on kblockd/0 Daemon (PID 65 PRI 41) ... OK
Calling chrt on pdflush Daemon (PID 246 PRI 41) ... OK
Calling chrt on pdflush Daemon (PID 247 PRI 41) ... OK
Calling chrt on kjournald Daemon (PID 536 PRI 41) ... OK
Calling chrt on kjournald Daemon (PID 2157 PRI 41) ... OK
Calling chrt on kjournald Daemon (PID 2158 PRI 41) ... OK
Calling chrt on kjournald Daemon (PID 2159 PRI 41) ... OK
Calling chrt on kjournald Daemon (PID 2160 PRI 41) ... OK
Calling chrt on kjournald Daemon (PID 2161 PRI 41) ... OK
Calling chrt on syslogd Daemon (PID 4004 PRI 41) ... OK
Calling chrt on klogd Daemon (PID 4007 PRI 41) ... OK
Calling chrt on kauditd Daemon (PID 558 PRI 41) ... OK
Calling chrt on ata/0 Daemon (PID 520 PRI 41) ... OK
Calling chrt on aio/0 Daemon (PID 300 PRI 41) ... OK
Calling chrt on khelper Daemon (PID 19 PRI 41) ... OK
Calling chrt on Kernel acpid Daemon (PID 69 PRI 41) ... OK
Calling chrt on acpid Daemon (PID 4134 PRI 41) ... OK
Calling chrt on khub Daemon (PID 205 PRI 71) ... OK
Calling chrt on kseriod Daemon (PID 207 PRI 41) ... OK
Calling chrt on SCSI Error Handler(0) Daemon (PID 530 PRI 41) ... OK
Calling chrt on SCSI Error Handler(1) Daemon (PID 531 PRI 41) ... OK
Calling chrt on SCSI Error Handler(2) Daemon (PID 532 PRI 41) ... OK
Calling chrt on SCSI Error Handler(3) Daemon (PID 533 PRI 41) ... OK
Calling chrt on SCSI Error Handler(4) Daemon (PID 534 PRI 41) ... OK
Calling chrt on SCSI Error Handler(5) Daemon (PID 535 PRI 41) ... OK
Calling chrt on kthread Daemon (PID 2 PRI 41) ... OK
Calling chrt on ACPI Notify Daemon (PID 70 PRI 41) ... OK
Calling chrt on cqueue/0 Daemon (PID 198 PRI 41) ... OK
Calling chrt on USB Suspend Daemon (PID 202 PRI 41) ... OK
Calling chrt on ATA Hotplug Daemon (PID 524 PRI 41) ... OK
Calling chrt on XFS Daemon (PID 4194 PRI 4) ... OK
Calling chrt on Device-Mapper Multipath Daemon (PID 2095 PRI 41) ... OK
Calling chrt on D-Bus Daemon (PID 4050 PRI 77) ... OK
Calling chrt on Automount Daemon (PID 4115 PRI 41) ... OK
Calling chrt on xinet Daemon (PID 4158 PRI 27) ... OK
Calling chrt on HAL Daemon (PID 4325 PRI 77) ... OK
Calling chrt on HAL Runner Daemon (PID 4326 PRI 77) ... OK
Calling chrt on HAL ACPI Daemon (PID 4333 PRI 77) ... OK
Calling chrt on HAL Keyboard Daemon (PID 4339 PRI 77) ... OK
Calling chrt on HAL Keyboard Daemon (PID 4345 PRI 77) ... OK
Calling chrt on HAL Keyboard Daemon (PID 4348 PRI 77) ... OK
Calling chrt on HAL Storage Daemon (PID 4355 PRI 77) ... OK

Configuring virtual memory parameters...
vm.dirty_background_ratio = 1
vm.dirty_expire_centisecs = 50
vm.dirty_ratio = 100
vm.dirty_writeback_centisecs = 25
vm.swappiness = 60
vm.vfs_cache_pressure = 110
vm.min_free_kbytes = 131072
ERROR: Module e1000 does not exist in /proc/modules
insmod: error inserting '/lib/modules/2.6.22.9-61.fc6/kernel/drivers/net/e1000e/e1000e.ko': -1 File exists

Determining IP information for eth0...dhclient(3953) is already running - exiting. 
exiting.
 failed.

Checking for JBOSS threads...
JBOSS not running.
Deleting /usr/java/jboss/server/default/work/jboss.web/localhost...

Validating that all needed modules are installed.

raw1394 module found.

Module "ohci1394.ko" not installed. Attempting install...

Using module path: /lib/modules/2.6.22.9-61.fc6/kernel/drivers/ieee1394/

Module installed successfully.

Pausing to allow driver initialization.
testlibraw call SUCCEEDED. Checking for Xerox Wide Format scanner.

Firewire card not found.
Firewire card initialization failed.
Make sure card is properly installed.

checkForScanner FAILED.

Firewire test completed with ERROR.

DDS Enabled.

TPR2-DOWN
logger: PSM file found and is nonzero creating backup
<launchAccxes> No license support for tpr2! Launching without
Accxes Version:  15.2  Build:  103  Type:  7142 
./rhino.bin: RLIMIT_NOFILE now set to cur 1024 max 1024
MSGQ initialized.
FTP initialized.
0x024f66f0 (tRootTask): Logging started
0x024f66f0 (tRootTask): chdir to /home/accxes/ successful
0x024f66f0 (tRootTask): Hotplug Pipes (drv = 21, Sc = 23, EC = 22 MVC = 24 PWM = 25 HAL = 26)
0x024f66f0 (tRootTask): Starting the system inits
0x024f66f0 (tRootTask): Disk logging init (sim):  logMsg() --> 29 --> tDbgDisk
<initFWAdapter>1394 card found: nodes = 0, driver = 
0x024f66f0 (tRootTask): <initFWAdapter>Couldn't set port.
0x024f66f0 (tRootTask): [07]linuxInit.c @(#)linuxInit.c	$Revision: 1.322.2.4 $: 4576
0x024f66f0 (tRootTask): Firewire init failed! Make sure card is properly installed.
0x024f66f0 (tRootTask): Setup 0 fetched from disk, 0 skipped, <126868> bytes
0x024f66f0 (tRootTask): Setup 1 fetched from disk, 0 skipped, <30330> bytes
0x024f66f0 (tRootTask): Setup 2 fetched from disk, 0 skipped, <30332> bytes
0x024f66f0 (tRootTask): Setup 3 fetched from disk, 0 skipped, <30129> bytes
0x024f66f0 (tRootTask): Setup 4 fetched from disk, 0 skipped, <30129> bytes
0x024f66f0 (tRootTask): Setup 5 fetched from disk, 0 skipped, <30129> bytes
0x024f66f0 (tRootTask): Setup 6 fetched from disk, 0 skipped, <30129> bytes
0x024f66f0 (tRootTask): Setup 7 fetched from disk, 0 skipped, <30129> bytes
0x024f66f0 (tRootTask): Setup 8 fetched from disk, 0 skipped, <30129> bytes
0x024f66f0 (tRootTask): Setup 9 fetched from disk, 0 skipped, <30129> bytes
(t38758128: tRootTask): Hardware MAC Address is D4:BE:D9:9C:33:9F
bogomips: <6589>
0x024f66f0 (tRootTask): CPU string: "Intel(R) Core(TM) i3-2120 "
cores: <2>
0x024f66f0 (tRootTask): Ethernet Link - Auto Negotiate: ENABLED 100 Mb/s - FULL Duplex connection.
0x024f66f0 (tRootTask): Display Manager successfully initialized.
0x024f66f0 (tRootTask): <linuxInit> DOW overwriteOn: 0, onDemandOn: 0
0x024f66f0 (tRootTask): DOW_init:  DirtyFileName: ./.dow, overwrite: 0,  onDemand: 0
0xb587ab90 (tPwmTask): <PWMUSB_Initialize> FAKING USB power hardware access...
                    simulate hardware as: 
                    POWER RELAY ON
                    LED RELAY OFF
                    POWER SWITCH ON
                    POWER SAVER BUTTON NOT PRESSED
<linuxHeapInit> Detected 1983737856 bytes
<linuxHeapInit> JBoss present.  Reduce available mem 536870912 bytes to 1446866944
<linuxHeapInit> PS license not detected.  Using 7 heaps
<linuxHeapInit> singleHeapSize: 113246208
0xb587ab90 (tPwmTask): <PWMEvent_EnterInitializing> Power Management is ENABLED
0x024f66f0 (tRootTask): <countBufferSegments> pAddress: 0xA74FF200 okDma: 0 numSegments: 55297
0x024f66f0 (tRootTask): <countBufferSegments> pAddress: 0x99CFE200 okDma: 0 numSegments: 55297
0x024f66f0 (tRootTask): <countBufferSegments> pAddress: 0x8C4FD200 okDma: 0 numSegments: 55297
0x024f66f0 (tRootTask): <countBufferSegments> pAddress: 0x7ECFC200 okDma: 0 numSegments: 55297
0x024f66f0 (tRootTask): <countBufferSegments> pAddress: 0x714FB200 okDma: 1 numSegments: 160
0x024f66f0 (tRootTask): <countBufferSegments> pAddress: 0x63CFA200 okDma: 1 numSegments: 162
<linuxHeapInit> PS has 0 bytes at address: 0
0x024f66f0 (tRootTask): <linuxHeapInit> ACCEPTED address BCM: 0x714FB200. 160 segments.
0x024f66f0 (tRootTask): <linuxHeapInit> ACCEPTED address SIB: 0x63CFA200. 162 segments.
<linuxHeapInit> JS has 113246208 bytes at address: ae0ff200
<linuxHeapInit> DL has 226492416 bytes at address: a08fe200
0xa08fdb90 (tsnmpV3Task): <snmpInitAccxes> accxes_snmp_enabled = 1
0xa08fdb90 (tsnmpV3Task): <snmpHandleMasterAgent> Starting Main Agent [snmpd].
0x9fefcb90 (tCTRLTouchTask): <DM_registerMvc> MVC: 2683292560 successfully registered.
0x9fefcb90 (tCTRLTouchTask): guiStart() with base path </home/accxes/>: 
<swapFileInit> file /acc/bcmSwapFile.tmp of size 15032385536 is correct size.  No changes needed
<swapFileInit> file /acc/jsSwapFile.tmp of size 10737418240 is correct size.  No changes needed
<swapFileInit> file /acc/sibSwapFile1.tmp of size 16106127360 is correct size.  No changes needed
<swapFileInit> file /acc/psSwapFile.tmp of size 5368709120 is correct size.  No changes needed
Shutting down snmpd: [  OK  ]

Starting snmpd: [  OK  ]

0xa08fdb90 (tsnmpV3Task): <snmpHandleMasterAgent> Setting Real-time Priority of Main Agent [snmpd] to 28.
0xa08fdb90 (tsnmpV3Task): <snmpHandleMasterAgent> Setting Real-time Priority of Main Agent [snmpd] to 28.
0xa08fdb90 (tsnmpV3Task): Initializing ACCXES SNMP sub-agent
netsnmp_assert !"registration != duplicate" failed agent_registry.c:535 netsnmp_subtree_load()
netsnmp_assert !"registration != duplicate" failed agent_registry.c:535 netsnmp_subtree_load()
netsnmp_assert !"registration != duplicate" failed agent_registry.c:535 netsnmp_subtree_load()
0xa08fdb90 (tsnmpV3Task): <SnmpLangInit> Initializing SNMP Language.
0xa08fdb90 (tsnmpV3Task): <SnmpLangInit> Unrecognized Lang from PSM, deflt to English.
0xa08fdb90 (tsnmpV3Task): <SnmpLangInit> gPsmSnmpLang =558
0xa08fdb90 (tsnmpV3Task): <SnmpLangInit> loaded language is: sEnglish
0xa08fdb90 (tsnmpV3Task): <AlertDetector> mapAlertCondition - INITIALIZED !
0x9fefcb90 (tCTRLTouchTask): guiStart() base path: /home/accxes/
0x024f66f0 (tRootTask): Configured as printer-copier
0xM drive SUPPORTED.
<CTRL_TOUCH_0x9d6f8b90 (tIotTask++): [07]ConnectionManager7142.cpp @(#)ConnectionManager7142.cpp $Revision: 1.21 $: 339
0x9d6f8b90 (tIotTask++): Ping 13.141.62.106 failed. Retrying...
0x90cedb90 (Name not tracked): PSIF_psInit():  Not enough heap for PostScript (0 bytes)
0xa08fdb90 (tsnmpV3Task): <snmpGetPrtGenCurLocalIndex> Language not found in list!
0xa08fdb90 (tsnmpV3Task): <snmpGetPrtConsoleLocalIndex> Language not found in list!
0x9fefcb90 (tCTRLTouchTask): setWidgetStateServices, no scanner IF
0xa08fdb90 (tsnmpV3Task): Initializing Printer Port Monitor MIB
0xa08fdb90 (tsnmpV3Task): Initializing Xerox General MIB
0xa08fdb90 (tsnmpV3Task): Initializing SNMP library
NET-SNMP version 5.4.1 AgentX subagent connected
0xa08fdb90 (tsnmpV3Task): AccXES SNMP Agent - Up and Running !
0x9d6f8b90 (tIotTask++): [07]ConnectionManager7142.cpp @(#)ConnectionManager7142.cpp $Revision: 1.21 $: 347
0x9d6f8b90 (tIotTask++): Connection to 13.141.62.106 failed.
0x9d6f8b90 (tIotTask++): Failed to send DD_DISCOVERDEVICE_TOKEN in IOT_STATE_WAITING_FOR_PRINTER.
0x9d6f8b90 (tIotTask++): [07]IotStateWaitingForPrinter.cpp @(#)IotStateWaitingForPrinter.cpp $Revision: 1.20 $: 107
0x9d6f8b90 (tIotTask++): [07]TaskTokenInputInterface.cpp @(#)TaskTokenInputInterface.cpp $Revision: 1.6 $: 107
0x9d6f8b90 (tIotTask++): <TaskTokenInputInterface::registerForInputEvent> Invalid pipe -1.
If anybody has any ideas on how to solve the riddle, it's appreciated
 
Old 08-06-2015, 10:35 PM   #2
Keruskerfuerst
Senior Member
 
Registered: Oct 2005
Location: Horgau, Germany
Distribution: Manjaro KDE, Win 10
Posts: 2,199

Rep: Reputation: 164Reputation: 164
What do you want to interrupt?
 
Old 08-07-2015, 12:16 AM   #3
hallerx
LQ Newbie
 
Registered: Aug 2015
Location: Lithuania
Posts: 3

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Keruskerfuerst View Post
What do you want to interrupt?
I want to stop loading Xerox Accxes application which auto-starts with Linux so I could somehow install an FTP server onto machine

Last edited by hallerx; 08-07-2015 at 12:18 AM.
 
Old 08-07-2015, 02:56 AM   #4
Keruskerfuerst
Senior Member
 
Registered: Oct 2005
Location: Horgau, Germany
Distribution: Manjaro KDE, Win 10
Posts: 2,199

Rep: Reputation: 164Reputation: 164
Then you should analyse the bootscripts.
 
Old 08-07-2015, 03:24 AM   #5
hallerx
LQ Newbie
 
Registered: Aug 2015
Location: Lithuania
Posts: 3

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Keruskerfuerst View Post
Then you should analyse the bootscripts.
Is there any way to achieve that without being able to actually access the terminal? I suppose I need to install the package onto the machine, but I cannot interact with it while connected through serial connection since any key I typed was not registered (I suppose) as input.

I could switch between terminals by using keyboard connected directly to the server. There is ctrl+alt+f1 which is main screen before loading gui, then ctrl+alt+f2 which is GUI and then ctrl+alt+f11, only a blinking cursor, but neither on those I can type.

Last edited by hallerx; 08-07-2015 at 03:28 AM.
 
Old 08-07-2015, 09:13 AM   #6
fatmac
Senior Member
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: Mainly Devuan with some Tiny Core, Fatdog, Haiku, & BSD thrown in.
Posts: 4,922

Rep: Reputation: Disabled
Likely, boot to single user mode, then alter the neccessary files.
https://en.wikipedia.org/wiki/Single_user_mode
 
Old 08-07-2015, 09:39 AM   #7
Keruskerfuerst
Senior Member
 
Registered: Oct 2005
Location: Horgau, Germany
Distribution: Manjaro KDE, Win 10
Posts: 2,199

Rep: Reputation: 164Reputation: 164
What bootscripts are used?
SysVinit, Systemd or Upstart?

You can use a livecd and mount the root partition and then change the boot behaviour.
 
  


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
Auto Startup Service thomas2004ch Linux - Software 4 09-03-2012 08:42 AM
How to configure auto login & after login auto startup some program. hocheetiong Linux - Newbie 1 02-18-2008 12:49 AM
Auto Startup alexwijn Linux - General 2 06-08-2006 09:47 PM
auto load at startup kuliand Linux - Software 2 05-22-2006 06:38 AM
Auto startup binumvk Linux - Software 5 10-29-2004 05:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:29 AM.

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