Näytä kirjoitukset

Tässä osiossa voit tarkastella kaikkia tämän jäsenen viestejä. Huomaa, että näet viestit vain niiltä alueilta, joihin sinulla on pääsy.


Viestit - Narub

Sivuja: [1]
1
Chain INPUT (policy ACCEPT)
target     prot opt source               destination

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination
TCPMSS     tcp  --  anywhere             anywhere            tcp flags:SYN,RST/S YN tcpmss match 1400:1536 TCPMSS clamp to PMTU
TCPMSS     tcp  --  anywhere             anywhere            tcp flags:SYN,RST/S YN tcpmss match 1400:1536 TCPMSS clamp to PMTU
TCPMSS     tcp  --  anywhere             anywhere            tcp flags:SYN,RST/S YN tcpmss match 1400:1536 TCPMSS clamp to PMTU
TCPMSS     tcp  --  anywhere             anywhere            tcp flags:SYN,RST/S YN tcpmss match 1400:1536 TCPMSS clamp to PMTU
TCPMSS     tcp  --  anywhere             anywhere            tcp flags:SYN,RST/S YN tcpmss match 1400:1536 TCPMSS clamp to PMTU
TCPMSS     tcp  --  anywhere             anywhere            tcp flags:SYN,RST/S YN tcpmss match 1400:1536 TCPMSS clamp to PMTU
TCPMSS     tcp  --  anywhere             anywhere            tcp flags:SYN,RST/S YN tcpmss match 1400:1536 TCPMSS clamp to PMTU
TCPMSS     tcp  --  anywhere             anywhere            tcp flags:SYN,RST/S YN tcpmss match 1400:1536 TCPMSS clamp to PMTU
TCPMSS     tcp  --  anywhere             anywhere            tcp flags:SYN,RST/S YN tcpmss match 1400:1536 TCPMSS clamp to PMTU
TCPMSS     tcp  --  anywhere             anywhere            tcp flags:SYN,RST/S YN tcpmss match 1400:1536 TCPMSS clamp to PMTU

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination


Tälläistähän siellä.

2
Oletko selvittänyt, onko adsl liittymässäsi portti nro 80 auki?

Kyllä olen selvittänyt. Kokeilin toisella koneella Windowsiin apache serveriä ja se toimi.

3
Olen nyt avannut ADSL boksista 80->82 portit ja muokannut kaikki asiat sieltä niin että muidenkin koneiden pitäisi nähdä nuo sivut. Mutta ei. Edelleenkään muille koneille nuo sivut eivät näy. Ajattelin että ongelma olisikin sitten tässä koneessa? Neuvoja?

EDIT: Ja apachen pitäisi kuunnella sen asetusten mukaan 80 porttia. ADSL boksin sivu on vaihdettu kuuntelemaan 8080 porttia.

4
Käännä se ADSL-boxi katolleen, ja katso/kerro sen tyyppi, muuten ei kyllä kukaan osaa neuvoa.
Googlella löytyy kenties ohjeetkin jos käyttöohje on hukkunut.
Osoite josta pääset asetuksia räpeltämään on luultavammin tämä: 192.168.0.1

192.168.0.1 ei toiminut.
ADSL lootan malli on Telewell TW-EA2000.
Yritin löytää googlen avulla ohjeet tuohon mutta toistaiseksi ei mitään.

EDIT: Ja löytyihän se osoite sittenkin. 192.168.0.254 se siis oli.

5
Ja ADSL-laatikon tms. asetukset kuntoon (melkein arvaan että tästä on kyse).

Tätä epäilen itsekkin nyt. Miten ADSL-laatikon asetuksia sitten muokattiin?
Joskus muinoin muistaakseni menin selaimella osoitteeseen x.x.x.x ja sieltä pystyi säätämään.
Harmi vain että tuota osoitetta ei ole muistissa missään.

6
Noniin, kiitos ja kumarrus avusta!
Nyt vielä sellainen ongelma että apache ei suostu näyttämään sivustoja muille koneille edelleenkään.
Ports.conf tiedostossa on tälläistä laitettu "Listen 80". Miten saan sivut näkymään muuallakin kuin tällä koneella?

EDIT: SSH yhteyden saan puttyllä kyllä koneeseen ja pingaus onnistuu.

7
Module php5 installed; run /etc/init.d/apache2 force-reload to enable.

Eli php5 on asennettu jo ja toimii.

8
[Fri Dec 15 18:00:40 2006] [error] (2)No such file or directory: could not open mime types config file /etc/mime.types.
Configuration Failed

Eli ilmeisesti /etc/mime.types tiedostoa ei löydy. Poistin kyseisen tiedoston kuten yhdessä oppaassa sanottiin. Auttoi hieman tähän ongelmaan.
EDIT: Miten tämän tiedoston sitten saan takaisin?

9
Noniin, hieman säädin ja kokeilin.
Localhost näyttää tällä hetkellä nuo sivut vain jos ne ovat .html muodossa.
Jos ne ovat .php muodossa niin selain yrittää ladata niitä.
Toinen ongelma on että muut koneet kyllä pystyvät pingaamaan serveri koneen mutta eivät pysty näkemään sivuja vaan tulee "Yhteyden muodostus epäonnistui".

EDIT: Ja kyllä, muutin .php tiedon oikeuksia kuten pyydettiin mutta silti ne eivät näy.
EDIT2: sudo /etc/init.d/apache2 restart, komento näemmä toimi. Kun yritän käynnistää serveriä niin tulee vain failed.

10
Tuolla koodilla tulee tälläinen sitten:
Koodia: [Valitse]
chmod: cannot access `*.php': No such file or directory

11
Elikkäs mihin nuo oikeudet muutan?
Ja ports.conf tiedostossa lukee:
"Listen localhost:80"

12
[Thu Dec 14 19:37:31 2006] [notice] Apache/2.0.55 (Ubuntu) configured -- resuming normal operations
[Thu Dec 14 19:37:32 2006] [notice] caught SIGTERM, shutting down
[Thu Dec 14 19:37:33 2006] [notice] Apache/2.0.55 (Ubuntu) PHP/5.1.2 configured -- resuming normal operations
[Thu Dec 14 19:49:17 2006] [notice] caught SIGTERM, shutting down
[Thu Dec 14 19:50:47 2006] [notice] Apache/2.0.55 (Ubuntu) PHP/5.1.2 configured -- resuming normal operations
[Thu Dec 14 20:00:14 2006] [error] [client 127.0.0.1] File does not exist: /var/www/favicon.ico
[Thu Dec 14 20:28:17 2006] [error] [client 127.0.0.1] (13)Permission denied: access to /index.html denied
[Thu Dec 14 20:28:17 2006] [error] [client 127.0.0.1] (13)Permission denied: access to /index.cgi denied
[Thu Dec 14 20:28:17 2006] [error] [client 127.0.0.1] (13)Permission denied: access to /index.pl denied
[Thu Dec 14 20:28:17 2006] [error] [client 127.0.0.1] (13)Permission denied: access to /index.php denied
[Thu Dec 14 20:28:17 2006] [error] [client 127.0.0.1] (13)Permission denied: access to /index.xhtml denied
[Thu Dec 14 21:53:20 2006] [error] [client 127.0.0.1] File does not exist: /var/www/phpmyadmin/favicon.ico
[Thu Dec 14 21:53:20 2006] [error] [client 127.0.0.1] File does not exist: /var/www/phpmyadmin/favicon.ico
[Thu Dec 14 21:53:20 2006] [error] [client 127.0.0.1] File does not exist: /var/www/phpmyadmin/favicon.ico
[Thu Dec 14 21:53:29 2006] [error] [client 127.0.0.1] File does not exist: /var/www/phpmyadmin/favicon.ico
[Thu Dec 14 21:53:31 2006] [error] [client 127.0.0.1] File does not exist: /var/www/phpmyadmin/favicon.ico
[Thu Dec 14 21:53:31 2006] [error] [client 127.0.0.1] File does not exist: /var/www/phpmyadmin/favicon.ico
[Thu Dec 14 21:54:38 2006] [notice] caught SIGTERM, shutting down
[Thu Dec 14 21:54:38 2006] [notice] Apache/2.0.55 (Ubuntu) PHP/5.1.2 configured -- resuming normal operations
[Thu Dec 14 21:55:31 2006] [notice] caught SIGTERM, shutting down
[Thu Dec 14 21:57:30 2006] [notice] Apache/2.0.55 (Ubuntu) PHP/5.1.2 configured -- resuming normal operations
[Thu Dec 14 22:01:15 2006] [notice] caught SIGTERM, shutting down
[Thu Dec 14 22:01:19 2006] [notice] Apache/2.0.55 (Ubuntu) PHP/5.1.2 configured -- resuming normal operations
[Thu Dec 14 22:23:40 2006] [notice] caught SIGTERM, shutting down
[Thu Dec 14 22:23:43 2006] [notice] Apache/2.0.55 (Ubuntu) PHP/5.1.2 configured -- resuming normal operations
[Thu Dec 14 22:24:06 2006] [error] [client 127.0.0.1] File does not exist: /var/www/phpmyadmin/favicon.ico
[Thu Dec 14 22:24:06 2006] [error] [client 127.0.0.1] File does not exist: /var/www/phpmyadmin/favicon.ico
[Thu Dec 14 22:24:06 2006] [error] [client 127.0.0.1] File does not exist: /var/www/phpmyadmin/favicon.ico
[Thu Dec 14 22:33:42 2006] [notice] caught SIGTERM, shutting down
[Thu Dec 14 22:33:42 2006] [notice] Apache/2.0.55 (Ubuntu) PHP/5.1.2 configured -- resuming normal operations
[Thu Dec 14 22:35:51 2006] [notice] caught SIGTERM, shutting down
[Thu Dec 14 22:35:51 2006] [notice] Apache/2.0.55 (Ubuntu) PHP/5.1.2 configured -- resuming normal operations
[Thu Dec 14 22:43:05 2006] [error] [client 127.0.0.1] File does not exist: /var/www/favicon.ico
[Thu Dec 14 22:43:07 2006] [error] [client 127.0.0.1] File does not exist: /var/www/phpmyadmin/favicon.ico
[Thu Dec 14 22:52:07 2006] [notice] caught SIGTERM, shutting down
[Thu Dec 14 22:55:55 2006] [notice] Apache/2.0.55 (Ubuntu) configured -- resuming normal operations
[Fri Dec 15 07:23:36 2006] [notice] caught SIGTERM, shutting down
[Fri Dec 15 07:25:51 2006] [notice] Apache/2.0.55 (Ubuntu) configured -- resuming normal operations
[Fri Dec 15 07:30:46 2006] [notice] caught SIGTERM, shutting down
[Fri Dec 15 13:18:55 2006] [notice] Apache/2.0.55 (Ubuntu) configured -- resuming normal operations
[Fri Dec 15 13:25:46 2006] [notice] caught SIGTERM, shutting down
[Fri Dec 15 13:29:21 2006] [notice] Apache/2.0.55 (Ubuntu) configured -- resuming normal operations
[Fri Dec 15 13:41:19 2006] [error] [client 127.0.0.1] Symbolic link not allowed: /var/www/phpmyadmin
[Fri Dec 15 14:06:44 2006] [notice] caught SIGTERM, shutting down
[Fri Dec 15 14:35:23 2006] [notice] Apache/2.0.55 (Ubuntu) configured -- resuming normal operations


Tuollaistahan siellä. Ainakin Windowsin puolella Apache toimi mainiosti.

13
Yritin asentaa Apachea + Mysql + PHP.
Ongelmana nyt on että mikään muu kone ei pääse koneen sivuja selaamaan.
Ja nyt tuli uutena ongelmana että kun menen tällä koneella http://localhost/ niin kone yrittää ladata PHTML tiedostoa vaikka kansiossa ei ole sellaista.

EDIT: Ainiin ja ohjeina käytin http://forum.ubuntu-fi.org/index.php?PHPSESSID=7fb9e281997ddcfa4005b44986542dde&topic=313.0

14
Asentaminen ja käyttöönotto / Re: Internet yhteys
« : 14.12.06 - klo:19.15 »
Kas vain. Olipas se yksinkertainen moka  ;D
Kiitos vain paljon. Taitaa silmät jo kasvaa ristiin kun en tuota huomannut.

15
Asentaminen ja käyttöönotto / Internet yhteys
« : 14.12.06 - klo:19.07 »
Tiedän kyllä että tätä asiaa on vatkattu tällä foorumilla lukemattomia kertoja.
Mutta jostain syystä näistä edellisistä threadeista ei ole ollut apua.
Käytän Ubuntu 6.06 ja kun yritän käyttää sudo ppoeconf:ia päätteessä niin tulee vain teksti "command not found".
Mitä minun kuuluisi nyt tehdä? Windowsin puolella toimii loistavasti netti ja aikaisemmin tuo ppoeconf on auttanut.

Sivuja: [1]