ORACLE在HP-UX下的系列問題處理(15)
2024-08-29 13:39:46
供稿:網友
Oracle:“start x PRint servers”消息禁用打印問題描述
在Oracle升級過程中,我的系統啟動并顯示下面的信息:
start x print servers
自從看到這個信息后,我就一直無法打印任何東西。我進入系統治理治理器(SAM)查看打印機信息,但屏幕掛起。我還嘗試恢復打印機配置,但屏幕繼續掛起。
如何解決這個問題?
配置信息
操作系統 - HP-UX
版本 - 11.0
硬件系統 - HP9000
系列 - K570
應用程序 - Oracle
解決方法
按照下面的步驟解決你的問題:
1. 進入目錄/var/spool/lp。
2. 執行“ls”命令,檢查是否有FIFO和SCHEDLOCK文件。
3. 執行“lpstat -r”,看一看sched是否正在運行。
注:假如sched正在運行,則執行lpshut終止sched進程。
4. 執行“rm FIFO SCHEDLOCK Toutputq *lock.”命令。
注:刪除適用于你的系統的文件。
5. 執行“> outputq”命令,清除outputq文件中的內容。
6. 執行“> log”命令,清除日志文件中的內容。
7. 執行“ps -efgrep lp”命令。
注:對所有活動的lpsched繼續執行kill -9。
8. 執行“lpsched -v”,重新啟動lpsched進程。
9. 執行“more log”命令。
10. 執行“lp -dprinter ./file”。
.........following with all English text ....
Problem Description
During my Oracle upgrade, my system booted and printed this message:
start x print servers
I have not been able to print anything since I saw this message.
I went into the System Administration Manager (SAM) to view the printer
information, and the screen hung. I also tried to restore the printer
configuration, and the screen continued to hang.
How can I resolve this problem?
Configuration Info
Operating System - HP-UX
Version - 11.0
Hardware System - HP9000
Series - K570
application - Oracle
Solution
Use these steps to resolve your problem:
1. Change Directories to /var/spool/lp.
2. Execute the 'ls' command to check for the existence of FIFO and
SCHEDLOCK files.
3. Execute 'lpstat -r' to see if sched is running.
Note: If sched is running, execute lpshut to stop the sched process.
4. Execute the 'rm FIFO SCHEDLOCK Toutputq *lock.' command.
Note: Delete the files that apply to your system.
5. Execute the '> outputq' command to clear the contents of the outputq file.
6. Execute the '> log' command to clear the contents of the log file.
7. Execute the 'ps -efgrep lp' command.
Note: Do a kill -9 on all active lpsched processes.
8. Execute 'lpsched -v' to re-start the lpsched process.
9. Execute the 'more log' command.
10. Execute 'lp -dprinter ./file'.