"The Service Could Not Be Started" - Plugin service will not start

Status
Not open for further replies.

WOOGI

Cadet
Joined
Dec 17, 2012
Messages
2
System: FreeNAS-8.3.0-Release-x64
RAM: 6GB
CPU: Xeon E3120 @ 3.16GHZ
Drives: 4x1tb Drives setup as RAID 1+0 using HP RAID Card


Problem:
I have installed 8.3 twice and still cannot get the Plugin Service to start

Setup:
I have created two datasets under the root dataset

-/mnt/Vol0/ - root dataset
-/mnt/Vol0/jail - Plugins jail path
-/mnt/Vol0/jailplugin - Plugins archive path

Jail IP address: 192.168.1.10 (outside of router DHCP Scope, but on same subnet)
FreeNAS IP: 192.168.1.98 (outside of router DHCP Scope, but on same subnet)

I can get the PBI files to upload successfully, but I can never start the service.

The only thing in /var/log/messages when I try to turn it on is

Dec 17 07:23:08 freenas notifier: /etc/rc.conf: 52: Syntax error: Unterminated quoted string


I have read a few post, and everyone seems to restart a few times, or it just magicly starts to work, well neither has worked for me.
 

Tangu

Dabbler
Joined
Jan 26, 2013
Messages
10
Hey WOOGI, since the last month did you managed to get it to work, i was going to post it, but you have the exact same error message that i have too in messages.

So i cannot make any plugins to works, either SSH or the plugins itself

EDIT:

I managed to make SSH services to work, by editing the /etc/rc.conf and put a # in font of the line so line 52 now look like this :

But after that, the plugins service wouln't start again with another error :
Jan 26 09:25:10 wiggum notifier: 2: not found
Jan 26 09:25:10 wiggum notifier: /etc/rc.conf: 55: Syntax error: Unterminated quoted string

So back at the rc.conf file, edited it again to comment the weird line number 55, after that i get a lot of errors :
Jan 26 09:29:31 wiggum kernel: epair4b: link state changed to UP
Jan 26 09:29:31 wiggum notifier: ifconfig: ioctl (SIOCDIFADDR): no such interfac
e
Jan 26 09:29:31 wiggum kernel: epair4a: promiscuous mode enabled
Jan 26 09:29:31 wiggum notifier: jexec: execvp(): 2: No such file or directory
Jan 26 09:29:31 wiggum notifier: jexec: execvp(): 2: No such file or directory
Jan 26 09:29:31 wiggum notifier: ifconfig: BRDGADD bge0: Device busy
Jan 26 09:29:31 wiggum notifier: jexec: execvp(): 2: No such file or directory
Jan 26 09:29:32 wiggum notifier: 2: not found
Jan 26 09:29:32 wiggum notifier: 2: not found
Jan 26 09:29:32 wiggum notifier: 3: not found
Jan 26 09:29:32 wiggum notifier: 4: not found
Jan 26 09:29:32 wiggum notifier: 2: not found
Jan 26 09:29:32 wiggum notifier: 2: not found
Jan 26 09:29:32 wiggum notifier: 3: not found
Jan 26 09:29:32 wiggum notifier: 4: not found
Jan 26 09:29:32 wiggum notifier: 2: not found
Jan 26 09:29:32 wiggum notifier: 2: not found
Jan 26 09:29:32 wiggum notifier: 3: not found
Jan 26 09:29:32 wiggum notifier: 4: not found
Jan 26 09:29:32 wiggum notifier: Stopping jails: cannot stop jail plugins. No ja
il id in /var/run
Jan 26 09:29:32 wiggum notifier: .

And the rc.conf file have a lot of number at the end, look like a bug :
# For home users.
ataidle_enable="YES"
nginx_enable="YES"


#2"

2
#3"

2
3
4

2
3
4
5"

My version is:
[root@wiggum ~]# uname -a
FreeBSD wiggum.local 8.3-RELEASE-p5 FreeBSD 8.3-RELEASE-p5 #2 r244158M: Wed Dec
12 10:04:42 PST 2012 root@build.ixsystems.com:/home/jpaetzel/8.3.0/os-base/a
md64/usr/home/jpaetzel/8.3.0/FreeBSD/src/sys/FREENAS.amd64 amd64

i'll continue to try to debug this.
 

Tangu

Dabbler
Joined
Jan 26, 2013
Messages
10
It seem that there is a problem to enable the plugins because of some problem with network interface, i setup a interface: bge0 as per the instruction videos: http://www.youtube.com/watch?v=g4zIZX8pOas&feature=youtu.be

But it does not appear at all in network summary, instead i do have a bridge0 every time i boot up ?
Name IPv4 Address
bge0 192.168.0.33/24
bridge0 192.168.0.12/24
epair0a 0.0.0.0/8
bridge1 0.0.0.0/8
epair1a 0.0.0.0/8
bridge2 0.0.0.0/8
epair2a 0.0.0.0/8
bridge3 0.0.0.0/8
epair3a 0.0.0.0/8
bridge4 0.0.0.0/8
epair4a 0.0.0.0/8
Nameserver
192.168.0.2
Default route
192.168.0.2

Also in the messages log :
Jan 26 10:05:41 wiggum notifier: devd already running? (pid=1431).
Jan 26 10:05:41 wiggum notifier: Setting hostuuid: 1e3bd500-1dd2-11b2-8000-441ea13eeccc.
Jan 26 10:05:41 wiggum notifier: Setting hostid: 0x72b93465.
Jan 26 10:05:42 wiggum notifier: dhclient already running? (pid=13953).
Jan 26 10:05:42 wiggum notifier: Starting Network: lo0 bge0.
Jan 26 10:05:42 wiggum notifier: lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
Jan 26 10:05:42 wiggum notifier: options=3<RXCSUM,TXCSUM>
Jan 26 10:05:42 wiggum notifier: inet6 fe80::1%lo0 prefixlen 64 scopeid 0x8
Jan 26 10:05:42 wiggum notifier: inet6 ::1 prefixlen 128
Jan 26 10:05:42 wiggum notifier: inet 127.0.0.1 netmask 0xff000000
Jan 26 10:05:42 wiggum notifier: nd6 options=3<PERFORMNUD,ACCEPT_RTADV>
Jan 26 10:05:42 wiggum notifier: bge0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
Jan 26 10:05:42 wiggum notifier: options=c0099<RXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,VLAN_HWTSO,LINKSTATE>
Jan 26 10:05:42 wiggum notifier: ether 44:1e:a1:3e:ec:cc
Jan 26 10:05:42 wiggum notifier: inet 192.168.0.33 netmask 0xffffff00 broadcast 192.168.0.255
Jan 26 10:05:42 wiggum notifier: media: Ethernet autoselect (1000baseT <full-duplex,flowcontrol,rxpause,txpause>)
Jan 26 10:05:42 wiggum notifier: status: active
Jan 26 10:05:42 wiggum root: /etc/rc.d/dhclient: ERROR: /etc/rc.d/dhclient: no interface specified
Jan 26 10:05:42 wiggum notifier: /etc/rc.d/dhclient: ERROR: /etc/rc.d/dhclient: no interface specified
Jan 26 10:05:42 wiggum notifier: route: writing to routing socket: File exists
Jan 26 10:05:42 wiggum notifier: add net default: gateway 192.168.0.2: route already in table
Jan 26 10:05:42 wiggum notifier: route: writing to routing socket: File exists
Jan 26 10:05:42 wiggum notifier: add net ::ffff:0.0.0.0: gateway ::1: route already in table
Jan 26 10:05:42 wiggum notifier: route: writing to routing socket: File exists
Jan 26 10:05:42 wiggum notifier: add net ::0.0.0.0: gateway ::1: route already in table
Jan 26 10:06:39 wiggum notifier: Will not 'stop' jail because jail_enable is NO.
Jan 26 10:06:41 wiggum notifier: Will not 'stop' jail because jail_enable is NO.
Jan 26 10:07:31 wiggum notifier: Performing sanity check on nginx configuration:
Jan 26 10:07:31 wiggum notifier: nginx: the configuration file /usr/local/etc/nginx/nginx.conf syntax is ok
Jan 26 10:07:31 wiggum notifier: nginx: configuration file /usr/local/etc/nginx/nginx.conf test is successful

So i am unable to start the plugins at all :(

Here's the log file when i try to start it:
Jan 26 10:29:19 wiggum notifier: security.jail.allow_raw_sockets: 1 -> 1
Jan 26 10:29:19 wiggum notifier: Configuring jails:.
Jan 26 10:29:19 wiggum notifier: Starting jails:df: /mnt/mirroir3tb/plugins/Jail/dev: No such file or directory
Jan 26 10:29:19 wiggum notifier: mount: /mnt/mirroir3tb/plugins/Jail/dev: No such file or directory
Jan 26 10:29:19 wiggum root: /etc/rc.d/jail: WARNING: devfs_domount(): Unable to mount devfs on /mnt/mirroir3tb/plugins/Jail/dev
Jan 26 10:29:19 wiggum notifier: /etc/rc.d/jail: WARNING: devfs_domount(): Unable to mount devfs on /mnt/mirroir3tb/plugins/Jail/dev
Jan 26 10:29:19 wiggum root: /etc/rc.d/jail: WARNING: devfs_mount_jail: devfs was not mounted on /mnt/mirroir3tb/plugins/Jail/dev
Jan 26 10:29:19 wiggum notifier: /etc/rc.d/jail: WARNING: devfs_mount_jail: devfs was not mounted on /mnt/mirroir3tb/plugins/Jail/dev
Jan 26 10:29:19 wiggum notifier: ln: /mnt/mirroir3tb/plugins/Jail/dev/log: No such file or directory
Jan 26 10:29:19 wiggum notifier: cannot start jail "Jail":
Jan 26 10:29:19 wiggum notifier: .
Jan 26 10:29:19 wiggum notifier: jexec: execvp(): ifconfig: No such file or directory
Jan 26 10:29:19 wiggum kernel: bridge5: Ethernet address: 02:72:b9:34:65:05
Jan 26 10:29:19 wiggum kernel: epair5a: Ethernet address: 02:e4:45:00:14:0a
Jan 26 10:29:19 wiggum kernel: epair5b: Ethernet address: 02:e4:45:00:15:0b
Jan 26 10:29:19 wiggum kernel: epair5a: link state changed to UP
Jan 26 10:29:19 wiggum kernel: epair5b: link state changed to UP
Jan 26 10:29:19 wiggum kernel: epair5a: promiscuous mode enabled
Jan 26 10:29:19 wiggum notifier: jexec: execvp(): route: No such file or directory
Jan 26 10:29:19 wiggum notifier: ifconfig: BRDGADD bge0: Device busy
Jan 26 10:29:19 wiggum notifier: jexec: execvp(): /bin/sh: No such file or directory
Jan 26 10:29:20 wiggum notifier: Stopping jails: cannot stop jail Jail. No jail id in /var/run
Jan 26 10:29:20 wiggum notifier: .
 

Tangu

Dabbler
Joined
Jan 26, 2013
Messages
10
Dec 17 07:23:08 freenas notifier: /etc/rc.conf: 52: Syntax error: Unterminated quoted string

Okay i did a mistake by trying to load the wrong pbi into the plugins, instead of trying to load the pbi of the plugins itself, i was trying to install sabnzbd !

So when i saw that, i downloaded the plugins itself witch is under: http://sourceforge.net/projects/freenas/files/FreeNAS-8.3.0/RELEASE-p1/x64/plugins/, the filename is: FreeNAS-8.3.0-RELEASE-x64.Plugins_Jail.pbi

Then the plugin install, and got the same error again with the /etc/rc.conf Syntax errors: Unterminated quoted string witch i resolved by deleting the last line with only number and " like i said in my previous post.

Then i try to enabled it again and it worked !
 
Status
Not open for further replies.
Top