This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!
I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!
it will taken offline by the end of march 2021!
I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!
-OwnCloud- "SMB client not installed"
-
Korbi
- NewUser

- Posts: 7
- Joined: 15 Aug 2014 11:09
- Status: Offline
-OwnCloud- "SMB client not installed"
Hello,
i installed OwnCloud 7.0.2 with this guide: viewtopic.php?f=94&t=7080
Everything ist working perfect and stable. But i have a little problem with the "External Storage Support".
Error code: SMB Client not installed - but i have installed the smb client properly.
I checked the install with the following command:
root@ownCloud:/ # which smbclient
Result:
/usr/local/bin/smbclient
Thanks for your help!
Korbi
i installed OwnCloud 7.0.2 with this guide: viewtopic.php?f=94&t=7080
Everything ist working perfect and stable. But i have a little problem with the "External Storage Support".
Error code: SMB Client not installed - but i have installed the smb client properly.
I checked the install with the following command:
root@ownCloud:/ # which smbclient
Result:
/usr/local/bin/smbclient
Thanks for your help!
Korbi
-
laster13
- PowerUser

- Posts: 995
- Joined: 01 Jun 2013 19:15
- Location: France-Marseille
- Status: Offline
Re: -OwnCloud- "SMB client not installed"
hi
if you use finch
then
If you use TheBrig
if ports not installed
if you use finch
Code: Select all
sudo finch chrootCode: Select all
qjail console owncloudCode: Select all
cd /usr/ports/net/samba-smbclientCode: Select all
make install cleanCode: Select all
jexec 1 cshCode: Select all
portsnap fetch extratcCode: Select all
cd /usr/ports/net/samba-smbclientCode: Select all
make install clean-
Korbi
- NewUser

- Posts: 7
- Joined: 15 Aug 2014 11:09
- Status: Offline
Re: -OwnCloud- "SMB client not installed"
Thanks for the fast reply!
Maybe you should add this workaround into your Tutorial: "[TUTO] Installation Owncloud 7 + Mysql".
In my case this workaround prdouces some errors (i am using The Brig):
i execute this command
and get this result
Thanks for your help!
Korbi
Maybe you should add this workaround into your Tutorial: "[TUTO] Installation Owncloud 7 + Mysql".
In my case this workaround prdouces some errors (i am using The Brig):
i execute this command
Code: Select all
make install cleanCode: Select all
===> Building for pkg-1.3.7
/usr/bin/make all-recursive
Making all in external
./libelf/native-elf-format > libelf/native-elf-format.h
/usr/bin/make all-am
CC libucl/src/libucl_la-ucl_emitter.lo
CC libucl/src/libucl_la-ucl_emitter_utils.lo
CC libucl/src/libucl_la-ucl_emitter_streamline.lo
CC libucl/src/libucl_la-ucl_hash.lo
CC libucl/src/libucl_la-ucl_parser.lo
CC libucl/src/libucl_la-ucl_schema.lo
CC libucl/src/libucl_la-ucl_util.lo
CC libucl/src/libucl_la-xxhash.lo
CC libucl/src/libucl_static_la-ucl_emitter.lo
libucl/src/ucl_schema.c: In function 'ucl_schema_validate':
libucl/src/ucl_schema.c:884: warning: 'ret' may be used uninitialized in this function
CC libucl/src/libucl_static_la-ucl_emitter_utils.lo
CC libucl/src/libucl_static_la-ucl_emitter_streamline.lo
CC libucl/src/libucl_static_la-ucl_hash.lo
CC libucl/src/libucl_static_la-ucl_parser.lo
CC libucl/src/libucl_static_la-ucl_schema.lo
CC libucl/src/libucl_static_la-ucl_util.lo
libucl/src/ucl_schema.c: In function 'ucl_schema_validate':
libucl/src/ucl_schema.c:884: warning: 'ret' may be used uninitialized in this function
CC libucl/src/libucl_static_la-xxhash.lo
CC sqlite/libsqlite_la-sqlite3.lo
CC sqlite/libsqlite_la-shell.lo
CC sqlite/libsqlite_static_la-sqlite3.lo
sqlite/sqlite3.c: In function 'sqlite3BtreeBeginTrans':
sqlite/sqlite3.c:53835: warning: unused variable 'pBlock'
sqlite/sqlite3.c: In function 'balance_nonroot':
sqlite/sqlite3.c:57860: warning: unused variable 'key'
sqlite/sqlite3.c: In function 'sqlite3BtreeBeginTrans':
sqlite/sqlite3.c:53835: warning: unused variable 'pBlock'
sqlite/sqlite3.c: In function 'balance_nonroot':
sqlite/sqlite3.c:57860: warning: unused variable 'key'
CC sqlite/libsqlite_static_la-shell.lo
CC libyaml/src/libyaml_la-api.lo
CC libyaml/src/libyaml_la-loader.lo
CC libyaml/src/libyaml_la-parser.lo
CC libyaml/src/libyaml_la-reader.lo
CC libyaml/src/libyaml_la-scanner.lo
CC libyaml/src/libyaml_static_la-api.lo
CC libyaml/src/libyaml_static_la-loader.lo
CC libyaml/src/libyaml_static_la-parser.lo
CC libyaml/src/libyaml_static_la-reader.lo
CC libyaml/src/libyaml_static_la-scanner.lo
CC expat/lib/libexpat_la-xmlparse.lo
CC expat/lib/libexpat_la-xmlrole.lo
CC expat/lib/libexpat_la-xmltok.lo
CC expat/lib/libexpat_static_la-xmlparse.lo
CC expat/lib/libexpat_static_la-xmlrole.lo
CC expat/lib/libexpat_static_la-xmltok.lo
CC libsbuf/libsbuf_la-subr_sbuf.lo
CC libsbuf/libsbuf_static_la-subr_sbuf.lo
CC picosat/libpicosat_la-picosat.lo
CC picosat/libpicosat_la-version.lo
CC picosat/libpicosat_static_la-picosat.lo
cc: Internal error: Killed: 9 (program cc1)
Please submit a full bug report.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
*** [sqlite/libsqlite_la-sqlite3.lo] Error code 1
1 error
*** [all] Error code 2
1 error
*** [all-recursive] Error code 1
1 error
*** [all] Error code 2
1 error
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** [do-build] Error code 1
Stop in /usr/ports/ports-mgmt/pkg.
*** [/usr/ports/ports-mgmt/pkg/work/.build_done.pkg._usr_local] Error code 1
Stop in /usr/ports/ports-mgmt/pkg.
*** [pkg-depends] Error code 1
Stop in /usr/ports/net/samba-smbclient.
Korbi
-
laster13
- PowerUser

- Posts: 995
- Joined: 01 Jun 2013 19:15
- Location: France-Marseille
- Status: Offline
Re: -OwnCloud- "SMB client not installed"
Try
pkg_add -r samba36
pkg_add -r samba36
-
Korbi
- NewUser

- Posts: 7
- Joined: 15 Aug 2014 11:09
- Status: Offline
Re: -OwnCloud- "SMB client not installed"
Thanks for your help again 
Now i am getting a little bit different error code.
i execute
and get this result
Now i am getting a little bit different error code.
i execute
Code: Select all
make install cleanCode: Select all
===> samba36-smbclient-3.6.24 depends on package: tdb>=1.2.6 - found
===> samba36-smbclient-3.6.24 depends on package: talloc>=2.0.1 - found
===> samba36-smbclient-3.6.24 depends on package: tevent>=0.9.11 - found
===> samba36-smbclient-3.6.24 depends on executable: gmake - found
===> samba36-smbclient-3.6.24 depends on executable: pkgconf - found
===> samba36-smbclient-3.6.24 depends on file: /usr/local/bin/autoconf-2.69 - not found
===> Verifying install for /usr/local/bin/autoconf-2.69 in /usr/ports/devel/autoconf
===> autoconf-2.69 depends on executable: gm4 - found
===> autoconf-2.69 depends on executable: help2man - not found
===> Verifying install for help2man in /usr/ports/misc/help2man
===> help2man-1.43.3_1 depends on executable: gmake-lite - found
===> help2man-1.43.3_1 depends on file: /usr/local/bin/perl5.16.3 - not found
===> Verifying install for /usr/local/bin/perl5.16.3 in /usr/ports/lang/perl5.16
===> Building for perl5-5.16.3_11
`sh cflags "optimize='-O2 -pipe -fno-strict-aliasing'" dump.o` -DPIC -fPIC dump.c
`sh cflags "optimize='-O2 -pipe -fno-strict-aliasing'" util.o` -DPIC -fPIC util.c
`sh cflags "optimize='-O2 -pipe -fno-strict-aliasing'" mg.o` -DPIC -fPIC mg.c
`sh cflags "optimize='-O2 -pipe -fno-strict-aliasing'" reentr.o` -DPIC -fPIC reentr.c
CCCMD = cc -DPERL_CORE -c -DAPPLLIB_EXP="/usr/local/lib/perl5/5.16/BSDPAN" -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -std=c89 -O2 -pipe -fno-strict-aliasing -Wall -ansi -W -Wextra -Wdeclaration-after-statement -Wendif-labels -Wc++-compat -Wwrite-strings
CCCMD = cc -DPERL_CORE -c -DAPPLLIB_EXP="/usr/local/lib/perl5/5.16/BSDPAN" -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -std=c89 -O2 -pipe -fno-strict-aliasing -Wall -ansi -W -Wextra -Wdeclaration-after-statement -Wendif-labels -Wc++-compat -Wwrite-strings
CCCMD = cc -DPERL_CORE -c -DAPPLLIB_EXP="/usr/local/lib/perl5/5.16/BSDPAN" -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -std=c89 -O2 -pipe -fno-strict-aliasing -Wall -ansi -W -Wextra -Wdeclaration-after-statement -Wendif-labels -Wc++-compat -Wwrite-strings
CCCMD = cc -DPERL_CORE -c -DAPPLLIB_EXP="/usr/local/lib/perl5/5.16/BSDPAN" -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -std=c89 -O2 -pipe -fno-strict-aliasing -Wall -ansi -W -Wextra -Wdeclaration-after-statement -Wendif-labels -Wc++-compat -Wwrite-strings
`sh cflags "optimize='-O2 -pipe -fno-strict-aliasing'" mro.o` -DPIC -fPIC mro.c
CCCMD = cc -DPERL_CORE -c -DAPPLLIB_EXP="/usr/local/lib/perl5/5.16/BSDPAN" -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -std=c89 -O2 -pipe -fno-strict-aliasing -Wall -ansi -W -Wextra -Wdeclaration-after-statement -Wendif-labels -Wc++-compat -Wwrite-strings
{standard input}: Assembler messages:
{standard input}:6028: Warning: end of file not at end of a line; newline inserted
{standard input}:6823: Error: no such instruction: `ca'
cc: Internal error: Killed: 9 (program cc1)
Please submit a full bug report.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
*** [util.o] Error code 1
{standard input}: Assembler messages:
{standard input}:2073: Warning: end of file not at end of a line; newline inserted
{standard input}:3488: Error: unknown pseudo-op: `.stri'
cc: Internal error: Killed: 9 (program cc1)
Please submit a full bug report.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
*** [dump.o] Error code 1
2 errors
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** [do-build] Error code 1
Stop in /usr/ports/lang/perl5.16.
*** [install] Error code 1
Stop in /usr/ports/lang/perl5.16.
*** [build-depends] Error code 1
Stop in /usr/ports/misc/help2man.
*** [install] Error code 1
Stop in /usr/ports/misc/help2man.
*** [build-depends] Error code 1
Stop in /usr/ports/devel/autoconf.
*** [build-depends] Error code 1
Stop in /usr/ports/net/samba-smbclient.
root@ownCloud:/usr/ports/net/samba-smbclient #
-
Korbi
- NewUser

- Posts: 7
- Joined: 15 Aug 2014 11:09
- Status: Offline
Re: -OwnCloud- "SMB client not installed"
Hi,
i did an upgrade/update of the ports with the following command:
inside /usr/ports/ports-mgmt/pkg
https://forums.freebsd.org/viewtopic.php?t=48185
Then i tried again the following commands:
If you use TheBrig
if ports not installed
When i execute i get this error now:
Thanks for your help!
Korbi
i did an upgrade/update of the ports with the following command:
Code: Select all
make deinstall reinstallhttps://forums.freebsd.org/viewtopic.php?t=48185
Then i tried again the following commands:
If you use TheBrig
Code: Select all
jexec 1 cshCode: Select all
portsnap fetch extratcCode: Select all
cd /usr/ports/net/samba-smbclientCode: Select all
make install cleanCode: Select all
make install cleanCode: Select all
jexec 1 csh
root@ownCloud:/ # cd /usr/ports/net/samba-smbclient
root@ownCloud:/usr/ports/net/samba-smbclient # make install clean
===> Building for samba36-smbclient-3.6.24
Compiling ../librpc/ndr/ndr_netlogon.c
Compiling librpc/gen_ndr/ndr_eventlog.c
Compiling librpc/gen_ndr/ndr_dssetup.c
Compiling librpc/gen_ndr/ndr_netlogon.c
Compiling librpc/gen_ndr/ndr_epmapper.c
Compiling librpc/gen_ndr/ndr_ntsvcs.c
Compiling librpc/gen_ndr/ndr_spoolss.c
Compiling ../librpc/ndr/ndr_spoolss_buf.c
Compiling ../libcli/smbreadline/smbreadline.c
Compiling lib/popt_common.c
Compiling passdb/pdb_get_set.c
Compiling passdb/passdb.c
Compiling passdb/pdb_interface.c
Compiling lib/util_wellknown.c
Compiling lib/util_builtin.c
Compiling passdb/pdb_compat.c
Compiling lib/util_unixsids.c
Compiling passdb/lookup_sid.c
Compiling passdb/login_cache.c
Compiling passdb/pdb_smbpasswd.c
Compiling passdb/pdb_tdb.c
Compiling passdb/pdb_wbc_sam.c
Compiling passdb/account_pol.c
Compiling lib/privileges.c
Compiling lib/util_nscd.c
Compiling lib/winbind_util.c
Compiling lib/server_mutex.c
Compiling passdb/pdb_util.c
Compiling groupdb/mapping.c
Compiling groupdb/mapping_tdb.c
{standard input}: Assembler messages:
{standard input}:27582: Warning: end of file in string; '"' inserted
cc: Internal error: Killed: 9 (program cc1)
Please submit a full bug report.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
The following command failed:
cc -O2 -pipe -fno-strict-aliasing -I. -I/usr/ports/net/samba-smbclient/work/samba-3.6.24/source3 -I/usr/ports/net/samba-smbclient/work/samba-3.6.24/source3/../lib/popt -I/usr/ports/net/samba-smbclient/work/samba-3.6.24/source3/../lib/iniparser/src -Iinclude -I./include -I. -I. -I./../lib/replace -I./librpc -I./.. -DHAVE_CONFIG_H -Iinclude -I./include -I. -I. -I./../lib/replace -I./librpc -I./.. -I./../lib/popt -I/usr/ports/net/samba-smbclient/work/samba-3.6.24/source3/lib -I.. -D_SAMBA_BUILD_=3 -I/usr/local/include -D_SAMBA_BUILD_=3 -fPIC -DPIC -c librpc/gen_ndr/ndr_spoolss.c -o librpc/gen_ndr/ndr_spoolss.o
Compiling ../libcli/security/display_sec.c
Compiling librpc/gen_ndr/ndr_srvsvc_c.c
Compiling ../lib/popt/findme.c
Compiling ../lib/popt/popt.c
Compiling ../lib/popt/poptconfig.c
Compiling ../lib/popt/popthelp.c
Compiling ../lib/popt/poptparse.c
{standard input}: Assembler messages:
{standard input}:49834: Warning: end of file not at end of a line; newline inserted
{standard input}:51069: Error: expected comma after name `ndr_push_netr_Serve' in .size directive
cc: Internal error: Killed: 9 (program cc1)
Please submit a full bug report.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
The following command failed:
cc -O2 -pipe -fno-strict-aliasing -I. -I/usr/ports/net/samba-smbclient/work/samba-3.6.24/source3 -I/usr/ports/net/samba-smbclient/work/samba-3.6.24/source3/../lib/popt -I/usr/ports/net/samba-smbclient/work/samba-3.6.24/source3/../lib/iniparser/src -Iinclude -I./include -I. -I. -I./../lib/replace -I./librpc -I./.. -DHAVE_CONFIG_H -Iinclude -I./include -I. -I. -I./../lib/replace -I./librpc -I./.. -I./../lib/popt -I/usr/ports/net/samba-smbclient/work/samba-3.6.24/source3/lib -I.. -D_SAMBA_BUILD_=3 -I/usr/local/include -D_SAMBA_BUILD_=3 -fPIC -DPIC -c librpc/gen_ndr/ndr_netlogon.c -o librpc/gen_ndr/ndr_netlogon.o
Compiling ../nsswitch/libwbclient/wbclient.c
Compiling ../nsswitch/libwbclient/wbc_util.c
Compiling ../nsswitch/libwbclient/wbc_pwd.c
Compiling ../nsswitch/libwbclient/wbc_idmap.c
Compiling ../nsswitch/libwbclient/wbc_sid.c
Compiling ../nsswitch/libwbclient/wbc_guid.c
Compiling ../nsswitch/libwbclient/wbc_pam.c
Compiling ../nsswitch/wb_common.c
Linking non-shared library bin/libwbclient.a
gmake: *** [librpc/gen_ndr/ndr_spoolss.o] Error 1
gmake: *** Waiting for unfinished jobs....
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** [do-build] Error code 1
Korbi
-
laster13
- PowerUser

- Posts: 995
- Joined: 01 Jun 2013 19:15
- Location: France-Marseille
- Status: Offline
Re: -OwnCloud- "SMB client not installed"
Without build ports
Juste type
pkg_add -r samba36
Juste type
pkg_add -r samba36
-
mekonghigh
- Starter

- Posts: 39
- Joined: 13 Oct 2013 18:03
- Status: Offline
Re: -OwnCloud-
pkg install net/samba36laster13 wrote:Without build ports
Juste type
pkg_add -r samba36
http://www.freshports.org/net/samba36/
- raulfg3
- Site Admin

- Posts: 4865
- Joined: 22 Jun 2012 22:13
- Location: Madrid (ESPAÑA)
- Contact:
- Status: Offline
Re: -OwnCloud- "SMB client not installed"
is for BSD 9.xmekonghigh wrote:pkg_add -r samba36
is for BSD 10mekonghigh wrote:pkg install net/samba36
What version of BSD do you have inside your jail?.
12.1.0.4 - Ingva (revision 7743) on SUPERMICRO X8SIL-F 8GB of ECC RAM, 11x3TB disk in 1 vdev = Vpool = 32TB Raw size , so 29TB usable size (I Have other NAS as Backup)
Wiki
Last changes
HP T510
Wiki
Last changes
HP T510
-
mekonghigh
- Starter

- Posts: 39
- Joined: 13 Oct 2013 18:03
- Status: Offline
Re: -OwnCloud- "SMB client not installed"
BSD 9.2raulfg3 wrote:What version of BSD do you have inside your jail?.
Not so long ago i got a message while installing something (don't remember what) that pkg_add was outdated.
Since then i use pkg install. Didn't know that pkg install is for BSD 10. It work on 9.2 also.
-
Korbi
- NewUser

- Posts: 7
- Joined: 15 Aug 2014 11:09
- Status: Offline
Re: -OwnCloud- "SMB client not installed"
Hi,
thanks for your great help
The smb-client is now installed.
But i get still the error message in ownCloud?!
Do you have any idea, where the problem could be?
Korbi
thanks for your great help
The smb-client is now installed.
But i get still the error message in ownCloud?!
Code: Select all
"SMB client not installed"Korbi