maxdb-webtools daemon does not start because of syntax error

Bug #121811 reported by Ralph Janke
10
Affects Status Importance Assigned to Milestone
maxdb-7.5.00 (Ubuntu)
Won't Fix
Low
Unassigned

Bug Description

Installation fails because of syntax error

/etc/init.d/maxdb-webtools: 28: Syntax error: "(" unexpected

Subsequently any execution of

sudo /etc/init.d/maxdb-webtools start

stops with the error message

/etc/init.d/maxdb-webtools: 28: Syntax error: "(" unexpected

Revision history for this message
Ralph Janke (txwikinger) wrote :

This can be fixed by removing "function" from the beginning of line 28 of the file /etc/init.d/maxdb-webtools

Original line:

function checkNPTL()

Fixed line:

checkNPTL()

Revision history for this message
Ralph Janke (txwikinger) wrote :

After this fix there are missing libraries. The problem is described in bug #121812 (https://bugs.beta.launchpad.net/ubuntu/+source/maxdb-7.5.00/+bug/121812)

Revision history for this message
Ralph Janke (txwikinger) wrote :

"function" is proper for bash. However, the script uses /bin/sh (due to the first line being #!/bin/sh), which in turn is linked to /bin/dash.

dash does not allow (according to the man page) "function" in front of the name of a function declaration.

Revision history for this message
Jeff Anderson (jander99) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. You reported this bug a while ago and there hasn't been any activity in it recently. We were wondering if this is still an issue for you. Can you try with the latest Ubuntu release? Thanks in advance.

Changed in maxdb-7.5.00 (Ubuntu):
status: New → Incomplete
Revision history for this message
Ralph Janke (txwikinger) wrote :

This package has been dropped after dapper.

Changed in maxdb-7.5.00 (Ubuntu):
status: Incomplete → Won't Fix
importance: Undecided → Low
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.