centos,nfs,tcpip,opensolaris,zfsRelated issues-Collection of common programming errors
Dan Carlson
tomcat grails imagemagick centos war
Being an (extreme) newbie to grails/groovy/maven/tomcat etc, I endeavoured to set up a CentOS box to run a grails app. I am using VMWare Fusion, CentOS 5.8, Grails 1.3.2, ImageMagick-6.2.8, Tomcat 6.0.35. I opted to install Sun’s Java.After generating my War file, I copy it into Tomcat’s webapps directory. It’s at that point that I see the following error generated in catalina.out:2012-03-28 08:00:20,676 [ContainerBackgroundProcessor[StandardEngine[Catalina]]] ERROR context.ContextLoader – Cont
welkinwalker
eclipse windows-7 centos xming
Xming was installed in win7 correctly,and the DISPLAY was set correctly too. the error output is as follows:(Eclipse:20845): GLib-GObject-WARNING **: invalid (NULL) pointerinstance(Eclipse:20845): GLib-GObject-CRITICAL **: g_signal_connect_data:assertion `G_TYPE_CHECK_INSTANCE (instance)’ failed(Eclipse:20845): Gtk-CRITICAL **: gtk_settings_get_for_screen:assertion `GDK_IS_SCREEN (screen)’ failed(Eclipse:20845): Gtk-WARNING **: Screen for GtkWindow not set; youmust always set a screen for a GtkW
AhAd
java mysql tomcat jdbc centos
I am trying to deploy a webapp on tomcat6/CentOS5I did the configuration, but when I try to start the webapp it fails so as the guys over here said a made some modification in longing system and here is the new logs.The last lines of /usr/local/tomcat/logs/catalina.out are:————- org.apache.catalina.core.ApplicationContext log INFO: HTMLManager: start: Starting web application at ‘/’ ————- org.apache.catalina.core.StandardContext listenerStart SEVERE: Error configuring application
slm
shell-script centos rhel startup
I’m using CentOS 6.4 and have a small problem with using read in /etc/rc.local file. It will allow keyboard entry but does not echo any of the key strokes during input. This is something that worked fine in CentOS 5.5. Anyone know what’s going on here?#!/bin/sh # # This script will be executed *after* all the other init scripts. # You can put your own initialization stuff in here if you don’t # want to do the full Sys V style init stuff. echo -n “name? ” read name echo “Name: $name” touch /var/l
Egnam Balaji
java centos
I am new to linux and I have installed java and tomcat6 on centos 5.6 using yum.link I have used to installI have also installed php, mysql and apcahe in my system.apache port 80 mysql port 3306 tomcat port 8080All of them are in running state. Now when I start my tomcat service, is it stating successfully but I am getting the following error message in catalina.out:[root@centos5 tomcat6]# /sbin/service tomcat6 restart Stopping tomcat6: [ OK ] Starting
Unnikrishnan
centos ruby cpanel redmine gem
I am trying to install redmine . I am using cpanel. I know cpanel wont support rails 3 which latest cpanel uses. So i downgraded my rails version and also i am trying to install redmine 1.4.3 which is an old version. I followed many docs. But at last, when i execute bundle install –without development testit shows, The source :rubygems is deprecated because HTTP requests are insecure. Please change your source to ‘https://rubygems.org’ if possible, or ‘http://rubyg
Miky Dinescu
linux boot grub centos lvm
I have a strange problem. My Centos 5 box died and had to have the motherboard replaced. I got it back up and running and now when I try to boot I get a “No Volumes Found” message after the linux image is unpacked. I’ve downloaded and burned a copy of the Centos 5.4 LiveCD and was able to verify that the harddrive is not damaged. All the files are there, including the LVMs, however Linux won’t mount the LVMs when it boots and consequently it fails with a kernel panic.I should probably mention th
raven_kg
centos php nginx cpanel
I am using nginx with php-fpm on CentOS 6 with cPanel. I have no installed modules like eAccelerator or APC. Server periodically returns 404 and 502 errors. 404 errors occur when the PHP cannot correctly read the settings from config.php file and redirects to install.php page (action provided by installed php scripts) with requested page uri as root directory (WTF?!). Example, requested /some/page-num will be redirected to /some/page-num/install.php. config.php file exists and still readable by
Marm0t
centos tomcat java
So this could be a fun question. I installed tomcat5 on centos 5.5 x64, and am able to get it up and running and whatnot. My issue is that one of the webapps needs to use javamail, however in the catalina log i get the error:javax.mail.NoSuchProviderException: smtp(+ several hundred lines of completely meaningful “stacktrace” that we all know and love…)Now I’ve read in many places that this means smtp.jar is not in my classpath – but im not sure about how to make sure this is the case. In cata
SvW
centos postgresql centos6 openldap tolven
I am trying to install tolven, and following the manual http://wiki.tolven.org/index.php/Installation_GuideMy linux system info is as follows:root@localhost:/> cat /etc/issue **CentOS release 6.4 (Final)** root@localhost:/> arch **x86_64**Everything was going fine as per the manual untill the step 7.7 “Test Database and LDAP Connections After ConfigPhase1″root@localhost:/> service postgresql status postmaster (pid 26942) is running… root@localhost:/> root@localhost:/> ps aux|g
MerlinMM
java windows nfs fileinputstream
Has anyone ever seen an inconsistent FileInputStream.open Exception on Windows?I have Oracle’s coherence (coherence-3.6.1-p6.jar) com.tangosol.run.xml.XmlHelper.loadXml method getting an exception in java.io.FileInputStream.open (Native) (jdk1.6.0_29) INCONSISTENTLY for a given file:/// path. See logged stack trace (and success log 16 seconds after failure) below. The file and all directories up to / above it are world readable on unix.The jvm intermittently seeing the error is running as a Wi
Cerales
permissions virtualbox nfs
I’m building a development environment where folders from a host environment (OSX) are mounted in VirtualBox VMs running Ubuntu guests.Our experience is that straightforward VirtualBox shared directories are too slow, so we’ve typically done this by mounting the directory as an NFS mount within the guest. Real-time editing from the host environment is a requirement.The problem with this is that operations like chown and chgrp fail, and we need to replicate something close to our production envir
Mat
linux kernel filesystems linux-kernel nfs
I want to write my own custom file system in Linux. Can I share it over standard NFS without making any changes to the local NFS server? If so what VFS APIs are required to be implemented by my file system? Any other guidelines / gotchas for such an approach?
Ali
mount nfs
We have a few linux file servers, our sysadmin refuses to do any NFS cross mounting, by cross mounting I mean mounting an nfs share from server A on server B and a share from server B on A . Anybody knows if there are any problems with this cross mounting?
Nick T
windows-7 nfs
Very much a follow-up to this question, our group does not use LDAP for users, but rather YP/NIS. I followed the UMich NFS 4.1 readme/docs and seemed to set up the driver successfully, but I’m left at an impasse trying to figure out how to configure it to work. Using the nfsd_debug.exe binary provided, I get the following output when attempting to connect:10e0: parsing NFS14_MOUNT: srv_name=[omitted] root=\var\export\home sec_flavor=AUTH_SYS rsize=1048576 wsize=1048576 10e0: map_user_to_ids: m
studiohack
windows-7 ubuntu-10.04 nfs
I recently reinstalled my file server (moved from fedora to Ubuntu server).Now I cannot mount my nfs share from Windows 7, mounting from Mac OSX works fine.In Windows I either keep getting “the semaphore timeout period has expired” or “an unexpected error has occured”.Does Ubuntu need some special magic to allow Windows 7 to mount an nfs share?This is my exports file /home/Bing/ 192.168.1.*(rw,async,insecure,no_subtree_check) /home/Bing/mnt/EXTRN2 192.168.1.*(rw,async,insecure,no_subtree_che
jonsca
mac terminal sudo nfs
This is my directory list on my NFS:macbook-pro-andrey-k:Download Andrey$ls1289816143_PL_t11819131289816171_PL_t11838071290117075_BFD_DVD02(Drums)I can’t delete “1290117075_BFD_DVD02(Drums)” using sudo rm -Rf1290117075_BFD_DVD02(Drums)because I get the error message -bash: syntax error near unexpectedtoken `(‘How can I either rename the directory so that the error message would not show up, or delete the directory right away omitting the renaming procedure?
stijn
linux nfs shared-folders
situation is as follows: home directory is on nfs share A: /home/me workstations a, b, c, … share that home directory: /home/me is a link to A:/home/me all workstations are used at the same timeexample:NFS share A has/home/john /home/anneWorkstation a has/home/john -> linked to NSF Share A /home/john /home/anne -> linked to NSF Share A /home/anneWorkstation b has/home/john -> linked to NSF Share A /home/john /home/anne -> linked to NSF Share A /home/annethis tends to give all kind of weird pro
CptSupermrkt
networking nfs mount nic unmount
We have one server which exports two partitions which are massive (one is 61 TB, the other is 28 TB), and we have a lot of users reading and writing to these when mounted on another machine.We have separate users complaining about these mounts spontaneously being unmounted and remounted, which disrupts stuff like MATLAB jobs in progress. I asked the people complaining to give me a time frame, and in the meantime have set it up to run nicstat -i eth0 3 (check NIC utilization once every three sec
Linus Ardberk
samba nfs nas glusterfs
I am planning my new shared storage infrastructure for a small webserver farm. Therefore i ran a lot of tests with a lot of NAS filesystems. By doing so, i got some unexpected results and would like to know whether somebody here can confirm this.In short: Samba is hugely faster than NFS and GlusterFS for small file writes. Here what i did: I ran a simple “rsync benchmark” with a lot of files to compare the write performance for small files. For easier reproduction, i re-ran it just now with the
Warren P
sql-server sql-server-2008-r2 tcpip
So far I have learned the following facts about Microsoft SQL Server Express, including version 2012, and earlier versions like 2008R2, and 2008, and for the most part all the way back to SQL Server 2005. I am configuring an SQL SERVER on a “workgroup server” machine, that is to say, it’s a dedicated server box, running Windows Server OS, but it’s using a WORKGROUP, and it’s only running Microsoft SQL Express.Note the following background facts:Configuring an SQL Express instance comes out of t
tomlogic
networking ethernet tcpip wired-networking
I’ve got a windows XP machine and a windows 7 laptop connected by an ethernet cable. The xp has static ip address 169.254.84.221 and the windows 7 has 169.254.84.220. both subnet masks 255.255.255.0.They can’t ping each other (Or do anything else for that matter) edit: wierdly enough they can play each other at Unreal Tournament gotye 😛 testing the sequels now.using the ping command just gives request timed out over and over again.I’ve rebooted both machines and repaired the network and troub
liwp
windows tcpip icmp
We have a tool which is used to manage a server process remotely over TCP. One of the tools features is to check if the server is running by attempting to connect to the server in a loop for a given period of time. When we used the tool to check that a server was not running, we noticed that the accuracy of the timings were way off on Windows, e.g. attempting connections for 2s to a dead server would result in the tool running for 7s rather than the expected 2s, whereas on Linux the timings are
esac
dns ssh tcpip tunneling ns-record
I’ve seen a few guides out there, but I could not get any of them to work. I can point NS records to my domain, so it sounds like I should be able to do this. I tried setting up a DMZ for the server portion, no luck at all.
uSlackr
windows-7 tcpip
For a test purpose, I would like to increase the default tcp timeout to say 2 mins. I tried this: How to set TCP/IP abort interval or timeout in Windows XP?http://support.microsoft.com/kb/170359and set TCPInitialRtt t0 0x10But I still have 21 seconds timeout.I am using Windows 7.Qns:Should I reboot windows after changing the registry (I already did before trying though)
aireq
security networking tcpip tcp udp
Here’s something that has always baffled me. Why is it bad to have open ports on your computer? Assuming you don’t have a virus on your computer or some other program listening to a port that may actually do something why does it matter if a port is open? If some malicious person starts sending packets to a port, but nothing is there to receive the data and do something with it why does it matter? A computer doesn’t just arbitrarly execute any data it receives. I understand flooding a computer w
Registered User
networking tcpip tcp
I am trying to understand what is the difference between TCP Half Open Connection and TCP Half closed connection can any one tell what exactly are they?
cmorse
networking windows-8 dns tcpip
Today my machine stopped being able to access the internet. I can still access some local network resources. When I looked in the error log I saw following tcpip warning:A request to allocate an ephemeral port number from the global UDP port space has failed due to all such ports being in use.I ran netstat -anob and in the output DNScache is listed thousands of times (starting from port 50000 up to 65536).This is the second time that this has happened to me. Killing the DNSClient process based o
Sysadminicus
centos nfs tcpip opensolaris zfs
I have a CentOS 5 VMWare server connecting to an OpenSolaris 2009.06 machine over NFS that holds the disk images. My virtual machines seem to be bound by slow IO so I’d like to do everything I can to optimize the connection. I’m not sure of the best way to measure the throughput on a production system, but some unscientific tests using dd bs=1024k count=400 show local (OpenSolaris) writes of ~1.6GB/s and remote (CentOS) writes ~50MB/s. I imagine these are lower than what I’m actually getting sin
Clay Nichols
windows networking ip tcpip arp
Our network gave an error that there was an IP address conflict and I’d like to find what all the device IP addresses are. (I’ve also had need of that before). (update/clarification:I’m looking for a Windows-based too.)Any suggestions?I’ve read suggestions for various tools (Look@Lan, Angry IP Scanner) and I’m looking for suggestions from people who have used these or other tools.
illuminÉ
package-management development opensolaris
Tried to install/make checkinstall 1.6.2 (http://asic-linux.com.mx/~izto/checkinstall/download.php) from source on OpenIndiana 151a8/hipster.The software is geared at package generation. You actually run it instead of installing after you’ve compiled some software from source, at it uses the installation to also output a package (rpm, deb or slackware). Which seemed interesting to me at first to store the stuff as I install it for reinstalling or archiving. First make:locale/checkinstall-zh_CN.p
user189271
solaris opensolaris openindiana lacp
I am running OpenIndiana (oi_151a8) and have two NICs aggregated using LACP connected to a Cisco WS-C3560G-48TS. Both the server and the switch show the aggregate link as up. But while link layer traffic is visible (‘snoop’ shows ARP requests etc), I can not pass any IP traffic (ping, ssh all fail). The really strange thing is that the aggregate link can obtain a DHCP address, which provides the correct gateway, name servers etc. My initial thoughts were that there was a problem with the VLAN co
0x808080
blackberry opensolaris
I have some files stored on this blackberry that I would like to load onto our OpenSolaris machine. When I plug the blackberry into the machine via USB it does not mount like a conventional USB thumbdrive would. It mounted so easily in Windows…To the best of my knowledge it is on usb9/1 and is identified as a blackberry to the machineI tried rmmount to no avail, and /rmdisk is empty…Thanks!
quentin
networking opensolaris bridge stp
how can i completely disable STP in a Opensolaris bridge.This bridge is connected to a Cisco Access Port and will disable the uplink port when the first BPDU arrives.bridged[3651]: [ID 581644 daemon.warning] unexpected BPDU on rge1 from 0:xx:xx:xx:xx:b; forwarding disabledI already disabled the transmission of BPDU Messages to the Switch by:dladm set-linkprop -p stp=0 rge1This solved only the problem that the access switch port goes in “error-disable” mode.Thomas
MetallicPriest
c gcc opensolaris solaris-10
The built in atomic operations were introduced in gcc-4.1.2. However, I am using gcc on OpenIndiana which only has gcc 3.4.3. Now my question is how to use atomic operations in gcc 3.4.3? Moreover I have tried to use gcc 4.6.1 in OpenIndiana but it doesnt work, as it complains about some runtime libraries. If anyone has successfully used it, kindly let me know.
Jas
solaris opensolaris
I installed opensolaris I saw that it has /usr/jdk/jdk1.6 however it had no bin/javac only javamy default java -version is jdk1.6 just after opensolaris installation however as I have no javac I downloaded jdk1.6 for solaris and after executing the jdk1.6xx.sh i did cd to the folder of jdk and then inside bin directory I ran javac however its giving me NoClassDefFoundError java/lang/Object. (same thing happened to me on a regular solaris installation). anyone can tell me how am i supposed to hav
Jeremy1026
chef opensolaris recipe smartos
I’m using Chef to automate deployment of various SmartOS zones. I’m trying to figure out what the correct way of determining if a network interface has a public or private address and keeping track of that. For generic Apache Listen and NameVirtualHost directives the following is sufficient:ips = [] links = %x{dladm show-vnic -o link | grep -v LINK}.strip.split(“\n”) links.each do |link|ips << %x{ifconfig #{link} | grep inet | awk ‘{ print $2 }’}.strip endFor ipfilter rules I need to hav
Nick Faraday
boot disk-usage rm opensolaris
While trying to mount a NFS share (exported from an OpenIndiana server) on a client box, the OI server crashed. I got the black screen of death, what looked like a log dump, then the system restated. It never came back up and I get the following error msg after I halt the boot:svc.startd[9] Could not log for svc:/network/dns/mulitcast:default: write(30) failed with No space left on device?I don’t have anything else on the boot drive other than the OS so… I’m not sure what could be filling up
Gilles
files opensolaris core-dump
I and gaining an ever expanding list of of core.mountd.12009999475 type files in my root directory? What are these? Can I just delete them?What causes them to be created?
mlambie
linux vmware-esxi nfs opensolaris zfs
Currently we use an iSCSI SAN as storage for several VMware ESXi servers. I am investigating the use of an NFS target on a Linux server for additional virtual machines. I am also open to the idea of using an alternative operating system (like OpenSolaris) if it will provide significant advantages.What Linux-based filesystem favours very large contiguous files (like VMware’s disk images)? Alternatively, how have people found ZFS on OpenSolaris for this kind of workload?(This question was original
Bob McElrath
hard-drive software-raid raid-1 lvm zfs
I have the same problem most people have: how to create a reliable personal storage solution with the fact that:Hard drives fail with alarming regularity. Losing files is unacceptable. I will buy a new HDD from time to time. Inevitably, the best price/GB is a different size than the last HDD purchase. #2 means that over time I have a heterogeneous collection of disks. I want to use them all, and failed disks will generally be replaced by larger disks. Data integrity and reliability is more im
Valerio Minetti
raid storage hard-drive zfs
This is a Canonical Question about RAID levels. What are:the RAID levels typically used (including the RAID-Z family)? deployments are they commonly found in? benefits and pitfalls of each?
Christi
debian samba zfs
I’m experiencing an odd problem on a file server intermittently failing when writing files. The problem occurs when I try to write a number of files from a (Windows 7) client at once. Intermittently, but relatively often, one of the writes will hang. It may take as long as 30 seconds for the Windows program to come back. Access to the SMB share from the Windows shell will also sometimes result in a progress bar until the other program comes out of its freeze. Other users have reported probl
aranc23
freebsd zfs zfsonlinux
Update: because recordsize defaults to 128k, the amount of data read by the test program is much larger than the ARC on an 8GB system and still slightly larger than the ARC on a 16GB system. Reducing the recordsize allows less data to be read and therefore it fits in the ARC. I was underestimating the size of the data being read, the effect of recordsize on that, and therefore drawing some poor conclusions. So far, disabling prefetch doesn’t seem to make much difference in this case although
belacqua
server 13.04 zfs
I’m running Ubuntu Server 13.04 64-bit using native ZFS. I have a zpool consisting of 4 hard drives of which one died yesterday and now is not being recognized by the OS or the BIOS anymore. Unfortunately I saw the problem only after the next reboot so now the drive label is missing and I can’t replace the disk using the official instructions here and here.zpool status hermes -xprintsroot@zeus:~# zpool status hermes -xpool: hermesstate: DEGRADED status: One or more devices could not be used beca
ubiquibacon
12.04 zfs
I’m switching from FreeNAS to Ubuntu 12.04 LTS. After a vanilla install of Ubuntu has been completed I run the following commands in the order shown to install ZFS:apt-get install python-software-properties add-apt-repository ppa:zfs-native/stable apt-get -y -q update && apt-get -y -q upgrade apt-get install ubuntu-zfsWhen the last command is run ZFS is installed and seems to be working correctly… mostly (more on that later). However, when the last command is run I get this error (fu
TomKat
installation apt kernel 13.10 zfs
I’m fairly new to Ubuntu and wanted to setup a server running ZFS/XBMC – The XBMC install went fine, however I ran into trouble getting ZSH working. Configuration : Ubuntu 13.10 (GNU/Linux 3.12.0-rc7+ x86_64)I attempted to install ZSH native using :sudo add-apt-repository ppa:zfs-native/stablesudo apt-get updatesudo apt-get install ubuntu-zfsThis failed to install due to “Module build for the currently running kernel was skipped since the kernel source for this kernel does not seem to be install
terdon
filesystems raid zfs portability
I know that ZFS is available on variety of operating systems Solaris, Illumos, Linux, BSD etc.Suppose I have a bunch of disks that are part of ZFS raid file system that was created on Linux, could those drives be taken out of the Linux machine and put into a machine running BSD or Illumos and just work? Are there any OS specific things that are written to ZFS file systems that would make moving a disk between different implementations of ZFS a problem? What about if the ZFS formatted disks were
ewwhite
raid storage zfs proliant smartarray
I’m planning to use ZFS on my system (HP ML370 G5, Smart Array P400, 8 SAS disk). I want ZFS to manage all disks individually, so it can utilize better scheduling (i.e. I want to use software RAID feature in ZFS).The problem is, I can’t find a way to disable RAID feature on the RAID controller. Right now, the controller aggregates all of the disks into one big RAID-5 volume. So ZFS can’t see individual disk.Is there any way to acomplish this setup?
Ted W.
solaris zfs
I have a Solaris (open indiana) system which is getting poor disk write performance. In order to enable ZIL in this version of zfs I need to add a line to /etc/system. This will not take affect until I’ve unmounted and remounted the zpool. The trick is that this zpool is shared via nfs to about 200 other servers to host users’ home directories. I can guarantee that no users will be accessing the disks during this period of maintenance but I would like to avoid having to issue an unmount for 200
Web site is in building