Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

Web Server Help


  • Please log in to reply
17 replies to this topic

#1 KamakaZ

KamakaZ

  • Members
  • 739 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Victoria
  • Local time:05:36 AM

Posted 08 December 2008 - 06:39 PM

Hi guys and girls,

I have a website running using wordpress (on someone else's webserver), since then i have tried (not very successfully) to set up my own server i've tried M$ Server 2003, Xampp, WAMP, and Aprelium, i have trouble with each one when using PHP. I know a little of HTML and have set the domain name up, just need a server system to run it on, i don't mind what the OS is. I don't need to use wordpress so if you have any other suggestions, let me know!

Cheers,

Brad

There's no place like 127.0.0.1
There are 10 types of people in the world, those that can read binary, and those who can't.


BC AdBot (Login to Remove)

 


#2 groovicus

groovicus

  • Security Colleague
  • 9,963 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Centerville, SD
  • Local time:12:36 PM

Posted 08 December 2008 - 08:50 PM

There are a bazillion things that could be wrong, from the domain not resolving properly, to the router not forwarding the correct port, to your ISP blocking port 80. I ran a server on WinXP Home for a long time, and it worked spiffily. What are your options right now?

#3 KamakaZ

KamakaZ
  • Topic Starter

  • Members
  • 739 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Victoria
  • Local time:05:36 AM

Posted 09 December 2008 - 12:49 AM

I am open to anything that will work. I will need to have a mySQL database, so would need phpMyAdmin, and would like to use wordpress, so i would require PHP, but apart from that, i am happy to use anything. I found another Web Server program today, it's called XServer, allows for virtual directories and includes a FTP Server, thinking of giving this a go. I currently have Windows XP install on my PC, but can use any Linux OS, Windows XP or even M$ Server 2003/2008.

There's no place like 127.0.0.1
There are 10 types of people in the world, those that can read binary, and those who can't.


#4 groovicus

groovicus

  • Security Colleague
  • 9,963 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Centerville, SD
  • Local time:12:36 PM

Posted 09 December 2008 - 07:25 AM

All you need then is an installation of xampp (or wamp). Install it on XP, and see if you can run it from your browser.

i have trouble with each one when using PHP.

I don't know what that means. Trouble how? What documentation are you following? Is Apache running?

#5 KamakaZ

KamakaZ
  • Topic Starter

  • Members
  • 739 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Victoria
  • Local time:05:36 AM

Posted 09 December 2008 - 04:52 PM

I need PHP because i want to use wordpress (which uses PHP), i create the config file for wordpress, then go to install it, it sometimes work sometimes doesn't (using XAMPP). I then found WAMP but had the same issues. These sort of packages just work "straight out of the box" don't they? So i shouldn't need to configure apache for php or anything? Yes, apache has always been turned on, (i made sure it wasn't something simple)...

I haven't been following any documentation with XAMPP or WAMP, i found some yesterday though that i have been following, you can find it here

There's no place like 127.0.0.1
There are 10 types of people in the world, those that can read binary, and those who can't.


#6 groovicus

groovicus

  • Security Colleague
  • 9,963 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Centerville, SD
  • Local time:12:36 PM

Posted 09 December 2008 - 07:21 PM

I haven't been following any documentation with XAMPP or WAMP,

Maybe we should try that first? Maybe you should try the documentation for installing Wordpress on xampp also.

#7 KamakaZ

KamakaZ
  • Topic Starter

  • Members
  • 739 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Victoria
  • Local time:05:36 AM

Posted 09 December 2008 - 07:44 PM

Maybe we should try that first?


Good idea, i've tried following documentation on it before but gave up when a few different docs didn't work... the one i've had the most success with is the one i mentioned in the above post...

Edited by KamakaZ, 09 December 2008 - 07:44 PM.

There's no place like 127.0.0.1
There are 10 types of people in the world, those that can read binary, and those who can't.


#8 KamakaZ

KamakaZ
  • Topic Starter

  • Members
  • 739 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Victoria
  • Local time:05:36 AM

Posted 10 December 2008 - 01:35 AM

Followed the guide word for word, have not got IIS installed, but still not luck, this was on a fresh install on XP Pro. Firewall is off and all... i can allow you remote access (groovicus) if you want to check the problem out for yourself.

There's no place like 127.0.0.1
There are 10 types of people in the world, those that can read binary, and those who can't.


#9 groovicus

groovicus

  • Security Colleague
  • 9,963 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Centerville, SD
  • Local time:12:36 PM

Posted 10 December 2008 - 07:58 AM

but still not luck

I don't know what that means. There are potentially a hundred different things that might not be working properly, so I can't even begin to guess at which step things are failing. :thumbsup:

Can you run Apache locally? Are you getting any error messages. Let's start with what is working first.

i can allow you remote access

Why would you do that? You have no idea who I am, and I have no idea who you are. Never let a stranger have access to your system.

#10 KamakaZ

KamakaZ
  • Topic Starter

  • Members
  • 739 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Victoria
  • Local time:05:36 AM

Posted 10 December 2008 - 04:59 PM

Apache is working fine, no error messages, i can access wordpress fine, altough a couple of times last night it didn't work quite right, it still displayed the wordpress site, but it looked as though it was an ftp site, it lost its theme and was all aligned to the left, odd. Thats the way it was when i left it last night, i am having problems with my modem to, so i can't access it remotely from work to check how its going...

Re-installed XAMPP (followed the guide) and put a new wordpress site into htdocs and works fine internally apache is running, mysql is running, my ports are forwarded, externally i get an error 500

Edited by KamakaZ, 10 December 2008 - 05:17 PM.

There's no place like 127.0.0.1
There are 10 types of people in the world, those that can read binary, and those who can't.


#11 groovicus

groovicus

  • Security Colleague
  • 9,963 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Centerville, SD
  • Local time:12:36 PM

Posted 10 December 2008 - 05:35 PM

Check out Apache's error log and see what it says.

It sounds like you made some progress though. :thumbsup:

#12 KamakaZ

KamakaZ
  • Topic Starter

  • Members
  • 739 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Victoria
  • Local time:05:36 AM

Posted 10 December 2008 - 05:40 PM

This is what my error log says:

[Thu Dec 11 09:09:31 2008] [notice] Apache/2.2.9 (Win32) DAV/2 mod_ssl/2.2.9 OpenSSL/0.9.8i mod_autoindex_color PHP/5.2.6 configured -- resuming normal operations
[Thu Dec 11 09:09:31 2008] [notice] Server built: Jun 14 2008 19:02:12
[Thu Dec 11 09:09:31 2008] [notice] Parent: Created child process 3020
[Thu Dec 11 09:09:33 2008] [notice] Child 3020: Child process is running
[Thu Dec 11 09:09:33 2008] [notice] Child 3020: Acquired the start mutex.
[Thu Dec 11 09:09:33 2008] [notice] Child 3020: Starting 250 worker threads.
[Thu Dec 11 09:09:33 2008] [notice] Child 3020: Starting thread to listen on port 443.
[Thu Dec 11 09:09:33 2008] [notice] Child 3020: Starting thread to listen on port 80.
[Thu Dec 11 09:13:29 2008] [error] [client 127.0.0.1] WordPress database error Table 'wordpress.wp_options' doesn't exist for query INSERT INTO wp_options (option_name, option_value, autoload) VALUES ('cron', 'a:2:{i:1228947209;a:1:{s:17:\\"wp_update_plugins\\";a:1:{s:32:\\"40cd750bba9870f18aada2478b24840a\\";a:3:{s:8:\\"schedule\\";s:10:\\"twicedaily\\";s:4:\\"args\\";a:0:{}s:8:\\"interval\\";i:43200;}}}s:7:\\"version\\";i:2;}', 'yes') made by add_option
[Thu Dec 11 09:13:29 2008] [error] [client 127.0.0.1] WordPress database error Table 'wordpress.wp_options' doesn't exist for query INSERT INTO wp_options (option_name, option_value, autoload) VALUES ('random_seed', '53f9b6d9ad93fb52d78afe1ab249ded8', 'yes') made by add_option
[Thu Dec 11 09:13:29 2008] [error] [client 127.0.0.1] WordPress database error Table 'wordpress.wp_options' doesn't exist for query INSERT INTO wp_options (option_name, option_value, autoload) VALUES ('auth_salt', 'a8Pchu6YoRAN', 'yes') made by add_option
[Thu Dec 11 09:14:23 2008] [error] [client 127.0.0.1] WordPress database error Table 'wordpress.wp_options' doesn't exist for query INSERT INTO wp_options (option_name, option_value, autoload) VALUES ('cron', 'a:2:{i:1228947263;a:1:{s:17:\\"wp_update_plugins\\";a:1:{s:32:\\"40cd750bba9870f18aada2478b24840a\\";a:3:{s:8:\\"schedule\\";s:10:\\"twicedaily\\";s:4:\\"args\\";a:0:{}s:8:\\"interval\\";i:43200;}}}s:7:\\"version\\";i:2;}', 'yes') made by add_option, referer: http://localhost/wp-admin/install.php
[Thu Dec 11 09:14:23 2008] [error] [client 127.0.0.1] WordPress database error Table 'wordpress.wp_options' doesn't exist for query INSERT INTO wp_options (option_name, option_value, autoload) VALUES ('random_seed', 'ba18175810604e97368bc07c258847fe', 'yes') made by add_option, referer: http://localhost/wp-admin/install.php
[Thu Dec 11 09:14:23 2008] [error] [client 127.0.0.1] WordPress database error Table 'wordpress.wp_options' doesn't exist for query INSERT INTO wp_options (option_name, option_value, autoload) VALUES ('auth_salt', 'K3z)*mdQ1DI*', 'yes') made by add_option, referer: http://localhost/wp-admin/install.php


i see from this there are some errors to do with the database, are they what could be causing it?

Had a look at the databse, inside the wordpress database there is a wp_options group, all the errors above are from when wordpress first installs.

Edited by KamakaZ, 10 December 2008 - 05:59 PM.

There's no place like 127.0.0.1
There are 10 types of people in the world, those that can read binary, and those who can't.


#13 groovicus

groovicus

  • Security Colleague
  • 9,963 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Centerville, SD
  • Local time:12:36 PM

Posted 10 December 2008 - 06:21 PM

That would be the likely cause of your issues. Googling those error messages specific to the database will probably be a good start.

#14 KamakaZ

KamakaZ
  • Topic Starter

  • Members
  • 739 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Victoria
  • Local time:05:36 AM

Posted 10 December 2008 - 06:28 PM

I have tried googling them, found one solution to the problem, here , i will try it tonight when i get home (looks like i might have to go out on the road the rest of the afternoon, thanks for your help.

There's no place like 127.0.0.1
There are 10 types of people in the world, those that can read binary, and those who can't.


#15 KamakaZ

KamakaZ
  • Topic Starter

  • Members
  • 739 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Victoria
  • Local time:05:36 AM

Posted 12 December 2008 - 12:15 AM

sorry i haven't had time to try it out yet, works keeping me pretty busy, hopefully ill have a chance in the comming week.

There's no place like 127.0.0.1
There are 10 types of people in the world, those that can read binary, and those who can't.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users