Koozali.org: home of the SME Server

Bugs int eh 6.0 final printing system

Ed Form

Bugs int eh 6.0 final printing system
« on: January 18, 2004, 03:40:25 AM »
Before the impending community release of a new ISO for SME it might be
prudent to take a careful look at the 'Printers' component of the Server
Manager and at printing in general; there appear to be a number of issues in
which the last Mitel release version has problems.

I just reinstalled my own server, because I had managed to bust Hylafax and
couldn't clear up the mess, and I've run into all sorts of problems. My
server was 6.03b with all updates and printing functioned perfectly,
providing network wide access to a Brother HL1260 on LPT1, and an Epson
Stylus Photo 950 on the first USB port. When I decided to reinstall I didn't
have the 6.0 ISO to hand, so I reinstalled 6.03b, and was intending to do
all of the updates as before; then I remembered that I had deleted them a
couple of weeks ago so I obtained a copy of 6.0 and upgraded with that. I
now have big problems printing.

My server is configured exactly as before, and I set up the same named
printers as before; when I came to try out the connected printers at one of
my Windows XP workstations, the system could plainly see the newly created
server printer hooks, but they didn't work - giving long delays while trying
to look at properties, and no print. So I deleted the shares on the
workstation and tried to recreate them - same long, long delays while the
workstation tried to make the connection, and the same result - no print
when I tried to use the printer.

Then I deleted the printer shares in the Server Manager, which also seemed
to take forever, and found that the loop back from the delete printer
dialogue to the printers page didn't work, simply stalling on a blank
browser window. If I choose the menu item 'Printers', again the table shows
the printer as deleted, but if I try to recreate a share with the same name
I get...

    Error: An account with the same name exists with type:printer-deleted.

...and this persists after a server reboot.

I'm going to reinstall the server again using the 6.0 ISO and see if this
clears up the problem, but I thought the development team at Contribs should
know about it.

There are, incidentally, a couple of other broken pathways in the operation
of the Server manager of the 6 series SME betas and the 6.0 release - as an
example, try setting the time and saving it; this fails to restart the 'Date
and Time' subsystem and also results in a blank browser page.

Ed Form

Michael

Bugs int eh 6.0 final printing system
« Reply #1 on: January 21, 2004, 05:40:33 AM »
We have experienced the exact same problem after re-installing sme 6. If anybody knows of any solutions your assistance would be greatly appreciated.

Offline gzartman

  • *
  • 306
  • +0/-0
    • LEI Engineering & Surveying
Re: Bugs int eh 6.0 final printing system
« Reply #2 on: January 22, 2004, 06:44:54 PM »
Quote from: "Ed Form"
as an
example, try setting the time and saving it; this fails to restart the 'Date
and Time' subsystem and also results in a blank browser page.


Ed, I cannot confirm this on two seperate SME 6 machines.  Time updates properly and panel works fine.

Try installing a fresh version of SME 6 final.

Greg Zartman
----
Greg J. Zartman
LEI Engineering & Surveying

SME user and community member since 2000.

dispater

Bugs int eh 6.0 final printing system
« Reply #3 on: January 25, 2004, 12:56:56 PM »
I have experienced the exact same problem after installing sme 6.
And when i add printer in the Server Manager results in a blank browser page, have to quit Lynx and access the Server Manager once more to see added printer.

Kenneth Christensen

Charlie Brady

Re: Bugs int eh 6.0 final printing system
« Reply #4 on: January 28, 2004, 07:02:06 PM »
Quote from: "Ed Form"

I get...

    Error: An account with the same name exists with type:printer-deleted.

...and this persists after a server reboot.



That's an indication that "signal-event printer-delete name" failed when you ran it from the panel. You need to work out why - reason will be logged in /var/log/messages*.

Charlie

ChocoKiller

Bugs int eh 6.0 final printing system
« Reply #5 on: February 04, 2004, 12:36:05 PM »
Sorry, but I don't care about this error message ... because I just deleted the line of the name of my printer in the file /home/e-smith/accounts

That's all folks ...  :-D

matsk

Bugs int eh 6.0 final printing system
« Reply #6 on: February 04, 2004, 06:05:56 PM »
I have also experienced the same problem on a newely installed 6.0 SME server so I switch to CUPS instead and that works.

And there has been several other postings regarding this issue.

I include the log from the time when I tried to create the printer:
Feb  2 00:16:02 styx2 e-smith[3641]: Processing event: printer-create oki
Feb  2 00:16:02 styx2 e-smith[3641]: Running event handler: /etc/e-smith/events/printer-create/S15printer-create
Feb  2 00:16:03 styx2 e-smith[3641]: S15printer-create=action|Event|printer-create|Action|S15printer-create|Start|1075677362 726073|End|1075677363 59717|Elapsed|0.333644
Feb  2 00:16:03 styx2 e-smith[3641]: Running event handler: /etc/e-smith/events/printer-create/S55LPRng-conf
Feb  2 00:16:03 styx2 e-smith[3641]: S55LPRng-conf=action|Event|printer-create|Action|S55LPRng-conf|Start|1075677363 59993|End|1075677363 469635|Elapsed|0.409642
Feb  2 00:16:03 styx2 e-smith[3641]: Running event handler: /etc/e-smith/events/printer-create/S55atalk-conf
Feb  2 00:16:04 styx2 e-smith[3641]: S55atalk-conf=action|Event|printer-create|Action|S55atalk-conf|Start|1075677363 469868|End|1075677364 31555|Elapsed|0.561687
Feb  2 00:16:04 styx2 e-smith[3641]: Running event handler: /etc/e-smith/events/printer-create/S90LPRng-restart
Feb  2 00:16:04 styx2 e-smith[3641]: Can't locate object method "get" via package "esmith::ConfigDB::Record" (perhaps you forgot to load "esmith::ConfigDB::Record"?) at /etc/e-smith/events/printer-create/S90LPRng-restart line 36.
Feb  2 00:16:04 styx2 e-smith[3641]: S90LPRng-restart=action|Event|printer-create|Action|S90LPRng-restart|Start|1075677364 31813|End|1075677364 325725|Elapsed|0.293912|Status|65280
Feb  2 00:16:04 styx2 e-smith[3641]: Running event handler: /etc/e-smith/events/printer-create/S90atalk-restart
Feb  2 00:15:01 styx2 last message repeated 6 times
Feb  2 00:16:04 styx2 afpd[2263]: shutting down on signal 15

dwater

Bugs int eh 6.0 final printing system
« Reply #7 on: December 28, 2004, 09:49:25 AM »
Is there a solution to this problem other than 'install CUPS'?

Just wondering...it is quite annoying for new users (of which I am one) together with everything else new that we need to get used to.

Max.

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Bugs int eh 6.0 final printing system
« Reply #8 on: January 05, 2005, 04:24:42 PM »
Quote from: "matsk"
I have also experienced the same problem on a newely installed 6.0 SME server ...

Quote

/etc/e-smith/events/printer-create/S90LPRng-restart
Feb  2 00:16:04 styx2 e-smith[3641]: Can't locate object method "get" via package "esmith::ConfigDB::Record" (perhaps you forgot to load "esmith::ConfigDB::Record"?) at /etc/e-smith/events/printer-create/S90LPRng-restart line 36.



That's fixed in e-smith-LPRng-1.12.0-04.noarch.rpm, available from the updates directory from a mirror near you. You should apply all updates from that directory. Well, maybe you shouldn't, since you've taken the rather more drastic step of switching your printing to use cups.

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Bugs int eh 6.0 final printing system
« Reply #9 on: January 05, 2005, 04:26:51 PM »
Hi Ed,

Quote from: "Ed Form"
... there appear to be a number of issues in
which the last Mitel release version has problems.


Please be sure to report each of them individually, in the Bug Tracker on this web site. Be sure to apply all available updates first, so you don't report bugs which have already been fixed.

Thanks