Perl scripts not recognized by Apache 1.3
Hello Discussions-Tiger Forums,
I need to do some troubleshooting of Perl scripts on a PowerPC Mac, as I wait for my company to get a new computer for me. The PowerPC is running Apache 1.3 .
My problem is that the Apache server is not running Perl scripts, but instead is displaying them like text files. For example - localhost:8080/hello.pl shows the lines of perl code instead of showing the "hello world" message.
I've uncommented the "AddModule mod_perl.c" line in the htpd.conf and restarted the web server via the "Sharing" Preferences panel.
Also - how do I tell Apache where perl is?
- Larry
Message was edited by: XRayLarry
Thanks for the CHMOD hint and the link. Inspired by the information, I am going to do some research into AddHandler and ScriptAlias. I am working on a site with a nonstandard location for cgi scripts, and the previous coder is out on vacation.
I'll report back here on my progress or lack thereof.
Similar Messages
-
Perl script not rendering values
I have a perl script that runs a form submission and sends me an email after user completes the form.
Once I get the mail, i see the form fields BUT I do not see the values that the user would enter.
Here is a snippet:
print MAIL "...If Contractor, employed by: $FORM{'Contractor_Employer'}\n";
print MAIL "...If Visitor, employed by: $FORM{'Visitor_Employer'}\n";
print MAIL "...If Reporting unsafe condition or other safety related issue:\n";
print MAIL "$FORM{'Unsafe_Conditions'}\n";
print MAIL "\n";
print MAIL "IDENTIFICATION DETAILS\n";
print MAIL "...Full Name of Injured: $FORM{'NameInjured'}\n";
print MAIL "...Job Title: $FORM{'JobTitle'}\n";
print MAIL "...Date Hired: $FORM{'DateHired'}-$FORM{'DHMonth'}-$FORM{'YearHired'} \n";
print MAIL "...Gender: $FORM{'Gender'}\n";
print MAIL "...Manager's Name: $FORM{'Emp_Manager
any ideas?My idea would be: debug it.
Your post had so little technical information so I can't be more specific, sorry.
[I know this isn't a Perl forum, but since isn't one on OTN, I'm OK with you asking it here] -
Perl Scripts not executable in web server
I have a MacMini running 10.4 Server. It is hosting a web site for some surveys that are created using SurveyTracker.
The person creating the surveys SMB connects to the web server to create the files in the share point that is also the main web directory (not /Library/WebServer/Documents but a different location).
The problem is, when the person does the SMB file create, it does not create the pl scripts with the 'x' bit enabled. Instead of rwx/rwx/r-x (775) it comes rw-/rw-/r-- (664).
I have tried setting a cron job to auto chmod to 775 every five minutes but the cron job does not run.
Is there a way to change the permsissions on the folder, i.e. Sticky Bit, so any file being created in the folder wil have the 'x' bit automatically?
The option of giving ssh access to the person creating the file is not as easy as it sounds, as they do not understand terminal/ssh.
I have mod_perl and mod_cgi enabled in the webserver settings, and allow CGI-Execute.
XServe Mac OS X (10.4.3)Hi Ludek,
After installing default printer on Server, i got No printers installed.
below is my code, (checking in Default printer installed or not in TRY)
CR_TGL_EBL.HasPrintButton = False
CR_TGL_EBL.ReportSource = rpt
Try
rpt.PrintToPrinter(No_of_copies, True, 0, 0)
Catch ex As Exception
Page.ClientScript.RegisterStartupScript([GetType](), "printer Problems", (Convert.ToString("alert('" + ex.Message + " ")) +"Your associated printer not working contact the admin!');", True)
End Try
Even i installed default printer i got alert message, How to get direct print in server.
Locally it's working fine. Once i enable printtoprinter it's loading only...
Please help me to solve this issue...
Regards,
Mani. -
VB SCript Not recognizing the open SAP session
Friends really need help here
this is the code i have
Sub StartTransaction(SapGuiAuto, Connection, session)
' Dim SapGuiAuto As Object
Dim i As Long
i = 1
' There may be bad entries in the ROT from previous crashes
While i < 10 And SapGuiAuto Is Nothing
i = i + 1
On Error Resume Next
Set SapGuiAuto = GetObject("SAPGUI")
On Error GoTo 0
Wend
If SapGuiAuto Is Nothing Then
MsgBox "Could not connect to SAPlogon process. Did you start it?", vbOKOnly Or vbCritical
End
End If
On Error Resume Next
Set SAPApplication = SapGuiAuto.GetScriptingEngine
Set SapGuiAuto = Nothing
On Error GoTo 0
If SAPApplication Is Nothing Then
MsgBox "Could not access GuiApplication. Maybe Scripting is disabled?", vbOKOnly Or vbCritical
End
End If
Set Connection = SAPApplication.Children(0)
Set session = Connection.Children(0)
End Sub
Even though i have multiple sap sessions open, it fails at
Set session = Connection.Children(0)
Any help is appreciatedHello.
Below code list all available SAP sessions in a messagebox (EXCEL VBA). You Need to reference SAPFEWSE.OCX in VBA Editor. This can be found in your program Folder for SAPGUI.
Sub List_SAP_Sessions()
Dim SapGuiAuto As Object
Dim i As Integer
Dim iSession As Long
Dim SAP_APP As Object
Dim Connection As SAPFEWSELib.GuiConnection
Dim Session As SAPFEWSELib.GuiSession
Dim strMSG As String
Dim strSessions$
i = 1
' There may be bad entries in the ROT from previous crashes
While i < 10 And SapGuiAuto Is Nothing
i = i + 1
On Error Resume Next
Set SapGuiAuto = GetObject("SAPGUI")
On Error GoTo 0
Wend
If SapGuiAuto Is Nothing Then
MsgBox "Could not connect to SAPlogon process. Did you start it?"
Exit Sub
End If
On Error Resume Next
Set SAP_APP = SapGuiAuto.GetScriptingEngine
Set SapGuiAuto = Nothing
On Error GoTo 0
If SAP_APP Is Nothing Then
MsgBox "Could not access GuiApplication. Maybe Scripting is disabled?"
Exit Sub
End If
Set SapGuiAuto = Nothing
iSession = 0
For Each Connection In SAP_APP.Children
If Not Connection.DisabledByServer Then
For Each Session In Connection.Children
If Session.Busy = False Then
iSession = iSession + 1
strMSG = strMSG & (Session.Info.SystemName & " (" & CStr(Session.Info.SessionNumber) & ") (" & Session.Info.Client & ") | User: " & Session.Info.User & " | Transaction: " & Session.Info.Transaction & " | Session ID: " & Session.ID) & vbCrLf & vbCrLf
End If
Next
End If
Next
strMSG = strMSG & vbCrLf & "Sessions counted: " & iSession
MsgBox strMSG, vbInformation + vbOKOnly, "Information"
End Sub
You can use a similar code to connect to a specific session by using Sesssion.ID. I have written an function for my EXCEL VBA template for this requirement:
Public Function objSession(strSessionID As String) As Object
Dim SapGuiAuto As Object
Dim SAP_APP As Object
Dim i As Integer
Dim bConnect As Boolean
Dim Connection As SAPFEWSELib.GuiConnection
Dim Session As SAPFEWSELib.GuiSession
Set objSession = Nothing
i = 1
' There may be bad entries in the ROT from previous crashes
While i < 10 And SapGuiAuto Is Nothing
i = i + 1
On Error Resume Next
Set SapGuiAuto = GetObject("SAPGUI")
On Error GoTo 0
Wend
If SapGuiAuto Is Nothing Then
MsgBox "Please start SAPlogon"
Exit Function
End If
On Error Resume Next
Set SAP_APP = SapGuiAuto.GetScriptingEngine
Set SapGuiAuto = Nothing
On Error GoTo 0
If SAP_APP Is Nothing Then
MsgBox "Scripting disabled"
Exit Function
End If
Set SapGuiAuto = Nothing
For Each Connection In SAP_APP.Children
If Not Connection.DisabledByServer Then
For Each Session In Connection.Children
If Session.Busy = False Then
If Session.ID = strSessionID Then
Set objSession = Session
locSessionHandle = Session.FindById("wnd[0]").Handle
bConnect = True
Exit For
End If
End If
Next
End If
If bConnect = True Then Exit For
Next
End Function
Hope this Support you to find root cause for your issue.
Best regards,
Holger -
IPS scripts not recognizing IPS_ROOT variable
None of the iPlanet scripts seem to recognize the environment variables IPS_ROOT or IPS_BASE. I am trying to run the ldapUpdate script per the SP2 installation instructions. I am installing a portal test enviroment and am trying to follow the upgrade path of our production server. This is why I am using SP2.
What am I doing wrong?
Thanks,
MattMatt,
You might want to ensure that IPS_ROOT is set correctly on your machine.
# echo $IPS_ROOT
Are you seeing any other errors when you run the update ?
Paste the errors into the notes - that would give us a better idea of what is happening.
HTH!
Satish -
I have developed a batch harness whereby all scheduled tasks (W2012) invoke a common powershell script that acts as a wrapper to all our housekeeping jobs.
The first step in the wrapper is to create a Transcript file using following code
if ($Host.name -ne "Windows PowerShell ISE Host") # Transcript does not work within ISE
$timestamp = (get-date -format "yyyy-MM-dd-HH-mm-ss.fff")
$path = "c:\corp\$timestamp" + "_$pid.txt"
Start-Transcript -path $path -append
As expected the folder contains files with timestamp & pid in name
08/08/2013 11:00 AM 14,388 2013-08-08-11-00-01.158_1620.txt
08/08/2013 11:00 AM 12,506 2013-08-08-11-00-01.485_936.txt
08/08/2013 11:00 AM 12,994 2013-08-08-11-00-01.735_9328.txt
08/08/2013 11:00 AM 12,024 2013-08-08-11-00-01.766_8624.txt
08/08/2013 11:00 AM 13,902 2013-08-08-11-00-01.860_1756.txt
08/08/2013 11:01 AM 15,142 2013-08-08-11-01-31.392_10120.txt
08/08/2013 05:00 AM 14,982 _1692.txt
However note the last file, it has a zero length date time value in the name
The error recorded by PowerShell is
get-date : The term 'get-date' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At C:\Corp\Powershell\DMPRun-ScheduledTask.ps1:171 char:18
+ $timestamp = (get-date -format "yyyy-MM-dd-HH-mm-ss.fff")
+ ~~~~~~~~
+ CategoryInfo : ObjectNotFound: (get-date:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
IE get-date has failed and returned a zero length field as the timestamp
Can anyone think of a good reason why get-date would fail intermittently?
Do I have to code defensively for base Powershell functions?I implemented David's suggestion and now I intermittently get
import-module : Access to the path 'PowerShell_CommandAnalysis_Lock' is denied.
At D:\temp\loop_jc2_2013_11_25_08_55_02.ps1:15 char:1
+ import-module Microsoft.Powershell.Utility
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Import-Module], UnauthorizedA
ccessException
+ FullyQualifiedErrorId : System.UnauthorizedAccessException,Microsoft.Pow
erShell.Commands.ImportModuleCommand
I added a trap chain (My Powershell skills do not yet include recursive trap coding, any suggestions welcome)
trap {
trap {
"Trap1"
"Exception: " + $_
"Error: " + $Error[0]
"Message: " + $_.Exception.Message
"InnerException: " + $_.Exception.InnerException
"StackTrace: " + $_.Exception.StackTrace
"FailedItem: " + $_.Exception.ItemName
import-module Microsoft.Powershell.Management
import-module Microsoft.Powershell.Security
import-module Microsoft.Powershell.Utility
"Trap2"
"Exception: " + $_
"Error: " + $Error[0]
"Message: " + $_.Exception.Message
"InnerException: " + $_.Exception.InnerException
"StackTrace: " + $_.Exception.StackTrace
"FailedItem: " + $_.Exception.ItemName
import-module Microsoft.Powershell.Management
import-module Microsoft.Powershell.Security
import-module Microsoft.Powershell.Utility
import-module Microsoft.Powershell.Management
import-module Microsoft.Powershell.Security
import-module Microsoft.Powershell.Utility
trap {
"Trap3"
"Exception: " + $_
"Error: " + $Error[0]
"Message: " + $_.Exception.Message
"InnerException: " + $_.Exception.InnerException
"StackTrace: " + $_.Exception.StackTrace
"FailedItem: " + $_.Exception.ItemName
exit 1
get-date
Now I intermittently get ..
Trap2
Exception: Access to the path 'PowerShell_CommandAnalysis_Lock' is denied.
Error: Access to the path 'PowerShell_CommandAnalysis_Lock' is denied.
Message: Access to the path 'PowerShell_CommandAnalysis_Lock' is denied.
InnerException:
StackTrace: at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.Threading.Mutex.MutexTryCodeHelper.MutexTryCode(Object userData)
at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
at System.Threading.Mutex.CreateMutexWithGuaranteedCleanup(Boolean initiallyOwned, String name, Boolean& createdNew, SECURITY_ATTRIBUTES secAttrs)
at System.Threading.Mutex..ctor(Boolean initiallyOwned, String name, Boolean& createdNew, MutexSecurity mutexSecurity)
at System.Threading.Mutex..ctor(Boolean initiallyOwned, String name, Boolean& createdNew)
at System.Management.Automation.AnalysisCache.CacheExportedCommands(PSModuleInfo module, Boolean force, ExecutionContext context)
at Microsoft.PowerShell.Commands.ModuleCmdletBase.LoadUsingModulePath(PSModuleInfo parentModule, Boolean found, IEnumerable`1 modulePath, String name, SessionState ss, ImportModuleOptions options, ManifestProcessingFlags manifestProcessingFlags,
PSModuleInfo& module)
at Microsoft.PowerShell.Commands.ImportModuleCommand.ImportModule_LocallyViaName(ImportModuleOptions importModuleOptions, String name)
at Microsoft.PowerShell.Commands.ImportModuleCommand.ProcessRecord()
at System.Management.Automation.CommandProcessor.ProcessRecord()
FailedItem:
import-module : Access to the path 'PowerShell_CommandAnalysis_Lock' is denied.
At D:\temp\loop_jc2_2013_11_25_09_19_52.ps1:26 char:1
+ import-module Microsoft.Powershell.Security
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Import-Module], UnauthorizedA
ccessException
+ FullyQualifiedErrorId : System.UnauthorizedAccessException,Microsoft.Pow
erShell.Commands.ImportModuleCommand -
I have restored successfully an exchange 2013 mailbox database from backup to the recovery database, but when i try to recover a user's mailbox I receive the following error
New-MaiboxRestoreRequest -SourceDatabase RDB1 -SourceStoreMailbox "testuser" -TargetMailbox [email protected]
The term 'New-MaiboxRestoreRequest' is not recognized as the name of a cmdlet, function,
script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
I already have the "mailbox import export" management role assigned to the logged in administrator.
Anand_Nsilly me i spelt the command wrong
Anand_N -
ASMCMD: perl.exe is not recognized as an internal
Hi all,
I installed 11g database with asm. I am unable to enter in to the asmcmd. it throws me the error "perl.exe is not recognized as an internal or external command, operable program or batch file".
I have set Oracle home to c:\oracle\dbhome_1, oracle sid to +ASM
my env: windows server 2008 r 2 installed with oracle 11.2.0.3 db with grid infrastructure(asm)
thanks.931643 wrote:
Hi all,
I installed 11g database with asm. I am unable to enter in to the asmcmd. it throws me the error "perl.exe is not recognized as an internal or external command, operable program or batch file".
I have set Oracle home to c:\oracle\dbhome_1, oracle sid to +ASM
my env: windows server 2008 r 2 installed with oracle 11.2.0.3 db with grid infrastructure(asm)
thanks.You need to set the ORACLE_HOME path to the Grid Infrastructure home path and not to the database home path.
Oracle SID needs to be set as +ASM -
I have a script that runs well the vast majority of the time. On occasion I get an exception. I would appreciate any insight as to why it fails on occasion. I can't understand why the new-object cmdlet wouldn't be recognized:
Message: The term 'new-object' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
Source: System.Management.Automation
StackTrace: at System.Management.Automation.CommandDiscovery.LookupCommandInfo(String commandName, CommandTypes commandTypes, SearchResolutionOptions searchResolutionOptions, CommandOrigin commandOrigin, ExecutionContext context)
at System.Management.Automation.CommandDiscovery.LookupCommandProcessor(String commandName, CommandOrigin commandOrigin, Nullable`1 useLocalScope)
at System.Management.Automation.ExecutionContext.CreateCommand(String command, Boolean dotSource)
at System.Management.Automation.PipelineOps.AddCommand(PipelineProcessor pipe, CommandParameterInternal[] commandElements, CommandBaseAst commandBaseAst, CommandRedirection[] redirections, ExecutionContext context)
at System.Management.Automation.PipelineOps.InvokePipeline(Object input, Boolean ignoreInput, CommandParameterInternal[][] pipeElements, CommandBaseAst[] pipeElementAsts, CommandRedirection[][] commandRedirections, FunctionContext funcContext)
at System.Management.Automation.Interpreter.ActionCallInstruction`6.Run(InterpretedFrame frame)
at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
Here is the script I am running:
param([string]$endpoint)
$ErrorActionPreference = "Stop";
try
[System.Reflection.Assembly]::LoadFile("D:\dotNET_Apps\dotNETCOExBatch\DotNETCOExBatch\bin\DotNETCOExBatch.dll")
$schedule = new-object DotNETCOExBatch.CallService
$reply = $schedule.CallWebService($endpoint)
if ($reply)
$host.setshouldexit(0)
else
$host.setshouldexit(8)
Catch
$nl = [Environment]::NewLine
$evt=new-object System.Diagnostics.EventLog("Application")
$evt.Source="BatchPowerShell"
$infoevent=[System.Diagnostics.EventLogEntryType]::Error
$batchException = $_.Exception
$logMessage = " "
while ($batchException)
$exMessage = $batchException.Message
$exStackTrace = $batchException.StackTrace
$exSource = $batchException.Source
$logMessage += "$nl $nl Message: $exMessage $nl $nl Source: $exSource $nl $nl StackTrace: $exStackTrace"
$batchException = $batchException.InnerException
$evt.WriteEntry(" Error starting or process cancellation of $endpoint $logMessage",$infoevent)
$host.setshouldexit(15)Hi,
Please close your current powershell console, and start a new Window, and then check the result.
Like David replied, this is a strange issue, hard to find the cuase, but I will report the issue, hope
someone familiar with this topic to further look at this issue. There might be some time delay. Appreciate your patience.
Regards,
Yan Li
TechNet Subscriber Support
If you are
TechNet Subscription
user and have any feedback on our support quality, please send your feedback
here.
Cataleya Li
TechNet Community Support -
I am trying to run the following Powershell in orchestrator to move a new user into a specific OU based on the Department field specified by the creator.
$dept = {Department from "Initialize Data"}
if ($dept -contains 'IT') {$NewContainer = OU=IT,DC=test,DC=net}
When I run the Powershell it is returning the following
The term 'IT' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
How can I get it to not try and pass 'IT' as a cmdlet?I think I may have actually found the solution I was missing { } around the command
I encapsulated the powershell in { }
$dept = {Department from "Initialize Data"}
if ($dept -contains 'IT') {$NewContainer = OU=IT,DC=test,DC=net} -
Shebang not recognized by perl
I am getting the following error from a perl script:
[hostname:~] username% ./hello_world.pl
tcsh: print: Command not found.
tcsh: Missing name for redirect.
But if I issue the command explicitly indicating perl there is no problem:
[hostname:~] username% /usr/bin/perl ./hello_world.pl
Hello World!
Of course the script permissions are 755 and looks like this:
[hostname:~] username% more hello_world.pl
#!/usr/bin/perl
print "Hello World!\n";
Why am I seeing this very stange behaviour?
iMac G5 Mac OS X (10.4.8)The default shell for Tiger is bash. How come you are using tcsh? Of course, tcsh should work just as well, but perhaps whatever you did to switch your shell had side effects.
Or, perhaps tcsh just doesn't work. I found the following cryptic comment: However, many shells (such as tcsh) don't support dual-shebang - in other words, you can't have a shebang path that points to an executable that also uses shebang. Since ePerl is written in Perl, it is a shebang script as well.
This site is talking about ePerl, not Perl, but I think it is the cause of your problem. I'm not enough of a shell-scripter to be able to explain it. Just try bash instead. -
Term is not recognized when executing PowerShell Script through SQL Agent using CMDEXEC
I am trying to simply execute a PowerShell script that is stored in a file on a network drive through SQL Agent as a job. The script is a basic copy from one directory to another. I have run and successfully executed this from a command prompt outside
of SQL Agent. When I execute this through SQL Agent as a Operating System (CmdExec) command I am getting an error that the term is not recognized as the name of a cmdleet, function, script file or operable program. I have executed many different ways
put found an article to use double quotes in the network path which I have done with no success.
I am executing the following command as a job in SQL Agent:
PowerShell H:\"\PowerShell""\PS_Scripts\"\batchcopyFFLWithProgress.ps1 through SQL Agent job
I get the following error message:
04/21/2015 10:01:09,Copy FFL Files,Error,1,NY11266-LTW7E\JPLAPTOPSQL,Copy FFL Files,Copy FFL files,,Executed as user: NT Service\SQLAgent$JPLAPTOPSQL. H:\PowerShell\PS_Scripts\batchcopyFFLWithProgress.ps1 : The term 'H:\PowerShell\PS_Scripts\batchcopyFFLWithProgress.ps1'
is not recognized as the name of a cmdlet<c/> function<c/> script file<c/> or operable program. Check the spelling of the name<c/> or if a path was included<c/> verify that the path is correct and try again.
At line:1 char:1 + H:"\PowerShell\PS_Scripts"\batchcopyFFLWithProgress.ps1 + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : ObjectNotFound:
(H:\PowerShell\P...ithProgress.p s1:String) []<c/> CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException. Process Exit Code 1. The step failed.,00:00:03,0,0,,,,0
Content of batchcopyFFLWithProgress.ps1 which has the PowerShell script:
$source=ls H:\SQLTest\Script\TestData\*.*
$i=1
$source| %{
[int]$percent = $i / $source.count * 100
Write-Progress -Activity "Copying ... ($percent %)" -status $_ -PercentComplete $percent -verbose
copy $_.fullName -Destination H:\test -Recurse
$i++
I have searched the internet and have not found any resolution to my error. If someone has experienced this error and found the resolution I would greatly appreciate your help.I have change the service account for SQL Agent to be my domain account as I have local admin rights to my laptop. I stopped and started the services for SQL Agent and than started the job to run which is copying locally to minimize any network drive
issues. I am still getting the same error message as it is showing that I am executing the job under my domain account? Any thoughts what it could be?
ErrorMsg
04/23/2015 11:21:06,Copy FFL Files,Error,1,ServerName\InstanceName,Copy FFL Files,Copy FFL files,,Executed as user: Domain\DomainAccount. \\ServerName\Test\PS_Script\batchcopyFFLWithProgress.ps1 : The term '\\ServerName\Test\PS_Script\batchcopyFFLWithProgress.ps1'
is not recognized as the name of a cmdlet<c/> function<c/> script file<c/> or operable program. Check the spelling of the name<c/> or if a path was included<c/> verify that the path is correct and try again. At
line:1 char:1 + \\ServerName\Test\PS_Script\batchcopyFFLWithProgress.ps1 + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : ObjectNotFound: (\\ServerName...ithProgress.ps1:String)
[]<c/> CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException. Process Exit Code 1. The step failed.,00:00:02,0,0,,,,0
Script
$source=ls "\\ServerName\Test\TestData\*.*"
$i=1
$source| %{
[int]$percent = $i / $source.count * 100
Write-Progress -Activity "Copying ... ($percent %)" -status $_ -PercentComplete $percent -verbose
copy $_.fullName -Destination "\\ServerName\Test\test" -Recurse
$i++ -
Open Script Record Error - Browser is not recognized or recorded by tool
Hi,
I have installed the trial version of OpenScript 9.0 for performing R & D Activities in various features of it.
The installation was completed successful. But when I click “Record” button the browser gets launched. But when I type the URL and navigate on the browser it is not recognized or recorded by the tool. Please help me on this.
Regards
ShanHi,
- maybe try to reinstal openscript ?
- you have any messages in Console that could help ?
- nothing recorded at all in Run ?
because for me it worked nice on first shot with IE on :
- xp sp3
- xp sp3 VM remote
- vista
i did not try FF.
Michael. -
CUPS not recognizing Epson USB-Printer
I'm trying to get an Epson Stylus Office Box BX300F to work with Arch x86_64.
I have followed the CUPS wiki page closely and have installed everything it told me to.
When i connected to http://localhost:631/admin and clicked 'add printer' the USB printer was not listed. dmesg however showed me that the printer is at least recognized to some extent:
[ 2295.813154] usb 2-1: new high speed USB device number 6 using ehci_hcd
[ 2295.951540] usblp0: USB Bidirectional printer dev 6 if 1 alt 0 proto 2 vid 0x04B8 pid 0x0848
[ 2297.177498] usb 2-1: usbfs: interface 1 claimed by usblp while 'usb' sets config #1
I tried blacklisting usblp, but then, after rebooting, it got not recognized at all, so i undid that.
Then i found the printer in the openprint db (link), found the driver that is listed as working perfectly there in the AUR (link) and installed that package. But it doesn't seem to help at all, CUPS still doesn't list any USB printer. I've included the full section of /var/log/cups/error_log with loglevel=debug, hope it helps. Any suggestions on how i can get the printer working are greatly appreciated.
cupsd restarted at 20:31:19 ; i refreshed http://localhost:631/admin at 20:31:24 ; and i clicked 'add printer' at 20:31:30
I [05/Jul/2011:20:31:19 +0200] Listening to [v1.::1]:631 (IPv6)
I [05/Jul/2011:20:31:19 +0200] Listening to 127.0.0.1:631 (IPv4)
I [05/Jul/2011:20:31:19 +0200] Listening to /var/run/cups/cups.sock (Domain)
I [05/Jul/2011:20:31:19 +0200] Remote access is disabled.
D [05/Jul/2011:20:31:19 +0200] Added auto ServerAlias klapptop
I [05/Jul/2011:20:31:19 +0200] Loaded configuration file "/etc/cups/cupsd.conf"
I [05/Jul/2011:20:31:19 +0200] Using default TempDir of /var/spool/cups/tmp...
I [05/Jul/2011:20:31:19 +0200] Configured for up to 100 clients.
I [05/Jul/2011:20:31:19 +0200] Allowing up to 100 client connections per host.
I [05/Jul/2011:20:31:19 +0200] Using policy "default" as the default!
D [05/Jul/2011:20:31:19 +0200] load_ppd: Loading /var/cache/cups/Virtual_PDF_Printer.ipp4...
D [05/Jul/2011:20:31:19 +0200] cupsdRegisterPrinter(p=0x7f8696d72660(Virtual_PDF_Printer))
D [05/Jul/2011:20:31:19 +0200] cupsdMarkDirty(---p--)
D [05/Jul/2011:20:31:19 +0200] cupsdSetBusyState: Dirty files
I [05/Jul/2011:20:31:19 +0200] Partial reload complete.
I [05/Jul/2011:20:31:19 +0200] Listening to [v1.::1]:631 on fd 3...
I [05/Jul/2011:20:31:19 +0200] Listening to 127.0.0.1:631 on fd 6...
I [05/Jul/2011:20:31:19 +0200] Listening to /var/run/cups/cups.sock on fd 7...
I [05/Jul/2011:20:31:19 +0200] Resuming new connection processing...
D [05/Jul/2011:20:31:19 +0200] cupsdRegisterPrinter(p=0x7f8696d72660(Virtual_PDF_Printer))
D [05/Jul/2011:20:31:19 +0200] Discarding unused server-restarted event...
D [05/Jul/2011:20:31:19 +0200] PID 1508 (/usr/lib/cups/cgi-bin/admin.cgi) exited with no errors.
D [05/Jul/2011:20:31:20 +0200] Report: clients=0
D [05/Jul/2011:20:31:20 +0200] Report: jobs=2
D [05/Jul/2011:20:31:20 +0200] Report: jobs-active=0
D [05/Jul/2011:20:31:20 +0200] Report: printers=1
D [05/Jul/2011:20:31:20 +0200] Report: printers-implicit=0
D [05/Jul/2011:20:31:20 +0200] Report: stringpool-string-count=859
D [05/Jul/2011:20:31:20 +0200] Report: stringpool-alloc-bytes=9192
D [05/Jul/2011:20:31:20 +0200] Report: stringpool-total-bytes=17984
D [05/Jul/2011:20:31:24 +0200] cupsdAcceptClient: 11 from localhost:631 (IPv6)
D [05/Jul/2011:20:31:24 +0200] cupsdReadClient: 11 GET /admin/?OP=redirect HTTP/1.1
D [05/Jul/2011:20:31:24 +0200] cupsdSetBusyState: Active clients and dirty files
D [05/Jul/2011:20:31:24 +0200] cupsdAuthorize: Authorized as root using Basic
D [05/Jul/2011:20:31:24 +0200] [CGI] argv[0] = "/usr/lib/cups/cgi-bin/admin.cgi"
D [05/Jul/2011:20:31:24 +0200] [CGI] argv[1] = "OP=redirect"
D [05/Jul/2011:20:31:24 +0200] [CGI] envp[0] = "CUPS_CACHEDIR=/var/cache/cups"
D [05/Jul/2011:20:31:24 +0200] [CGI] envp[1] = "CUPS_DATADIR=/usr/share/cups"
D [05/Jul/2011:20:31:24 +0200] [CGI] envp[2] = "CUPS_DOCROOT=/usr/share/cups/doc"
D [05/Jul/2011:20:31:24 +0200] [CGI] envp[3] = "CUPS_FONTPATH=/usr/share/cups/fonts"
D [05/Jul/2011:20:31:24 +0200] [CGI] envp[4] = "CUPS_REQUESTROOT=/var/spool/cups"
D [05/Jul/2011:20:31:24 +0200] [CGI] envp[5] = "CUPS_SERVERBIN=/usr/lib/cups"
D [05/Jul/2011:20:31:24 +0200] [CGI] envp[6] = "CUPS_SERVERROOT=/etc/cups"
D [05/Jul/2011:20:31:24 +0200] [CGI] envp[7] = "CUPS_STATEDIR=/var/run/cups"
D [05/Jul/2011:20:31:24 +0200] [CGI] envp[8] = "HOME=/var/spool/cups/tmp"
D [05/Jul/2011:20:31:24 +0200] [CGI] envp[9] = "PATH=/usr/lib/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin"
D [05/Jul/2011:20:31:24 +0200] [CGI] envp[10] = "SERVER_ADMIN=root@klapptop"
D [05/Jul/2011:20:31:24 +0200] [CGI] envp[11] = "SOFTWARE=CUPS/1.4.7"
D [05/Jul/2011:20:31:24 +0200] [CGI] envp[12] = "TMPDIR=/var/spool/cups/tmp"
D [05/Jul/2011:20:31:24 +0200] [CGI] envp[13] = "USER=root"
D [05/Jul/2011:20:31:24 +0200] [CGI] envp[14] = "CUPS_SERVER=/var/run/cups/cups.sock"
D [05/Jul/2011:20:31:24 +0200] [CGI] envp[15] = "CUPS_ENCRYPTION=IfRequested"
D [05/Jul/2011:20:31:24 +0200] [CGI] envp[16] = "IPP_PORT=631"
D [05/Jul/2011:20:31:24 +0200] [CGI] envp[17] = "AUTH_TYPE=Basic"
D [05/Jul/2011:20:31:24 +0200] [CGI] envp[18] = "LANG=de.UTF8"
D [05/Jul/2011:20:31:24 +0200] [CGI] envp[19] = "REDIRECT_STATUS=1"
D [05/Jul/2011:20:31:24 +0200] [CGI] envp[20] = "GATEWAY_INTERFACE=CGI/1.1"
D [05/Jul/2011:20:31:24 +0200] [CGI] envp[21] = "SERVER_NAME=localhost"
D [05/Jul/2011:20:31:24 +0200] [CGI] envp[22] = "SERVER_PORT=631"
D [05/Jul/2011:20:31:24 +0200] [CGI] envp[23] = "REMOTE_ADDR=[v1.::1]"
D [05/Jul/2011:20:31:24 +0200] [CGI] envp[24] = "REMOTE_HOST=localhost"
D [05/Jul/2011:20:31:24 +0200] [CGI] envp[25] = "SCRIPT_NAME=/admin/"
D [05/Jul/2011:20:31:24 +0200] [CGI] envp[26] = "SCRIPT_FILENAME=/usr/share/cups/doc/admin/"
D [05/Jul/2011:20:31:24 +0200] [CGI] envp[27] = "REMOTE_USER=root"
D [05/Jul/2011:20:31:24 +0200] [CGI] envp[28] = "SERVER_PROTOCOL=HTTP/1.1"
D [05/Jul/2011:20:31:24 +0200] [CGI] envp[29] = "HTTP_COOKIE=org.cups.sid=8ecaff0f260930f93ef5e9dff799b7c7"
D [05/Jul/2011:20:31:24 +0200] [CGI] envp[30] = "HTTP_USER_AGENT=Mozilla/5.0 (X11; Linux x86_64; rv:5.0) Gecko/20100101 Firefox/5.0"
D [05/Jul/2011:20:31:24 +0200] [CGI] envp[31] = "REQUEST_METHOD=GET"
D [05/Jul/2011:20:31:24 +0200] [CGI] envp[32] = "QUERY_STRING=OP=redirect"
D [05/Jul/2011:20:31:24 +0200] [CGI] Started /usr/lib/cups/cgi-bin/admin.cgi (PID 1509)
I [05/Jul/2011:20:31:24 +0200] Started "/usr/lib/cups/cgi-bin/admin.cgi" (pid=1509)
D [05/Jul/2011:20:31:24 +0200] cupsdSendCommand: 11 file=12
D [05/Jul/2011:20:31:24 +0200] [CGI] admin.cgi started...
D [05/Jul/2011:20:31:24 +0200] cupsdAcceptClient: 13 from localhost (Domain)
D [05/Jul/2011:20:31:24 +0200] [CGI] http=0x7f1f946405c0
D [05/Jul/2011:20:31:24 +0200] [CGI] org.cups.sid cookie is "8ecaff0f260930f93ef5e9dff799b7c7"
D [05/Jul/2011:20:31:24 +0200] [CGI] redirecting with prefix http://localhost:631!
D [05/Jul/2011:20:31:24 +0200] cupsdReadClient: 13 WAITING Closing on EOF
D [05/Jul/2011:20:31:24 +0200] cupsdCloseClient: 13
D [05/Jul/2011:20:31:24 +0200] Script header: Location: http://localhost:631/admin
D [05/Jul/2011:20:31:24 +0200] Script header:
D [05/Jul/2011:20:31:24 +0200] cupsdSetBusyState: Dirty files
D [05/Jul/2011:20:31:24 +0200] PID 1509 (/usr/lib/cups/cgi-bin/admin.cgi) exited with no errors.
D [05/Jul/2011:20:31:24 +0200] cupsdReadClient: 11 GET /admin HTTP/1.1
D [05/Jul/2011:20:31:24 +0200] cupsdSetBusyState: Active clients and dirty files
D [05/Jul/2011:20:31:24 +0200] cupsdAuthorize: No authentication data provided.
D [05/Jul/2011:20:31:24 +0200] [CGI] argv[0] = "/usr/lib/cups/cgi-bin/admin.cgi"
D [05/Jul/2011:20:31:24 +0200] [CGI] envp[0] = "CUPS_CACHEDIR=/var/cache/cups"
D [05/Jul/2011:20:31:24 +0200] [CGI] envp[1] = "CUPS_DATADIR=/usr/share/cups"
D [05/Jul/2011:20:31:24 +0200] [CGI] envp[2] = "CUPS_DOCROOT=/usr/share/cups/doc"
D [05/Jul/2011:20:31:24 +0200] [CGI] envp[3] = "CUPS_FONTPATH=/usr/share/cups/fonts"
D [05/Jul/2011:20:31:24 +0200] [CGI] envp[4] = "CUPS_REQUESTROOT=/var/spool/cups"
D [05/Jul/2011:20:31:24 +0200] [CGI] envp[5] = "CUPS_SERVERBIN=/usr/lib/cups"
D [05/Jul/2011:20:31:24 +0200] [CGI] envp[6] = "CUPS_SERVERROOT=/etc/cups"
D [05/Jul/2011:20:31:24 +0200] [CGI] envp[7] = "CUPS_STATEDIR=/var/run/cups"
D [05/Jul/2011:20:31:24 +0200] [CGI] envp[8] = "HOME=/var/spool/cups/tmp"
D [05/Jul/2011:20:31:24 +0200] [CGI] envp[9] = "PATH=/usr/lib/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin"
D [05/Jul/2011:20:31:24 +0200] [CGI] envp[10] = "SERVER_ADMIN=root@klapptop"
D [05/Jul/2011:20:31:24 +0200] [CGI] envp[11] = "SOFTWARE=CUPS/1.4.7"
D [05/Jul/2011:20:31:24 +0200] [CGI] envp[12] = "TMPDIR=/var/spool/cups/tmp"
D [05/Jul/2011:20:31:24 +0200] [CGI] envp[13] = "USER=root"
D [05/Jul/2011:20:31:24 +0200] [CGI] envp[14] = "CUPS_SERVER=/var/run/cups/cups.sock"
D [05/Jul/2011:20:31:24 +0200] [CGI] envp[15] = "CUPS_ENCRYPTION=IfRequested"
D [05/Jul/2011:20:31:24 +0200] [CGI] envp[16] = "IPP_PORT=631"
D [05/Jul/2011:20:31:24 +0200] [CGI] envp[17] = "LANG=de.UTF8"
D [05/Jul/2011:20:31:24 +0200] [CGI] envp[18] = "REDIRECT_STATUS=1"
D [05/Jul/2011:20:31:24 +0200] [CGI] envp[19] = "GATEWAY_INTERFACE=CGI/1.1"
D [05/Jul/2011:20:31:24 +0200] [CGI] envp[20] = "SERVER_NAME=localhost"
D [05/Jul/2011:20:31:24 +0200] [CGI] envp[21] = "SERVER_PORT=631"
D [05/Jul/2011:20:31:24 +0200] [CGI] envp[22] = "REMOTE_ADDR=[v1.::1]"
D [05/Jul/2011:20:31:24 +0200] [CGI] envp[23] = "REMOTE_HOST=localhost"
D [05/Jul/2011:20:31:24 +0200] [CGI] envp[24] = "SCRIPT_NAME=/admin"
D [05/Jul/2011:20:31:24 +0200] [CGI] envp[25] = "SCRIPT_FILENAME=/usr/share/cups/doc/admin"
D [05/Jul/2011:20:31:24 +0200] [CGI] envp[26] = "SERVER_PROTOCOL=HTTP/1.1"
D [05/Jul/2011:20:31:24 +0200] [CGI] envp[27] = "HTTP_COOKIE=org.cups.sid=8ecaff0f260930f93ef5e9dff799b7c7"
D [05/Jul/2011:20:31:24 +0200] [CGI] envp[28] = "HTTP_USER_AGENT=Mozilla/5.0 (X11; Linux x86_64; rv:5.0) Gecko/20100101 Firefox/5.0"
D [05/Jul/2011:20:31:24 +0200] [CGI] envp[29] = "REQUEST_METHOD=GET"
D [05/Jul/2011:20:31:24 +0200] [CGI] envp[30] = "QUERY_STRING="
D [05/Jul/2011:20:31:24 +0200] [CGI] Started /usr/lib/cups/cgi-bin/admin.cgi (PID 1510)
I [05/Jul/2011:20:31:24 +0200] Started "/usr/lib/cups/cgi-bin/admin.cgi" (pid=1510)
D [05/Jul/2011:20:31:24 +0200] cupsdSendCommand: 11 file=12
D [05/Jul/2011:20:31:24 +0200] [CGI] admin.cgi started...
D [05/Jul/2011:20:31:24 +0200] cupsdAcceptClient: 13 from localhost (Domain)
D [05/Jul/2011:20:31:24 +0200] [CGI] http=0x7f7248b935c0
D [05/Jul/2011:20:31:24 +0200] [CGI] org.cups.sid cookie is "8ecaff0f260930f93ef5e9dff799b7c7"
D [05/Jul/2011:20:31:24 +0200] [CGI] No form data, showing main menu...
D [05/Jul/2011:20:31:24 +0200] [CGI] /usr/share/cups/drivers/pscript5.dll: No such file or directory
D [05/Jul/2011:20:31:24 +0200] cupsdReadClient: 13 POST / HTTP/1.1
D [05/Jul/2011:20:31:24 +0200] cupsdAuthorize: No authentication data provided.
D [05/Jul/2011:20:31:24 +0200] cupsdReadClient: 13 1.1 Get-Subscriptions 1
D [05/Jul/2011:20:31:24 +0200] Get-Subscriptions ipp://localhost/
D [05/Jul/2011:20:31:24 +0200] Returning IPP successful-ok for Get-Subscriptions (ipp://localhost/) from localhost
D [05/Jul/2011:20:31:24 +0200] Script header: Content-Type: text/html;charset=utf-8
D [05/Jul/2011:20:31:24 +0200] Script header:
D [05/Jul/2011:20:31:24 +0200] cupsdReadClient: 13 WAITING Closing on EOF
D [05/Jul/2011:20:31:24 +0200] cupsdCloseClient: 13
D [05/Jul/2011:20:31:24 +0200] cupsdSetBusyState: Dirty files
D [05/Jul/2011:20:31:24 +0200] PID 1510 (/usr/lib/cups/cgi-bin/admin.cgi) exited with no errors.
D [05/Jul/2011:20:31:30 +0200] cupsdReadClient: 11 POST /admin/ HTTP/1.1
D [05/Jul/2011:20:31:30 +0200] cupsdSetBusyState: Active clients and dirty files
D [05/Jul/2011:20:31:30 +0200] cupsdAuthorize: Authorized as root using Basic
D [05/Jul/2011:20:31:30 +0200] [CGI] argv[0] = "/usr/lib/cups/cgi-bin/admin.cgi"
D [05/Jul/2011:20:31:30 +0200] [CGI] envp[0] = "CUPS_CACHEDIR=/var/cache/cups"
D [05/Jul/2011:20:31:30 +0200] [CGI] envp[1] = "CUPS_DATADIR=/usr/share/cups"
D [05/Jul/2011:20:31:30 +0200] [CGI] envp[2] = "CUPS_DOCROOT=/usr/share/cups/doc"
D [05/Jul/2011:20:31:30 +0200] [CGI] envp[3] = "CUPS_FONTPATH=/usr/share/cups/fonts"
D [05/Jul/2011:20:31:30 +0200] [CGI] envp[4] = "CUPS_REQUESTROOT=/var/spool/cups"
D [05/Jul/2011:20:31:30 +0200] [CGI] envp[5] = "CUPS_SERVERBIN=/usr/lib/cups"
D [05/Jul/2011:20:31:30 +0200] [CGI] envp[6] = "CUPS_SERVERROOT=/etc/cups"
D [05/Jul/2011:20:31:30 +0200] [CGI] envp[7] = "CUPS_STATEDIR=/var/run/cups"
D [05/Jul/2011:20:31:30 +0200] [CGI] envp[8] = "HOME=/var/spool/cups/tmp"
D [05/Jul/2011:20:31:30 +0200] [CGI] envp[9] = "PATH=/usr/lib/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin"
D [05/Jul/2011:20:31:30 +0200] [CGI] envp[10] = "SERVER_ADMIN=root@klapptop"
D [05/Jul/2011:20:31:30 +0200] [CGI] envp[11] = "SOFTWARE=CUPS/1.4.7"
D [05/Jul/2011:20:31:30 +0200] [CGI] envp[12] = "TMPDIR=/var/spool/cups/tmp"
D [05/Jul/2011:20:31:30 +0200] [CGI] envp[13] = "USER=root"
D [05/Jul/2011:20:31:30 +0200] [CGI] envp[14] = "CUPS_SERVER=/var/run/cups/cups.sock"
D [05/Jul/2011:20:31:30 +0200] [CGI] envp[15] = "CUPS_ENCRYPTION=IfRequested"
D [05/Jul/2011:20:31:30 +0200] [CGI] envp[16] = "IPP_PORT=631"
D [05/Jul/2011:20:31:30 +0200] [CGI] envp[17] = "AUTH_TYPE=Basic"
D [05/Jul/2011:20:31:30 +0200] [CGI] envp[18] = "LANG=de.UTF8"
D [05/Jul/2011:20:31:30 +0200] [CGI] envp[19] = "REDIRECT_STATUS=1"
D [05/Jul/2011:20:31:30 +0200] [CGI] envp[20] = "GATEWAY_INTERFACE=CGI/1.1"
D [05/Jul/2011:20:31:30 +0200] [CGI] envp[21] = "SERVER_NAME=localhost"
D [05/Jul/2011:20:31:30 +0200] [CGI] envp[22] = "SERVER_PORT=631"
D [05/Jul/2011:20:31:30 +0200] [CGI] envp[23] = "REMOTE_ADDR=[v1.::1]"
D [05/Jul/2011:20:31:30 +0200] [CGI] envp[24] = "REMOTE_HOST=localhost"
D [05/Jul/2011:20:31:30 +0200] [CGI] envp[25] = "SCRIPT_NAME=/admin/"
D [05/Jul/2011:20:31:30 +0200] [CGI] envp[26] = "SCRIPT_FILENAME=/usr/share/cups/doc/admin/"
D [05/Jul/2011:20:31:30 +0200] [CGI] envp[27] = "REMOTE_USER=root"
D [05/Jul/2011:20:31:30 +0200] [CGI] envp[28] = "SERVER_PROTOCOL=HTTP/1.1"
D [05/Jul/2011:20:31:30 +0200] [CGI] envp[29] = "HTTP_COOKIE=org.cups.sid=8ecaff0f260930f93ef5e9dff799b7c7"
D [05/Jul/2011:20:31:30 +0200] [CGI] envp[30] = "HTTP_USER_AGENT=Mozilla/5.0 (X11; Linux x86_64; rv:5.0) Gecko/20100101 Firefox/5.0"
D [05/Jul/2011:20:31:30 +0200] [CGI] envp[31] = "HTTP_REFERER=http://localhost:631/admin"
D [05/Jul/2011:20:31:30 +0200] [CGI] envp[32] = "REQUEST_METHOD=POST"
D [05/Jul/2011:20:31:30 +0200] [CGI] envp[33] = "CONTENT_LENGTH=60"
D [05/Jul/2011:20:31:30 +0200] [CGI] envp[34] = "CONTENT_TYPE=application/x-www-form-urlencoded"
D [05/Jul/2011:20:31:30 +0200] [CGI] Started /usr/lib/cups/cgi-bin/admin.cgi (PID 1511)
I [05/Jul/2011:20:31:30 +0200] Started "/usr/lib/cups/cgi-bin/admin.cgi" (pid=1511)
D [05/Jul/2011:20:31:30 +0200] cupsdSendCommand: 11 file=13
D [05/Jul/2011:20:31:30 +0200] [CGI] admin.cgi started...
D [05/Jul/2011:20:31:30 +0200] cupsdAcceptClient: 14 from localhost (Domain)
D [05/Jul/2011:20:31:30 +0200] [CGI] http=0x7f2a6b99e5c0
D [05/Jul/2011:20:31:30 +0200] [CGI] org.cups.sid cookie is "8ecaff0f260930f93ef5e9dff799b7c7"
D [05/Jul/2011:20:31:30 +0200] [CGI] op="add-printer"...
D [05/Jul/2011:20:31:30 +0200] [CGI] do_am_printer: DEVICE_URI="(null)"
D [05/Jul/2011:20:31:30 +0200] [CGI] Getting list of devices...
D [05/Jul/2011:20:31:30 +0200] cupsdReadClient: 14 POST / HTTP/1.1
D [05/Jul/2011:20:31:30 +0200] cupsdAuthorize: No authentication data provided.
D [05/Jul/2011:20:31:30 +0200] cupsdReadClient: 14 1.1 CUPS-Get-Devices 1
D [05/Jul/2011:20:31:30 +0200] CUPS-Get-Devices
D [05/Jul/2011:20:31:30 +0200] cupsdIsAuthorized: username=""
D [05/Jul/2011:20:31:30 +0200] Returning HTTP Unauthorized for CUPS-Get-Devices (no URI) from localhost
D [05/Jul/2011:20:31:30 +0200] cupsdSendHeader: 14 WWW-Authenticate: Basic realm="CUPS", trc="y"
D [05/Jul/2011:20:31:30 +0200] cupsdReadClient: 14 WAITING Closing on EOF
D [05/Jul/2011:20:31:30 +0200] cupsdCloseClient: 14
D [05/Jul/2011:20:31:30 +0200] cupsdAcceptClient: 14 from localhost (Domain)
D [05/Jul/2011:20:31:30 +0200] cupsdReadClient: 14 WAITING Closing on EOF
D [05/Jul/2011:20:31:30 +0200] cupsdCloseClient: 14
D [05/Jul/2011:20:31:30 +0200] cupsdAcceptClient: 14 from localhost (Domain)
D [05/Jul/2011:20:31:30 +0200] cupsdReadClient: 14 POST / HTTP/1.1
D [05/Jul/2011:20:31:30 +0200] cupsdAuthorize: Authorized as root using Local
D [05/Jul/2011:20:31:30 +0200] cupsdReadClient: 14 1.1 CUPS-Get-Devices 1
D [05/Jul/2011:20:31:30 +0200] CUPS-Get-Devices
D [05/Jul/2011:20:31:30 +0200] cupsdIsAuthorized: username="root"
D [05/Jul/2011:20:31:30 +0200] [CGI] argv[0] = "/usr/lib/cups/daemon/cups-deviced"
D [05/Jul/2011:20:31:30 +0200] [CGI] argv[1] = "1"
D [05/Jul/2011:20:31:30 +0200] [CGI] argv[2] = "0"
D [05/Jul/2011:20:31:30 +0200] [CGI] argv[3] = "5"
D [05/Jul/2011:20:31:30 +0200] [CGI] argv[4] = "2"
D [05/Jul/2011:20:31:30 +0200] [CGI] argv[5] = "requested-attributes=all"
D [05/Jul/2011:20:31:30 +0200] [CGI] envp[0] = "CUPS_CACHEDIR=/var/cache/cups"
D [05/Jul/2011:20:31:30 +0200] [CGI] envp[1] = "CUPS_DATADIR=/usr/share/cups"
D [05/Jul/2011:20:31:30 +0200] [CGI] envp[2] = "CUPS_DOCROOT=/usr/share/cups/doc"
D [05/Jul/2011:20:31:30 +0200] [CGI] envp[3] = "CUPS_FONTPATH=/usr/share/cups/fonts"
D [05/Jul/2011:20:31:30 +0200] [CGI] envp[4] = "CUPS_REQUESTROOT=/var/spool/cups"
D [05/Jul/2011:20:31:30 +0200] [CGI] envp[5] = "CUPS_SERVERBIN=/usr/lib/cups"
D [05/Jul/2011:20:31:30 +0200] [CGI] envp[6] = "CUPS_SERVERROOT=/etc/cups"
D [05/Jul/2011:20:31:30 +0200] [CGI] envp[7] = "CUPS_STATEDIR=/var/run/cups"
D [05/Jul/2011:20:31:30 +0200] [CGI] envp[8] = "HOME=/var/spool/cups/tmp"
D [05/Jul/2011:20:31:30 +0200] [CGI] envp[9] = "PATH=/usr/lib/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin"
D [05/Jul/2011:20:31:30 +0200] [CGI] envp[10] = "SERVER_ADMIN=root@klapptop"
D [05/Jul/2011:20:31:30 +0200] [CGI] envp[11] = "SOFTWARE=CUPS/1.4.7"
D [05/Jul/2011:20:31:30 +0200] [CGI] envp[12] = "TMPDIR=/var/spool/cups/tmp"
D [05/Jul/2011:20:31:30 +0200] [CGI] envp[13] = "USER=root"
D [05/Jul/2011:20:31:30 +0200] [CGI] envp[14] = "CUPS_SERVER=/var/run/cups/cups.sock"
D [05/Jul/2011:20:31:30 +0200] [CGI] envp[15] = "CUPS_ENCRYPTION=IfRequested"
D [05/Jul/2011:20:31:30 +0200] [CGI] envp[16] = "IPP_PORT=631"
D [05/Jul/2011:20:31:30 +0200] [CGI] envp[17] = "AUTH_TYPE=Local"
D [05/Jul/2011:20:31:30 +0200] [CGI] envp[18] = "LANG=de.UTF8"
D [05/Jul/2011:20:31:30 +0200] [CGI] envp[19] = "REDIRECT_STATUS=1"
D [05/Jul/2011:20:31:30 +0200] [CGI] envp[20] = "GATEWAY_INTERFACE=CGI/1.1"
D [05/Jul/2011:20:31:30 +0200] [CGI] envp[21] = "SERVER_NAME=localhost"
D [05/Jul/2011:20:31:30 +0200] [CGI] envp[22] = "SERVER_PORT=631"
D [05/Jul/2011:20:31:30 +0200] [CGI] envp[23] = "REMOTE_ADDR="
D [05/Jul/2011:20:31:30 +0200] [CGI] envp[24] = "REMOTE_HOST=localhost"
D [05/Jul/2011:20:31:30 +0200] [CGI] envp[25] = "SCRIPT_NAME=/"
D [05/Jul/2011:20:31:30 +0200] [CGI] envp[26] = "SCRIPT_FILENAME=/usr/share/cups/doc/"
D [05/Jul/2011:20:31:30 +0200] [CGI] envp[27] = "REMOTE_USER=root"
D [05/Jul/2011:20:31:30 +0200] [CGI] envp[28] = "SERVER_PROTOCOL=HTTP/1.1"
D [05/Jul/2011:20:31:30 +0200] [CGI] envp[29] = "HTTP_USER_AGENT=CUPS/1.4.7"
D [05/Jul/2011:20:31:30 +0200] [CGI] envp[30] = "REQUEST_METHOD=POST"
D [05/Jul/2011:20:31:30 +0200] [CGI] envp[31] = "CONTENT_LENGTH=88"
D [05/Jul/2011:20:31:30 +0200] [CGI] envp[32] = "CONTENT_TYPE=application/ipp"
D [05/Jul/2011:20:31:30 +0200] [CGI] Started /usr/lib/cups/daemon/cups-deviced (PID 1512)
I [05/Jul/2011:20:31:30 +0200] Started "/usr/lib/cups/daemon/cups-deviced" (pid=1512)
D [05/Jul/2011:20:31:30 +0200] cupsdSendCommand: 14 file=15
D [05/Jul/2011:20:31:30 +0200] [cups-deviced] Started backend /usr/lib/cups/backend/http (PID 1513)
D [05/Jul/2011:20:31:30 +0200] [cups-deviced] Started backend /usr/lib/cups/backend/socket (PID 1514)
D [05/Jul/2011:20:31:30 +0200] [cups-deviced] Started backend /usr/lib/cups/backend/snmp (PID 1515)
D [05/Jul/2011:20:31:30 +0200] [cups-deviced] Started backend /usr/lib/cups/backend/mdns (PID 1516)
D [05/Jul/2011:20:31:30 +0200] [cups-deviced] Started backend /usr/lib/cups/backend/usb (PID 1517)
D [05/Jul/2011:20:31:30 +0200] [cups-deviced] Started backend /usr/lib/cups/backend/smb (PID 1518)
D [05/Jul/2011:20:31:30 +0200] [cups-deviced] Started backend /usr/lib/cups/backend/lpd (PID 1519)
D [05/Jul/2011:20:31:30 +0200] [cups-deviced] Started backend /usr/lib/cups/backend/beh (PID 1520)
D [05/Jul/2011:20:31:30 +0200] [cups-deviced] Started backend /usr/lib/cups/backend/dnssd (PID 1521)
D [05/Jul/2011:20:31:30 +0200] [cups-deviced] Started backend /usr/lib/cups/backend/scsi (PID 1522)
D [05/Jul/2011:20:31:30 +0200] [cups-deviced] Started backend /usr/lib/cups/backend/serial (PID 1523)
D [05/Jul/2011:20:31:30 +0200] [cups-deviced] Started backend /usr/lib/cups/backend/cups-pdf (PID 1524)
D [05/Jul/2011:20:31:30 +0200] [CGI] list_devices
D [05/Jul/2011:20:31:30 +0200] [CGI] usb_find_busses=6
D [05/Jul/2011:20:31:30 +0200] [cups-deviced] Started backend /usr/lib/cups/backend/parallel (PID 1525)
D [05/Jul/2011:20:31:30 +0200] [cups-deviced] Started backend /usr/lib/cups/backend/bluetooth (PID 1526)
D [05/Jul/2011:20:31:30 +0200] [CGI] perl: warning: Setting locale failed.
D [05/Jul/2011:20:31:30 +0200] [CGI] perl: warning: Please check that your locale settings:
D [05/Jul/2011:20:31:30 +0200] [CGI] LANGUAGE = (unset),
D [05/Jul/2011:20:31:30 +0200] [CGI] LC_ALL = (unset),
D [05/Jul/2011:20:31:30 +0200] [CGI] LANG = "de.UTF8"
D [05/Jul/2011:20:31:30 +0200] [CGI] are supported and installed on your system.
D [05/Jul/2011:20:31:30 +0200] [CGI] perl: warning: Falling back to the standard locale ("C").
D [05/Jul/2011:20:31:30 +0200] [cups-deviced] Started backend /usr/lib/cups/backend/ipp (PID 1527)
D [05/Jul/2011:20:31:30 +0200] Script header: Content-Type: application/ipp
D [05/Jul/2011:20:31:30 +0200] Script header:
D [05/Jul/2011:20:31:30 +0200] [CGI] Flushed attributes...
D [05/Jul/2011:20:31:30 +0200] [cups-deviced] Found device "http"...
D [05/Jul/2011:20:31:30 +0200] [CGI] Flushed attributes...
D [05/Jul/2011:20:31:30 +0200] [cups-deviced] Found device "socket"...
D [05/Jul/2011:20:31:30 +0200] [CGI] Flushed attributes...
D [05/Jul/2011:20:31:30 +0200] [cups-deviced] Found device "smb"...
D [05/Jul/2011:20:31:30 +0200] [CGI] Flushed attributes...
D [05/Jul/2011:20:31:30 +0200] [cups-deviced] Found device "beh"...
D [05/Jul/2011:20:31:30 +0200] [CGI] Flushed attributes...
D [05/Jul/2011:20:31:30 +0200] [cups-deviced] Found device "cups-pdf:/"...
D [05/Jul/2011:20:31:30 +0200] [cups-deviced] PID 1514 (socket) exited with no errors.
D [05/Jul/2011:20:31:30 +0200] [cups-deviced] PID 1516 (mdns) exited with no errors.
D [05/Jul/2011:20:31:30 +0200] [cups-deviced] PID 1518 (smb) exited with no errors.
D [05/Jul/2011:20:31:30 +0200] [cups-deviced] PID 1520 (beh) exited with no errors.
D [05/Jul/2011:20:31:30 +0200] [cups-deviced] PID 1524 (cups-pdf) exited with no errors.
D [05/Jul/2011:20:31:30 +0200] [CGI] Flushed attributes...
D [05/Jul/2011:20:31:30 +0200] [cups-deviced] Found device "lpd"...
D [05/Jul/2011:20:31:30 +0200] [cups-deviced] PID 1513 (http) exited with no errors.
E [05/Jul/2011:20:31:30 +0200] [CGI] Unable to create avahi client: Resource temporarily unavailable
E [05/Jul/2011:20:31:30 +0200] [cups-deviced] PID 1521 (dnssd) stopped with status 1!
D [05/Jul/2011:20:31:30 +0200] [cups-deviced] PID 1525 (parallel) exited with no errors.
D [05/Jul/2011:20:31:30 +0200] [cups-deviced] PID 1522 (scsi) exited with no errors.
D [05/Jul/2011:20:31:30 +0200] [CGI] Flushed attributes...
D [05/Jul/2011:20:31:30 +0200] [cups-deviced] Found device "scsi"...
D [05/Jul/2011:20:31:30 +0200] [cups-deviced] PID 1526 (bluetooth) exited with no errors.
D [05/Jul/2011:20:31:30 +0200] [cups-deviced] PID 1519 (lpd) exited with no errors.
D [05/Jul/2011:20:31:30 +0200] [CGI] Flushed attributes...
D [05/Jul/2011:20:31:30 +0200] [cups-deviced] Found device "ipp"...
D [05/Jul/2011:20:31:30 +0200] [cups-deviced] PID 1527 (ipp) exited with no errors.
D [05/Jul/2011:20:31:30 +0200] [cups-deviced] PID 1523 (serial) exited with no errors.
D [05/Jul/2011:20:31:30 +0200] [CGI] usb_find_devices=9
D [05/Jul/2011:20:31:30 +0200] [cups-deviced] PID 1517 (usb) exited with no errors.
D [05/Jul/2011:20:31:32 +0200] [cups-deviced] PID 1515 (snmp) exited with no errors.
D [05/Jul/2011:20:31:32 +0200] PID 1512 (/usr/lib/cups/daemon/cups-deviced) exited with no errors.
D [05/Jul/2011:20:31:32 +0200] [CGI] Got device list!
D [05/Jul/2011:20:31:32 +0200] cupsdReadClient: 14 WAITING Closing on EOF
D [05/Jul/2011:20:31:32 +0200] cupsdCloseClient: 14
D [05/Jul/2011:20:31:32 +0200] PID 1511 (/usr/lib/cups/cgi-bin/admin.cgi) exited with no errors.
D [05/Jul/2011:20:31:32 +0200] Script header: Content-Type: text/html;charset=utf-8
D [05/Jul/2011:20:31:32 +0200] Script header:
D [05/Jul/2011:20:31:32 +0200] cupsdSetBusyState: Dirty files
D [05/Jul/2011:20:31:32 +0200] [CGI] Regular expression "[a-z]+://"
D [05/Jul/2011:20:31:32 +0200] [CGI] Regular expression "[a-z]+://"
D [05/Jul/2011:20:31:32 +0200] [CGI] Regular expression "[a-z]+://"
D [05/Jul/2011:20:31:32 +0200] [CGI] Regular expression "[a-z]+://"
D [05/Jul/2011:20:31:32 +0200] [CGI] Regular expression "[a-z]+://"
D [05/Jul/2011:20:31:32 +0200] [CGI] Regular expression "[a-z]+://"
D [05/Jul/2011:20:31:32 +0200] [CGI] Regular expression "[a-z]+://"
D [05/Jul/2011:20:31:32 +0200] [CGI] Regular expression "[a-z]+://"
D [05/Jul/2011:20:31:32 +0200] [CGI] Regular expression "[a-z]+://"
D [05/Jul/2011:20:31:32 +0200] [CGI] Regular expression "[a-z]+://"
D [05/Jul/2011:20:31:32 +0200] [CGI] Regular expression "[a-z]+://"
D [05/Jul/2011:20:31:32 +0200] [CGI] Regular expression "[a-z]+://"
D [05/Jul/2011:20:31:32 +0200] [CGI] Regular expression "[a-z]+://"
D [05/Jul/2011:20:31:32 +0200] [CGI] Regular expression "[a-z]+://"
D [05/Jul/2011:20:31:32 +0200] [CGI] Regular expression "[a-z]+://"
D [05/Jul/2011:20:31:32 +0200] [CGI] Regular expression "[a-z]+://"
I [05/Jul/2011:20:31:50 +0200] Generating printcap /etc/printcap...
D [05/Jul/2011:20:31:50 +0200] cupsdSetBusyState: Not busy
D [05/Jul/2011:20:32:02 +0200] cupsdReadClient: 11 WAITING Closing on EOF
D [05/Jul/2011:20:32:02 +0200] cupsdCloseClient: 11I have gotten around to give this printer another try and when i connected it and read through /var/log/cups/error_log i noticed 2 lines close to the end that seem to be the problem:
D [24/Aug/2011:12:42:23 +0200] [CGI] libusb couldn't open USB device /dev/bus/usb/002/006: Permission denied.
D [24/Aug/2011:12:42:23 +0200] [CGI] libusb requires write access to USB device nodes.
i checked the permissions, but they seem to be allright:
$ ls -l /dev/bus/usb/002/006
crw-rw-r--+ 1 root scanner 189, 133 24. Aug 12:42 /dev/bus/usb/002/006
$ id
...,7(lp),10(wheel),96(scanner),97(camera)
here is the complete part of error_log from connecting the printer:
D [24/Aug/2011:12:42:23 +0200] cupsdAcceptClient: 12 from localhost (Domain)
D [24/Aug/2011:12:42:23 +0200] Report: clients=1
D [24/Aug/2011:12:42:23 +0200] Report: jobs=2
D [24/Aug/2011:12:42:23 +0200] Report: jobs-active=0
D [24/Aug/2011:12:42:23 +0200] Report: printers=1
D [24/Aug/2011:12:42:23 +0200] Report: printers-implicit=0
D [24/Aug/2011:12:42:23 +0200] Report: stringpool-string-count=859
D [24/Aug/2011:12:42:23 +0200] Report: stringpool-alloc-bytes=9192
D [24/Aug/2011:12:42:23 +0200] Report: stringpool-total-bytes=17984
D [24/Aug/2011:12:42:23 +0200] cupsdReadClient: 12 POST / HTTP/1.1
D [24/Aug/2011:12:42:23 +0200] cupsdSetBusyState: Active clients
D [24/Aug/2011:12:42:23 +0200] cupsdAuthorize: No authentication data provided.
D [24/Aug/2011:12:42:23 +0200] cupsdReadClient: 12 1.1 CUPS-Get-Devices 1
D [24/Aug/2011:12:42:23 +0200] CUPS-Get-Devices
D [24/Aug/2011:12:42:23 +0200] cupsdIsAuthorized: username=""
D [24/Aug/2011:12:42:23 +0200] Returning HTTP Unauthorized for CUPS-Get-Devices (no URI) from localhost
D [24/Aug/2011:12:42:23 +0200] cupsdSendHeader: 12 WWW-Authenticate: Basic realm="CUPS", trc="y"
D [24/Aug/2011:12:42:23 +0200] cupsdReadClient: 12 WAITING Closing on EOF
D [24/Aug/2011:12:42:23 +0200] cupsdCloseClient: 12
D [24/Aug/2011:12:42:23 +0200] cupsdSetBusyState: Not busy
D [24/Aug/2011:12:42:23 +0200] cupsdAcceptClient: 12 from localhost (Domain)
D [24/Aug/2011:12:42:23 +0200] cupsdReadClient: 12 WAITING Closing on EOF
D [24/Aug/2011:12:42:23 +0200] cupsdCloseClient: 12
D [24/Aug/2011:12:42:23 +0200] cupsdAcceptClient: 12 from localhost (Domain)
D [24/Aug/2011:12:42:23 +0200] cupsdReadClient: 12 POST / HTTP/1.1
D [24/Aug/2011:12:42:23 +0200] cupsdSetBusyState: Active clients
D [24/Aug/2011:12:42:23 +0200] cupsdAuthorize: Authorized as root using PeerCred
D [24/Aug/2011:12:42:23 +0200] cupsdReadClient: 12 1.1 CUPS-Get-Devices 1
D [24/Aug/2011:12:42:23 +0200] CUPS-Get-Devices
D [24/Aug/2011:12:42:23 +0200] cupsdIsAuthorized: username="root"
D [24/Aug/2011:12:42:23 +0200] [CGI] argv[0] = "/usr/lib/cups/daemon/cups-deviced"
D [24/Aug/2011:12:42:23 +0200] [CGI] argv[1] = "1"
D [24/Aug/2011:12:42:23 +0200] [CGI] argv[2] = "0"
D [24/Aug/2011:12:42:23 +0200] [CGI] argv[3] = "2"
D [24/Aug/2011:12:42:23 +0200] [CGI] argv[4] = "2"
D [24/Aug/2011:12:42:23 +0200] [CGI] argv[5] = "requested-attributes=all exclude-schemes='beh','cups-pdf','bluetooth','dnssd','http','https','ipp','lpd','ncp','parallel','scsi','smb','snmp','socket'"
D [24/Aug/2011:12:42:23 +0200] [CGI] envp[0] = "CUPS_CACHEDIR=/var/cache/cups"
D [24/Aug/2011:12:42:23 +0200] [CGI] envp[1] = "CUPS_DATADIR=/usr/share/cups"
D [24/Aug/2011:12:42:23 +0200] [CGI] envp[2] = "CUPS_DOCROOT=/usr/share/cups/doc"
D [24/Aug/2011:12:42:23 +0200] [CGI] envp[3] = "CUPS_FONTPATH=/usr/share/cups/fonts"
D [24/Aug/2011:12:42:23 +0200] [CGI] envp[4] = "CUPS_REQUESTROOT=/var/spool/cups"
D [24/Aug/2011:12:42:23 +0200] [CGI] envp[5] = "CUPS_SERVERBIN=/usr/lib/cups"
D [24/Aug/2011:12:42:23 +0200] [CGI] envp[6] = "CUPS_SERVERROOT=/etc/cups"
D [24/Aug/2011:12:42:23 +0200] [CGI] envp[7] = "CUPS_STATEDIR=/var/run/cups"
D [24/Aug/2011:12:42:23 +0200] [CGI] envp[8] = "HOME=/var/spool/cups/tmp"
D [24/Aug/2011:12:42:23 +0200] [CGI] envp[9] = "PATH=/usr/lib/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin"
D [24/Aug/2011:12:42:23 +0200] [CGI] envp[10] = "SERVER_ADMIN=root@klapptop"
D [24/Aug/2011:12:42:23 +0200] [CGI] envp[11] = "SOFTWARE=CUPS/1.4.8"
D [24/Aug/2011:12:42:23 +0200] [CGI] envp[12] = "TMPDIR=/var/spool/cups/tmp"
D [24/Aug/2011:12:42:23 +0200] [CGI] envp[13] = "USER=root"
D [24/Aug/2011:12:42:23 +0200] [CGI] envp[14] = "CUPS_SERVER=/var/run/cups/cups.sock"
D [24/Aug/2011:12:42:23 +0200] [CGI] envp[15] = "CUPS_ENCRYPTION=IfRequested"
D [24/Aug/2011:12:42:23 +0200] [CGI] envp[16] = "IPP_PORT=631"
D [24/Aug/2011:12:42:23 +0200] [CGI] envp[17] = "AUTH_TYPE=PeerCred"
D [24/Aug/2011:12:42:23 +0200] [CGI] envp[18] = "LANG=en_US.UTF8"
D [24/Aug/2011:12:42:23 +0200] [CGI] envp[19] = "REDIRECT_STATUS=1"
D [24/Aug/2011:12:42:23 +0200] [CGI] envp[20] = "GATEWAY_INTERFACE=CGI/1.1"
D [24/Aug/2011:12:42:23 +0200] [CGI] envp[21] = "SERVER_NAME=localhost"
D [24/Aug/2011:12:42:23 +0200] [CGI] envp[22] = "SERVER_PORT=631"
D [24/Aug/2011:12:42:23 +0200] [CGI] envp[23] = "REMOTE_ADDR="
D [24/Aug/2011:12:42:23 +0200] [CGI] envp[24] = "REMOTE_HOST=localhost"
D [24/Aug/2011:12:42:23 +0200] [CGI] envp[25] = "SCRIPT_NAME=/"
D [24/Aug/2011:12:42:23 +0200] [CGI] envp[26] = "SCRIPT_FILENAME=/usr/share/cups/doc/"
D [24/Aug/2011:12:42:23 +0200] [CGI] envp[27] = "REMOTE_USER=root"
D [24/Aug/2011:12:42:23 +0200] [CGI] envp[28] = "SERVER_PROTOCOL=HTTP/1.1"
D [24/Aug/2011:12:42:23 +0200] [CGI] envp[29] = "HTTP_USER_AGENT=CUPS/1.4.8"
D [24/Aug/2011:12:42:23 +0200] [CGI] envp[30] = "REQUEST_METHOD=POST"
D [24/Aug/2011:12:42:23 +0200] [CGI] envp[31] = "CONTENT_LENGTH=244"
D [24/Aug/2011:12:42:23 +0200] [CGI] envp[32] = "CONTENT_TYPE=application/ipp"
D [24/Aug/2011:12:42:23 +0200] [CGI] Started /usr/lib/cups/daemon/cups-deviced (PID 1501)
I [24/Aug/2011:12:42:23 +0200] Started "/usr/lib/cups/daemon/cups-deviced" (pid=1501)
D [24/Aug/2011:12:42:23 +0200] cupsdSendCommand: 12 file=14
D [24/Aug/2011:12:42:23 +0200] [cups-deviced] Started backend /usr/lib/cups/backend/mdns (PID 1502)
D [24/Aug/2011:12:42:23 +0200] [cups-deviced] Started backend /usr/lib/cups/backend/usb (PID 1503)
D [24/Aug/2011:12:42:23 +0200] [cups-deviced] Started backend /usr/lib/cups/backend/serial (PID 1504)
D [24/Aug/2011:12:42:23 +0200] [CGI] list_devices
D [24/Aug/2011:12:42:23 +0200] [CGI] usb_find_busses=6
D [24/Aug/2011:12:42:23 +0200] [cups-deviced] PID 1504 (serial) exited with no errors.
D [24/Aug/2011:12:42:23 +0200] [cups-deviced] PID 1502 (mdns) exited with no errors.
D [24/Aug/2011:12:42:23 +0200] [CGI] usb_find_devices=9
D [24/Aug/2011:12:42:23 +0200] [CGI] libusb couldn't open USB device /dev/bus/usb/002/006: Permission denied.
D [24/Aug/2011:12:42:23 +0200] [CGI] libusb requires write access to USB device nodes.
D [24/Aug/2011:12:42:23 +0200] [cups-deviced] PID 1503 (usb) exited with no errors.
D [24/Aug/2011:12:42:23 +0200] PID 1501 (/usr/lib/cups/daemon/cups-deviced) exited with no errors.
D [24/Aug/2011:12:42:23 +0200] Script header: Content-Type: application/ipp
D [24/Aug/2011:12:42:23 +0200] Script header:
D [24/Aug/2011:12:42:23 +0200] cupsdSetBusyState: Not busy
D [24/Aug/2011:12:42:23 +0200] cupsdReadClient: 12 WAITING Closing on EOF
D [24/Aug/2011:12:42:23 +0200] cupsdCloseClient: 12
i found a related thread ( https://bbs.archlinux.org/viewtopic.php?id=110477 ) but that deals with digital cameras, so it doesn't really help me. Other forum threads i found about libusb permission errors were mostly people that forgot to add themselves to lp and the like. Does anyone know why i get the permission errors and how i can fix it? Any help is greatly appreciated! -
PERL CGI doesnt accept ORACLE+APACHE
Hi,
I am using Oracle+Apache+Perl+DBI/DBD and one thing very strange
is happening:
Oracle works fine ...
Perl + CGI + Apache works fine ...
Perl + Oracle works fine ...
But when it comes to Access a Perl script (CGI) accessing Oracle
in the Netscape using Apache as the Web server, nothing happens
The STOP button remains lighted as if the page havent finished
loading. No messages are displayed.
If I run the same script in the terminal prompt, it is executed
terrifically, generating all the HTML codes, but when I run it
using the browser, absolutely nothing happens.
Do you have any idea of what is wrong ?!
Thank you
Andre Lessa
[email protected]
[email protected]
nullHey,
The problem is that you have not included ORACLE_HOME in your
cgi script. you need to do the following
BEGIN {$ENV{ORACLE_HOME}='your_dir_goes_here';}
also check error log.
under my redhat linux 5.2 it is in the following dir.
/var/log/httpd/
that is how i solved that problem
Alex
Email with any other questions;
Andre Lessa (guest) wrote:
: Hi,
: I am using Oracle+Apache+Perl+DBI/DBD and one thing very
strange
: is happening:
: Oracle works fine ...
: Perl + CGI + Apache works fine ...
: Perl + Oracle works fine ...
: But when it comes to Access a Perl script (CGI) accessing
Oracle
: in the Netscape using Apache as the Web server, nothing happens
: The STOP button remains lighted as if the page havent finished
: loading. No messages are displayed.
: If I run the same script in the terminal prompt, it is executed
: terrifically, generating all the HTML codes, but when I run it
: using the browser, absolutely nothing happens.
: Do you have any idea of what is wrong ?!
: Thank you
: Andre Lessa
: [email protected]
: [email protected]
null
Maybe you are looking for
-
Thank you for the opportunity to submit this query and hurray for the volunteers who will tackle it! Thank you! on opening FFox, I routinely run Tools/View Cookies and clear my Error Console. I INVARIABLY find over 400 cookie directories arranged in
-
HI , Anybody please tell me how to get functional knowledge in MM from the net basically i am an ABAPer,
-
CONVERT_TO_LOCAL_CURRENCY not return correct amount
Hi expert, I'm trying to convert 1000 USD to SGD using FM 'CONVERT_TO_LOCAL_CURRENCY'. As we know 1000 USD = 1736 SGD, but this FM return 17,36 SGD. Kindly help me on this. Below is the test code. REPORT y_mr_exchange_rate. DATA: v_local_amount TY
-
Fill Field 'Header text' in FB01
Hi, Now: documents (FB03) in field header text have date from documents date from invoices. I would like to have another date which automatic print here. For example one date 01.01.2000 . Can change it in tcode or it's more advance setup. Thanks
-
Hi, I have cancel the invoice document with amount usd 600, system create the accounting entries as below.. Vendor: USD 600 Debit GR/IR Clearing account: USD 154600 Credit Purchase Service account: USD 154000 Debit Is these entries are correct if no