Unable to launch squirrel client - squirrel-sql

Unable to launch squirrel client.. When I hit on squirrel jar , it flashes launch pop up window and then disappears. I am using windows 7 enterprise 64 bit
I have set the Java Home path
When I launch squirrel-sql.bat.. I get below error:-The system cannot find the path specified.
Root Drive of Atlas environment = C:
The system cannot find the path specified.
Root Drive of Atlas environment = C:
The system cannot find the path specified.
Root Drive of Atlas environment = C:
The system cannot find the path specified.
Root Drive of Atlas environment = C:
The system cannot find the path specified.
Root Drive of Atlas environment = C:
The system cannot find the path specified.
Root Drive of Atlas environment = C:
The system cannot find the path specified.
Root Drive of Atlas environment = C:
The system cannot find the path specified.
"SQUIRREL_CP="C:\development\installations\SquirrelSQL\squirrel-sql.jar";"C:\development\installations\SquirrelSQL\lib\a
ntlr.jar";"C:\development\installations\SquirrelSQL\lib\asm-attrs.jar";"C:\development\installations\SquirrelSQL\lib\asm
.jar";"C:\development\installations\SquirrelSQL\lib\cglib.jar";"C:\development\installations\SquirrelSQL\lib\commons-cli
.jar";"C:\development\installations\SquirrelSQL\lib\commons-codec.jar";"C:\development\installations\SquirrelSQL\lib\com
mons-collections.jar";"C:\development\installations\SquirrelSQL\lib\commons-httpclient.jar";"C:\development\installation
s\SquirrelSQL\lib\commons-logging.jar";"C:\development\installations\SquirrelSQL\lib\dom4j.jar";"C:\development\installa
tions\SquirrelSQL\lib\ejb3-persistence.jar";"C:\development\installations\SquirrelSQL\lib\forms.jar";"C:\development\ins
tallations\SquirrelSQL\lib\fw.jar";"C:\development\installations\SquirrelSQL\lib\hibernate-annotations.jar";"C:\developm
ent\installations\SquirrelSQL\lib\hibernate-commons-annotations.jar";"C:\development\installations\SquirrelSQL\lib\hiber
nate-entitymanager.jar";"C:\development\installations\SquirrelSQL\lib\hibernate.jar";"C:\development\installations\Squir
relSQL\lib\jxl.jar";"C:\development\installations\SquirrelSQL\lib\log4j.jar";"C:\development\installations\SquirrelSQL\l
ib\nanoxml.jar";"C:\development\installations\SquirrelSQL\lib\openide-loaders.jar";"C:\development\installations\Squirre
lSQL\lib\openide.jar";"C:\development\installations\SquirrelSQL\lib\org-netbeans-modules-editor-fold.jar";"C:\developmen
t\installations\SquirrelSQL\lib\org-netbeans-modules-editor-lib.jar";"C:\development\installations\SquirrelSQL\lib\org-n
etbeans-modules-editor-util.jar";"C:\development\installations\SquirrelSQL\lib\org-netbeans-modules-editor.jar";"C:\deve
lopment\installations\SquirrelSQL\lib\spring-beans.jar";"C:\development\installations\SquirrelSQL\lib\spring-context-sup
port.jar";"C:\development\installations\SquirrelSQL\lib\spring-context.jar";"C:\development\installations\SquirrelSQL\li
b\spring-core.jar";"C:\development\installations\SquirrelSQL\lib\squirrel-sql_bg_BG.jar";"C:\development\installations\S
quirrelSQL\lib\squirrel-sql_cs_CZ.jar";"C:\development\installations\SquirrelSQL\lib\squirrel-sql_de_DE.jar";"C:\develop
ment\installations\SquirrelSQL\lib\squirrel-sql_es.jar";"C:\development\installations\SquirrelSQL\lib\squirrel-sql_fr.ja
r";"C:\development\installations\SquirrelSQL\lib\squirrel-sql_it_IT.jar";"C:\development\installations\SquirrelSQL\lib\s
quirrel-sql_pt_BR.jar";"C:\development\installations\SquirrelSQL\lib\squirrel-sql_ru.jar";"C:\development\installations\
SquirrelSQL\lib\squirrel-sql_zh_CN.jar";"C:\development\installations\SquirrelSQL\lib\stringtemplate.jar";"C:\developmen
t\installations\SquirrelSQL\lib\syntax.jar";"""

Related

Samba server does not show all folder/files unless few are deleted

I have Samba 4.14.5 installed on RHEL8.
If I create a few subfolders and then create say 500 files/folders there , about 350 show up. But all can be accessed if I give the complete adress in the windows
explorer.
If I create 350, then all show up. If I create the 351st
folder, then one gets ramdomly invisible but it can be accessed if I
give the complete address in the windows explorer.
If I delete the 351st dir, then the other 350 show up correctly.
If I create another subfolder, maybe 200 will show up, so this is ramdom.
The servers is an EC2 instance and the mount is an EFS.
Config in samba.conf
[global]
realm = SAMPLE.ORG
workgroup = EXAM
security = ads
kerberos method = secrets and keytab
template homedir = /home/%U
idmap config * : backend = tdb
idmap config * : range = 10000-199999
idmap config EXAM : backend = sss
idmap config EXAM : range = 200000-2147483647
load printers = no
machine password timeout = 0
log level = 4
[data-robo]
comment = AWS EFS share drive
browseable = Yes
read only = No
write list = #group1,#group2
public = No
path = /data/robo2
valid users = #group1,#group2
force directory mode = 777
Thanks,
Just adding I see this same behavior with a CentOS 8 Stream samba 4.16.4 server sharing NFS mounts from a VAST appliance. I do not see it when sharing an NFS mount from another CentOS 8 Stream box. I also do not see it when sharing the VAST NFS mounts on a CentOS7 samba server running 4.10.16.
So the solution for us for now is to share the VAST NFS mounts only from a CentOS7 samba server. I assume the same would be true for EFS

Error starting Apache Drill in Embedded Mode on Windows 10

I am trying to start Apache Drill 1.10 in Embedded Mode on Windows 10 x64 (with Oracle JVM 1.8.0_131). When launching the command
sqlline.bat -u "jdbc:drill:zk=local"
I get the following:
Error during udf area creation [/C:/Users/<user>/drill/udf/registry] on file system [file:///] (state=,code=0)
So, after some googling, I have changed the drill-override.conf file this way:
drill.exec: {
cluster-id: "drillbits1",
zk.connect: "localhost:2181",
udf: {
# number of retry attempts to update remote function registry
# if registry version was changed during update
retry-attempts: 10,
directory: {
# Override this property if custom file system should be used to create remote directories
# instead of default taken from Hadoop configuration
fs: "file:///",
# Set this property if custom absolute root should be used for remote directories
root: "/c:/work"
}
}
}
Then I have checked the following:
proper permission set on the folder
console started as an Administrator
But I still get the same error:
Error during udf area creation [/c:/work/drill/udf/registry] on file system [file:///] (state=,code=0)
I can't disable UDF since I don't have an active connection.
Any suggestions?
Seems to be related to ownership of the folders, as per this link.
Details of the solution from the link are quoted as follows
Run these commands before the first time you are running sqlline.bat.
mkdir %userprofile%\drill
mkdir %userprofile%\drill\udf
mkdir %userprofile%\drill\udf\registry
mkdir %userprofile%\drill\udf\tmp
mkdir %userprofile%\drill\udf\staging
takeown /R /F %userprofile%\drill

Samba cannot access sub-directories

I have added this in my /etc/samba/smb.conf
[srv]
comment = another share
path = /srv
browseable = yes
create mask = 0777
directory mask = 0777
[slash]
comment = another sharedsad
path = /
browseable = yes
writable = yes
create mask = 0777
directory mask = 0777
I can easily access sub-directory inside \\IP\srv\ but I cannot do so with \\IP\slash\.
SMB server is installed in a Linux Mint 17.3 VM and I am trying to access it from a windows host.
smbclient on guest is giving error too NT_STATUS_ACCESS_DENIED listing \bin
Logs say:
[2016/02/01 03:42:52.256236, 0] ../source3/param/loadparm.c:4365(process_usershare_file)
process_usershare_file: stat of /var/lib/samba/usershares/vk failed. No such file or directory
This turned out to be a bug introduced in Samba 4.1+
https://www.turnkeylinux.org/forum/support/20160104/samba-updated-and-broke-root-share-any-ideas
There are two workarounds for this:
A) Enable symlinks. Add this to your smb.conf
[global]
wide links = yes
unix extensions = no
B) https://bugzilla.samba.org/show_bug.cgi?id=11647#c7
mkdir /mnt/root
mount -o rbind / /mnt/root
and use "path = /mnt/root" instead of "path = /"

How to use "telemetry.cfg" and ".telemetry.cfg" files with Adobe Scout

In the simplest language possible, can someone please explain...
the function of the "telemetry.cfg" file when debugging an application with Adobe Scout?
the function of the ".telemetry.cfg" file when debugging an application with Adobe Scout?
what TelemetryAddress is needed in each file
The only information I've found describing their functionality is very limited and I'm having trouble wrapping my head around these concepts.
Some notes for reference...
Example of "telemetry.cfg" file contents ("172.30.124.81" is the local IP of the machine running Scout):
TelemetryAddress = 172.30.124.81:7934
SamplerEnabled = false
CPUCapture = false
DisplayObjectCapture = false
Stage3DCapture = false
ScriptObjectAllocationTraces = false
And ".telemetry.cfg" could be the same except:
TelemetryAddress = localhost:7934
I've read this to be true:
7934 - Scout's default port
7935 - Flash Builder's default port
Please don't just post a link to the official Adobe documentation; I've read it numerous times.
The .telemetry.cfg and telemetry.cfg file formats are the same.
Either one is only used when enabling Scout options to profile a swf in a remote process (i.e. on a different PC). This configuration file is located on the PC that is running the swf in order to tell the Flash runtime where to send its telemetry data and which data that it should send.
There is an iOS & Android app for configuring AIR on the actual mobile devices and thus the telemetry.cfg/.telemetry.cfg file is not used.
telemetry.cfg is used to config Air (via FlashBuilder) for profiling Blackberry 10s over their USB connection. Same options in the '.telemetry.cfg', just the IP is a link-local IPv4 address (169.254.x.x). Blackberry 10s are at end of life for support for AIR and I personally have not developed for them.
So in the Scout preferences:
You can change the port number that Scout uses, and this port number has to match the one used in the .telemetry.cfg that is located on the remote PC.
The "Make the Flash Runtime on thus computer connect to Scout" option actually creates a temporary ./telemetry.cfg that exists only while Scout run and is picked up by the Flash runtimes/SWFs that you run so profiling is automatic.
TelemetryAddress in the file is the IP (or host name) of the PC that is running Scout and the port address has to match the one assigned in the Scout Preferences (default is 7934)

Nfs client on Window7

I have setup Nfs server on fedora19 and started all the service like rpcbind,nfs-lock,nfs-server,nfs-idmap
when i type in terminal"sudo vi /usr/sbin/exportfs" i get o/p
[root#balkrishna balkrishna]# sudo vi /usr/sbin/exportfs
/home/balkrishna/nfs_server
192.168.213.0/24
And my exports file contain
/home/balkrishna/nfs_server (rw,sync,all_squash,anonuid=12345,anongid=23456)
Now i want it to connect to window 7(fedora is installed in Vmware), so when i type
C:\Users\Balkrishna>mount 192.168.213.156:/home/balkrishna/nfs_server Z:
in command prompt i get following error
C:\Users\Balkrishna>mount 192.168.213.156:/home/balkrishna/nfs_server Z:
Network Error - 53
Type 'NET HELPMSG 53' for more information.
C:\Users\Balkrishna>NET HELPMSG 53
The network path was not found.
i even tried switching off the private firewall but still above error exist
I have tested my NFS server in another fedora, the NFS-client of another fedora was able to mount the server, but in windows7 i am not able to mount, Please help??
According to MS' page (Mounting an NFS) the correct syntax to mount a NFS share is:
mount \\nfs_server\share g:
This would make yours:
mount \\192.168.213.156\home\balkrishna\nfs_server z: