Opened 11 years ago

Closed 11 years ago

Last modified 10 years ago

#17172 closed defect (fixed)

nut-2.2.2_0 Run error - No such file or directory

Reported by: pano.irk@… Owned by: mf2k (Frank Schima)
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: Cc:
Port: nut

Description

$sudo port install nut

ok! configured ok, then

$ sudo /opt/local/bin/upsdrvctl start
Network UPS Tools - UPS driver controller 2.2.2
Network UPS Tools: 0.29 USB communication driver - core 0.33 (2.2.2)
Can't chdir to /opt/local/var/db/ups: No such file or directory
Driver failed to start (exit status=1)

What does this mean?

I asked this question at Nut-upsuser's forum, the answer was:

"When NUT was build for MacPorts it was configured to use this directory as STATEPATH, but apparently it is missing on your system. You'd better ask whoever is the packager for the MacPorts what to do now. The packaging seems to be broken, there is little we can do about that."

Attachments (1)

Portfile (2.1 KB) - added by pano.irk@… 11 years ago.
new Portfile

Download all attachments as: .zip

Change History (7)

comment:1 Changed 11 years ago by mf2k (Frank Schima)

Cc: ricci@… removed
Owner: changed from macports-tickets@… to ricci@…
Port: nut added

Changed 11 years ago by pano.irk@…

Attachment: Portfile added

new Portfile

comment:2 Changed 11 years ago by pano.irk@…

I solved the problem

comment:3 Changed 11 years ago by pano.irk@…

add a line

destroot.keepdirs ${destroot}${stateDir

comment:4 Changed 11 years ago by mf2k (Frank Schima)

Owner: changed from ricci@… to macsforever2000@…
Status: newassigned

Maintainer timeout.

comment:5 Changed 11 years ago by mf2k (Frank Schima)

Resolution: fixed
Status: assignedclosed

Committed revision 43300.

comment:6 Changed 10 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.