PhpMyAdmin "Not Found"
I have Apache running and can access my local site fine. In my preferences pane, MySQL is up and running.
The problem is that when I try to access the phpmyadmin of my local site, I get a Not Found 404 error, saying the file is not on the server.
So far, I have used the socket file fix shown at the link below but I am still getting the error.
http://www.angry-fly.com/index.cfm/2007/10/26/Fix-for-MySQL-on-Leopard
I presume you mean MAMP, not MAME.
When you launch MAMP, it should also launch your browser with a MAMP welcome page. Click the phpMyAdmin link at the top of that page.
phpMyAdmin is always run through a browser.
Similar Messages
-
File Not Found error on local test server
Hello all,
I have no idea what happened, but my local test server went
from working fine to not working at all. When I go to test a page
locally, I get this error:
The requested URL /[filename].php was not found on this
server
I did not change any of the configuration files, I can load
and use phpMyadmin, but absolutely can not test a page locally, not
even something as basic as David Powers' phptest.php page which is
a whopping 2 lines of code to verify the php version on my
computer.
PLEASE, I beg of you, if you have any suggestions, PLEASE
throw them my way. I am completely stonewalled from further
development because of this issue. PLEASE HELP!
Sincerely,
wordmanIs that a root relative link? If you aren't using virtual
hosts those won't
work.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"Wordman-GL" <[email protected]> wrote in
message
news:gpmkjg$rna$[email protected]..
> Hello all,
>
> I have no idea what happened, but my local test server
went from working
> fine
> to not working at all. When I go to test a page locally,
I get this error:
>
> The requested URL /[filename].php was not found on this
server
>
> I did not change any of the configuration files, I can
load and use
> phpMyadmin, but absolutely can not test a page locally,
not even something
> as
> basic as David Powers' phptest.php page which is a
whopping 2 lines of
> code to
> verify the php version on my computer.
>
> PLEASE, I beg of you, if you have any suggestions,
PLEASE throw them my
> way. I
> am completely stonewalled from further development
because of this issue.
> PLEASE HELP!
>
> Sincerely,
>
> wordman
> -
[solved] libc.so.6 version GLIBC_2.16 not found
i have tried to upgrade arch today, and i am getting too deep,
im stilll getting error message
pacman: /lib/libc.so.6 version GLIBC_2.16 not found (required by /usr/lib/libcurl.so.4)
i followed the instructions here https://wiki.archlinux.org/index.php/De … iki:usrlib and am not getting anywhere. i am following the instructions here https://bbs.archlinux.org/viewtopic.php?pid=1144268 and im also not getting anywhere with this.
i did untar the package curl-7.26.0-1-x86_64.pkg.tar.xz from cache and tried to overwrite teh curl libs in /usr/lib and im still getting this error. previously i ignored the unresolvable dependencies which i now feel is a mistake, the list is quite long, heres an example
warning: ignoring package glibc-2.16.0-2
warning: cannot resolve "glibc>=2.16", a dependency of "gcc-libs"
:: The following packages cannot be upgraded due to unresolvable dependencies:
binutils gcc gcc-libs
Do you want to skip the above packages for this upgrade [y/N]
and the actual ones i ignored that i still have to upgrade because they have been ignored are as follows
pacman -Sd binutils dbus dbus-core gcc gcc-libs ghostscript glib2 glibmm gnutls grep gtk2 icu initscripts libcups libgl linux mesa mkinitcpio pcre php php-apache php-gd php-mcrypt php-pear phpmyadmin samba systemd-tools
im going to stop here until i get some assistance if possible before i break anything. i do have my original curl libs backed up to /tmp/pacman_build/usr directory
where to go from here?
Last edited by wolfdogg (2012-08-12 06:45:49)okay so here's the output of the command:
error: cannot determine ownership of directory '/lib'
/lib/libnss_files-2.15.so is owned by glibc 2.15-12
/lib/libnss_db.so.2 is owned by glibc 2.15-12
/lib/libresolv.so.2 is owned by glibc 2.15-12
/lib/libutil.so.1 is owned by glibc 2.15-12
/lib/libc.so.6 is owned by glibc 2.15-12
/lib/libnss_nis-2.15.so is owned by glibc 2.15-12
/lib/libmemusage.so is owned by glibc 2.15-12
/lib/libBrokenLocale-2.15.so is owned by glibc 2.15-12
/lib/ld-linux.so.2 is owned by glibc 2.15-12
/lib/libnss_hesiod-2.15.so is owned by glibc 2.15-12
/lib/libSegFault.so is owned by glibc 2.15-12
/lib/libcrypt-2.15.so is owned by glibc 2.15-12
/lib/libnss_nisplus.so.2 is owned by glibc 2.15-12
/lib/libnsl-2.15.so is owned by glibc 2.15-12
/lib/libpthread-2.15.so is owned by glibc 2.15-12
/lib/libm-2.15.so is owned by glibc 2.15-12
/lib/libdl.so.2 is owned by glibc 2.15-12
/lib/ld-2.15.so is owned by glibc 2.15-12
/lib/libcidn-2.15.so is owned by glibc 2.15-12
/lib/libnss_files.so.2 is owned by glibc 2.15-12
/lib/libnss_nis.so.2 is owned by glibc 2.15-12
/lib/libresolv-2.15.so is owned by glibc 2.15-12
/lib/librt.so.1 is owned by glibc 2.15-12
/lib/libnss_compat-2.15.so is owned by glibc 2.15-12
/lib/libpcprofile.so is owned by glibc 2.15-12
/lib/libcidn.so.1 is owned by glibc 2.15-12
/lib/libnss_hesiod.so.2 is owned by glibc 2.15-12
/lib/libnss_db-2.15.so is owned by glibc 2.15-12
/lib/libdl-2.15.so is owned by glibc 2.15-12
/lib/libthread_db.so.1 is owned by glibc 2.15-12
/lib/libpthread.so.0 is owned by glibc 2.15-12
/lib/libnss_nisplus-2.15.so is owned by glibc 2.15-12
/lib/libm.so.6 is owned by glibc 2.15-12
/lib/libthread_db-1.0.so is owned by glibc 2.15-12
/lib/libnss_dns-2.15.so is owned by glibc 2.15-12
/lib/librt-2.15.so is owned by glibc 2.15-12
/lib/libutil-2.15.so is owned by glibc 2.15-12
/lib/libBrokenLocale.so.1 is owned by glibc 2.15-12
/lib/libc-2.15.so is owned by glibc 2.15-12
/lib/libcrypt.so.1 is owned by glibc 2.15-12
/lib/libanl.so.1 is owned by glibc 2.15-12
error: cannot determine ownership of directory '/lib/modules'
error: cannot determine ownership of directory '/lib/modules/3.1.9-2-ARCH'
error: No package owns /lib/modules/3.1.9-2-ARCH/modules.ccwmap
error: No package owns /lib/modules/3.1.9-2-ARCH/modules.ofmap
error: No package owns /lib/modules/3.1.9-2-ARCH/modules.ieee1394map
error: No package owns /lib/modules/3.1.9-2-ARCH/modules.pcimap
error: No package owns /lib/modules/3.1.9-2-ARCH/modules.inputmap
error: No package owns /lib/modules/3.1.9-2-ARCH/modules.usbmap
error: No package owns /lib/modules/3.1.9-2-ARCH/modules.seriomap
error: No package owns /lib/modules/3.1.9-2-ARCH/modules.isapnpmap
error: cannot determine ownership of directory '/lib/modules/extramodules-3.2-ARCH'
error: cannot determine ownership of directory '/lib/modules/extramodules-3.2-ARCH/kernel'
error: cannot determine ownership of directory '/lib/modules/extramodules-3.2-ARCH/kernel/oss'
error: No package owns /lib/modules/extramodules-3.2-ARCH/kernel/oss/oss_hdaudio.ko
error: No package owns /lib/modules/extramodules-3.2-ARCH/kernel/oss/oss_via97.ko
error: No package owns /lib/modules/extramodules-3.2-ARCH/kernel/oss/oss_cmpci.ko
error: No package owns /lib/modules/extramodules-3.2-ARCH/kernel/oss/oss_ali5455.ko
error: No package owns /lib/modules/extramodules-3.2-ARCH/kernel/oss/oss_envy24.ko
error: No package owns /lib/modules/extramodules-3.2-ARCH/kernel/oss/oss_imux.ko
error: No package owns /lib/modules/extramodules-3.2-ARCH/kernel/oss/oss_audiopci.ko
error: No package owns /lib/modules/extramodules-3.2-ARCH/kernel/oss/oss_midimix.ko
error: No package owns /lib/modules/extramodules-3.2-ARCH/kernel/oss/oss_ich.ko
error: No package owns /lib/modules/extramodules-3.2-ARCH/kernel/oss/oss_madi.ko
error: No package owns /lib/modules/extramodules-3.2-ARCH/kernel/oss/oss_solo.ko
error: No package owns /lib/modules/extramodules-3.2-ARCH/kernel/oss/oss_digi96.ko
error: No package owns /lib/modules/extramodules-3.2-ARCH/kernel/oss/oss_emu10k1x.ko
error: No package owns /lib/modules/extramodules-3.2-ARCH/kernel/oss/oss_midiloop.ko
error: No package owns /lib/modules/extramodules-3.2-ARCH/kernel/oss/osscore.ko
error: No package owns /lib/modules/extramodules-3.2-ARCH/kernel/oss/oss_cs4281.ko
error: No package owns /lib/modules/extramodules-3.2-ARCH/kernel/oss/oss_envy24ht.ko
error: No package owns /lib/modules/extramodules-3.2-ARCH/kernel/oss/oss_cs461x.ko
error: No package owns /lib/modules/extramodules-3.2-ARCH/kernel/oss/oss_audioloop.ko
error: No package owns /lib/modules/extramodules-3.2-ARCH/kernel/oss/oss_via823x.ko
error: No package owns /lib/modules/extramodules-3.2-ARCH/kernel/oss/oss_trident.ko
error: No package owns /lib/modules/extramodules-3.2-ARCH/kernel/oss/oss_sbpci.ko
error: No package owns /lib/modules/extramodules-3.2-ARCH/kernel/oss/oss_geode.ko
error: No package owns /lib/modules/extramodules-3.2-ARCH/kernel/oss/oss_cmi878x.ko
error: No package owns /lib/modules/extramodules-3.2-ARCH/kernel/oss/oss_atiaudio.ko
error: No package owns /lib/modules/extramodules-3.2-ARCH/kernel/oss/oss_fmedia.ko
error: No package owns /lib/modules/extramodules-3.2-ARCH/kernel/oss/oss_sbxfi.ko
error: No package owns /lib/modules/extramodules-3.2-ARCH/kernel/oss/oss_ymf7xx.ko
error: No package owns /lib/modules/extramodules-3.2-ARCH/kernel/oss/oss_usb.ko
error: No package owns /lib/modules/extramodules-3.2-ARCH/kernel/oss/oss_audigyls.ko
error: No package owns /lib/modules/extramodules-3.2-ARCH/kernel/oss/oss_sblive.ko
error: No package owns /lib/modules/extramodules-3.2-ARCH/kernel/oss/oss_userdev.ko
/lib/libanl-2.15.so is owned by glibc 2.15-12
/lib/libnss_compat.so.2 is owned by glibc 2.15-12
/lib/libnsl.so.1 is owned by glibc 2.15-12
/lib/libnss_dns.so.2 is owned by glibc 2.15-12
if you say "have a look in /lib yourself if there are any leftover files or directories" then what files exactly do you mean? those who are still owned by glibc? and how do I move them properly (or is this already described in the wiki)? -
Installing mysql:sudo launchctl: command not found
After several days of reading about:
Installation of MySQL
Enabling apache server
And getting phpMyAdmin up
I have run into an obstacle. See error message below **
I am Running:
'Mountain lion' , 'Mac OS X 10.8.3'
I have downloaded:
MySQL version. Mac OS X 10.7. (X86, 64-bit), DMG Archive.
Within this forum I found a very brief but helpful 'user tip' post.
Link1.
https://discussions.apple.com/docs/DOC-3082
Where this sentence lead me to believe I could use the version listed above.
There is NO version for 10.8
" Download MySQL from a local mirror. You want the Mac OS X ver. 10.6 (x86, 64-bit), DMG Archive. At the time of writing this User Tip, the current version is 5.5.34. By the time you read this, there may be a newer version to use instead. Open the archive mysql-5.5.34-osx10.6-x86_64.dmg. "
Following the instructions on link1, and all went well until
I am getting this error message when I type the following command at the terminal prompt:
**Error message
-bash: launchctl: command not found.
1. I cd - changed directories all the way back up the file structure to type the command
to see if it needed to be run someplace special but the same error came up.
2. I searched here on this forum and on the web.
3. I went back and checked over every step and everything that i typed.
4. I ended up typing the instructions below by hand
because somewhere I read that a copy/paste may insert invisible characters.
Excerpt from link1.
sudo vi /Library/LaunchDaemons/com.mysql.mysql.plist
Use the following content:
<plist version="1.0">
<dict>
<key>KeepAlive</key>
<true/>
<key>Label</key>
<string>com.mysql.mysqld</string>
<key>ProgramArguments</key>
<array>
<string>/usr/local/mysql/bin/mysqld_safe</string>
<string>--user=mysql</string>
</array>
</dict>
</plist>
Can someone please explain what I am missing ?
Why is this command
-bash: launchctl: command not found.
That is launch c t lowercase L not number 1
An added note.
The following link also had a very nice set of instructions but unlike link1, this link uses the
'Preference pane' and 'startup item' which link1 discourages because it causes problems down the road.
I would rather use the command line and do not want to give up on this method.
Link2.
http://coolestguidesontheplanet.com/install-configure-apache-mysql-php-phpmyadmi n-osx-10-8-mountain-lion/
Now that I am going head strong with this project, I hope that my issue can be resolved quickly with this community
so I don't loose my momentum.
Thanks a lot.1. You are really a nice person. Thank you. I really want to understand these file structures. Sorry my posts are lengthy.
Thank you for taking the time to look at the original User Tip.
2. I hope that you do not end this thread when I tell you that I actually have gotten php running. These concepts are still very important to me.
I am not up to the point where I am using mySQL so that may end up another troubleshooting problem.
3. Last week and this I have been exploring my files with terminal by cd-ing up and down; using sudo nano to open the file to see what is in there.
I have included some things that may be useful since you have a much better idea about how these paths work.
4. If you have a chance - Can you elaborate. I understand a PATH. What to you mean when you say PATH environmental variable.
I think of a variable in the computer programmer syntax sense.
5. I also cannot find a .profile file anywhere. See the below.... where I found something....
4. Searching like crazy for the load executable. I cannot find it yet. I thought that it might be with the other commands in /bin
below are some exploratory commands I am running and things I find of interest.
I use ls -la to display 'all' files. I use -la to list hidden files. those that start with a dotFileName.
/user/local/mysql/bin
there is NO load executable here.
I looked around for 'load'
macBookPro: /shortname$ ls
cd bin
ls -la
lots of commands: launchctl mkdir pwd echo .... i thought that 'load' should live here.
cd etc
ls -la
has:apache2 my.conf named.conf passwd paths php.ini sudoes nanorc
apache2 empty - title: new buffer
sudoers i have questions about this but not a priority now.
nanorc
php.ini
my.conf
name.conf
passwd
paths
sudo nano paths
/usr/bin
/bin
/usr/sbin
/sbin
/usr/local/bin
I did not find the .profile file. what I have found is the below which references the .profile for sh(1)
I am unable to interpret the below file/code - well maybe a little.
cd etc
ls -la
sudo nano profile
# System-wide .profile for sh(1)
if [ -x /usr/libexec/path_helper ]; then
eval `/usr/libexec/path_helper -s`
fi
if [ "${BASH-no}" != "no" ]; then
[ -r /etc/bashrc ] && . /etc/bashrc
fi
Here is
/usr/sbin
sudo nano apachectl
the following is the code in apachectl
I see 'run launchctl load ....'
LAUNCHCTL="/bin/launchctl"
LAUNCHD_JOB="/System/Library/LaunchDaemons/org.apache.httpd.plist"
run_launchctl() {
if [ $UID != 0 ]; then
echo This operation requires root.
exit 1
fi
$LAUNCHCTL $@
# Set the maximum number of file descriptors allowed per child process.
if [ "x$ULIMIT_MAX_FILES" != "x" ] ; then
$ULIMIT_MAX_FILES
fi
ERROR=0
if [ "x$ARGV" = "x" ] ; then
ARGV="-h"
fi
case $ARGV in
start)
run_launchctl load -w $LAUNCHD_JOB
ERROR=$?
stop|graceful-stop)
run_launchctl unload -w $LAUNCHD_JOB
ERROR=$?
restart|graceful)
run_launchctl unload -w $LAUNCHD_JOB 2> /dev/null
run_launchctl load -w $LAUNCHD_JOB
ERROR=$?
startssl|sslstart|start-SSL)
echo The startssl option is no longer supported.
echo Please edit httpd.conf to include the SSL configuration settings
echo and then use "apachectl start".
ERROR=2
configtest)
$HTTPD -t
ERROR=$?
status|fullstatus)
echo Go to $STATUSURL in the web browser of your choice.
echo Note that mod_status must be enabled for this to work.
$HTTPD $ARGV
ERROR=$?
esac
exit $ERROR
Thanks again for helping me to understand these file structure.
There is no preview option so i hope this posts well. -
Item cost not found for one or more items - Inventory Posting
Good Day Mentors,
My user has encountered an error during Inventory Posting and its "Item cost not found for one or more items".
The specific Message ID from SAP's System Message Log is 10001287.
I found a similar post which addresses this error here.
But unfortunately it did not help me solve my user's problem.
I already checked if the items had a defined "Item Cost" in the Item Master Data Inventory Tab, and they all have "Item Cost" defined.
I'm not sure if this will help, but below is the Inventory Audit Report of one of the items that is throwing the "Item cost not found" error.
I am not a business consultant neither am I literate in accounting, so thanks for the patience.
SAP Version: 9.0 PL5
Valuation Method: Moving Average
Thanks in advance!
SeanHi Augusto and Raviraj,
I've already verified in our production database the points you made:
- Is the "Manage Item cost per warehouse" selected in the Basic Initialization Screen?
YES
- Is the "Manage Inventory by Warehouse" ticked/checked in the "Inventory Data" tab of the "Item Master Data" screen?
YES
* I apologize for not have been able to give this information upfront.
Anyway, the database only has one warehouse at the moment.
I've checked the items, like the item in the screen shot above, and it does have an item cost.
Below is the screenshot of the sample item from my original post,
Thanks in advance!
Sean -
itunes wont open at all, error message : quicktime was not found .... please reinstall ... i did that but no luck this only seems to have happened since the 10.4 update, im on windows 7 ..
Can you start QuickTime on your computer?
You'll probably have to search for the Windows Installer Cleanup Utility and use it to remove QuickTime Player and iTunes. Then download and install the iTunes again. -
I was updating Firefox to the newest version 7.0.1 from version 6.0.2 I think it was, I clicked the restart Firefox button that always comes up after updating. It started updating and then Firefox never restarted like it was supposed to after it was done updating. I then tried to open Firefox and it told me "This application has failed to start because xul.dll was not found." I did have Firefox crash on maybe about 30 minutes or so earlier which bothered me because I have been using Firefox for years and never had it crash on me before but I didn't think much of it at the time it happened because I was able to go back onto Firefox and finish what I had been working on. A while later I checked for updates and updated. The first time I tried to update it didn't work though so I had to shutdown Firefox and reopen Firefox and start the update a second time. It was after the second time that when I tried to open Firefox I got that message about failing to start because xul.dll can't be found. I filed a crash report when my Firefox crashed. This would have been around 1am-2am in the morning that Firefox first crashed and then wouldn't allow me to open it after updating. I have a DELL laptop running the Windows XP operating system but the laptop is probably at least 6 or 7 years old. The laptop will no longer charge so I always have to have it plugged into an outlet. Both my laptop hard drive and my external hard drive give me messages that I am running out of disk space on my hard drive. I bought this laptop 6 or 7 years ago second hand so it could be even older. In short it's a piece of crap and it gives me all kinds of issues but I currently can't afford a new one, but I have never had any problems with Firefox and I use Firefox more than any other aspect of my laptop so it's really really bothering me. May you please help me fix it?
Unfortunately I tried that and it didn't work. Thanks for the help though. I tried to uninstall and it said I couldn't because the file is corrupt or something, but I think I finally got it uninstalled and/or deleted or whatever, but now I try to reinstall/download it again from the beginning and I can't. No matter what I do I can not get Firefox working again. No matter how many times I try to redownload it. Any other suggestions?
-
JBO:33001 bc4j.xcfg file not found in class path
Hi,
I am yet another victim of the age-old error JBO:33001 bc4j.xcfg file not found in class path, When i have my BC4JApp.jar in Tomcat Web-inf/lib directory. All the other jar files and class files in my webserver-application web-inf classes and lib directory works.
But Tomcat server is not able to read this bc4j.xcfg file. I can see in my jar file that this bc4j.xcfg exists and in the specified package directory. still the problem persists. My BC4JApp.jar is perfectly working when i use JDeveloper. but not when i use tomcat4.0 and call a JSP using BC4JApp.jar from browser (My environment is Jdeveloper3.2, Tomcat4.0+IIS in middle tier and oracle 8i as DB, everything on windows2k)
I have gone through almost all the threads possible that relates to this error in this form. None of them have a answer except to say "put the file in classpath". and last reply is "will fix in jDeveloper 9i. So what happens to us who are working in Jdeveloper 3.2?
1. I have this file in my jar file.
2. I also tried creating a seperate directory manually, with the same name as my package under web-inf/classes, web-inf/lib , just under web-inf directory and atlast under approot directory also. I tried having my package directory containing bc4j.xcfg in these folders one at a time and also tried having this directory in all these folders at the same time.
Still no solution.
Itz frustrating that neither proper documentation nor a right url page nor i am aware of available addressing this. page links given in above threads only gives me the wonderful page of ie's "Page cannot be displayed".
Is there a answer to this error and my problem. If this doesn't work, then i have to all the way develop from scratch creating my jsp using JDBC calls and Stored packages etc.
I don't want to give up on this Jdeveloper at this final moment because if this bc4j.xcfg file is found, my application will work perfectly. on these final moments, if this doesn't work, i am frightened to imagine to develop my application in standard way. Atlast, if thatz the option left,we have to do that bcos our production date is close by.
Please can some one in this forum or Jdeveloper help me to solve this problem. I am desperate and very urgent.
Waiting for a reply from Jdev team very much...
( I just posted in the other thread which is pretty old, dated backto May 2001, which was relevant to this error. Just to make sure it is noticed, I am posting it seperately too)
Thanks
Hari(2/3/02)Hi All,
For those who are following this thread, I got a solution for this error with the help of Jdev Team.
This solution may work, if you have deployed your application in Tomcat4.0.1. This is the environment in which I work and tested.
As you may be aware, Tomcat ignores value in CLASSPATH variable.
To see any files that are existing or newly deployed, it has it own way of detecting it.
Addition information on Tomcat working, you can follow this link,
http://jakarta.apache.org/tomcat/tomcat-4.0-doc/index.html
Coming to point, Tomcat has got five classloaders and each classloader invoked, looks in their related directories for files in following order.
1. /WEB-INF/classes of your web-application
2. /WEB-INF/lib/*.jar of your web application
3. BootStrap classes of your JVM (Tomcat's $JAVA_HOME/jre/lib/ext)
4. System class loader classes($CATALINA_HOME/bin/bootstrap.jar,CATALINA_HOME/lib/tools.jar)
5. $CATALINA_HOME/common/classes
6. $CATALINA_HOME/common/lib/*.jar
7. $CATALINA_HOME//classes
8. $CATALINA_HOME/lib/*.jar
So All your individual application related files should be deployed in your application's WEB-INF/classes or WEB-INF/lib directory accordingly.
If your application files are unpacked, they should be deployed or copied under WEB-INF/classes directory
if the files are within a jar, they should be under WEB-INF/lib directory.
If your Jar-files contains bc4j components, then those jar files should be deployed under WEB-INF/lib directory. Also,do the next step to copy all relavant BC4J runtime libraries under lib directory.
IMPORTANT: Please remember to copy and paste all the required BC4j runtime libraries in the Same WEB-INF/lib directory along with your application jar files. This is the real reason which can solve this JBO:33001 to disappear. It worked for me.
To configure your directory for tag-lib uri's, use web.xml to set the taglib-uri attribute.
Put your web.xml and DataTags.tld in the WEB-INF directory.
Your simple web.xml may look like as follows.
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE web-app
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
<taglib>
<taglib-uri>
/webapp/DataTags.tld
</taglib-uri>
<taglib-location>
/WEB-INF/DataTags.tld
</taglib-location>
</taglib>
</web-app>
You may then modify this web.xml to suit further requirements of your application.
Remember to stop and restart the Tomcat Server (service) by using shutdown and startup scripts after updating any jar files/class files/ JSP or source files deployed in Tomcat.
Sometimes, only this helps even though your context's reloadable attribute is set to true in Tomcat Server's server.xml file.
Hope this above information helps you to solve this error in Tomcat environment. My Sincere thanks once again to Juan and Jdev team for their help and efforts to solve this problem.
Thanks
Hari -
I get the following error, but don't know why it can't find the file. Is there anything in this script that would call "\" instead of "/"? Is there any line of code that will switch a wayward "\" back?
01-09-24 09:37:02 - path="" :jsp: init
2001-09-24 09:43:42 - path="" :LoginServlet: init
2001-09-24 09:44:15 - path="" :CourseServlet: init
2001-09-24 09:46:48 - path="" :LessonServlet: init
2001-09-24 09:46:54 - path="" :Error: /usr/local/apache/sites/tesco.spinweb.net/htdocs/cmi/courses\Food Service/Intro/AU00.html (No such file or directory)
The script is below. Thanks for any help anyone can provide me.
import cmi.xml.AU;
import cmi.xml.Block;
import cmi.xml.CourseReader;
import cmi.xml.CSFElement;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.PrintWriter;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.Enumeration;
import java.util.Hashtable;
import java.util.Vector;
import javax.servlet.ServletConfig;
import javax.servlet.ServletException;
import javax.servlet.ServletOutputStream;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
import javax.servlet.http.HttpServlet;
import org.jdom.JDOMException;
public class LessonServlet extends HttpServlet
public void init (ServletConfig config) throws ServletException
super.init (config);
try {
Class.forName (GlobalData.DatabaseDriverName);
_jdbcConnection = DriverManager.getConnection (GlobalData.DatabaseName, "tesco", "scorm");
_jdbcConnection.setAutoCommit (true);
//should I do this?
//_jdbcConnection.setAutoCommit (false);
//load serialized course data
loadCourseData();
catch (Exception xcp) {
xcp.printStackTrace();
getServletContext().log("Error: " + xcp.getMessage());
public void doGet( HttpServletRequest request,
HttpServletResponse response)
throws ServletException, IOException
boolean normalMode = true;
try {
HttpSession session = request.getSession (true);
//can I load the session given the id??
//System.out.println ("Lesson.valid session " + session.getId() + ": " + request.isRequestedSessionIdValid());
response.setContentType ("text/html");
JDBCHelper dbHelper = new JDBCHelper (_jdbcConnection);
//get student ID
Integer studentID = (Integer) session.getAttribute ("studentID");
//get course ID
Integer courseID = (Integer) session.getAttribute ("courseID");
//get lesson ID
String lessonID = request.getParameter ("lessonID");
if (lessonID == null) {
lessonID = (String) session.getAttribute ("lessonID");
if (studentID == null || courseID == null || lessonID == null) {
//reset session data by re-logging the user
sendProfileError (response.getOutputStream());
return;
//store lesson ID in session
session.setAttribute ("lessonID", lessonID);
String auID = request.getParameter ("auID");
String mode = request.getParameter ("mode");
if (mode != null) {
session.setAttribute ("mode", mode);
else {
mode = (String) session.getAttribute ("mode");
if (mode.equalsIgnoreCase ("review")) {
normalMode = false;
else {
normalMode = true;
//synchronize access to course hash table
synchronized (_courseHash)
//make sure _courseHash is in tact
if (_courseHash == null) {
//try reloading it....
loadCourseData();
if (_courseHash == null) {
//error
response.getOutputStream().close();
throw new IOException ("Corrupt course data");
if (! _courseHash.containsKey (courseID.toString())) {
//try reloading it....
loadCourseData();
if (! _courseHash.containsKey (courseID.toString())) {
//error
response.getOutputStream().close();
throw new IOException ("Corrupt course data (course not found)");
if (auID == null) {
//show course menu
Hashtable hash = (Hashtable) _courseHash.get (courseID.toString());
sendAvailableAUs (hash, studentID.intValue(), courseID.intValue(), lessonID, response.getOutputStream(), response, dbHelper);
return;
//if AU has not been attempted, initialize it
Integer auDataID = new Integer (getAUDataID (studentID.intValue(), courseID.intValue(), lessonID, auID, dbHelper));
//if (getAUDataID (studentID.intValue(), courseID.intValue(), lessonID, auID, dbHelper) == -1) {
if (auDataID.intValue() == -1) {
int newID = initializeAUData (studentID.intValue(), courseID.intValue(), lessonID, auID, dbHelper);
dbHelper.addAUToPath (studentID.intValue(), courseID.intValue(), lessonID, auID);
auDataID = new Integer (newID);
session.setAttribute ("AUID", auID);
session.setAttribute ("AUDataID", auDataID);
sendAU (studentID.intValue(), courseID.intValue(), lessonID, auID, auDataID.intValue(), normalMode, response.getOutputStream(), dbHelper);
//to do: detailed messages should be sent to the client depending on which
// exception was thrown. Don't have one try/catch....have one for each situation
catch (Exception e) {
e.printStackTrace();
getServletContext().log("Error: " + e.getMessage());
public void destroy()
try {
if (_jdbcConnection != null) {
_jdbcConnection.close();
catch (Exception ignored) {}
private int initializeAUData (int studentID, int courseID, String lessonID, String auID, JDBCHelper dbHelper)
String sqlQuery = null;
ResultSet results = null;
try {
//get student's name
sqlQuery = "SELECT Full_Name" +
" FROM " + GlobalData.StudentTable +
" WHERE Student_ID = " + studentID;
results = dbHelper.doQuery (sqlQuery);
if (! results.next()) {
//error
return -1;
String studentName = results.getString (1);
results.close();
//the lock prevents CMIServlet from reading AU_ID before it's committed
//sqlQuery = "LOCK TABLES " + GlobalData.AUDataTable + " WRITE;";
//System.out.println (sqlQuery);
//dbHelper.executeUpdate (sqlQuery);
sqlQuery = "Insert Into " + GlobalData.AUDataTable +
"(Course_ID, Lesson_ID, AU_ID, student_id, student_name, lesson_location, credit," +
" lesson_status, entry, exit, score_raw, score_max, score_min, total_time," +
" session_time, lesson_mode, suspend_data, launch_data, Evaluation_ID, Objective_ID)" +
" Values (" + courseID + ", '" + lessonID + "', '" + auID + "', " + studentID + ", '" + studentName + "'," +
" 'NA', 'credit'," + " 'not attempted', 'ab-initio', " + "'NA', " + 0 + ", " + 0 + ", " + 0 +
", '00:00:00.0', '00:00:00.0', " + " 'normal'" + ", 'NA', " + "'NA', " + 0 + ", " + 0 + ");";
dbHelper.executeUpdate (sqlQuery);
return getAUDataID (studentID, courseID, lessonID,auID, dbHelper);
//sqlQuery = "UNLOCK TABLES;";
//System.out.println (sqlQuery);
//dbHelper.executeUpdate (sqlQuery);
catch (Exception e) {
e.printStackTrace();
getServletContext().log("Error: " + e.getMessage());
return -1;
private int getAUDataID (int studentID, int courseID, String lessonID, String auID, JDBCHelper dbHelper)
throws SQLException
String sqlQuery = "SELECT AUData_ID, lesson_status, lesson_mode, exit" +
" FROM " + GlobalData.AUDataTable +
" WHERE student_id = " + studentID +
" AND Course_ID = " + courseID +
" AND Lesson_ID = " + "'" + lessonID + "'" +
" AND AU_ID = '" + auID + "';";
ResultSet results = dbHelper.doQuery (sqlQuery);
if (results.next()) {
return results.getInt ("AUData_ID");
return -1;
private void sendAU (int studentID, int courseID, String lessonID, String auID, int auDataID, boolean normalMode, ServletOutputStream htmlOut, JDBCHelper dbHelper)
throws IOException, ClassNotFoundException
Hashtable hash = null;
synchronized (_courseHash)
hash = (Hashtable) _courseHash.get (String.valueOf (courseID));
if (hash == null) {
loadCourseData();
hash = (Hashtable) _courseHash.get (String.valueOf (courseID));
if (hash == null) {
throw new IOException ("Corrupt course data (course not found)");
AU au = (AU) hash.get (auID);
try {
if (! normalMode) {
dbHelper.setReviewMode (auDataID);
String courseFileName = getFileName (String.valueOf (courseID), dbHelper);
File file = new File (courseFileName);
//create absolute path to file so we can resolve relative URLs
String newFileName = file.getParent() + "\\" + au.getLaunchParams();
BufferedReader buf = new BufferedReader (new FileReader (newFileName));
PrintWriter htmlWriter = new PrintWriter (htmlOut);
String temp;
htmlWriter.write (getAUHtml (au.getLaunchParams()));
htmlWriter.flush();
htmlWriter.close();
catch (Exception e) {
e.printStackTrace();
getServletContext().log("Error: " + e.getMessage());
private String getAUHtml (String path){
path = path.replace ('\\','/');
String response;
response = "<html>\n" +
"<head>\n" +
"</head>\n" +
"<body>\n" +
"<script language=\"JavaScript\">\n" +
"document.location = \"/cmi/courses/" + path + "\"\n" +
//"win = window.open ('','displayWindow','menubar=yes,scrollbars=yes,status=yes,width=300,height=300');\n" +
//"window.onload = \"win.close();\"" +
"</script>\n" +
"</body>\n" +
"</html>\n";
return response;
private void sendAvailableAUs (Hashtable hash, int studentID, int courseID, String lessonID, ServletOutputStream out, HttpServletResponse response, JDBCHelper dbHelper)
StringBuffer buf = new StringBuffer (200);
Block block = (Block) hash.get (lessonID);
AU au = null;
try {
Vector completedAUs = dbHelper.getCompletedAUs (studentID, courseID, lessonID);
buf.append ("<html>\n" +
"<head>\n" +
"<title>" + block.getTitle() + " units</title>\n" +
"<script language=\"JavaScript\">\n" +
"function go() {\n" +
" var form = document.goForm;\n" +
" var index = form.gotoSelect.selectedIndex;\n" +
" if (index == 0) {\n" +
" document.location = \"/servlet/CourseServlet?courseID=" + courseID + "\";\n" +
" }\n" +
" else if (index == 1) {\n" +
" top.restart();\n" +
" }\n" +
"}\n" +
"</script>\n" +
"</head>\n" +
"<body background=\"/cmi/images/marble.jpg\">\n" +
"<center><h1><b><u>" + block.getTitle() + "</u></b></h1></center>\n" +
"<p></p>\n<p></p>\n" +
"<b>" + block.getTitle() + " contains the following units: </b>\n" +
"<dl>\n");
Enumeration enum = block.getChildren();
while (enum.hasMoreElements()) {
String temp = (String) enum.nextElement();
CSFElement element = (CSFElement) hash.get (temp);
if (element.getType().equals ("au")) {
au = (AU) element;
if (completedAUs.contains (au.getID())) {
buf.append ("<dt><p><img src=\"/cmi/images/node2.gif\"><a href=\"/servlet/LessonServlet?lessonID=" + block.getID() + "&auID=" + au.getID() + "&mode=review\">" + au.getTitle() + " (<i>review</i>) </a></p></dt>\n");
else {
buf.append ("<dt><p><img src=\"/cmi/images/node.gif\"><a href=\"" + response.encodeURL ("/servlet/LessonServlet?lessonID=" + block.getID() + "&auID=" + au.getID() + "&mode=normal") + "\">" + au.getTitle() + "</a></p></dt>\n");
else if (element.getType().equals ("block")) {
buf.append ("<dt><p><img src=\"/cmi/images/folder.gif\"><a href=\"" + response.encodeURL ("/servlet/LessonServlet?lessonID=" + element.getID() + "&mode=normal") + "\">" + element.getTitle() + "</a></p></dt>\n");
buf.append ("</dl>\n" +
"<br><br>\n" +
"<form name=\"goForm\">\n" +
"<select name=\"gotoSelect\">\n" +
" <option value=\"lesson\">Lesson Menu</option>\n" +
" <option value=\"exit\">Exit LMS</option>\n" +
"</select>\n" +
"<input type=\"button\" value=\"Go\" onClick=\"go()\">\n" +
"</form>\n" +
"</body>\n" +
"</html>");
PrintWriter writer = new PrintWriter (out);
writer.write (buf.toString());
writer.flush();
writer.close();
catch (Exception e) {
e.printStackTrace();
getServletContext().log("Error: " + e.getMessage());
private String getFileName (String courseID, JDBCHelper dbHelper)
throws ClassNotFoundException, SQLException
ResultSet results = null;
String fileName = null;
String sqlQuery = "SELECT CourseFile" +
" FROM Course" +
" WHERE Course_ID = " + Integer.parseInt (courseID) + ";";
results = dbHelper.doQuery (sqlQuery);
if (results.next()) {
fileName = results.getString (1);
else {
//need to do more than this :)
System.out.println("crap");
results.close();
return fileName;
private void loadCourseData()
throws IOException, ClassNotFoundException
//load serialized course data
File file = new File (GlobalData.DataFileName);
if (! file.exists()) {
//error
throw new FileNotFoundException (GlobalData.DataFileName + " not found.");
FileInputStream fis = new FileInputStream (GlobalData.DataFileName);
ObjectInputStream ois = new ObjectInputStream (fis);
_courseHash = (Hashtable) ois.readObject();
ois.close();
private void sendProfileError (ServletOutputStream out)
String html = "<html>\n" +
"<body>\n" +
"<p>An error has occurred with your profile. Please " +
"<a href=\"\" onClick=\"top.restart(); return true\">login again</a>" +
"</body>\n" +
"</html>\n";
PrintWriter writer = new PrintWriter (out);
writer.write (html);
writer.flush();
writer.close();
private Connection _jdbcConnection;
private Hashtable _courseHash;I know that is where my error is, but why and where is
the script calling it up way?You wrote it right? check out the sendAU() method, there is line
String newFileName = file.getParent() + "\\" + au.getLaunchParams(); -
Error: "file not found" when try to display image on report
Dear All
I have a problem when running my report.
My Table emp_info Stores all data about employees in addition to the employee image path.
I made a report that display employee information including its photo.
I run my report passing the parameter p_emp_id to display the desired emploree information.
I made a field on the report to display the employee image
and i set its property READ FROM FILE = YES and FILE FORMAT=IMAGE
But the following error occurs
"File '\\iai3\iaigc\ALL\emp_images\51.JPG' not found. "
I'm sure that the path is correct
But i do not know why the report stops and can not read the image path.
My platform is:
Oracle application server installed on linux
and oracle report builder installed on widows for developmentDear aweiden
thanks for replaying
I belive you are right . I think the problem is in the path.
But there is something that i did not mentioned to you. I work on two different servers.
1- "iai2" : Linux server which contains oracle application server.
2- "iai3" Windows 2003 server which contained oracle database 10g and the folder "aigc\ALL\emp_images" which contains Employees images
I think that the problem is that Linux server can not understand the path "\\iai3\iaigc\ALL\emp_images\51.JPG".
Do you have any idea how the path should be changed so that Linux can recognizes it.
Thanks in advance -
Crystal report problem in add-on(CrystalDecessions.Crystal Engine not found
HI All,
i am having a problem with crystal report not opening.
what is the solution to run the add-on it i ssaying that Crytsal Engine 10.5.3700.0 is not found in assenmly or specified path.
how can i resolve this error. do i need to add some file while creating the add-on.If so what i have to add.
Please help me.
Thanks & Regards
omprakashhi,
Check this thead
Problem with Crystal reports deisgner
Jeyakanthan -
Command not found error while executing a shell script
Hello,
I am a newbie to linux.I am attaching the code which gives me following errors..
error list:
1. no such file or directory enviornemnt
2. command not found
3. ambiguous redirectline
Script
cd $HOME/wkdir
rm /tmp/*.log
# source environment
. ./env
# Run the install script to setup the database
# Configure SH account
sqlplus "/ as sysdba" <<! > /tmp/perflab_install.log 2>&1
grant connect, resource, dba to SH;
alter user sh account unlock;
# create the fetch_n_rows procedure
sqlplus "$PERFLAB_USER" <<! >> /tmp/perflab_install.log 2>&1
drop index sales_time_bix;
drop index sales_time_idx;
create index sales_time_idx on sales(time_id) compute statistics;
-- fetch_n_rows: fetches 'n' rows from the specified statement --
CREATE OR REPLACE PROCEDURE fetch_n_rows(
stmt VARCHAR,
name VARCHAR,
nexec NUMBER := 1,
nrows NUMBER := 0,
debug BOOLEAN := FALSE)
IS
-- Local variables
curs INTEGER := null;
rc INTEGER;
nexec_it INTEGER := 0;
nrows_it INTEGER;
BEGIN
dbms_application_info.set_module('DEMO', name);
WHILE (nexec_it < nexec)
LOOP
curs := DBMS_SQL.OPEN_CURSOR;
DBMS_SQL.PARSE(curs, stmt, DBMS_SQL.NATIVE);
rc := DBMS_SQL.EXECUTE(curs);
nrows_it := 0;
LOOP
IF (dbms_sql.fetch_rows(curs) <= 0 OR (nrows <> 0 AND nrows_it = nrows
THEN
EXIT;
ELSE IF (debug = TRUE)
THEN
DBMS_OUTPUT.PUT_LINE(nrows_it);
END IF;
END IF;
nrows_it := nrows_it + 1;
END LOOP;
DBMS_SQL.CLOSE_CURSOR(curs);
nexec_it := nexec_it + 1;
END LOOP;
dbms_application_info.set_module(null, null);
END fetch_n_rows;
show errors
# Start the workload
. ./start_workload.sh > /tmp/setup_perflab.log 2>&1
# Wait two minutes for workload to get going
sleep 120
# Modify snapshot interval
sqlplus -s /NOLOG <<EOF >> /tmp/setup_perflab.log 2>&1
connect / as sysdba
set head on
set feedback on;
set pagesize 40
rem -- event to allow setting very short Flushing interval
alter session set events '13508 trace name context forever, level 1';
rem -- change INTERVAL setting to 2 minutes
rem -- change RETENTION setting to 6 hours (total of 180 snapshots)
execute dbms_workload_repository.modify_snapshot_settings(interval => 2,-
retention => 360);
EOF
Note : start_workload.sh is also in the same directory..
Any help would be greatly appreciated.Please put your script between "code" format delimiters.
http://wiki.oracle.com/page/Oracle+Discussion+Forums+FAQ
You can add the line "set -x" at the beginning of your script to see at which line it fails? I suspect the . ./env line. -
A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that
the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)(Microsoft SQL Server, Error: 2)
The system cannot find the file specified
Cannot connect to COWBOYS.
Here are the technical details===================================
A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider:
Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) (.Net SqlClient Data Provider)
For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft%20SQL%20Server&EvtSrc=MSSQLServer&EvtID=2&LinkId=20476
Error Number: 2
Severity: 20
State: 0
Program Location:
at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at System.Data.SqlClient.TdsParser.Connect(ServerInfo serverInfo, SqlInternalConnectionTds connHandler, Boolean ignoreSniOpenTimeout, Int64 timerExpire, Boolean encrypt, Boolean trustServerCert, Boolean integratedSecurity, Boolean withFailover)
at System.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean ignoreSniOpenTimeout, TimeoutTimer timeout, Boolean withFailover)
at System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString connectionOptions, SqlCredential credential, TimeoutTimer
timeout)
at System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(TimeoutTimer timeout, SqlConnectionString connectionOptions, SqlCredential credential, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance)
at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance,
SqlConnectionString userConnectionOptions, SessionData reconnectSessionData)
at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
at System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection owningConnection, DbConnectionPoolGroup poolGroup, DbConnectionOptions userOptions)
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry)
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)
at System.Data.SqlClient.SqlConnection.Open()
at Microsoft.SqlServer.Management.SqlStudio.Explorer.ObjectExplorerService.ValidateConnection(UIConnectionInfo ci, IServerType server)
at Microsoft.SqlServer.Management.UI.ConnectionDlg.Connector.ConnectionThreadUser()
===================================
The system cannot find the file specified
I have tried from so many forms. This is so frustrating. Thank for everyone/anyone who wants to help. So this is what happened: I had to uninstall my previous sqlserver 2012(which worked great) for some reason, and I uninstalled everything from that download.
Then I installed the trial edition of sql server 2012 (64 Bit) and It wouldn't connect to the database. (Error mentioned above.) My local DB is COWBOYS. (COWBOYS is also my computer name.) After this, I have tried downloading sqlexpress and sqlserver 64bit
many times and cannot connect to my local DB.
How do I connect to my Local DB?
Also, I think this might help: (When I run sqlserve.exe, which I was able to find in C:\Program Files\Microsoft SQL Server\110\LocalDB\Binn, I get an error: Your SQL server installation is either corrupt or has been tampered with(Error getting
instance ID from name). Please uninstall then re-run setup to correct this problem.
I would happily re install it, if it wasn't my 20th time.
I don't have any remote connections, I don't use username/password, only window authentication. I work mostly on visual studio, but without able to store /retrieve data, I don't know how to survive.
May be the solution is very simple, but I am too frustrated.
Some of the things I have tried:
From a command prompt, enter one of the following commands:
net start "SQL Server Agent (MSSQLSERVER)" OR
net start "SQL Server Agent(instancename)"(for instance)
on my sql configuration, I cannot start anything because there is nothing there to start. I can post more details, if that would help. Also, some more details about the error:
Details
Product:
SQL Server
ID:
2
Source:
MSSQLServer
Version:
10.0
Component:
SQLEngine
Message:
An error has occurred while establishing a connection to the server. When connecting to SQL Server, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error:
40 - Could not open a connection to SQL Server) (.Net SqlClient Data Provider)
Explanation
SQL Server did not respond to the client request because the server is probably not started.
User Action
Make sure that the server is started.
Version:
9.0
Component:
SQLEngine
Message:
An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error:
40 - Could not open a connection to SQL Server) (.Net SqlClient Data Provider)
Explanation
SQL Server did not respond to the client request because the server is probably not started.
User Action
Make sure that the server is started.
Any one that can help me, I will be greatful. Thank you so much. p.s. please ask me anything if you have any questions.It sounds like there are a couple things going on here. First check if you have a successful install of SQL Server, then we'll figure out the connection issues.
Can you launch SQL Server Configuration Manager and check for SQL Server (MSSQLSERVER) if default instance or SQL Server (other name) if you've configured your instance as a named instance. Once you find this, make sure the service is started.
If not started, try to start it and see if it throws an error. If you get an error, post the error message your hitting. If the service starts, you can then launch SSMS and try to connect. If you have a default instance, you can use the machine
name in the connection dialog. Ex: "COWBOYS" where Cowboys is the machine name. However, if you named the SQL Server instance during install, you'll need to connect using the machine\instance format. Ex: COWBOYS\Romo (where Romo
is the instance name you set during install).
You can also look at the summary.txt file in the SQL Server setup error logs to see what happened on the most recent install. Past install history is archived in the log folder if you need to dig those up to help troubleshoot, but the most
recent one may help get to the bottom of it if there is an issue with setup detecting a prior instance that needs to be repaired.
Thanks,
Sam Lester (MSFT)
http://blogs.msdn.com/b/samlester
This posting is provided "AS IS" with no warranties, and confers no rights. Please remember to click
"Mark as Answer" and
"Vote as Helpful" on posts that help you. This can be beneficial to other community members reading the thread. -
When I click on any link in a Thunderbird email message I get the error message:
Firefox.exe – Entry Point Not found
The procedure entry point ?DllBlocklist_Initialize@@YAXXZ could not be located in the dynamic link library T:\PQligP sFuvy (X86)\pJPpSox HneiCFv\GwCMqTQ.Oqt.
I tried uninstalling Firefox 27 completely and reinstalling it, and the error is still there. When I uninstall V27 and install the older V26 the error disappears. Id there an issue with V27 trying to work with links from Thunderbird?
I am on a laptop running Windows 8.1 with all current downloads.Thanks for the reply - as best as I can tell it seems to be some kind of incompatibility between Thunderbird V24.3.0 and Firefox V27. If I install Firefox V26 then everything works as it should. I haven't tried installing a previous version of Thunderbird to see if that makes a difference.
-
I can successfully download iTunes on my PC, but receive an error message when I try to install the file: "Apple Application Support was not found... Error 2" I've tried deleting the file and reinstalling it to no avail. Any ideas?
See Troubleshooting issues with iTunes for Windows updates.
tt2
Maybe you are looking for
-
How do I move PSE 8.0 from one computer to another?
I wish to move PSE 8.0 from my old computer to my new one, how do I do this please? I tried activating it with Adobe with the same details as my account, but it hasn't been added to my account. I also looked in System Info in PSE 8.0 to find my seria
-
Latest itunes 10.5.3 download cannot access itunes store please help
The latest version of itunes released will not access the itunes store I do not have the 64-bit Windows vista. Any suggestions on how to fix the problem or what version of itunes I can go back to to solve this issue?
-
Portal Test Connection Failed for JDBC Connector
Hi, We are trying to create a JDBC system in EP to connect SQL Server 2005 database. Our aim is to build a model in VC using data services from SQL Server 2005. We deployed the Driver file sqljdbc.jar and connection was successful when tested by cre
-
Write/read struct in binary file
Hi to all, I created a struct profile defined as follows: typedef struct profile { char name [30]; float power; double frequency; struct profile * next; I can write the structures in a file, but I should do so that when you try to insert a struct, yo
-
How to install Dialogin Instance on Windows for which DB+CI on AIX ?
Dear Experts Our DB (Oracle 10.2.0.2.0) +CI (WAS 700) a Netweaver 2004s ABAP System on on AIX 5.3 system, We wanted to install 2 BATCH Servers on Windows? Quickly any links / docs / notes ? Rgds